Nextcloud version : 18.0.3
Operating system and version : Freebsd
Using nginx
Is this the first time you’ve seen this error? (Y/N) : Yes
The issue you are facing:
Unable to unable to update from 18.0.3 to 18.0.5 using “Updater”. Stuck at updating 18.0.5 process. The page can’t even roll-back to the previous working version 18.0.3. It is by default maintenance turn on but when i use occ command to manually turn maintenance off, it doesn’t lead me to my usual login page but the update page where it halted. when re-try to update i’m getting the same error.
Is this the first time you’ve seen this error? (Y/N): Yes
The output of your Nextcloud log in Admin > Logging:
Error message :
Exception: sh: ../../tools/allfontsgen: Exec format error
Detailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Repair step: Repair MySQL collation
Repair info: All tables already have the correct collation -> nothing to do
Repair step: Repair SQLite autoincrement
Repair step: Copy data from accounts table when migrating from ownCloud
Repair step: Drop account terms table when migrating from ownCloud
Updating database schema
Updated database
Repair step: Rebuild font library
Exception: sh: ../../tools/allfontsgen: Exec format error
Updater Log :
2020-06-08T17:31:43+0000 bs2UoCSWPd [info] rollbackChanges("5")
2020-06-08T17:31:43+0000 bs2UoCSWPd [info] unlink .step
2020-06-08T17:31:43+0000 bs2UoCSWPd [info] end of rollbackChanges()
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] request to updater
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] currentStep()
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] POST request for step "5"
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] startStep("5")
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] verifyIntegrity()
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] getUpdateServerResponse()
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] updaterServer: https://updates.nextcloud.com/updater_server/
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] releaseChannel: stable
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] internal version: 18.0.3.0
2020-06-08T17:37:07+0000 2CJNLbfsIh [info] updateURL: https://updates.nextcloud.com/updater_server/?version=18x0x3x0xxxstablexx2020-03-11T14%3A54%3A25%2B00%3A00+93cae9d2d17112084c882df902b31604151669c0x7x4x5
2020-06-08T17:37:08+0000 2CJNLbfsIh [info] getUpdateServerResponse response: Array
(
[version] => 18.0.4.2
[versionstring] => Nextcloud 18.0.4
[url] => https://download.nextcloud.com/server/releases/nextcloud-18.0.4.zip
[web] => https://docs.nextcloud.com/server/18/admin_manual/maintenance/upgrade.html
[changes] => https://updates.nextcloud.com/changelog_server/?version=18.0.4
[autoupdater] => 1
[eol] => 0
[signature] => UZtvzq+6HDxwjG5BYJGA2dXhWXR+pkMxlCVLYicWfLdHNk+Cy9rhbM+wcXD4ihLW
aOIl1FeK737GbI69z5MM53eRPDu/uqyFyTZfvzk+ia6oh5UHOBpcSZABuqmLRHyL
v+kTiAzY/XtO23EvvFsCZahmOQi2forxutbc07X85SZavUuj9uL3wakp71LZIJoj
llOq6xS08I8ayEfqkmzVyHXAiXqwJvhRQJ2NqxAZlzbjzljoPDZbmWo4uZljDN1O
4wtU37N/nM+NYGx5biD5TuchqdX5LE8aI0JSeVa3APCvpVCPt7PFWrvMD3TgjpQ3
k4TP/m2/0C2ezzBQVP8Atg==
)
2020-06-08T17:37:08+0000 2CJNLbfsIh [info] storage location: /usr/local/www/nextcloud/data/updater-ocbx1vhcc5vl/downloads/
2020-06-08T17:37:09+0000 2CJNLbfsIh [info] end of verifyIntegrity()
2020-06-08T17:37:09+0000 2CJNLbfsIh [info] endStep("5")
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] request to updater
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] currentStep()
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] Step 5 is in state "end".
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] POST request for step "6"
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] startStep("6")
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] extractDownload()
2020-06-08T17:37:09+0000 SyMgLuOgOs [info] storage location: /usr/local/www/nextcloud/data/updater-ocbx1vhcc5vl/downloads/
2020-06-08T17:37:11+0000 SyMgLuOgOs [info] end of extractDownload()
2020-06-08T17:37:11+0000 SyMgLuOgOs [info] endStep("6")
2020-06-08T17:37:11+0000 v8yvmFWp8N [info] request to updater
2020-06-08T17:37:11+0000 v8yvmFWp8N [info] currentStep()
2020-06-08T17:37:11+0000 v8yvmFWp8N [info] Step 6 is in state "end".
2020-06-08T17:37:11+0000 v8yvmFWp8N [info] POST request for step "7"
2020-06-08T17:37:12+0000 v8yvmFWp8N [info] startStep("7")
2020-06-08T17:37:12+0000 v8yvmFWp8N [info] setMaintenanceMode("true")
2020-06-08T17:37:12+0000 v8yvmFWp8N [info] configFileName /usr/local/www/nextcloud/updater/../config/config.php
2020-06-08T17:37:12+0000 v8yvmFWp8N [info] end of setMaintenanceMode()
2020-06-08T17:37:12+0000 v8yvmFWp8N [info] endStep("7")
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] request to updater
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] currentStep()
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] Step 7 is in state "end".
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] POST request for step "8"
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] startStep("8")
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replaceEntryPoints()
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replace index.php
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replace status.php
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replace remote.php
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replace public.php
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replace ocs/v1.php
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] replace ocs/v2.php
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] end of replaceEntryPoints()
2020-06-08T17:37:12+0000 3N4Qhhkx56 [info] endStep("8")
2020-06-08T17:37:12+0000 xrScJXOIKT [info] request to updater
2020-06-08T17:37:12+0000 xrScJXOIKT [info] currentStep()
2020-06-08T17:37:12+0000 xrScJXOIKT [info] Step 8 is in state "end".
2020-06-08T17:37:12+0000 xrScJXOIKT [info] POST request for step "9"
2020-06-08T17:37:12+0000 xrScJXOIKT [info] startStep("9")
2020-06-08T17:37:12+0000 xrScJXOIKT [info] deleteOldFiles()
2020-06-08T17:37:12+0000 xrScJXOIKT [info] config sample exists
2020-06-08T17:37:12+0000 xrScJXOIKT [info] themes README exists
2020-06-08T17:37:14+0000 xrScJXOIKT [info] end of deleteOldFiles()
2020-06-08T17:37:14+0000 xrScJXOIKT [info] endStep("9")
2020-06-08T17:37:14+0000 tbnLwQqAua [info] request to updater
2020-06-08T17:37:14+0000 tbnLwQqAua [info] currentStep()
2020-06-08T17:37:14+0000 tbnLwQqAua [info] Step 9 is in state "end".
2020-06-08T17:37:14+0000 tbnLwQqAua [info] POST request for step "10"
2020-06-08T17:37:15+0000 tbnLwQqAua [info] startStep("10")
2020-06-08T17:37:15+0000 tbnLwQqAua [info] moveNewVersionInPlace()
2020-06-08T17:37:15+0000 tbnLwQqAua [info] storage location: /usr/local/www/nextcloud/data/updater-ocbx1vhcc5vl/downloads/nextcloud/
2020-06-08T17:37:16+0000 tbnLwQqAua [info] end of moveNewVersionInPlace()
2020-06-08T17:37:16+0000 tbnLwQqAua [info] endStep("10")
2020-06-08T17:37:22+0000 g2u9fepczp [info] request to updater
2020-06-08T17:37:22+0000 g2u9fepczp [info] currentStep()
2020-06-08T17:37:22+0000 g2u9fepczp [info] Step 10 is in state "end".
2020-06-08T17:37:22+0000 g2u9fepczp [info] POST request for step "11"
2020-06-08T17:37:22+0000 g2u9fepczp [info] startStep("11")
2020-06-08T17:37:22+0000 g2u9fepczp [info] setMaintenanceMode("false")
2020-06-08T17:37:22+0000 g2u9fepczp [info] configFileName /usr/local/www/nextcloud/updater/../config/config.php
2020-06-08T17:37:22+0000 g2u9fepczp [info] end of setMaintenanceMode()
2020-06-08T17:37:22+0000 g2u9fepczp [info] endStep("11")
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] request to updater
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] currentStep()
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] Step 11 is in state "end".
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] POST request for step "12"
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] startStep("12")
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] finalize()
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] storage location: /usr/local/www/nextcloud/data/updater-ocbx1vhcc5vl/downloads/nextcloud/
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] call opcache_reset()
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] end of finalize()
2020-06-08T17:37:22+0000 HlsW4ykMJr [info] endStep("12")
I really hope someone could help on this. Looking forward for help.