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): 25.0.2
Operating system and version (eg, Ubuntu 20.04): Unbuntu
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 8.0.26
The issue you are facing:
Hi everyone,
After putting NC to maintenance mode off (true) and swichting back on (false), NC wants to run the web-based upgrader (or ./occ upgrade);
Running the web-based upgrade returns this error message.
Ist there a way to disable the upgrade? What is the issue? As far as I am aware, I have the current version.
Thanks.
Error Message:
Nextcloud or one of the apps require upgrade
Exception: Updates between multiple major versions and downgrades are unsupported.
Detaillierte Protokollmeldungen
Update vorbereiten
Log-Level auf "debug" gesetzt
Wartungsmodus eingeschaltet
Exception: Updates between multiple major versions and downgrades are unsupported.
Das Update war nicht erfolgreich. Für mehr Informationen lesen Sie unseren Forenbeitrag zu diesem Thema.
I am running NC on shared hoster (all-inkl), and only access to ssh!
Running occ maintenance:repair return the same message to upgrade.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Call cloud.peralta.eu
- Start “Aktualisierung starten”
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 (
'instanceid' => 'ocwcefa9kssa',
'passwordsalt' => 'tiShb9bf/+bcTpfXAVGUXc+qICFGgy',
'secret' => 'O4J/0/OIqWLrrXvWrLO/3rt9Si6XkJtxPY4Tog/nNup/8Fls',
'trusted_domains' =>
array (
0 => 'cloud.peralta.eu',
),
'datadirectory' => '/www/htdocs/w00d52d0/two.peralta.eu/data',
'dbtype' => 'mysql',
'version' => '21.0.1.1',
'overwrite.cli.url' => 'http://cloud.peralta.eu',
'dbname' => 'xxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'ichausdercloud',
'mail_domain' => 'peralta.eu',
'maintenance' => false,
'updater.secret' => '$2y$10$llTH17Vv9AGZuEVD34VDHe0kigsSq7GFDCaPDu5kiU441JoEqPbay',
'app_install_overwrite' =>
array (
0 => 'whiteboard',
),
'default_language' => 'de',
'default_phone_region' => 'de',
'theme' => '',
'loglevel' => 2,
'tempdirectory' => '/www/htdocs/w00d52d0/two.peralta.eu/data/tmp',
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE > no access
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.
PASTE HERE (sorry, can only copy from raw file)
{“reqId”:“Y6qm7PQ4WvWlEKrpLg7AjwAAAB0”,“level”:3,“time”:“2022-12-27T08:03:56+00:00”,“remoteAddr”:“88.130.147.168”,“user”:“–”,“app”:“no app in context”,“method”:“GET”,“url”:“/core/ajax/update.php?requesttoken=DVM%2BKuWjTqkCJaRCoCb96RvTKyiU21Jvh0nnLM2QKak%3D%3APRJtGInEPNhvfNEU8gmK3imlbUnYv2EJ0iKWeqjKHZA%3D”,“message”:“Updates between multiple major versions and downgrades are unsupported.”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36”,“version”:“21.0.1.1”,“exception”:{“Exception”:“Exception”,“Message”:“Updates between multiple major versions and downgrades are unsupported.”,“Code”:0,“Trace”:[{“file”:“/www/htdocs/w00d52d0/two.peralta.eu/lib/private/Updater.php”,“line”:144,“function”:“doUpgrade”,“class”:“OC\Updater”,“type”:“->”,“args”:[“25.0.2.3”,“21.0.1.1”]},{“file”:“/www/htdocs/w00d52d0/two.peralta.eu/core/ajax/update.php”,“line”:185,“function”:“upgrade”,“class”:“OC\Updater”,“type”:“->”,“args”:}],“File”:“/www/htdocs/w00d52d0/two.peralta.eu/lib/private/Updater.php”,“Line”:245,“message”:“Updates between multiple major versions and downgrades are unsupported.”,“exception”:{},“CustomMessage”:“Updates between multiple major versions and downgrades are unsupported.”}}
{“reqId”:“Y6qm7PQ4WvWlEKrpLg7AjwAAAB0”,“level”:3,“time”:“2022-12-27T08:03:56+00:00”,“remoteAddr”:“88.130.147.168”,“user”:“–”,“app”:“updater”,“method”:“GET”,“url”:“/core/ajax/update.php?requesttoken=DVM%2BKuWjTqkCJaRCoCb96RvTKyiU21Jvh0nnLM2QKak%3D%3APRJtGInEPNhvfNEU8gmK3imlbUnYv2EJ0iKWeqjKHZA%3D”,“message”:“\OC\Updater::failure: Exception: Updates between multiple major versions and downgrades are unsupported.”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36”,“version”:“21.0.1.1”,“data”:{“app”:“updater”}}
{“reqId”:“Y6qm7PQ4WvWlEKrpLg7AjwAAAB0”,“level”:3,“time”:“2022-12-27T08:03:56+00:00”,“remoteAddr”:“88.130.147.168”,“user”:“–”,“app”:“updater”,“method”:“GET”,“url”:“/core/ajax/update.php?requesttoken=DVM%2BKuWjTqkCJaRCoCb96RvTKyiU21Jvh0nnLM2QKak%3D%3APRJtGInEPNhvfNEU8gmK3imlbUnYv2EJ0iKWeqjKHZA%3D”,“message”:“\OC\Updater::updateEnd: Update failed”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36”,“version”:“21.0.1.1”,“data”:{“app”:“updater”}}
{“reqId”:“Y6qm7PQ4WvWlEKrpLg7AjwAAAB0”,“level”:1,“time”:“2022-12-27T08:03:56+00:00”,“remoteAddr”:“88.130.147.168”,“user”:“–”,“app”:“updater”,“method”:“GET”,“url”:“/core/ajax/update.php?requesttoken=DVM%2BKuWjTqkCJaRCoCb96RvTKyiU21Jvh0nnLM2QKak%3D%3APRJtGInEPNhvfNEU8gmK3imlbUnYv2EJ0iKWeqjKHZA%3D”,“message”:“\OC\Updater::maintenanceActive: Maintenance mode is kept active”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36”,“version”:“21.0.1.1”,“data”:{“app”:“updater”}}
{“reqId”:“Y6qm7PQ4WvWlEKrpLg7AjwAAAB0”,“level”:1,“time”:“2022-12-27T08:03:56+00:00”,“remoteAddr”:“88.130.147.168”,“user”:“–”,“app”:“updater”,“method”:“GET”,“url”:“/core/ajax/update.php?requesttoken=DVM%2BKuWjTqkCJaRCoCb96RvTKyiU21Jvh0nnLM2QKak%3D%3APRJtGInEPNhvfNEU8gmK3imlbUnYv2EJ0iKWeqjKHZA%3D”,“message”:“\OC\Updater::resetLogLevel: Reset log level to Warning(2)”,“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36”,“version”:“21.0.1.1”,“data”:{“app”:“updater”}}