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?
If you are running Nextcloud in Docker I think you are asking for trouble trying to upgrade through OCC. Just upgrade the docker image. Its easier and its what the image maintainers intended.
This is not that, from what I can see. I had it installed and working. TrueNAS apps said there was an update, which I ran. After that, I am not getting this.
I was adding 'upgrade.disable-web' => false, in the config.php file as per MANY forums and such. Either I missing that it’s a different php file or they moved it.
Change that to false in upgrade-disable-web.config.php file