Nextcloud version (eg, 20.0.5): 20.0.2
Operating system and version (eg, Ubuntu 20.04): Raspbian buster
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Raspbian)
PHP version (eg, 7.4): PHP 7.3.27-1~deb10u1
The issue you are facing:
I’ve had to manually update as I get an error everytime I try to user the updater. I’d like to sort out how to resolve this. Please let me know what else I can do to help troubleshoot.
Is this the first time you’ve seen this error? No
Steps to replicate it:
- Run the updater
The output of your Nextcloud log in Admin > Logging:
Nothing in there in the past few days.
updater.log
2021-02-21T22:23:43-0500 qRhFOkved5 [info] request to updater
2021-02-21T22:23:43-0500 qRhFOkved5 [info] currentStep()
2021-02-21T22:23:43-0500 qRhFOkved5 [info] Step 4 is in state "end".
2021-02-21T22:23:43-0500 qRhFOkved5 [info] POST request for step "5"
2021-02-21T22:23:43-0500 qRhFOkved5 [info] startStep("5")
2021-02-21T22:23:43-0500 qRhFOkved5 [info] verifyIntegrity()
2021-02-21T22:23:43-0500 qRhFOkved5 [info] getUpdateServerResponse()
2021-02-21T22:23:43-0500 qRhFOkved5 [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-02-21T22:23:43-0500 qRhFOkved5 [info] releaseChannel: stable
2021-02-21T22:23:43-0500 qRhFOkved5 [info] internal version: 20.0.2.2
2021-02-21T22:23:43-0500 qRhFOkved5 [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x2x2xxxstablexx2020-11-18T19%3A48%3A25%2B00%3A00+96f99a40f5569936f1951f1ccef8ea5fa25b607bx7x3x27
2021-02-21T22:23:45-0500 qRhFOkved5 [info] getUpdateServerResponse response: Array
(
[version] => 20.0.7.1
[versionstring] => Nextcloud 20.0.7
[url] => https://download.nextcloud.com/server/releases/nextcloud-20.0.7.zip
[web] => https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html
[changes] => https://updates.nextcloud.com/changelog_server/?version=20.0.7
[autoupdater] => 1
[eol] => 0
[signature] => nc85F61OOmL3+Owiv7imtuQF1VxLCdZQtmIEwdKfMqXjBgrUkcfyJVJZd4BmNYKE
QiygnEEavOkDEGS7qoSNzl/HKcE6DknE0/5dGak6He1kK4ycOzSrNciysG2BXU6c
n/8S/PprAvCVdsHDiMgk/3ICvqBlxzRl5MxUGfXYID5UI0V1N5JNMXcCk5yDIZZJ
vb5gmUaRREraXFWSPaUXi8SSFVydELeJcx/wT2MNUsByOQnph2lP9tJUZxJMqeyU
M6oTzy4JLDpM1yA4BvarmcJLj9D5sRcIcM97VELTV5xc24Z9q8wZ2lVc1GemWyYa
sooIXtVt1YFaMbC9UegDoA==
)
2021-02-21T22:23:45-0500 qRhFOkved5 [info] storage location: /var/nextcloud/data/updater-ocm1lc7m2ppv/downloads/
2021-02-21T22:23:47-0500 qRhFOkved5 [info] end of verifyIntegrity()
2021-02-21T22:23:47-0500 qRhFOkved5 [info] endStep("5")
2021-02-21T22:23:47-0500 7c1zPB554V [info] request to updater
2021-02-21T22:23:47-0500 7c1zPB554V [info] currentStep()
2021-02-21T22:23:47-0500 7c1zPB554V [info] Step 5 is in state "end".
2021-02-21T22:23:47-0500 7c1zPB554V [info] POST request for step "6"
2021-02-21T22:23:47-0500 7c1zPB554V [info] startStep("6")
2021-02-21T22:23:47-0500 7c1zPB554V [info] extractDownload()
2021-02-21T22:23:47-0500 7c1zPB554V [info] storage location: /var/nextcloud/data/updater-ocm1lc7m2ppv/downloads/
2021-02-21T22:23:47-0500 7c1zPB554V [error] POST request failed with other exception
2021-02-21T22:23:47-0500 7c1zPB554V [error] Exception: Exception
Message: Can't handle ZIP file. Error code is: 5
Code:0
Trace:
#0 /var/www/html/nextcloud/updater/index.php(1354): Updater->extractDownload()
#1 {main}
File:/var/www/html/nextcloud/updater/index.php
Line:807
2021-02-21T22:23:47-0500 7c1zPB554V [info] rollbackChanges("6")
2021-02-21T22:23:47-0500 7c1zPB554V [info] unlink .step
2021-02-21T22:23:47-0500 7c1zPB554V [info] end of rollbackChanges()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '<removed>',
'passwordsalt' => '<removed>',
'secret' => '<removed>',
'trusted_domains' =>
array (
0 => '192.168.100.200',
1 => 'nextcloud.local',
2 => 'nextcloud.mydomain.com',
),
'datadirectory' => '/var/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.2.2',
'overwrite.cli.url' => 'http://192.168.100.200/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'oc_snuffy2',
'dbpassword' => '<removed>',
'installed' => true,
'loglevel' => 2,
'maintenance' => false,
'allow_local_remote_servers' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0,
'password' => '',
'dbindex' => 0,
),
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'smtp.mydomain.com',
'mail_smtpauth' => 1,
'mail_smtpport' => '465',
'mail_smtpname' => 'nextcloud@mycomain.com',
'mail_smtppassword' => '<removed>',
'mail_smtpsecure' => 'ssl',
'mail_domain' => 'mydomain.com',
'mail_from_address' => 'nextcloud',
'app_install_overwrite' =>
array (
0 => 'twofactor_email',
),
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'updater.secret' => '<removed>',
);
The output of your Apache access.log:
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:22:43 -0500] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 309 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:02 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 4295 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:02 -0500] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 3485 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:02 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 1110 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:23:12 -0500] "PROPFIND /remote.php/dav/files/snuffy2/ HTTP/1.1" 207 4288 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:23:12 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 1110 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:23:13 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 1119 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:14 -0500] "PROPFIND /remote.php/dav/files/snuffy2/ HTTP/1.1" 207 4288 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:32 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 4295 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:32 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 1110 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - - [21/Feb/2021:22:21:05 -0500] "POST /updater/index.php HTTP/1.1" 200 530 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:85.0) Gecko/20100101 Firefox/85.0"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:23:43 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 4286 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:23:43 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 1119 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:23:46 -0500] "PROPFIND /remote.php/dav/files/snuffy2/ HTTP/1.1" 207 4288 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - - [21/Feb/2021:22:23:43 -0500] "POST /updater/index.php HTTP/1.1" 200 530 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:85.0) Gecko/20100101 Firefox/85.0"
xx.xx.xx.xx - - [21/Feb/2021:22:23:47 -0500] "POST /updater/index.php HTTP/1.1" 500 567 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:85.0) Gecko/20100101 Firefox/85.0"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:02 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 4295 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:02 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 1110 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"184.170.167.146
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:24:13 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 4295 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:24:15 -0500] "PROPFIND /remote.php/dav/files/snuffy2/ HTTP/1.1" 207 1112 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:18 -0500] "PROPFIND /remote.php/dav/files/snuffy2/ HTTP/1.1" 207 4288 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:24:18 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 130760 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:24:25 -0500] "PUT /remote.php/dav/files/snuffy2/Documents/Screenshots/2021-02-21_22-24-04.611.png HTTP/1.1" 201 998 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:32 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 4295 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:34 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 1109 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:37 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents HTTP/1.1" 207 130777 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:24:43 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Work%20Documents HTTP/1.1" 207 4295 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
yy.yy.yy.yy - snuffy2 [21/Feb/2021:22:24:43 -0500] "PROPFIND /remote.php/dav/files/snuffy2/Documents/Screenshots HTTP/1.1" 207 52043 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
xx.xx.xx.xx - snuffy2 [21/Feb/2021:22:24:47 -0500] "PROPFIND /remote.php/dav/files/snuffy2/ HTTP/1.1" 207 1114 "-" "Mozilla/5.0 (Macintosh) mirall/3.1.2git (build 4615) (Nextcloud)"
Apache error.log
Nothing in there during the time the upgrade was running