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 28.0.11
Operating system and version FreeBSD 13.3
Apache 24-2.4.62
PHP version 8.1.29_1
The issue you are facing:
Nextcloud
Update to 29.0.0
Exception: Updates between multiple major versions and downgrades are unsupported.
Detailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
The update was unsuccessful. For more information check our forum post covering this issue.
Is this the first time you’ve seen this error? (Y/N): No
Steps to replicate it:
- Download next version from Index of /server/releases
- Copy into web directory, check permissions and migrate data and config file
- Run upgrade from web browser or command line
The output of your Nextcloud log in Admin > Logging:
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":1,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::setDebugLogLevel: Set log level to debug","userAgent":"--","version":"28.0.11.1","data":{"app":"updater"}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":1,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceEnabled: Turned on maintenance mode","userAgent":"--","version":"28.0.11.1","data":{"app":"updater"}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":0,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"starting upgrade from 28.0.11.1 to 29.0.0.19","userAgent":"--","version":"28.0.11.1","data":{"app":"core"}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":3,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Updates between multiple major versions and downgrades are unsupported.","userAgent":"--","version":"28.0.11.1","exception":{"Exception":"Exception","Message":"Updates between multiple major versions and downgrades are unsupported.","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud-29-0-0/lib/private/Updater.php","line":129,"function":"doUpgrade","class":"OC\\Updater","type":"->","args":["29.0.0.19","28.0.11.1"]},{"file":"/usr/local/www/nextcloud-29-0-0/core/Command/Upgrade.php","line":216,"function":"upgrade","class":"OC\\Updater","type":"->","args":[]},{"file":"/usr/local/www/nextcloud-29-0-0/3rdparty/symfony/console/Command/Command.php","line":298,"function":"execute","class":"OC\\Core\\Command\\Upgrade","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/usr/local/www/nextcloud-29-0-0/3rdparty/symfony/console/Application.php","line":1040,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/usr/local/www/nextcloud-29-0-0/3rdparty/symfony/console/Application.php","line":301,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["OC\\Core\\Command\\Upgrade"],["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/usr/local/www/nextcloud-29-0-0/3rdparty/symfony/console/Application.php","line":171,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/usr/local/www/nextcloud-29-0-0/lib/private/Console/Application.php","line":213,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[["Symfony\\Component\\Console\\Input\\ArgvInput"],["Symfony\\Component\\Console\\Output\\ConsoleOutput"]]},{"file":"/usr/local/www/nextcloud-29-0-0/console.php","line":113,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/usr/local/www/nextcloud-29-0-0/occ","line":11,"args":["/usr/local/www/nextcloud-29-0-0/console.php"],"function":"require_once"}],"File":"/usr/local/www/nextcloud-29-0-0/lib/private/Updater.php","Line":230,"message":"Updates between multiple major versions and downgrades are unsupported.","exception":{},"CustomMessage":"Updates between multiple major versions and downgrades are unsupported."}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":3,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::failure: Exception: Updates between multiple major versions and downgrades are unsupported.","userAgent":"--","version":"28.0.11.1","data":{"app":"updater"}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":3,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update failed","userAgent":"--","version":"28.0.11.1","data":{"app":"updater"}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":1,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceActive: Maintenance mode is kept active","userAgent":"--","version":"28.0.11.1","data":{"app":"updater"}}
{"reqId":"SzDTf3sVKv8GwvnIN8UQ","level":1,"time":"2024-11-08T22:19:02+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Debug(0)","userAgent":"--","version":"28.0.11.1","data":{"app":"updater"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'debug' => false,
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/local/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => 0,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '{ip}',
'port' => 6379,
),
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'domain.xxx',
),
'datadirectory' => '/usr/local/www/nextcloud/data',
'dbtype' => 'pgsql',
'version' => '28.0.11.1',
'overwrite.cli.url' => 'domain.xxx',
'dbname' => 'xxx',
'dbhost' => '{ip}',
'dbport' => '5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'maintenance' => true,
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_smtpmode' => 'sendmail',
'mail_from_address' => 'xxx',
'mail_domain' => 'domain.xxx',
'theme' => '',
'filelocking.enabled' => true,
'preview_max_scale_factor' => 1,
'preview_max_memory' => 2048,
'app.mail.imap.timeout' => 1,
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'updater.secret' => 'xxx',
);
The output of your Apache/nginx/system log in /var/log/____
:
No error messages showing Nextcloud
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.
See above as unable to access web UI