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): According to occ status: version: 25.0.0.1 versionstring: 25.0.1
Operating system and version (eg, Ubuntu 20.04): docker container tag 25.0.1
Apache or nginx version (eg, Apache 2.4.25): the one which ships in the container
PHP version (eg, 7.4): 8.1.12
The issue you are facing:
I ran an upgrade through the web interface (I am not sure which version I was using before, but it should have been v24). Then the web interface was stuck in maintenance mode. I checked the logs and found the same error message in this post:
As I had the same error in my log, I disabled spreed as well.
I then saw the update notes in the web interface.
But when I attempt to upgrade (also through occ upgrade), I get the error message:
“Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed”
I tried downgrading the container to v24, but then I get the message that the db and data are on a higher version (v25.0.1.1).
So I don’t know what to do anymore. I can’t downgrade and I can’t upgrade.
I’m grateful for any hints.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Get the last docker image of v24 and install it
- Do an upgrade in the web interface
- Should be stuck in maintenance mode
- upgrade container to latest (I did this 2 days after I triggered the upgrade).
- disable spreed
- now you can’t upgrade or downgrade
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
0 => '172.18.0.3',
),
'passwordsalt' => 'removed',
'secret' => 'removed',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'removed',
2 => 'removed',
3 => 'server',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '23.0.0.10',
'overwrite.cli.url' => 'https://localhost',
'dbname' => 'nextcloud',
'dbhost' => '172.18.0.6',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud.admin',
'dbpassword' => 'removed',
'installed' => true,
'instanceid' => 'ocxft5ghouo7',
'maintenance' => true,
'loglevel' => 2,
'theme' => '',
);
In the other logs there is nothing interesting. I unfortunately didn’t save them persistently, so the logs from the attempted upgrade are gone since I recreated the container