Error after update to 16.0.5 integrity check

Support intro

Sorry to hear you’re facing problems :slig

htly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 16.0.5):
Operating system and version (eg, Ubuntu 18.04.3):
Apache or nginx version (eg, Apache 2.4.25): nginx 1.17.4
PHP version (eg, 7.1): 7.3
PostgreSQL: 11.5

The issue you are facing: After update from 16.0.4 to 16.0.5 i get an integrity check error belonging INVALID HASH for many files in 3rdparty, core and lib.

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. Update 16.0.4 to 16.0.5
  2. take maintenance:mode --on for use in terminal to update
  3. update by command sudo -u www-data php occ upgrade
  4. wait for output and ready message
  5. switch maintenance:mode --off by occ command
  6. i used sudo -u www-data php occ maintenance:repair after that

The output of your Nextcloud log in settings:

> Blockquote
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
		- 3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php
		- core/doc/admin/_sources/configuration_files/big_file_upload_configuration.rst.txt
		- core/doc/admin/_sources/installation/nginx.rst.txt
		- core/doc/admin/_sources/installation/system_requirements.rst.txt
		- core/doc/admin/configuration_files/big_file_upload_configuration.html
		- core/doc/admin/configuration_files/default_files_configuration.html
		- core/doc/admin/configuration_files/encryption_configuration.html
		- core/doc/admin/configuration_files/external_storage/amazons3.html
		- core/doc/admin/configuration_files/external_storage/auth_mechanisms.html
		- core/doc/admin/configuration_files/external_storage/ftp.html
		- core/doc/admin/configuration_files/external_storage/local.html
		- core/doc/admin/configuration_files/external_storage/nextcloud.html
		- core/doc/admin/configuration_files/external_storage/openstack.html
		- core/doc/admin/configuration_files/external_storage/sftp.html
		- core/doc/admin/configuration_files/external_storage/smb.html
		- core/doc/admin/configuration_files/external_storage/webdav.html
		- core/doc/admin/configuration_files/external_storage_configuration.html
		- core/doc/admin/configuration_files/external_storage_configuration_gui.html
		- core/doc/admin/configuration_files/federated_cloud_sharing_configuration.html
		- core/doc/admin/configuration_files/file_sharing_configuration.html
		- core/doc/admin/configuration_files/file_versioning.html
		- core/doc/admin/configuration_files/files_locking_transactional.html
		- core/doc/admin/configuration_files/index.html
		- core/doc/admin/configuration_files/previews_configuration.html
		- core/doc/admin/configuration_files/primary_storage.html
		- core/doc/admin/contents.html
		- core/doc/admin/installation/nginx.html
		- core/doc/admin/installation/system_requirements.html
		- core/doc/admin/searchindex.js
		- core/js/setupchecks.js
		- core/js/tests/specs/setupchecksSpec.js
		- core/l10n/ca.js
		- core/l10n/ca.json
		- core/l10n/cs.js
		- core/l10n/cs.json
		- core/l10n/da.js
		- core/l10n/da.json
		- core/l10n/de.js
		- core/l10n/de.json
		- core/l10n/de_DE.js
		- core/l10n/de_DE.json
		- core/l10n/eo.js
		- core/l10n/eo.json
		- core/l10n/es.js
		- core/l10n/es.json
		- core/l10n/fi.js
		- core/l10n/fi.json
		- core/l10n/fr.js
		- core/l10n/fr.json
		- core/l10n/gl.js
		- core/l10n/gl.json
		- core/l10n/he.js
		- core/l10n/he.json
		- core/l10n/hr.js
		- core/l10n/hr.json
		- core/l10n/hu.js
		- core/l10n/hu.json
		- core/l10n/is.js
		- core/l10n/is.json
		- core/l10n/it.js
		- core/l10n/it.json
		- core/l10n/ja.js
		- core/l10n/ja.json
		- core/l10n/ko.js
		- core/l10n/ko.json
		- core/l10n/lt_LT.js
		- core/l10n/lt_LT.json
		- core/l10n/mk.js
		- core/l10n/mk.json
		- core/l10n/nb.js
		- core/l10n/nb.json
		- core/l10n/nl.js
		- core/l10n/nl.json
		- core/l10n/pl.js
		- core/l10n/pl.json
		- core/l10n/pt_BR.js
		- core/l10n/pt_BR.json
		- core/l10n/pt_PT.js
		- core/l10n/pt_PT.json
		- core/l10n/ru.js
		- core/l10n/ru.json
		- core/l10n/sk.js
		- core/l10n/sk.json
		- core/l10n/sr.js
		- core/l10n/sr.json
		- core/l10n/sv.js
		- core/l10n/sv.json
		- core/l10n/tr.js
		- core/l10n/tr.json
		- core/l10n/uk.js
		- core/l10n/uk.json
		- core/l10n/zh_CN.js
		- core/l10n/zh_CN.json
		- core/l10n/zh_TW.js
		- core/l10n/zh_TW.json
		- lib/private/Console/Application.php


I’ve read that INVALID HASH integrity check means, that the files are not original as expected by nextcloud. So i downloaded the zip file manual (not by updater)

I unpacked all files and copied over them to install directory (homedir of nextcloud)

After that i used following command:

sudo -u www-data php occ upgrade

The output ended without any errors.

After that i did a
sudo -u www-data php occ maintenance:repair
again

Also after that command no errors in terminal output.
After reboot and integrity check my errors above resist …

I followed these instructions
https://docs.nextcloud.com/server/16/admin_manual/issues/code_signing.html

What can more to be done for solving this issue?!

The following Raw output i get

I’ve added more pics of my actions …