# Debugging issues with sys dashboard

**URL:** <https://discourse.openondemand.org/t/debugging-issues-with-sys-dashboard/3633>\
**Category:** Get Help\
**Created:** [July 18, 2024, 8:49pm UTC](https://discourse.openondemand.org/t/debugging-issues-with-sys-dashboard/3633 "2024-07-18T20:49:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonRahaman](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ronrahaman/32/1031_2.png) [@RonRahaman](https://discourse.openondemand.org/u/RonRahaman)\
**Post date:** [July 18, 2024, 8:49pm UTC](https://discourse.openondemand.org/t/debugging-issues-with-sys-dashboard/3633/1 "2024-07-18T20:49:53Z")

</div>

Hi all,

We in the process of reconfiguring one of our dev OOD instances, and we’ve run into some issues with our dashboard app in `/etc/ood/config/apps/dashboard/`. Any tips on debugging?

Basically, we recloned `/etc/ood/config/apps/dashboard/` and all our apps in `/var/www/ood/apps/sys/` from the versions we have tracked in our GitLab. Now, when we navigate to that OOD instance in our browser, we see this page:

> App has not been initialized or does not exist
> 
> This is the first time this app has been launched in your per-user NGINX (PUN) server. This requires a configuration change followed by a restart of your PUN server. Be sure you save all the work you are doing in other apps that have active websocket connections (i.e., Shell App) and you complete all file uploads/downloads.
> 
> Clicking the “Initialize App” button will apply the configuration change and restart your per-user NGINX (PUN) server.

Then, when I click the “Intitalize App” button, we see the following:

> Error – invalid app root: /var/www/ood/apps/sys/dashboard  
> Run ‘nginx\_stage --help’ to see a full list of available command line options.

Thanks,  
Ron

---

<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:** [July 18, 2024, 8:57pm UTC](https://discourse.openondemand.org/t/debugging-issues-with-sys-dashboard/3633/2 "2024-07-18T20:57:39Z")

</div>

You appear to be hitting this line in the code. As an off the to top guess, I’m guessing that directory isn’t `root:root 750` or similar permissions to be able to be readable by non-root users.

> <https://github.com/OSC/ondemand/blob/90300cbcd6f6f4fff8aed89f75c4e05bcc906af3/nginx_stage/lib/nginx_stage/generators/app_config_generator.rb#L70>

Also - that’s very odd to see the `Initialze App` button for the base apps that we distribute. The RPM should be ensuring this, at least for the apps that we distribute. So it is sort of troubling to see this in the first place and seems to indicate something wrong in the way you’re installing the package.

---

<div class="post-metadata">

**Author:** ![RonRahaman](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ronrahaman/32/1031_2.png) [@RonRahaman](https://discourse.openondemand.org/u/RonRahaman)\
**Post date:** [July 18, 2024, 9:28pm UTC](https://discourse.openondemand.org/t/debugging-issues-with-sys-dashboard/3633/3 "2024-07-18T21:28:35Z")

</div>

Ah! We accidentally clobbered `/var/www/ood/apps/sys/dashboard` when we were re-populating `/var/www/ood/apps/sys` with our site’s apps. We’re re-installing from the RPM and will re-populate it correctly this time.

---

<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:** [January 14, 2025, 9:29pm UTC](https://discourse.openondemand.org/t/debugging-issues-with-sys-dashboard/3633/4 "2025-01-14T21:29:03Z")

</div>

Closed on January 14, 2025, 9:29pm UTC

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