Hello,
I wrote a passenger app under Ruby for OOD to display some usage information specific to our cluster/site. It’s based on the OSC sample code
I set it up in a dev area of my account, made the code changes, tested everything was working and happy. I then copied the code over to /var/www/ood/apps/sys, updated my nav_bar YAML, restarted the PUN and it shows up correctly on the portal menu
When I click the Usage link from the menu bar, it opens a new tab as requested but gives me a App has not been initialized or does not exist warning:
If I click Initialize App, then it works fine. I only seem to have to do this once. Problem is, every one of my users gets the same warning the first time they go to that app, so I’m guessing there is some additional step I need to do to somewhere inside OOD to solve this so the app is pre-initialized or something.
Ok, looks like I need to create a .conf file in /var/lib/ondemand-nginx/config/apps/sys that matches my passenger app, similar to the dashboard.conf, myjobs.conf and shell.conf files.
I copied shell.conf to myapp.conf and changed it to: