TrueNAS is running ElectricEel-24.10.2.2, and I have installed the Unifi App from the app store/catalog/whatever its called now. The installed [community] app version says it is " App Version:9.3.43 Version:1.4.5.
The issue is that it installed without apparent issue, but when I press the start button it goes from stopped to ‘deploying’ for about 5 seconds, then goes back to stopped.
While I have searched the documentation and the web, I’m not sure where to look to see where the issue might be.
Any guidance on how to deploy this app?
I assume you are using host paths for things like configs and data
With this sort of issue I do the following
Install app with all defaults, including ix-volumes. Does it install & run - can you log onto the interface?
If yes then the issue is permissions on the host paths (or messed up paths)
If no - then you have another, more complex issue (or the image is buggered)
For example - I have just installed the unifi app with all defaults and it works
Yes, I had installed using host path. I had a sneaking suspicion it was a permissions issue, so I went back and enabled the ACL, but that didn’t help, nor putting it back…
On your suggestion, I just deleted and re-installed using the defaults, and it came right up. Now all I have to do is replace my (likely) faulty AP and I will be in business!
Thanks for your insight.
Do not actually use the defaults - that is a good way to set things up, get everything configured and then lose the config in the app when you restart
Now you know where the problem likley lies you can fix that
OK, good idea. Let me know if my thinking is off here. The first thing I notice is the app metadata shows its run-as context to be running under user ‘unifi’ and group ‘unifi’, with UID + GID of 999 each. When I go look under credentials I don’t find a group or user named ‘unifi’.
I do however find a user 999 (netdata), and a group 999 (docker). I’m a little fuzzy on how and why this is actually working, but I can leave that aside if I am moving on.
I would think I need to first create a group and user called unifi, then have that user create the storage, and then re-install the app. Would this solve my issue?
Or, would the installer again automatically do something I don’t [yet] understand?