Update problem from 20.0.4 to 20.0.6

Nextcloud version 20.0.4
Operating system and version Debian Buster
Apache or nginx version _1.14.2
PHP version 7.3.19-1~deb10u1 (cli)

The issue you are facing:

Update from 20.0.4 to 20.0.6 fails from the web page but from the command line update says that the version is the latest

Is this the first time you’ve seen this error? (Y/N): Y I have successfully updated in the past

Steps to replicate it:

  1. In the nextcloud Settings|Overview web page it says that 20.0.4 is the current version and 20.0.6 was available for upgrade.
  2. Clicked “Open updater” and clicked “Start update”
  3. Fails on “Create backup”
  4. Open Linux command line
  5. executed “sudo -u www-data php occ upgrade”
  6. response: “Nextcloud is already latest version”
  7. executed: “/var/www/nextcloud# nginx -v”
  8. response: “Nextcloud 20.0.4”

nothing in nextcloud log

nextcloud config.php

<?php $CONFIG = array ( 'instanceid' => 'ocl1e38x9wfq', 'passwordsalt' => '{mysalt}, 'secret' => '{mysecroet}', 'trusted_domains' => array ( 0 => '{mydomain}', ), 'datadirectory' => '/opt/nextcloud/', 'dbtype' => 'mysql', 'version' => '20.0.4.0', 'overwrite.cli.url' => 'https://{mydomain}', 'dbname' => 'nextcloud', 'dbhost' => '{myipaddress}', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => '{mydbuser}', 'dbpassword' => '{mydbpwd', 'installed' => true, 'log_type' => 'file', 'logfile' => '/var/log/nextcloud/nextcloud.log', 'logfilemode' => 416, 'loglevel' => 3, 'logdateformat' => 'F d, Y H:i:s', 'memcache.local' => '\\OC\\Memcache\\APCu', 'mail_smtpmode' => 'smtp', 'mail_smtphost' => '{mysmtphost}', 'mail_sendmailmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtpport' => '587', 'mail_smtpname' => '{mysmtpname}, 'mail_smtppassword' => '{mysmtppwd}', 'mail_from_address' => '{mymailfromaddress}', 'mail_domain' => '{mymaildomain}', 'has_rebuilt_cache' => true, 'maintenance' => false, 'theme' => '', 'ldapIgnoreNamingRules' => false, 'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory', 'appstoreenabled' => true, 'appstoreurl' => 'https://apps.nextcloud.com', 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/nextcloud/apps', 'url' => '/apps', 'writable' => true, ), ), 'updater.secret' => '{umyupdatersecret}', ); nothing in nginx log
  • executed: “/var/www/nextcloud# nginx -v”
  • response: “Nextcloud 20.0.4”

Why would your webserver respond with your Nextcloud version? Something isn’t fully right here…

In your config.php you can see that you are definitely still on 20.0.4.

sorry copied wrong thing

executed :sudo -u www-data php occ --version in /var/www/nextclooud
response: Nextcloud 20.0.4

Is there anything in the log that would hint on why the backup creation fails? Is there enough space available?

nothing in /var/log/nextcloud/nextcloud.log, is there another file I should look at. Also the command line update said that my version is the latest.

also I have only 35 out of 49 GB used on drive

Apparently more to a manual upgrade than I thought Upgrade manually — Nextcloud latest Administration Manual latest documentation