I’m trying to publish a passenger app at our site for the first time, but it is not appearing on the dropdown on the top menu bar as I expect. Any tips on debugging this?
I’m following the Python tutorial, and the app works in my sandbox. After manually deploying it, I have this in /var/www/ood/apps/sys/quota/manifest.yaml
That could be a bug/behavior where we treat that category special. As in, I guess we never anticipated someone adding apps to it?
If you look at this if/else block we appear to treat the shell category the same. You may be able to do something with custom navbar configuration to override it, but I call it a bug because we should allow for this use case.
Gotcha. I’d actually like to use a new dashboard category for my passenger app (I was using Files because the tutorial showed it). But when I use a new category, I can’t see the passenger app in the nav bar, either.
Here’s my manifest in /var/www/ood/apps/sys/quota/manifest.yaml, using a new “Quotas” category:
---
name: Storage Quota
category: Quotas
description: This is the Storage Quota app
And here’s where I set the categories that appear in the nav bar /etc/ood/config/ondemand.d/ondemand.yml.
nav_bar:
- interactive apps
- files
- jobs
- clusters
- quotas
- my interactive sessions
All the categories appear in the nav bar except for Quotas.
OK odd, I was able to test with 4.1 and it worked for me. I wonder if the sub-category is somehow throwing this off - I tested with an app in a special category but no sub-category.
Beyond that, I’d maybe try a permission issue?
Manifest seeks OK - though maybe you need a role? The app I tested with has one. I believe only batch_connect role is meaningful, but maybe an empty role is somehow buggy?