after all finished, press the no link, which brings you to a dialog that tells to upgrade on command line with ./occ upgrade
Got to command line and do it.
Expected behaviour
Finishing successfully
Actual behaviour
rns root@web /var/www/localhost/htdocs/nextcloud # sudo -u system php7.0 occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Updating database schema
Updated database
PHP Fatal error: Class OCA\User_SAML\UserBackend contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Authentication\IApacheBackend::getLogoutUrl) in /var/www/localhost/htdocs/nextcloud/apps/user_saml/lib/userbackend.php on line 34
Server configuration
Operating system:
Gentoo Linux
Web server:
nginx 1.13.5
Database:
MariaDB 10.1.26
PHP version:
7.0.22
Nextcloud version: (see Nextcloud admin page)
12.0.2 (old)
12.0.3RC2 (wanted)
Updated from an older Nextcloud/ownCloud or fresh install:
Update from 12.0.2
Where did you install Nextcloud from:
Official web site (beta channel)
Signing status:
Not possible at the moment, due upgrade failed
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] request to updater
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] currentStep()
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] show HTML page
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] current version: 12.0.2 build time: 2017-08-13T10:45:55+00:00 4a140398a93af53f36eb3c7aa659d09fe7f62f26
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] getUpdateServerResponse()
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] releaseChannel: beta
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] internal version: 12.0.2.0
2017-09-18T13:04:28+0200 ZULFNpmsdM [info] updateURL: https://updates.nextcloud.org/updater_server/?version=12x0x2x0xxxbetaxx2017-08-13T10%3A45%3A55%2B00%3A00+4a140398a93af53f36eb3c7aa659d09fe7f62f26x7x0x22
2017-09-18T13:04:29+0200 ZULFNpmsdM [info] getUpdateServerResponse response: Array
(
[version] => 12.0.3.1
[versionstring] => Nextcloud 12.0.3 RC2
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.3RC2.zip
[web] => https://docs.nextcloud.com/server/12/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => iHTGKqaPhVYw1sxRtaCxUCQms8v5pYaJOfkY5IB/vrDqiFj2FozbNEKbIKt3z2Y0
pDVXh1XYIU74aVq/ktV1NgUczFLyLMYKT7Sn+grd7i2eGL7UQphdqyFgfRALQBuG
J6WCYcEYlzsRRxfYMkcaN3v1bQvBjhsSG5FvsQ4MUwI2MlkfRYyk5+558mhNgdAo
5X/4uBm+29lOWq1YFae6TzQkQjDWln4IOb3LmL6gg/3+5iNV84UhCukEwugHjoCA
nw5jRam2CYrsw5IWfIXVPqLKJckLN1zP3QIrOwLvtjiiWird/SEesWVs/Aefef75
e6hCvGvWtiNUEsJz4h1CiA==
)
2017-09-18T13:04:29+0200 ZULFNpmsdM [info] checkForUpdate() Array
(
[version] => 12.0.3.1
[versionstring] => Nextcloud 12.0.3 RC2
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.3RC2.zip
[web] => https://docs.nextcloud.com/server/12/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => iHTGKqaPhVYw1sxRtaCxUCQms8v5pYaJOfkY5IB/vrDqiFj2FozbNEKbIKt3z2Y0
pDVXh1XYIU74aVq/ktV1NgUczFLyLMYKT7Sn+grd7i2eGL7UQphdqyFgfRALQBuG
J6WCYcEYlzsRRxfYMkcaN3v1bQvBjhsSG5FvsQ4MUwI2MlkfRYyk5+558mhNgdAo
5X/4uBm+29lOWq1YFae6TzQkQjDWln4IOb3LmL6gg/3+5iNV84UhCukEwugHjoCA
nw5jRam2CYrsw5IWfIXVPqLKJckLN1zP3QIrOwLvtjiiWird/SEesWVs/Aefef75
e6hCvGvWtiNUEsJz4h1CiA==
)
2017-09-18T13:04:29+0200 ZULFNpmsdM [info] end of checkForUpdate() Update to Nextcloud 12.0.3 RC2 available. (channel: "beta")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/prereleases/nextcloud-12.0.3RC2.zip</code>
2017-09-18T13:04:33+0200 sxMmMrBihh [info] request to updater
2017-09-18T13:04:33+0200 sxMmMrBihh [info] currentStep()
2017-09-18T13:04:33+0200 sxMmMrBihh [info] POST request for step "1"
2017-09-18T13:04:34+0200 sxMmMrBihh [info] startStep("1")
2017-09-18T13:04:34+0200 sxMmMrBihh [info] checkForExpectedFilesAndFolders()
2017-09-18T13:04:34+0200 sxMmMrBihh [info] end of checkForExpectedFilesAndFolders()
2017-09-18T13:04:34+0200 sxMmMrBihh [info] endStep("1")
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] request to updater
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] currentStep()
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] Step 1 is in state "end".
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] POST request for step "2"
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] startStep("2")
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] checkWritePermissions()
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] end of checkWritePermissions()
2017-09-18T13:04:34+0200 sZVo5CdHP3 [info] endStep("2")
2017-09-18T13:04:34+0200 R8fyigW0zU [info] request to updater
2017-09-18T13:04:34+0200 R8fyigW0zU [info] currentStep()
2017-09-18T13:04:34+0200 R8fyigW0zU [info] Step 2 is in state "end".
2017-09-18T13:04:34+0200 R8fyigW0zU [info] POST request for step "3"
2017-09-18T13:04:34+0200 R8fyigW0zU [info] startStep("3")
2017-09-18T13:04:34+0200 R8fyigW0zU [info] setMaintenanceMode("true")
2017-09-18T13:04:34+0200 R8fyigW0zU [info] configFileName /var/www/localhost/htdocs/nextcloud/updater/../config/config.php
2017-09-18T13:04:34+0200 R8fyigW0zU [info] end of setMaintenanceMode()
2017-09-18T13:04:34+0200 R8fyigW0zU [info] endStep("3")
2017-09-18T13:04:34+0200 bhWl3U8oEo [info] request to updater
2017-09-18T13:04:34+0200 bhWl3U8oEo [info] currentStep()
2017-09-18T13:04:34+0200 bhWl3U8oEo [info] Step 3 is in state "end".
2017-09-18T13:04:34+0200 bhWl3U8oEo [info] POST request for step "4"
2017-09-18T13:04:34+0200 bhWl3U8oEo [info] startStep("4")
2017-09-18T13:04:34+0200 bhWl3U8oEo [info] createBackup()
2017-09-18T13:05:13+0200 bhWl3U8oEo [info] end of createBackup()
2017-09-18T13:05:13+0200 bhWl3U8oEo [info] endStep("4")
2017-09-18T13:05:13+0200 6x3te6iekp [info] request to updater
2017-09-18T13:05:13+0200 6x3te6iekp [info] currentStep()
2017-09-18T13:05:13+0200 6x3te6iekp [info] Step 4 is in state "end".
2017-09-18T13:05:13+0200 6x3te6iekp [info] POST request for step "5"
2017-09-18T13:05:13+0200 6x3te6iekp [info] startStep("5")
2017-09-18T13:05:13+0200 6x3te6iekp [info] downloadUpdate()
2017-09-18T13:05:13+0200 6x3te6iekp [info] getUpdateServerResponse()
2017-09-18T13:05:13+0200 6x3te6iekp [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-09-18T13:05:13+0200 6x3te6iekp [info] releaseChannel: beta
2017-09-18T13:05:13+0200 6x3te6iekp [info] internal version: 12.0.2.0
2017-09-18T13:05:13+0200 6x3te6iekp [info] updateURL: https://updates.nextcloud.org/updater_server/?version=12x0x2x0xxxbetaxx2017-08-13T10%3A45%3A55%2B00%3A00+4a140398a93af53f36eb3c7aa659d09fe7f62f26x7x0x22
2017-09-18T13:05:13+0200 6x3te6iekp [info] getUpdateServerResponse response: Array
(
[version] => 12.0.3.1
[versionstring] => Nextcloud 12.0.3 RC2
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.3RC2.zip
[web] => https://docs.nextcloud.com/server/12/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => iHTGKqaPhVYw1sxRtaCxUCQms8v5pYaJOfkY5IB/vrDqiFj2FozbNEKbIKt3z2Y0
pDVXh1XYIU74aVq/ktV1NgUczFLyLMYKT7Sn+grd7i2eGL7UQphdqyFgfRALQBuG
J6WCYcEYlzsRRxfYMkcaN3v1bQvBjhsSG5FvsQ4MUwI2MlkfRYyk5+558mhNgdAo
5X/4uBm+29lOWq1YFae6TzQkQjDWln4IOb3LmL6gg/3+5iNV84UhCukEwugHjoCA
nw5jRam2CYrsw5IWfIXVPqLKJckLN1zP3QIrOwLvtjiiWird/SEesWVs/Aefef75
e6hCvGvWtiNUEsJz4h1CiA==
)
2017-09-18T13:05:13+0200 6x3te6iekp [info] storage location exists
2017-09-18T13:05:18+0200 6x3te6iekp [info] end of downloadUpdate()
2017-09-18T13:05:18+0200 6x3te6iekp [info] endStep("5")
2017-09-18T13:05:18+0200 jhhVlEfOs3 [info] request to updater
2017-09-18T13:05:18+0200 jhhVlEfOs3 [info] currentStep()
2017-09-18T13:05:18+0200 jhhVlEfOs3 [info] Step 5 is in state "end".
2017-09-18T13:05:18+0200 jhhVlEfOs3 [info] POST request for step "6"
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] startStep("6")
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] verifyIntegrity()
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] getUpdateServerResponse()
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] updaterServer: https://updates.nextcloud.org/updater_server/
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] releaseChannel: beta
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] internal version: 12.0.2.0
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] updateURL: https://updates.nextcloud.org/updater_server/?version=12x0x2x0xxxbetaxx2017-08-13T10%3A45%3A55%2B00%3A00+4a140398a93af53f36eb3c7aa659d09fe7f62f26x7x0x22
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] getUpdateServerResponse response: Array
(
[version] => 12.0.3.1
[versionstring] => Nextcloud 12.0.3 RC2
[url] => https://download.nextcloud.com/server/prereleases/nextcloud-12.0.3RC2.zip
[web] => https://docs.nextcloud.com/server/12/admin_manual/maintenance/upgrade.html
[autoupdater] => 1
[signature] => iHTGKqaPhVYw1sxRtaCxUCQms8v5pYaJOfkY5IB/vrDqiFj2FozbNEKbIKt3z2Y0
pDVXh1XYIU74aVq/ktV1NgUczFLyLMYKT7Sn+grd7i2eGL7UQphdqyFgfRALQBuG
J6WCYcEYlzsRRxfYMkcaN3v1bQvBjhsSG5FvsQ4MUwI2MlkfRYyk5+558mhNgdAo
5X/4uBm+29lOWq1YFae6TzQkQjDWln4IOb3LmL6gg/3+5iNV84UhCukEwugHjoCA
nw5jRam2CYrsw5IWfIXVPqLKJckLN1zP3QIrOwLvtjiiWird/SEesWVs/Aefef75
e6hCvGvWtiNUEsJz4h1CiA==
)
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] storage location: /mnt/btrfs/nextcloud/updater-oc6bv5n6btbh/downloads/
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] end of verifyIntegrity()
2017-09-18T13:05:19+0200 jhhVlEfOs3 [info] endStep("6")
2017-09-18T13:05:19+0200 zq1BIx59gb [info] request to updater
2017-09-18T13:05:19+0200 zq1BIx59gb [info] currentStep()
2017-09-18T13:05:19+0200 zq1BIx59gb [info] Step 6 is in state "end".
2017-09-18T13:05:19+0200 zq1BIx59gb [info] POST request for step "7"
2017-09-18T13:05:19+0200 zq1BIx59gb [info] startStep("7")
2017-09-18T13:05:19+0200 zq1BIx59gb [info] extractDownload()
2017-09-18T13:05:19+0200 zq1BIx59gb [info] storage location: /mnt/btrfs/nextcloud/updater-oc6bv5n6btbh/downloads/
2017-09-18T13:05:23+0200 zq1BIx59gb [info] end of extractDownload()
2017-09-18T13:05:23+0200 zq1BIx59gb [info] endStep("7")
2017-09-18T13:05:23+0200 ampqrLwZFn [info] request to updater
2017-09-18T13:05:23+0200 ampqrLwZFn [info] currentStep()
2017-09-18T13:05:23+0200 ampqrLwZFn [info] Step 7 is in state "end".
2017-09-18T13:05:23+0200 ampqrLwZFn [info] POST request for step "8"
2017-09-18T13:05:23+0200 ampqrLwZFn [info] startStep("8")
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replaceEntryPoints()
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replace index.php
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replace status.php
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replace remote.php
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replace public.php
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replace ocs/v1.php
2017-09-18T13:05:23+0200 ampqrLwZFn [info] replace ocs/v2.php
2017-09-18T13:05:23+0200 ampqrLwZFn [info] end of replaceEntryPoints()
2017-09-18T13:05:23+0200 ampqrLwZFn [info] endStep("8")
2017-09-18T13:05:23+0200 qX5fMd5qog [info] request to updater
2017-09-18T13:05:23+0200 qX5fMd5qog [info] currentStep()
2017-09-18T13:05:23+0200 qX5fMd5qog [info] Step 8 is in state "end".
2017-09-18T13:05:23+0200 qX5fMd5qog [info] POST request for step "9"
2017-09-18T13:05:23+0200 qX5fMd5qog [info] startStep("9")
2017-09-18T13:05:23+0200 qX5fMd5qog [info] deleteOldFiles()
2017-09-18T13:05:24+0200 qX5fMd5qog [info] config sample exists
2017-09-18T13:05:24+0200 qX5fMd5qog [info] thmes README exists
2017-09-18T13:05:26+0200 qX5fMd5qog [info] end of deleteOldFiles()
2017-09-18T13:05:26+0200 qX5fMd5qog [info] endStep("9")
2017-09-18T13:05:26+0200 3PVarhDLUh [info] request to updater
2017-09-18T13:05:26+0200 3PVarhDLUh [info] currentStep()
2017-09-18T13:05:26+0200 3PVarhDLUh [info] Step 9 is in state "end".
2017-09-18T13:05:26+0200 3PVarhDLUh [info] POST request for step "10"
2017-09-18T13:05:26+0200 3PVarhDLUh [info] startStep("10")
2017-09-18T13:05:26+0200 3PVarhDLUh [info] moveNewVersionInPlace()
2017-09-18T13:05:26+0200 3PVarhDLUh [info] storage location: /mnt/btrfs/nextcloud/updater-oc6bv5n6btbh/downloads/nextcloud/
2017-09-18T13:05:30+0200 3PVarhDLUh [info] end of moveNewVersionInPlace()
2017-09-18T13:05:30+0200 3PVarhDLUh [info] endStep("10")
2017-09-18T13:05:42+0200 ErbpdOztHz [info] request to updater
2017-09-18T13:05:42+0200 ErbpdOztHz [info] currentStep()
2017-09-18T13:05:42+0200 ErbpdOztHz [info] Step 10 is in state "end".
2017-09-18T13:05:42+0200 ErbpdOztHz [info] POST request for step "11"
2017-09-18T13:05:42+0200 ErbpdOztHz [info] startStep("11")
2017-09-18T13:05:42+0200 ErbpdOztHz [info] setMaintenanceMode("false")
2017-09-18T13:05:42+0200 ErbpdOztHz [info] configFileName /var/www/localhost/htdocs/nextcloud/updater/../config/config.php
2017-09-18T13:05:42+0200 ErbpdOztHz [info] end of setMaintenanceMode()
2017-09-18T13:05:42+0200 ErbpdOztHz [info] endStep("11")
2017-09-18T13:05:42+0200 4IQe47qmTr [info] request to updater
2017-09-18T13:05:42+0200 4IQe47qmTr [info] currentStep()
2017-09-18T13:05:42+0200 4IQe47qmTr [info] Step 11 is in state "end".
2017-09-18T13:05:42+0200 4IQe47qmTr [info] POST request for step "12"
2017-09-18T13:05:42+0200 4IQe47qmTr [info] startStep("12")
2017-09-18T13:05:42+0200 4IQe47qmTr [info] finalize()
2017-09-18T13:05:42+0200 4IQe47qmTr [info] storage location: /mnt/btrfs/nextcloud/updater-oc6bv5n6btbh/downloads/nextcloud/
2017-09-18T13:05:42+0200 4IQe47qmTr [info] call opcache_reset()
2017-09-18T13:05:42+0200 4IQe47qmTr [info] end of finalize()
2017-09-18T13:05:42+0200 4IQe47qmTr [info] endStep("12")
Web server error log
not applicable, because using command line
Nextcloud log (data/nextcloud.log)
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Updater::setDebugLogLevel: Set log level to debug","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":0,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"starting upgrade from 12.0.2.0 to 12.0.3.1","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Repair::step: Repair step: Repair MySQL collation","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Repair::info: Repair info: All tables already have the correct collation -> nothing to do","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Repair::step: Repair step: Repair SQLite autoincrement","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:35","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Repair::step: Repair step: Copy data from accounts table when migrating from ownCloud","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:36","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Repair::step: Repair step: Drop account terms table when migrating from ownCloud","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:36","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Updater::dbUpgradeBefore: Updating database schema","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":1,"time":"September 18, 2017 13:27:36","remoteAddr":"","user":"--","app":"updater","method":"--","url":"--","message":"\\OC\\Updater::dbUpgrade: Updated database","userAgent":"--","version":"12.0.2.0"}
{"reqId":"IoIH3Gh4QxQxtI5DvjQP","level":3,"time":"September 18, 2017 13:27:36","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Class OCA\\User_SAML\\UserBackend contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Authentication\\IApacheBackend::getLogoutUrl) at \/var\/www\/localhost\/htdocs\/nextcloud\/apps\/user_saml\/lib\/userbackend.php#34","userAgent":"--","version":"12.0.2.0"}
Steps to reproduce
Expected behaviour
Finishing successfully
Actual behaviour
Server configuration
Operating system: Gentoo Linux
Web server: nginx 1.13.5
Database: MariaDB 10.1.26
PHP version: 7.0.22
Nextcloud version: (see Nextcloud admin page) 12.0.2 (old) 12.0.3RC2 (wanted)
Updated from an older Nextcloud/ownCloud or fresh install: Update from 12.0.2
Where did you install Nextcloud from: Official web site (beta channel)
Signing status: Not possible at the moment, due upgrade failed
List of activated apps:
Nextcloud configuration:
Are you using external storage, if yes which one: local/smb/sftp/... Dropbox and another NC server
Are you using encryption: yes/no No, not actively
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... yes
LDAP configuration (delete this part if not used)
Client configuration
Browser: Safari
Operating system: macOS Sierra
Logs
Web server error log
not applicable, because using command line
Nextcloud log (data/nextcloud.log)
Browser log
not applicable, because using command line