First of all, I’m a complete beginner so please explain it like I’m 5 years old.
My set-up:
I installed Nextcloud on my Asustor NAS through the built in App Store (AppCentral). I believe this means it installed a docker container. I can access the console through another app that I also installed in the AppCentral that is called Portainer CE.
It worked flawlessly until today:
I updated Nextcloud through the AppCentral of my Asustor NAS (version 29.0.4.r02
). Since then, I’m getting the following message as I’m trying to access my Nextcloud:
Update needed
Please use the command line updater because updating via browser is disabled in your config.php.
I tried to follow various suggestions found online but with no success. Could somebody provide me simple step by step instructions on how I can get NC back up running? Any help is greatly apprechiated!
I had this same issue. Followed the error code, and just used command line updater. In that NAS, you’ll need to find a way to access the container’s terminal.
If whatever interface you’re using brings you into the system terminal you’ll need to enter the container’s. Run docker ps
and find the CONTAINER ID of nextcloud. (I.e. mine is 967653…)
If it says “command not found” then you’re probably inside the container, skip the docker part
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9676532d0b29 nextcloud:29 "/entrypoint.sh apac…" 12 minutes ago Up 12 minutes 0.0.0.0:9520->80/tcp, [::]:9520->80/tcp nextcloud-app
afb4487fb53a redis:latest "docker-entrypoint.s…" 12 minutes ago Up 12 minutes 0/tcp, 6379/tcp nextcloud-redis
de85a93c181d mariadb:lts "docker-entrypoint.s…" 12 minutes ago Up 12 minutes 3306/tcp nextcloud-db
If this doesn’t error, then that means you’re in the system terminal, so run this to enter the container’s terminal:
docker exec -it -u 33 9676532d0b29 /bin/bash
(Replacing that long number with your id)
Then, once you’re in, type pwd
and make sure you’re in the /var/www/html
directory. If not, run cd /var/www/html
. Then run:
./occ upgrade
and you should see an “in progress” message (wait a bit)
(If you run ./occ in the future, you get access to some other helpful commands for managing your nextcloud instance)
Hope this helps, if you get stuck anywhere don’t hesitate to send a reply!