I had Nextcloud up and running on my TrueNAS OS via the app available in their “store”. I was able to log in to the web portal and had Floccus syncing bookmarks to it.
About a week ago I ran an update to the app (docker container really), since then, I cannot use the web portal, I get
Please use the command line updater because updating via browser is disabled in your config.php.
Also, Floccus is showing
E019: HTTP status 503. Failed POST request. Check your server configuration and log
I am assuming the two are caused by the same thing. Looking up the web portal message, it appears I need to run ./occ upgrade
via CLI. Here is my issue and it’s TrueNAS specific. I have tried many ways to run this command and I am getting blocked at every turn.
After looking around, I saw some people have luck changing the line 'upgrade.disable-web' => false
and adding the line 'updatechecker' => true
in the config file, this did not work
In the TrueNAS console, I tried running
sudo docker exec --user **** -it ix-nextcloud-nextcloud-1 php occ upgrade
but I get Cannot write into “apps” directory.
Which I can assume is a permissions issue. But as far as I can see, it looks right (admittedly I am very new to TrueNAS). I did also try some commands using the container console, which runs inside the container directly (sorry I was doing this last week and forget which ones), those did not run either.
Wondering if someone using Nextcloud in TrueNAS have figured this out. I do map the config directory to the host so that I can access the files outside (and have it be persistent). I saw someone had issues doing that to NTFS, but this is OpenZFS.
Sorry if I left anything out, I tried many things last week and had a busy weekend was not able to pick this up again until today.
Thanks for any help!