Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 29.0.0.19
Operating system and version (eg, Ubuntu 20.04): Docker on Ubuntu 23.10
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0 (Ubuntu)
PHP version (eg, 7.4): docker
The issue you are facing:
I’m using Docker and had nextcloud 28.0.1.1 installed and I wanted to upgrade to the latest version so I grabbed the latest image (29.0.0.19) and ran that. Nextcloud is now stuck in maintenance mode and the logs say “Exception: Updates between multiple major versions and downgrades are unsupported.”
I’m only updating to the next major version. What am I supposed to do?
Is this the first time you’ve seen this error? (Y/N):
Y
Steps to replicate it:
- Grab latest docker image
- Stop the docker instance and remove it
- docker-compose up
The output of your Nextcloud log in Admin > Logging:
Initializing nextcloud 29.0.0.19 ...
Upgrading nextcloud from 28.0.1.1 ...
=> Searching for scripts (*.sh) to run, located in the folder: /docker-entrypoint-hooks.d/pre-upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Resetting log level
=> Searching for scripts (*.sh) to run, located in the folder: /docker-entrypoint-hooks.d/before-starting
[30-Apr-2024 09:44:55] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[30-Apr-2024 09:44:55] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
[30-Apr-2024 09:44:55] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[30-Apr-2024 09:44:55] NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
[30-Apr-2024 09:44:55] NOTICE: fpm is running, pid 1
[30-Apr-2024 09:44:55] NOTICE: ready to handle connections
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
Using docker
The output of your Apache/nginx/system log in /var/log/____
:
Using docker
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
No errors