I am currently running version 25.04 on a TrueNAS Mini X+. Before I upgraded to 25.04 I had the syncthing app installed using a dedicated dataset. After upgrading to 25.04 I decided to install the unifi-controller and the vaultwarden apps also using their own datasets.
Just sticking with the vaultwarden app for testing, if I try to use the “Host Path” option and point to a custom dataset, the app will install but will not start. I can see that the app will try to start and then will exit but not knowing a lot about this, I am not sure where to looks for logs. I have tried uninstalling and reinstalling the app multiple times and the same things happens to any new app I try to install.
For kicks and grins, I created a small TrueNAS build in a VM lab and had now problems installing apps using my own dataset. I also found that if I use the ixVolume option for storage, it installs fine. The problem with that is it looks to be using the root drive and not the pool as the storage location.
Any ideas why I can install in the VM lab but not the real device int he same version number?
Wow. I just thought of trying that after I posted. Unfortunately, that did not help. In the lab build I did notice that the ownership changes automatically when I deployed the app.
From my experience, most Apps run with user apps (568) and group apps (568).
When you create the dataset, there’s a field for Dataset Preset, setting that as Apps instead of Generic for both the Data Storage and Postgres Data Storage worked for me.
With a custom Postgre Data Storage Host Path, it also have a checkbox for Automatic Permissions, checking that will auto apply permission for Postgres.
If that doesn’t work, I usually just give the data set 777 permission and install the app first, and check to see what permission it is actually using under the hood with Shell.
On the Apps page, on the left side, there’s a section call Run As Context, that usually give information on the permission you need.
Did you make the dataset while installing the app in the host path section? If you did, that could be what is causing some problems.
With 25.04 I tried installing apps and making the dataset while installing and it consistently caused issues with apps not starting. Adding the apps user and group didn’t make it work. The easiest thing was to just delete the dataset and create it properly through the dataset page and selecting the apps preset.
Interesting. So if the dataset is already created, you no longer have the option for an “apps” preset in the ACLs. I also noticed that when create a dataset and use the preset of “Apps”, the dataset was created but the owner was root and apps was just a user. Even so, when I deployed the app, it did start this time. That looks to have been it. Thank you.