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:
- 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.
- Clicked “Open updater” and clicked “Start update”
- Fails on “Create backup”
- Open Linux command line
- executed “sudo -u www-data php occ upgrade”
- response: “Nextcloud is already latest version”
- executed: “/var/www/nextcloud# nginx -v”
- 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