Just did a new install of Truenas Fangtooth. Everything works except this app.
I have been defeated and demoralized thoroughly.
I cannot access ANY kind of web GUI for this app. I have tried this both from the Truenas Apps and via dockge docker compose. I am successfully installing the app in both instances and its running on the ports I specify
Whenever I try to access to gui via LAN: 192.168.1.48:(port) it just gives me a dead screen.
. I have literally tried hundreds of different port combinations during both dockge / truenas catalog app installs.
There is nothing in my OPNsense firewall blocking this port or ip address (checked logs). All other apps installed via Truenas work PERFECTLY.
I am not even asking for the http / https certs to work. I can do this later via nginx.
Previously vaultwarden will TELL me on a landing page that I need these certs, of which I can do as nginx is working.
Can one of you kind gentlemen share with me YOUR working docker compose .yaml file?
Or the settings you use in the Truenas install file? I believe I’ve tried every combination possible to know avail. All web browsers fail to access this working app.
This video works up until 1.27 where my fails.
To be clear this is a fresh fangtooth install baremetal with vanilla stock settings. Its some kind of setting in the app that I cannot figure out.
Just installed the app with completely stock settings, entering a database password and an admin token (both generated using pwgen -s 50 2, though I doubt that matters). No other changes. Here’s what I get:
Thanks for the help. Got it working. It turned out to be a problem with three settings.
One: For installing nginx you NEED to use the ix-applications storage option when installing it as an app. Using any kind of host storage option does not work correctly. The helpful video says this “that it does not load” but in my case it loaded and did not actually work correctly. https://www.youtube.com/watch?v=_FcC79zMiJc
Two: Following this super helpful guide TrueNAS Scale Reverse Proxy with Nginx and DuckDNS - DeveloperJose@DeveloperJose Thank you so much. I realized that my nginx ports were not correct at the correct 80, 443. I changed them because it conflicted with the Truenas GUI ports, but the right way was to keep nginx at the default values and change the Truenas GUI (81/444). My dumbass didn’t realize the whole system rests on the proxy working on these ports and I did it backwards by changing the nginx ports.
Three: Just trial and error and I realized the nginx proxy host settings needed to be the following. It differed from the how-to from Jose, and I can’t explain why. But it works for all my apps for me. YMMV:
Thats probably it. The dataset from my hosts path was owned by the same group for all the other apps that get access no problem. In either event, I am happy it works.
Just to rule it out I tried it from scratch again with host volumes. No matter what ownership you give the host dataset (root, apps, everyone, etc.) it still will not load at all. I treid them all.
The ix default one works, so the guy in the video probably tried it. Its not a big deal at all, but something happens with host volumes that doesn’t happen with ix-applications during the install to break it for me.
Problem is solved, just posting this here for posterity.
Thanks DjP for pointing that out. This is childs play to a guy like you I am sure. Its just not obvious for most people who don’t live and breathe Linux for years.
I always struggle with the following:
when I create a dataset with root permissions, but install an app from the catalog, does it override the permissions with the required permissions needed? Some apps do this, some do not. You’ll only figure it out when the app breaks as a result. Sometimes the “break” materializes in weird formats not entirely clear to permissions. I still remember when Plex made ME give it permissions to a folder it created during the install. Totally insane.
if I create a group with a USER included in it (say apps, 568), will this be group be enough if I give the dataset group ownership? Or does the required user need to be identified as the owner of the dataset as a user? I was told by SpaceRex that Groups are always better. In this instance you show (nginx) this DOES not work however because my Family group has (root, me(su), apps) in it. No idea why. In your example with nginx, I swear on my mothers life the dataset was given group ownership by Family which has apps in it. Clearly this is wrong on my part, but its not obvious why apps as a user in a group cant work.
If I create an app with the wrong permissions for a mount (i.e., /mnt/software/stacks? ) The app will then place the necessary files DEEP in some kind of Byzantine file structure somewhere completely elsewhere in the ix-volumes mount it creates. Won’t tell you where either. For example, Photoprism moved all my uploaded pictures to a folder system (because apparently it couldnt work in my Photos folder due to a permission issue) that was (not exaggerating) 20! forward slashes deep (i.e., usr/local/bin/…/…/. etc.) AND it renamed the photos so you could not search them by name. I’ll upload the path if you don’t believe me. Mind blown.
This isn’t a rant, just my anecdotal experience of a noob coming from a lifetime of Windows use to Linux. Permissions in Linux are the ultimate filter for outsiders to using this everyday.
I think its how you keep your programmer community high IQ DjP-iX. Keep us riff-raff out.