NC Update: Verifying integrity - Parsing response failed

hey there,
I have two websites installed, both at the same hoster.

Both sites I want to upgrade from version 30.0.11 to 31.0.5 and with the web updater I get the error at step 5 Verifying integrity. Tried 2 times but no success.

I’ve read som postings in here they say to set php memory limit to at least 512 MB. My hoster just gave me 256 MB and actually I can’t change the php.ini file. :unamused_face:

I’ve read about manually update via console but I can’t find any good example for windows11- users.

Ideas?

here are the updater.log lines from today 2025-05-22

2025-05-17T16:15:33+0200 UUS0uKVZSj [info] storage location: /home/sites/site100011332/web/nextcloud/data/updater-occjwvnvivmd/downloads/
2025-05-22T21:12:50+0200 3LsQ69jKxd [info] request to updater
2025-05-22T21:12:50+0200 3LsQ69jKxd [info] currentStep()
2025-05-22T21:12:50+0200 3LsQ69jKxd [info] Step 5 is in state “start”.
2025-05-22T21:13:43+0200 1X79hpVQuL [info] request to updater
2025-05-22T21:13:43+0200 1X79hpVQuL [info] currentStep()
2025-05-22T21:13:43+0200 1X79hpVQuL [info] Step 5 is in state “start”.
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] request to updater
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] currentStep()
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] show HTML page
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] current version: 30.0.11 build time: 2025-05-15T09:22:11+00:00 910ff501d418857bf757674aa9341625d4885716
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] getUpdateServerResponse()
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] updaterServer: https://updates.nextcloud.com/updater_server/
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] releaseChannel: stable
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] internal version: 30.0.11.1
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] updateURL: https://updates.nextcloud.com/updater_server/?version=30x0x11x1xxxstablexx2025-05-15T09%3A22%3A11%2B00%3A00+910ff501d418857bf757674aa9341625d4885716x8x2x26
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] getUpdateServerResponse response: Array
(
[version] => 31.0.5.1
[versionstring] => Nextcloud 31.0.5
[url] => https://download.nextcloud.com/server/releases/nextcloud-31.0.5.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=31.0.5
[autoupdater] => 1
[eol] => 0
[signature] => qYBT1phQunbz51n/Izz6flfsASKaqJWx/0Vyi7/GhZjbwlmKFL23R69qM0r7L7DY
pY3pCCOKEI3U0X7y+2m/HjhUVfZKCfWGE6QN3qbjhqoAVHq1MX79v9JLr7bayZeU
RLZRhduL0Rw8OFuBmRmhiSKeRfXs1UviD99XG+nMfMPHq0123K5nxNJgCFBdITBS
HyZJaGjubhx8ut1FxWeQ/HNl4dcg7/GJ0lBjER/YWcZ5MjY7KUbZu5APPIZ87LEA
gvAre0Lj78tiAJuyFfIbFrS4xcjHmPVUkt84/rw2zXC+SszO/NUCpHGSSg5SpDh/
4CPP2tsMCaJcvl5Jh1tmog==
)

2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] checkForUpdate() Array
(
[version] => 31.0.5.1
[versionstring] => Nextcloud 31.0.5
[url] => https://download.nextcloud.com/server/releases/nextcloud-31.0.5.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=31.0.5
[autoupdater] => 1
[eol] => 0
[signature] => qYBT1phQunbz51n/Izz6flfsASKaqJWx/0Vyi7/GhZjbwlmKFL23R69qM0r7L7DY
pY3pCCOKEI3U0X7y+2m/HjhUVfZKCfWGE6QN3qbjhqoAVHq1MX79v9JLr7bayZeU
RLZRhduL0Rw8OFuBmRmhiSKeRfXs1UviD99XG+nMfMPHq0123K5nxNJgCFBdITBS
HyZJaGjubhx8ut1FxWeQ/HNl4dcg7/GJ0lBjER/YWcZ5MjY7KUbZu5APPIZ87LEA
gvAre0Lj78tiAJuyFfIbFrS4xcjHmPVUkt84/rw2zXC+SszO/NUCpHGSSg5SpDh/
4CPP2tsMCaJcvl5Jh1tmog==
)

2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] getChangelogURL()
2025-05-22T21:14:57+0200 hLdMeMRJU1 [info] end of checkForUpdate() Update to Nextcloud 31.0.5 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-31.0.5.zip
Open changelog :up_right_arrow:
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] request to updater
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] currentStep()
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] POST request for step “1”
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] startStep(“1”)
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] checkForExpectedFilesAndFolders()
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] end of checkForExpectedFilesAndFolders()
2025-05-22T21:15:15+0200 qmEvr2zf3I [info] endStep(“1”)
2025-05-22T21:15:15+0200 dHStWP0znl [info] request to updater
2025-05-22T21:15:15+0200 dHStWP0znl [info] currentStep()
2025-05-22T21:15:15+0200 dHStWP0znl [info] Step 1 is in state “end”.
2025-05-22T21:15:15+0200 dHStWP0znl [info] POST request for step “2”
2025-05-22T21:15:15+0200 dHStWP0znl [info] startStep(“2”)
2025-05-22T21:15:15+0200 dHStWP0znl [info] checkWritePermissions()
2025-05-22T21:15:15+0200 dHStWP0znl [info] end of checkWritePermissions()
2025-05-22T21:15:15+0200 dHStWP0znl [info] endStep(“2”)
2025-05-22T21:15:15+0200 77qzmMet5Z [info] request to updater
2025-05-22T21:15:15+0200 77qzmMet5Z [info] currentStep()
2025-05-22T21:15:15+0200 77qzmMet5Z [info] Step 2 is in state “end”.
2025-05-22T21:15:15+0200 77qzmMet5Z [info] POST request for step “3”
2025-05-22T21:15:15+0200 77qzmMet5Z [info] startStep(“3”)
2025-05-22T21:15:15+0200 77qzmMet5Z [info] createBackup()
2025-05-22T21:15:15+0200 77qzmMet5Z [info] backup folder location: /home/sites/site100011332/web/nextcloud/data/updater-occjwvnvivmd/backups/nextcloud-30.0.11.1-1747941315/

… and I can’t see any line telling me about the error :unamused_face:

btw I activated PHP 8.2 and now the webupdater breaks at the backup

There are three ways to update:

  • Web Updater
  • CLI Updater
  • Manual update

The first two are the same Updater. The CLI mode of the Updater is the most reliable since it reduces dependencies on things like web server timeouts, permits disabling backups, etc. It still has the same memory requirements as the Web mode of the Updater.

The Manual update approach has no software dependencies. It’s not terribly difficult, but does require careful attention to detail to upload things in the correct spot/etc. It is best done from the command-line (and that’s how it is documented). Technically it can be done via a file transfer client as well.

All three methods are documented in the Maintenance chapter of the Nextcloud Server Administration Manual.

EDIT: And, yes, it’s probable you’re running into the 256M memory constraint since the v31 archive file is ~255M.

If you click on “show”, you should see a list of files that do not belong to the Nextcloud installation. These files must be deleted before the update can be started.

Not quite. The Verifying integrity step isn’t the same as the Check for expected files step. :wink: