NC 29.0.2: Some Files did not pass integrity check, Invalid Hash domain_change.rst.txt

Hi there,

after updating manually to NC29.0.2 because the auto-updater failed I got the message that some files did not pass the integrity check.

The expected hash of the file core/doc/admin/_sources/configuration_server/domain_change.rst.txt does not match the hash of the existing file.

I already tried downloading NC 29.0.2 again and copy that file over the one with the invalid hash. But the message remains the same.

Does anybody have a clue how to get rid of this message?

Here is the exact output:

Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • core
    • INVALID_HASH
      • core/doc/admin/_sources/configuration_server/domain_change.rst.txt

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[core/doc/admin/_sources/configuration_server/domain_change.rst.txt] => Array
(
[expected] => 6379a648a01dbae201d518aa3b37259dab3d41f73c88bfadf8248f34987827658e2340b3af7e0a7dd1b02813bab1933a083e03d883ada31b8143e6093989c688
[current] => e3029a486c5fc2cab69df4eec50fe28be3fcb4d7da4ccdf8ef53c61561c54249b4584a66a62de1ae23be8d7a16b9be607678d7a94a92d4298d4991de6c4ef147
)

            )

    )

)

I already tried downloading NC 29.0.2 again and copy that file over the one with the invalid hash. But the message remains the same.

Did you click Rescan after replacing the file?

If so, and the problem remains, double-check how you’re uploading the replacement file. Hopefully you’re not using plain FTP, but if you are make sure it’s in binary mode (not ascii), for example.

after updating manually to NC29.0.2 because the auto-updater failed

I’d be interested in hearing more about how precisely the built-in Updater failed for you. There’s a dedicated log file called updater.log that may be helpful in troubleshooting.

Sorry, you are right I did not make sure to use binary mode in Filezilla.
Loading the File up in binary mode fixed the issue.

I don`t have the updater.log anymore.
The auto-updater stuck somewhere removing the old nextcloud files.
After that the NextCloud was not accessible and I noticed that all core files including occ were gone.

The log is located in your datadirectory adjacent to your nextcloud.log. It should still be there.

Okay, found it. It just ends after deleting old files.
Here are the entries regarding the upgrade to 29.0.2

(
[version] => 29.0.2.2
[versionstring] => Nextcloud 29.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-29.0.2.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=29.0.2
[autoupdater] => 1
[eol] => 0
[signature] => KY25HwDSwxZc4BDnH4D1HLp62oyKGBneV/GZZNkmTgB2TJnhuXK/GCggOQrfhsPL
gBT6PcC6vsTZ7ADSXKOVLbkHpO5+SBFyi47ZrCAsovj96GIRVA7Tulw4+1CCNr3O
iue87EL7xWl1xbsFGUxC9CGdWp/uRVIeBeZQZtLTh/xuR0xDRcLUTRcoPwA7AvYH
oy6p591P0P0BFvSe3Cx4tHd7MnMCU+12AjzwUppa0DwdJoHe0348VUH6wRomKMP0
BxqDI0Ae9eDr9cID1eTQ4CUfbbH5T34rTO/gf+EKDg1cBBRYLK7K1vAHXzmXKYS1
oNTSD0aFMf+2zYzpI5wy3A==
)

2024-06-20T18:15:00+0200 cxkJvsr8Yc [info] checkForUpdate() Array
(
[version] => 29.0.2.2
[versionstring] => Nextcloud 29.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-29.0.2.zip
[web] => https://docs.nextcloud.com/server/29/admin_manual/maintenance/upgrade.html
[changes] => https://updates.nextcloud.com/changelog_server/?version=29.0.2
[autoupdater] => 1
[eol] => 0
[signature] => KY25HwDSwxZc4BDnH4D1HLp62oyKGBneV/GZZNkmTgB2TJnhuXK/GCggOQrfhsPL
gBT6PcC6vsTZ7ADSXKOVLbkHpO5+SBFyi47ZrCAsovj96GIRVA7Tulw4+1CCNr3O
iue87EL7xWl1xbsFGUxC9CGdWp/uRVIeBeZQZtLTh/xuR0xDRcLUTRcoPwA7AvYH
oy6p591P0P0BFvSe3Cx4tHd7MnMCU+12AjzwUppa0DwdJoHe0348VUH6wRomKMP0
BxqDI0Ae9eDr9cID1eTQ4CUfbbH5T34rTO/gf+EKDg1cBBRYLK7K1vAHXzmXKYS1
oNTSD0aFMf+2zYzpI5wy3A==
)

2024-06-20T18:15:00+0200 cxkJvsr8Yc [info] getChangelogURL()
2024-06-20T18:15:00+0200 cxkJvsr8Yc [info] end of checkForUpdate() Update to Nextcloud 29.0.2 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-29.0.2.zip
Open changelog :arrow_upper_right:
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] request to updater
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] currentStep()
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] POST request for step “1”
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] startStep(“1”)
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] checkForExpectedFilesAndFolders()
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] end of checkForExpectedFilesAndFolders()
2024-06-20T18:15:02+0200 3JG7ASEIR1 [info] endStep(“1”)
2024-06-20T18:15:02+0200 vpTtdZywCc [info] request to updater
2024-06-20T18:15:02+0200 vpTtdZywCc [info] currentStep()
2024-06-20T18:15:02+0200 vpTtdZywCc [info] Step 1 is in state “end”.
2024-06-20T18:15:02+0200 vpTtdZywCc [info] POST request for step “2”
2024-06-20T18:15:02+0200 vpTtdZywCc [info] startStep(“2”)
2024-06-20T18:15:02+0200 vpTtdZywCc [info] checkWritePermissions()
2024-06-20T18:15:02+0200 vpTtdZywCc [info] end of checkWritePermissions()
2024-06-20T18:15:02+0200 vpTtdZywCc [info] endStep(“2”)
2024-06-20T18:15:02+0200 wKVt1r6Qr7 [info] request to updater
2024-06-20T18:15:02+0200 wKVt1r6Qr7 [info] currentStep()
2024-06-20T18:15:02+0200 wKVt1r6Qr7 [info] Step 2 is in state “end”.
2024-06-20T18:15:02+0200 wKVt1r6Qr7 [info] POST request for step “3”
2024-06-20T18:15:03+0200 wKVt1r6Qr7 [info] startStep(“3”)
2024-06-20T18:15:03+0200 wKVt1r6Qr7 [info] createBackup()
2024-06-20T18:15:03+0200 wKVt1r6Qr7 [info] backup folder location: /www/htdocs/w0172630/vg-dresden.de/web/cloud/data/updater-ocauigqeen1q/backups/nextcloud-28.0.6.1-1718900103/
2024-06-20T18:15:06+0200 wKVt1r6Qr7 [info] end of createBackup()
2024-06-20T18:15:06+0200 wKVt1r6Qr7 [info] endStep(“3”)
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] request to updater
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] currentStep()
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] Step 3 is in state “end”.
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] POST request for step “4”
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] startStep(“4”)
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] downloadUpdate()
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] getUpdateServerResponse()
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] updaterServer: https://updates.nextcloud.com/updater_server/
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] releaseChannel: stable
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] internal version: 28.0.6.1
2024-06-20T18:15:06+0200 OdRRQAFeBl [info] updateURL: https://updates.nextcloud.com/updater_server/?version=28x0x6x1xxxstablexx2024-05-23T15%3A26%3A33%2B00%3A00+5481d81792b3eec0fddbb8bf56d78c1188519509x8x2x18
2024-06-20T18:15:07+0200 OdRRQAFeBl [info] getUpdateServerResponse response: Array
(
[version] => 29.0.2.2
[versionstring] => Nextcloud 29.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-29.0.2.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=29.0.2
[autoupdater] => 1
[eol] => 0
[signature] => KY25HwDSwxZc4BDnH4D1HLp62oyKGBneV/GZZNkmTgB2TJnhuXK/GCggOQrfhsPL
gBT6PcC6vsTZ7ADSXKOVLbkHpO5+SBFyi47ZrCAsovj96GIRVA7Tulw4+1CCNr3O
iue87EL7xWl1xbsFGUxC9CGdWp/uRVIeBeZQZtLTh/xuR0xDRcLUTRcoPwA7AvYH
oy6p591P0P0BFvSe3Cx4tHd7MnMCU+12AjzwUppa0DwdJoHe0348VUH6wRomKMP0
BxqDI0Ae9eDr9cID1eTQ4CUfbbH5T34rTO/gf+EKDg1cBBRYLK7K1vAHXzmXKYS1
oNTSD0aFMf+2zYzpI5wy3A==
)

2024-06-20T18:15:07+0200 OdRRQAFeBl [info] storage location exists
2024-06-20T18:15:14+0200 OdRRQAFeBl [info] end of downloadUpdate()
2024-06-20T18:15:14+0200 OdRRQAFeBl [info] endStep(“4”)
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] request to updater
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] currentStep()
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] Step 4 is in state “end”.
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] POST request for step “5”
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] startStep(“5”)
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] verifyIntegrity()
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] getUpdateServerResponse()
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] updaterServer: https://updates.nextcloud.com/updater_server/
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] releaseChannel: stable
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] internal version: 28.0.6.1
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] updateURL: https://updates.nextcloud.com/updater_server/?version=28x0x6x1xxxstablexx2024-05-23T15%3A26%3A33%2B00%3A00+5481d81792b3eec0fddbb8bf56d78c1188519509x8x2x18
2024-06-20T18:15:14+0200 vXKRk3MMjt [info] getUpdateServerResponse response: Array
(
[version] => 29.0.2.2
[versionstring] => Nextcloud 29.0.2
[url] => https://download.nextcloud.com/server/releases/nextcloud-29.0.2.zip
[web] => How to upgrade — Nextcloud latest Administration Manual latest documentation
[changes] => https://updates.nextcloud.com/changelog_server/?version=29.0.2
[autoupdater] => 1
[eol] => 0
[signature] => KY25HwDSwxZc4BDnH4D1HLp62oyKGBneV/GZZNkmTgB2TJnhuXK/GCggOQrfhsPL
gBT6PcC6vsTZ7ADSXKOVLbkHpO5+SBFyi47ZrCAsovj96GIRVA7Tulw4+1CCNr3O
iue87EL7xWl1xbsFGUxC9CGdWp/uRVIeBeZQZtLTh/xuR0xDRcLUTRcoPwA7AvYH
oy6p591P0P0BFvSe3Cx4tHd7MnMCU+12AjzwUppa0DwdJoHe0348VUH6wRomKMP0
BxqDI0Ae9eDr9cID1eTQ4CUfbbH5T34rTO/gf+EKDg1cBBRYLK7K1vAHXzmXKYS1
oNTSD0aFMf+2zYzpI5wy3A==
)

2024-06-20T18:15:14+0200 vXKRk3MMjt [info] storage location: /www/htdocs/…/…/web/cloud/data/updater-ocauigqeen1q/downloads/
2024-06-20T18:15:15+0200 vXKRk3MMjt [info] end of verifyIntegrity()
2024-06-20T18:15:15+0200 vXKRk3MMjt [info] endStep(“5”)
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] request to updater
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] currentStep()
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] Step 5 is in state “end”.
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] POST request for step “6”
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] startStep(“6”)
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] extractDownload()
2024-06-20T18:15:15+0200 97Y4BKcRpD [info] storage location: /www/htdocs/…/…/web/cloud/data/updater-ocauigqeen1q/downloads/
2024-06-20T18:15:18+0200 97Y4BKcRpD [info] end of extractDownload()
2024-06-20T18:15:18+0200 97Y4BKcRpD [info] endStep(“6”)
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] request to updater
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] currentStep()
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] Step 6 is in state “end”.
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] POST request for step “7”
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] startStep(“7”)
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] setMaintenanceMode(“true”)
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] configFileName /www/htdocs/…/…/web/cloud/updater/…/config/config.php
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] end of setMaintenanceMode()
2024-06-20T18:15:18+0200 FTxVbTK4rZ [info] endStep(“7”)
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] request to updater
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] currentStep()
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] Step 7 is in state “end”.
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] POST request for step “8”
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] startStep(“8”)
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replaceEntryPoints()
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replace index.php
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replace status.php
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replace remote.php
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replace public.php
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replace ocs/v1.php
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] replace ocs/v2.php
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] end of replaceEntryPoints()
2024-06-20T18:15:18+0200 n6xq4qiZZq [info] endStep(“8”)
2024-06-20T18:15:18+0200 1pxTcA6wUO [info] request to updater
2024-06-20T18:15:18+0200 1pxTcA6wUO [info] currentStep()
2024-06-20T18:15:18+0200 1pxTcA6wUO [info] Step 8 is in state “end”.
2024-06-20T18:15:18+0200 1pxTcA6wUO [info] POST request for step “9”
2024-06-20T18:15:18+0200 1pxTcA6wUO [info] startStep(“9”)
2024-06-20T18:15:18+0200 1pxTcA6wUO [info] deleteOldFiles()
2024-06-20T18:15:19+0200 1pxTcA6wUO [info] config sample exists
2024-06-20T18:15:19+0200 1pxTcA6wUO [info] themes README exists
2024-06-20T18:15:21+0200 1pxTcA6wUO [info] end of deleteOldFiles()
2024-06-20T18:15:21+0200 1pxTcA6wUO [info] endStep(“9”)

Since there are no errors after the download step, it’s possible it was a web server timeout if this was from running the Updater in web-mode.

To avoid that (as well as to capture any weird other errors that for some reason may not be logged), don’t use the offered update via the web UI. Instead run the Updater in command-line mode (next time you have an update to deploy). It will likely either work (by avoiding the web server timeouts) or, at the very least, provide some additional clues as to why it’s having difficulties in your environment.

Updater’s command-line mode docs: Upgrade via built-in updater — Nextcloud latest Administration Manual latest documentation