I have Nextcloud app installed and working but.
I am getting “Please use the command line updater because updating via browser is disabled in your config.php.”
I have looked around and changed
'upgrade.disable-web' => false
and added
'updatechecker' => true
but it still does not work. I am trying to run ./occ upgrade from TrueNAS console but I get
Console has to be executed with the user that owns the file config/config.php
I cannot figure out how to get it to run under the owner. Anything I run from TN console it does not like. If I try and run inside the nextcloud container, I think I was able to get it to run under a user but it says it cannot find that user.
I do map the config directory to the host, so that I can access the config file outside of the container. Not sure if that is a problem?
Thanks for any help!
EDIT:
I tried running
sudo docker exec --user **** -it ix-nextcloud-nextcloud-1 php occ upgrade
But I get
Cannot write into “apps” directory.
I assume it’s permissions but the user I think it’s running on has permissions.