Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 21.0.1.1 Fails: Could not rmdir #366

Closed
fubz opened this issue Apr 9, 2021 · 2 comments
Closed

Update to 21.0.1.1 Fails: Could not rmdir #366

fubz opened this issue Apr 9, 2021 · 2 comments

Comments

@fubz
Copy link

fubz commented Apr 9, 2021

Update from version 20.x to 21.0.1.1 failed catastrophically. I cannot get the app to open up again. Here is my updater.log

2021-04-09T15:27:43+0000 G3qgQt9fWf [info] request to updater
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] currentStep()
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] show HTML page
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] current version: 20.0.5 build time: 2021-01-14T09:38:19+00:00 1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] getUpdateServerResponse()
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] releaseChannel: stable
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] internal version: 20.0.5.2
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexx2021-01-14T09%3A38%3A19%2B00%3A00+1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4x7x3x21
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] getUpdateServerResponse response: Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T15:27:43+0000 G3qgQt9fWf [info] checkForUpdate() Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T15:27:43+0000 G3qgQt9fWf [info] getChangelogURL()
2021-04-09T15:27:43+0000 G3qgQt9fWf [info] end of checkForUpdate() Update to Nextcloud 21.0.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#21-0-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2021-04-09T16:33:50+0000 JS62aFTAtB [info] request to updater
2021-04-09T16:33:50+0000 JS62aFTAtB [info] currentStep()
2021-04-09T16:33:50+0000 JS62aFTAtB [info] POST request for step "1"
2021-04-09T16:33:50+0000 JS62aFTAtB [info] startStep("1")
2021-04-09T16:33:50+0000 JS62aFTAtB [info] checkForExpectedFilesAndFolders()
2021-04-09T16:33:50+0000 JS62aFTAtB [info] end of checkForExpectedFilesAndFolders()
2021-04-09T16:33:50+0000 JS62aFTAtB [info] endStep("1")
2021-04-09T16:33:50+0000 iETAL35Edy [info] request to updater
2021-04-09T16:33:50+0000 iETAL35Edy [info] currentStep()
2021-04-09T16:33:50+0000 iETAL35Edy [info] Step 1 is in state "end".
2021-04-09T16:33:50+0000 iETAL35Edy [info] POST request for step "2"
2021-04-09T16:33:50+0000 iETAL35Edy [info] startStep("2")
2021-04-09T16:33:50+0000 iETAL35Edy [info] checkWritePermissions()
2021-04-09T16:33:50+0000 iETAL35Edy [info] end of checkWritePermissions()
2021-04-09T16:33:50+0000 iETAL35Edy [info] endStep("2")
2021-04-09T16:33:50+0000 ag1DaVph7y [info] request to updater
2021-04-09T16:33:50+0000 ag1DaVph7y [info] currentStep()
2021-04-09T16:33:50+0000 ag1DaVph7y [info] Step 2 is in state "end".
2021-04-09T16:33:50+0000 ag1DaVph7y [info] POST request for step "3"
2021-04-09T16:33:50+0000 ag1DaVph7y [info] startStep("3")
2021-04-09T16:33:50+0000 ag1DaVph7y [info] createBackup()
2021-04-09T16:33:50+0000 ag1DaVph7y [info] backup folder location: /data/updater-oc0j58g1t2ff/backups/nextcloud-20.0.5.2-1617986030/
2021-04-09T16:34:09+0000 ag1DaVph7y [info] end of createBackup()
2021-04-09T16:34:09+0000 ag1DaVph7y [info] endStep("3")
2021-04-09T16:34:09+0000 26YQyCcnnP [info] request to updater
2021-04-09T16:34:09+0000 26YQyCcnnP [info] currentStep()
2021-04-09T16:34:09+0000 26YQyCcnnP [info] Step 3 is in state "end".
2021-04-09T16:34:09+0000 26YQyCcnnP [info] POST request for step "4"
2021-04-09T16:34:09+0000 26YQyCcnnP [info] startStep("4")
2021-04-09T16:34:09+0000 26YQyCcnnP [info] downloadUpdate()
2021-04-09T16:34:09+0000 26YQyCcnnP [info] getUpdateServerResponse()
2021-04-09T16:34:09+0000 26YQyCcnnP [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-04-09T16:34:09+0000 26YQyCcnnP [info] releaseChannel: stable
2021-04-09T16:34:09+0000 26YQyCcnnP [info] internal version: 20.0.5.2
2021-04-09T16:34:09+0000 26YQyCcnnP [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexx2021-01-14T09%3A38%3A19%2B00%3A00+1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4x7x3x21
2021-04-09T16:34:09+0000 26YQyCcnnP [info] getUpdateServerResponse response: Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T16:34:09+0000 26YQyCcnnP [info] storage location exists
2021-04-09T16:34:17+0000 26YQyCcnnP [info] end of downloadUpdate()
2021-04-09T16:34:17+0000 26YQyCcnnP [info] endStep("4")
2021-04-09T16:34:17+0000 zgBAM9kFss [info] request to updater
2021-04-09T16:34:17+0000 zgBAM9kFss [info] currentStep()
2021-04-09T16:34:17+0000 zgBAM9kFss [info] Step 4 is in state "end".
2021-04-09T16:34:17+0000 zgBAM9kFss [info] POST request for step "5"
2021-04-09T16:34:17+0000 zgBAM9kFss [info] startStep("5")
2021-04-09T16:34:17+0000 zgBAM9kFss [info] verifyIntegrity()
2021-04-09T16:34:17+0000 zgBAM9kFss [info] getUpdateServerResponse()
2021-04-09T16:34:17+0000 zgBAM9kFss [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-04-09T16:34:17+0000 zgBAM9kFss [info] releaseChannel: stable
2021-04-09T16:34:17+0000 zgBAM9kFss [info] internal version: 20.0.5.2
2021-04-09T16:34:17+0000 zgBAM9kFss [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexx2021-01-14T09%3A38%3A19%2B00%3A00+1ef9a3f039d3a191ca797dfd1a3cb6d96ea4e3d4x7x3x21
2021-04-09T16:34:18+0000 zgBAM9kFss [info] getUpdateServerResponse response: Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T16:34:18+0000 zgBAM9kFss [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
2021-04-09T16:34:18+0000 zgBAM9kFss [info] end of verifyIntegrity()
2021-04-09T16:34:18+0000 zgBAM9kFss [info] endStep("5")
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] request to updater
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] currentStep()
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] Step 5 is in state "end".
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] POST request for step "6"
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] startStep("6")
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] extractDownload()
2021-04-09T16:34:19+0000 3DztZDvzk1 [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
2021-04-09T16:34:28+0000 3DztZDvzk1 [info] end of extractDownload()
2021-04-09T16:34:28+0000 3DztZDvzk1 [info] endStep("6")
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] request to updater
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] currentStep()
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] Step 6 is in state "end".
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] POST request for step "7"
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] startStep("7")
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] setMaintenanceMode("true")
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] configFileName /config/www/nextcloud/updater/../config/config.php
2021-04-09T16:34:28+0000 P5AnlC0Sjh [info] end of setMaintenanceMode()
2021-04-09T16:34:29+0000 P5AnlC0Sjh [info] endStep("7")
2021-04-09T16:34:29+0000 Xu7A41tcir [info] request to updater
2021-04-09T16:34:29+0000 Xu7A41tcir [info] currentStep()
2021-04-09T16:34:29+0000 Xu7A41tcir [info] Step 7 is in state "end".
2021-04-09T16:34:29+0000 Xu7A41tcir [info] POST request for step "8"
2021-04-09T16:34:29+0000 Xu7A41tcir [info] startStep("8")
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replaceEntryPoints()
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace index.php
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace status.php
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace remote.php
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace public.php
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace ocs/v1.php
2021-04-09T16:34:29+0000 Xu7A41tcir [info] replace ocs/v2.php
2021-04-09T16:34:29+0000 Xu7A41tcir [info] end of replaceEntryPoints()
2021-04-09T16:34:29+0000 Xu7A41tcir [info] endStep("8")
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] request to updater
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] currentStep()
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] Step 8 is in state "end".
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] POST request for step "9"
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] startStep("9")
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] deleteOldFiles()
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] config sample exists
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] themes README exists
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] end of deleteOldFiles()
2021-04-09T16:34:29+0000 1Sa8BQSyaF [info] endStep("9")
2021-04-09T16:34:29+0000 5xM19dU7xq [info] request to updater
2021-04-09T16:34:29+0000 5xM19dU7xq [info] currentStep()
2021-04-09T16:34:29+0000 5xM19dU7xq [info] Step 9 is in state "end".
2021-04-09T16:34:29+0000 5xM19dU7xq [info] POST request for step "10"
2021-04-09T16:34:29+0000 5xM19dU7xq [info] startStep("10")
2021-04-09T16:34:29+0000 5xM19dU7xq [info] moveNewVersionInPlace()
2021-04-09T16:34:29+0000 5xM19dU7xq [info] storage location: /data/updater-oc0j58g1t2ff/downloads/nextcloud/
2021-04-09T16:34:29+0000 5xM19dU7xq [error] POST request failed with other exception
2021-04-09T16:34:29+0000 5xM19dU7xq [error] Exception: Exception
Message: Could not rmdir /data/updater-oc0j58g1t2ff/downloads/nextcloud/resources/config
Code:0
Trace:
#0 /config/www/nextcloud/updater/index.php(1071): Updater->moveWithExclusions('/data/updater-o...', Array)
#1 /config/www/nextcloud/updater/index.php(1366): Updater->moveNewVersionInPlace()
#2 {main}
File:/config/www/nextcloud/updater/index.php
Line:1045

2021-04-09T16:34:29+0000 5xM19dU7xq [info] rollbackChanges("10")
2021-04-09T16:34:29+0000 5xM19dU7xq [info] unlink .step
2021-04-09T16:34:29+0000 5xM19dU7xq [info] rollbackChanges - step >= 7
2021-04-09T16:34:29+0000 5xM19dU7xq [info] end of  rollbackChanges()
2021-04-09T16:34:45+0000 QqpyoF3MqT [info] request to updater
2021-04-09T16:34:45+0000 QqpyoF3MqT [info] currentStep()
2021-04-09T16:34:45+0000 QqpyoF3MqT [info] POST request for step "10"
2021-04-09T16:34:45+0000 QqpyoF3MqT [info] startStep("10")
2021-04-09T16:34:45+0000 QqpyoF3MqT [info] moveNewVersionInPlace()
2021-04-09T16:34:45+0000 QqpyoF3MqT [info] storage location: /data/updater-oc0j58g1t2ff/downloads/nextcloud/
2021-04-09T16:34:46+0000 QqpyoF3MqT [error] POST request failed with other exception
2021-04-09T16:34:46+0000 QqpyoF3MqT [error] Exception: Exception
Message: Could not rmdir /data/updater-oc0j58g1t2ff/downloads/nextcloud/core/doc/user/_static/fonts/Lato
Code:0
Trace:
#0 /config/www/nextcloud/updater/index.php(1071): Updater->moveWithExclusions('/data/updater-o...', Array)
#1 /config/www/nextcloud/updater/index.php(1366): Updater->moveNewVersionInPlace()
#2 {main}
File:/config/www/nextcloud/updater/index.php
Line:1045

2021-04-09T16:34:46+0000 QqpyoF3MqT [info] rollbackChanges("10")
2021-04-09T16:34:46+0000 QqpyoF3MqT [info] unlink .step
2021-04-09T16:34:46+0000 QqpyoF3MqT [info] rollbackChanges - step >= 7
2021-04-09T16:34:46+0000 QqpyoF3MqT [info] end of  rollbackChanges()
2021-04-09T16:34:53+0000 3wlFKW0GZx [info] request to updater
2021-04-09T16:34:53+0000 3wlFKW0GZx [info] currentStep()
2021-04-09T16:34:53+0000 3wlFKW0GZx [info] show HTML page
2021-04-09T16:34:53+0000 3wlFKW0GZx [info] current version: 20.0.5 build time: 
2021-04-09T16:36:08+0000 ZvXund2W6Y [info] request to updater
2021-04-09T16:36:08+0000 ZvXund2W6Y [info] currentStep()
2021-04-09T16:36:08+0000 ZvXund2W6Y [info] show HTML page
2021-04-09T16:36:08+0000 ZvXund2W6Y [info] current version: 20.0.5 build time: 
2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] request to updater
2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] currentStep()
2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] show HTML page
2021-04-09T16:37:13+0000 xjdqDZcNHZ [info] current version: 20.0.5 build time: 
2021-04-09T16:37:37+0000 qE06P5QLi6 [info] request to updater
2021-04-09T16:37:37+0000 qE06P5QLi6 [info] currentStep()
2021-04-09T16:37:37+0000 qE06P5QLi6 [info] show HTML page
2021-04-09T16:37:37+0000 qE06P5QLi6 [info] current version: 20.0.5 build time: 
2021-04-09T16:37:49+0000 HNY3D0HQFb [info] request to updater
2021-04-09T16:37:49+0000 HNY3D0HQFb [info] currentStep()
2021-04-09T16:37:49+0000 HNY3D0HQFb [info] show HTML page
2021-04-09T16:37:49+0000 HNY3D0HQFb [info] current version: 20.0.5 build time: 
2021-04-09T16:37:54+0000 yVQsCVbaBP [info] request to updater
2021-04-09T16:37:54+0000 yVQsCVbaBP [info] currentStep()
2021-04-09T16:37:54+0000 yVQsCVbaBP [info] show HTML page
2021-04-09T16:37:54+0000 yVQsCVbaBP [info] current version: 20.0.5 build time: 
2021-04-09T16:38:10+0000 gnO9gb19gQ [info] request to updater
2021-04-09T16:38:10+0000 gnO9gb19gQ [info] currentStep()
2021-04-09T16:38:10+0000 gnO9gb19gQ [info] show HTML page
2021-04-09T16:38:10+0000 gnO9gb19gQ [info] current version: 20.0.5 build time: 
2021-04-09T16:38:28+0000 PxCM4gzJVq [info] request to updater
2021-04-09T16:38:28+0000 PxCM4gzJVq [info] currentStep()
2021-04-09T16:38:28+0000 PxCM4gzJVq [info] show HTML page
2021-04-09T16:38:28+0000 PxCM4gzJVq [info] current version: 20.0.5 build time: 
2021-04-09T16:38:31+0000 7THCsUhyW5 [info] request to updater
2021-04-09T16:38:31+0000 7THCsUhyW5 [info] currentStep()
2021-04-09T16:38:31+0000 7THCsUhyW5 [info] show HTML page
2021-04-09T16:38:31+0000 7THCsUhyW5 [info] current version: 20.0.5 build time: 
2021-04-09T16:39:30+0000 HIJkHbCKka [info] request to updater
2021-04-09T16:39:30+0000 HIJkHbCKka [info] currentStep()
2021-04-09T16:39:30+0000 HIJkHbCKka [info] show HTML page
2021-04-09T16:39:30+0000 HIJkHbCKka [info] current version: 20.0.5 build time: 
2021-04-09T16:39:34+0000 t25n4cLGfS [info] request to updater
2021-04-09T16:39:34+0000 t25n4cLGfS [info] currentStep()
2021-04-09T16:39:34+0000 t25n4cLGfS [info] show HTML page
2021-04-09T16:39:34+0000 t25n4cLGfS [info] current version: 20.0.5 build time: 
2021-04-09T16:39:41+0000 W7dnEV6lzy [info] request to updater
2021-04-09T16:39:41+0000 W7dnEV6lzy [info] currentStep()
2021-04-09T16:39:41+0000 W7dnEV6lzy [info] show HTML page
2021-04-09T16:39:41+0000 W7dnEV6lzy [info] current version: 20.0.5 build time: 
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] request to updater
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] currentStep()
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] show HTML page
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] current version: 20.0.5 build time: 
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] getUpdateServerResponse()
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] releaseChannel: stable
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] internal version: 20.0.5.2
2021-04-09T16:42:21+0000 w8Hh2TsRmL [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexxx7x3x21
2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] getUpdateServerResponse response: Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] checkForUpdate() Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] getChangelogURL()
2021-04-09T16:42:22+0000 w8Hh2TsRmL [info] end of checkForUpdate() Update to Nextcloud 21.0.1 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#21-0-1" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] request to updater
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] currentStep()
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] POST request for step "1"
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] startStep("1")
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] checkForExpectedFilesAndFolders()
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] end of checkForExpectedFilesAndFolders()
2021-04-09T16:42:27+0000 0Y3tQ0D9fN [info] endStep("1")
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] request to updater
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] currentStep()
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] Step 1 is in state "end".
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] POST request for step "2"
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] startStep("2")
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] checkWritePermissions()
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] end of checkWritePermissions()
2021-04-09T16:42:27+0000 MbjTB5fOVK [info] endStep("2")
2021-04-09T16:42:27+0000 rY4KszPIMl [info] request to updater
2021-04-09T16:42:27+0000 rY4KszPIMl [info] currentStep()
2021-04-09T16:42:27+0000 rY4KszPIMl [info] Step 2 is in state "end".
2021-04-09T16:42:27+0000 rY4KszPIMl [info] POST request for step "3"
2021-04-09T16:42:27+0000 rY4KszPIMl [info] startStep("3")
2021-04-09T16:42:27+0000 rY4KszPIMl [info] createBackup()
2021-04-09T16:42:27+0000 rY4KszPIMl [info] backup folder location: /data/updater-oc0j58g1t2ff/backups/nextcloud-20.0.5.2-1617986547/
2021-04-09T16:42:34+0000 rY4KszPIMl [info] end of createBackup()
2021-04-09T16:42:34+0000 rY4KszPIMl [info] endStep("3")
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] request to updater
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] currentStep()
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] Step 3 is in state "end".
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] POST request for step "4"
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] startStep("4")
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] downloadUpdate()
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] getUpdateServerResponse()
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] releaseChannel: stable
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] internal version: 20.0.5.2
2021-04-09T16:42:34+0000 r1gFMjTc6f [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexxx7x3x21
2021-04-09T16:42:35+0000 r1gFMjTc6f [info] getUpdateServerResponse response: Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T16:42:35+0000 r1gFMjTc6f [info] storage location exists
2021-04-09T16:42:46+0000 r1gFMjTc6f [info] end of downloadUpdate()
2021-04-09T16:42:46+0000 r1gFMjTc6f [info] endStep("4")
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] request to updater
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] currentStep()
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] Step 4 is in state "end".
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] POST request for step "5"
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] startStep("5")
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] verifyIntegrity()
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] getUpdateServerResponse()
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] updaterServer: https://updates.nextcloud.com/updater_server/
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] releaseChannel: stable
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] internal version: 20.0.5.2
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] updateURL: https://updates.nextcloud.com/updater_server/?version=20x0x5x2xxxstablexxx7x3x21
2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] getUpdateServerResponse response: Array
(
    [version] => 21.0.1.1
    [versionstring] => Nextcloud 21.0.1
    [url] => https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip
    [web] => https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=21.0.1
    [autoupdater] => 1
    [eol] => 0
    [signature] => YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9
rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY
tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm
lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr
RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S
qRc0DHdtzXMmzq4t4PfZhg==
)

2021-04-09T16:42:46+0000 qkZ0fkhAMk [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
2021-04-09T16:42:47+0000 qkZ0fkhAMk [info] end of verifyIntegrity()
2021-04-09T16:42:47+0000 qkZ0fkhAMk [info] endStep("5")
2021-04-09T16:42:47+0000 AYmOLCEHlX [info] request to updater
2021-04-09T16:42:47+0000 AYmOLCEHlX [info] currentStep()
2021-04-09T16:42:47+0000 AYmOLCEHlX [info] Step 5 is in state "end".
2021-04-09T16:42:47+0000 AYmOLCEHlX [info] POST request for step "6"
2021-04-09T16:42:47+0000 AYmOLCEHlX [info] startStep("6")
2021-04-09T16:42:48+0000 AYmOLCEHlX [info] extractDownload()
2021-04-09T16:42:48+0000 AYmOLCEHlX [info] storage location: /data/updater-oc0j58g1t2ff/downloads/
2021-04-09T16:43:10+0000 na6Cb94QiZ [info] request to updater
2021-04-09T16:43:10+0000 na6Cb94QiZ [info] currentStep()
2021-04-09T16:43:10+0000 na6Cb94QiZ [info] Step 6 is in state "start".
2021-04-09T16:43:17+0000 57E3acoMTj [info] request to updater
2021-04-09T16:43:17+0000 57E3acoMTj [info] currentStep()
2021-04-09T16:43:17+0000 57E3acoMTj [info] Step 6 is in state "start".
2021-04-09T16:43:20+0000 f4G4x8zpkV [info] request to updater
2021-04-09T16:43:20+0000 f4G4x8zpkV [info] currentStep()
2021-04-09T16:43:20+0000 f4G4x8zpkV [info] Step 6 is in state "start".
2021-04-09T16:43:21+0000 CSs0UyXwZ0 [info] request to updater
2021-04-09T16:43:21+0000 CSs0UyXwZ0 [info] currentStep()
2021-04-09T16:43:21+0000 CSs0UyXwZ0 [info] Step 6 is in state "start".
2021-04-09T16:43:23+0000 xYIsfh46zq [info] request to updater
2021-04-09T16:43:23+0000 xYIsfh46zq [info] currentStep()
2021-04-09T16:43:23+0000 xYIsfh46zq [info] Step 6 is in state "start".
2021-04-09T16:44:18+0000 VEqf78rVD2 [info] request to updater
2021-04-09T16:44:18+0000 VEqf78rVD2 [info] currentStep()
2021-04-09T16:44:18+0000 VEqf78rVD2 [info] Step 6 is in state "start".
2021-04-09T16:49:50+0000 2qjwocqAPL [info] updater cli is executed
2021-04-09T16:49:50+0000 2qjwocqAPL [info] currentStep()
2021-04-09T16:49:50+0000 2qjwocqAPL [info] Step 6 is in state "start".
2021-04-09T16:51:09+0000 HQGiSJfDSm [info] request to updater
2021-04-09T16:51:09+0000 HQGiSJfDSm [info] currentStep()
2021-04-09T16:51:09+0000 HQGiSJfDSm [info] Step 6 is in state "start".
2021-04-09T16:52:51+0000 z1vVUAVkjd [info] request to updater
2021-04-09T16:52:51+0000 z1vVUAVkjd [info] currentStep()
2021-04-09T16:52:51+0000 z1vVUAVkjd [info] Step 6 is in state "start".
@joshtrichards
Copy link
Member

Looks like the first failure was when trying to move the new files into place:

[info] moveNewVersionInPlace()
2021-04-09T16:34:29+0000 5xM19dU7xq [info] storage location: /data/updater-oc0j58g1t2ff/downloads/nextcloud/
2021-04-09T16:34:29+0000 5xM19dU7xq [error] POST request failed with other exception
2021-04-09T16:34:29+0000 5xM19dU7xq [error] Exception: Exception
Message: Could not rmdir /data/updater-oc0j58g1t2ff/downloads/nextcloud/resources/config
Code:0
Trace:
#0 /config/www/nextcloud/updater/index.php(1071): Updater->moveWithExclusions('/data/updater-o...', Array)
#1 /config/www/nextcloud/updater/index.php(1366): Updater->moveNewVersionInPlace()
#2 {main}
File:/config/www/nextcloud/updater/index.php
Line:1045

Then when you started over again the failure was on step 6 (or that as when you gave up - not sure). The root cause may be related to Iterator work being covered in #519.

Hopefully you found the manual update approach documented in the Admin Manual in the Maintenance section in the meantime.

@joshtrichards joshtrichards changed the title Update to 21.0.1.1 Fails Update to 21.0.1.1 Fails: Could not rmdir Apr 23, 2024
@joshtrichards
Copy link
Member

Duplicate of #158

@joshtrichards joshtrichards marked this as a duplicate of #158 Oct 16, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants