Update from NC 26.0.0.11 to 26.0.1 : "Updates between multiple major versions and downgrades are unsupported"

Nextcloud version : 26.0.0.11 (try to update to 26.0.1)
Operating system and version : Linux (hosted by Cloudamo.com)
Apache or nginx version : 2.4.56
PHP version : 8.1

The issue you are facing:
I used the web updater. After it replaced the files, it goes to main address. I clicked the “occ upgrade” button and this error message “Updates between multiple major versions and downgrades are unsupported” is shown.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Was in 26.0.0.11 version
  2. Use web updater

The output of your Nextcloud log in Admin > Logging:

Cannot view

config.php :

<?php
$CONFIG = array (
  'instanceid' => '*REMOVED*',
  'passwordsalt' => 'wztrvuuazlpl0musplsi9whbr3l4yo',
  'secret' => 'oxjj91ldcwcgo8pn4nzus13qugfzpgcyltuhuqemqcndemm4',
  'trusted_domains' => 
  array (
    0 => '*REMOVED*',
  ),
  'default_language' => 'fr',
  'default_locale' => 'fr-CA',
  'default_phone_region' => 'CA',
  'datadirectory' => '/home/itzvfozw/nextclouddata',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '127.0.0.1',
    'port' => 6379,
  ),
  'dbtype' => 'mysql',
  'version' => '26.0.0.11',
  'overwrite.cli.url' => 'https://*REMOVED*',
  'dbname' => 'itzvfozw_nextc68',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'itzvfozw_nextc68',
  'dbpassword' => '*REMOVED*',
  'installed' => true,
  'maintenance' => false,
  'mysql.utf8mb4' => true,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '*REMOVED*',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => '*REMOVED*',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpname' => '*REMOVED*',
  'mail_smtppassword' => '*REMOVED*',
  'mail_smtpsecure' => 'ssl',
  'theme' => '',
  'loglevel' => 2,
  'htaccess.RewriteBase' => '/',
  'app_install_overwrite' => 
  array (
    0 => 'files_markdown',
    1 => 'transfer',
  ),
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'updater.secret' => '*REMOVED*',
);

nextcloud.log

error_log

[28-Apr-2023 11:49:54 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:20 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:22 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:27 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:31 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:34 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:37 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:38 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:39 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:42 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111
[28-Apr-2023 11:50:44 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home/itzvfozw/public_html/version.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/itzvfozw/public_html/updater/index.php:111
Stack trace:
#0 /home/itzvfozw/public_html/updater/index.php(1301): Updater->__construct('/home/itzvfozw/...')
#1 {main}
  thrown in /home/itzvfozw/public_html/updater/index.php on line 111

I solved this bug.

After inspecting the source code, I noticed a missing record in the oc_appconfig table.

I executed this sql Query:

INSERT INTO oc_appconfig (appid,configkey,configvalue) 
VALUES ('core','vendor','nextcloud');
1 Like

This solved the problem for me as well. Thanks so much for posting the solution! I was going 25.0.4 to 26.0.2.

1 Like