# Issue Enabling App Development

**URL:** <https://discourse.openondemand.org/t/issue-enabling-app-development/3192>\
**Category:** Get Help\
**Created:** [January 8, 2024, 5:35pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192 "2024-01-08T17:35:56Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALH201](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alh201/32/2058_2.png) [@ALH201](https://discourse.openondemand.org/u/ALH201)\
**Post date:** [January 8, 2024, 5:35pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/1 "2024-01-08T17:35:56Z")

</div>

Currently using the 2.0 version of Open OnDemand, and the instructions found [here](https://osc.github.io/ood-documentation/release-2.0/app-development/enabling-development-mode.html) for enabling app development isn’t working.

I’ve created the symlink so OnDemand will be able to find the users app and created the actual dev directory for the user inside of their ondemand folder.

Unfortunately, the user isn’t able to see the Develop dropdown. Any ideas on how to fix this?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 8, 2024, 5:44pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/2 "2024-01-08T17:44:55Z")

</div>

Hi and welcome!

Be sure to restart your PUN after the changes (the Restart Your Webserver link in the Help dropdown menu).

If the symlink is created correctly and the PUN restarts to pick up the change - I think those are the only 2 things that could affect this.

---

<div class="post-metadata">

**Author:** ![ALH201](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alh201/32/2058_2.png) [@ALH201](https://discourse.openondemand.org/u/ALH201)\
**Post date:** [January 8, 2024, 7:54pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/3 "2024-01-08T19:54:19Z")

</div>

Hello, unfortunatly restarting the PUN after the changes did not work. I even tried to remove the symlink and recreate it. Logging out fully, waiting a little while, logging back in, and then restarting the PUN but it still isn’t showing up.

Here’s how I created the link inside of /var/www/ood/apps/dev/username :

ln -s /home/username/ondemand/dev gateway

In the link I can see the users directory, so I’m not sure what’s going on.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 8, 2024, 8:13pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/4 "2024-01-08T20:13:50Z")

</div>

Then I would ask if the top level directory has the right permissions - looks like we set it to 755. Maybe it’s not permissive enough?

```auto
[~()] ls /var/www/ood/apps/dev/ -lrta | grep johrstrom
drwxr-xr-x 2 root root 4096 Jul 31 10:10 johrstrom

```

---

<div class="post-metadata">

**Author:** ![ALH201](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alh201/32/2058_2.png) [@ALH201](https://discourse.openondemand.org/u/ALH201)\
**Post date:** [January 8, 2024, 8:19pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/5 "2024-01-08T20:19:18Z")

</div>

The top level directory does have the correct permissions, 755.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 8, 2024, 8:59pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/6 "2024-01-08T20:59:17Z")

</div>

Did you change the `nginx_stage.yml` configuration `app_root`? If you changed the app root location, then this may have affected this.

[https://osc.github.io/ood-documentation/latest/reference/files/nginx-stage-yml.html](https://osc.github.io/ood-documentation/latest/reference/files/nginx-stage-yml.html)

Additionally, did you change any other configurations that could be setting this? That is, is it working for everyone but this user, or has it never worked at all?

---

<div class="post-metadata">

**Author:** ![ALH201](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alh201/32/2058_2.png) [@ALH201](https://discourse.openondemand.org/u/ALH201)\
**Post date:** [January 8, 2024, 10:36pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/7 "2024-01-08T22:36:47Z")

</div>

It’s working for some users, but there are a handful of users that it doesn’t work for. There hasn’t been any changes to that configuration file. I’m not sure what’s causing this issue. Considering it works for some users.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 10, 2024, 2:51pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/8 "2024-01-10T14:51:05Z")

</div>

OK - then I’d ask what’s different about these users?

You said you created the directory for them - I wonder if that’s the issue? If their own ~/ondemand/dev doesn’t have the right permissions/ownership.

---

<div class="post-metadata">

**Author:** ![ALH201](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alh201/32/2058_2.png) [@ALH201](https://discourse.openondemand.org/u/ALH201)\
**Post date:** [January 11, 2024, 3:48pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/9 "2024-01-11T15:48:25Z")

</div>

The user does own it and they have the correct permissions. I’ve compared the users ~/ondemand/dev directory, there isn’t a difference with these users besides the ownership.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 11, 2024, 4:00pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/10 "2024-01-11T16:00:26Z")

</div>

Do you run `selinux`? I wonder if there’s a denial there.

Are you able to `su` into the user? I’d try `su` into that user and start to `ls` on that directory ` /var/www/ood/apps/dev/` all the way down to see if _that user_ can navigate through to their own ~/ondemand/dev from the `/var` directory.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [July 9, 2024, 4:00pm UTC](https://discourse.openondemand.org/t/issue-enabling-app-development/3192/11 "2024-07-09T16:00:56Z")

</div>

Closed on July 9, 2024, 4:00pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
