Nextcloud version: 20.0.8
Operating system and version: Ubuntu 20.04.2 LTS
Apache or nginx version: Apache/2.4.41 (Ubuntu)
PHP version: 7.4.3
I am running on 20.0.8. Web updater shows that new version is available. Now its 20.0.11. But I had the same problem when 20.0.10 was available.
If I try to upgrade I get the following result.
martin@nextcloud:/var/www/nextcloud$ sudo -u www-data php updater/updater.phar --no-interaction
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 20.0.8.
Update to Nextcloud 20.0.11 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-20.0.11.zip
Open changelog ↗
Updater run in non-interactive mode.
Continue update
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Updater run in non-interactive mode - will start "occ upgrade" now.
Nextcloud is already latest version
Updater run in non-interactive mode - will disable maintenance mode now.
Maintenance mode already disabled
Maintenance mode is disabled
martin@nextcloud:/var/www/nextcloud$
If I run updater.phar a second time I get the same result and so on.
I get the same result using the web updater. The whole printout takes <1 second, so nothing is downloaded.
Steps to replicate it:
- sudo -u www-data php updater/updater.phar --no-interaction
Log:
{"reqId":"fS4QsJaFKa7wRk0mVSQM","level":0,"time":"2021-07-10T10:59:20+02:00","remoteAddr":"192.168.31.70","user":"martin","app":"qownnotesapi","method":"GET","url":"/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0","version":"20.0.8.1"}
{"reqId":"xUWesJRk3zjZKWVRa9P6","level":1,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"20.0.8.1"}
{"reqId":"xUWesJRk3zjZKWVRa9P6","level":1,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"20.0.8.1"}
{"reqId":"xUWesJRk3zjZKWVRa9P6","level":0,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"contacts","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.8.1"}
{"reqId":"xUWesJRk3zjZKWVRa9P6","level":0,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"files_sharing","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.8.1"}
{"reqId":"xUWesJRk3zjZKWVRa9P6","level":0,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"qownnotesapi","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.8.1"}
{"reqId":"rxFndijMhklisi0O9gCh","level":1,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"20.0.8.1"}
{"reqId":"rxFndijMhklisi0O9gCh","level":1,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"cli","method":"","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"20.0.8.1"}
{"reqId":"rxFndijMhklisi0O9gCh","level":0,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"contacts","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.8.1"}
{"reqId":"rxFndijMhklisi0O9gCh","level":0,"time":"2021-07-10T10:59:26+02:00","remoteAddr":"","user":"--","app":"files_sharing","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.8.1"}
{"reqId":"rxFndijMhklisi0O9gCh","level":0,"time":"2021-07-10T10:59:27+02:00","remoteAddr":"","user":"--","app":"qownnotesapi","method":"","url":"--","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"--","version":"20.0.8.1"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => 'ocf79npf15zn',
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => 'xxx',
1 => 'xxx',
),
'datadirectory' => '/media/ocdata',
'overwrite.cli.url' => 'xxxx',
'dbtype' => 'mysql',
'version' => '20.0.8.1',
'dbname' => 'nextcloud',
'dbhost' => 'debby.furuliden.home',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'logtimezone' => 'Europe/Stockholm',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'furuliden.home',
'loglevel' => 0,
'logtype' => 'owncloud',
'logfile' => '/media/ocdata/nextcloud.log',
'theme' => '',
'mail_smtphost' => 'mail.furuliden.home',
'mail_smtpport' => '1125',
'mysql.utf8mb4' => true,
'app_install_overwrite' =>
array (
0 => 'calendar',
),
'updater.secret' => '$2y$10$isIuWOPfaX8WNDiwfmPyeu8qcZhClI3ch/z9ZxGk/H4iikTVMU9ma',
);