How to solve this?
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)
From that I get:
Results
core
INVALID_HASH
.htaccess
core/doc/admin/_sources/configuration_files/collaborative_documents_configuration.txt
core/doc/admin/_static/img/note_pencil.svg
core/doc/admin/_static/img/warning.svg
core/doc/admin/_static/style.css
core/fonts/LICENSE.txt
core/vendor/jsTimezoneDetect/jstz.js
FILE_MISSING
files_external
files_texteditor
INVALID_HASH
js/vendor/ace/src-noconflict/mode-diff.js
Raw output
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => ab5f4c44ba2f9c66f2ed25c3ad3d84660b2808cca11ffa8fe2778a648a054d8ada495a0bf4715dc873aac1efe8dfd92a72f9a24441d8f5240834e639325fd892
[current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
)
[core/doc/admin/_sources/configuration_files/collaborative_documents_configuration.txt] => Array
(
[expected] => 54e01aeda1129411b290fe13d00ab5dc22e6035cbfed71bbed565afd306e5b16af8deca018d9057bf6e36a54dbb92a12a8a08a2652a539ea3c7e007571d017d4
[current] => d813044e8820af24c6a02b33578a82b01e1db34cb70b75fbc2864e1a1f825556debf8fab61ebdcaae94c7963d1e71ae57410be6dcee598c444559de6e98f5fb8
)
[core/doc/admin/_static/img/note_pencil.svg] => Array
(
[expected] => 78b9df57afe9468145e6e375cd1f61274b269b9c3019726a99e043ae952367acf53cf471cbc5b3dcca2e68367c2c4422d4a9f9a9fdbb11f9b962845ac77857de
[current] => 97117ce2827cc1b742678b52fc100de1e7d3fdb1adeea04a301c012e7f95b66e10a369c6a83ba89a707c4232b5e31fba3d5e58b0e0d970f22031d0704eebb5a9
)
[core/doc/admin/_static/img/warning.svg] => Array
(
[expected] => e8647b47ef1531b8c2fcdd51f76996fe85476467fc694540f3dcf8ce7e7da489e99edae5a158742da71c07dc09ccfaf721f01c1c4bda3f5bae9b711981b71a1b
[current] => 85687f19cf204716e9b1c608682aa22c045b6f8284a3496db07f13200952491bfea54deee7ef11115c0dedfd87443c7022ef05792892a8a984866752c8ec5726
)
[core/doc/admin/_static/style.css] => Array
(
[expected] => 894b1bea3e2b6bc61824ffebc081339a6caf0b57cda7fa9b9c9a5965e2a165dc177055db176cb535ef465c927b4bc4848802fe3e1b0fb709194b3cb7d2f90f8d
[current] => 5d9fbe71f0eae36c5a9c50f98733cc9e7a5bc7b2b56e3937c4431cf5e54649667bbe8f5900cdcbfbaa8b1eb8d5476d42a278d210c38110411885ad818e3a963a
)
[core/fonts/LICENSE.txt] => Array
(
[expected] => 4cc5a12bfe984c0a50bf7943e2d70a948d520ef423677c77629707aace3a95aa378d205de929105d644680679e70ef2449479b360ad44896b75bafed66613272
[current] => 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
)
[core/vendor/jsTimezoneDetect/jstz.js] => Array
(
[expected] => ece74dd6f5fc9587cf167dd17df51b66f70bd711f445da8d1d21bb1b0570f3c97b25d3ece110b08e2f2b294369d9b775cc169b666840a5b769ba338aa6d73d48
[current] => beae737d18aae6e8c5fdfb0bf3389b687ec746e6b334185710cc5b8f45b73b3c57442db541807ab440b55517ef2d138f4c40148abafcb6462481016b617e1f53
)
)
[FILE_MISSING] => Array
(
[.user.ini] => Array
(
[expected] => 0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f
[current] =>
)
)
)
[files_external] => Array
(
[INVALID_HASH] => Array
(
[3rdparty/Dropbox/API.php] => Array
(
[expected] => a6866ef3ceeb26d9d4b2ccc343aeaf626c82f03e279962bc7d761a68e87e5a7916ff0bcf7a350e20889557336ed9c5dd1651cfe513fa04bb8a03cd6d8f9cc484
[current] => 917eed2c4f6359a4d0b8658a36404c83344b0bf72ccda614dd59f97d099b3d9ef4e86691401c64d3754c3f7e0fa163eab946a25dbc7bc65e1694ffd47a054317
)
)
)
[files_texteditor] => Array
(
[INVALID_HASH] => Array
(
[js/vendor/ace/src-noconflict/mode-diff.js] => Array
(
[expected] => 4a59b6376376b81e4e12ccc345065db62029a61035a88e19b1be3d7ec4cd9f86444121cca6d46c44a5f86e4f5b44d5109cbc77e80c07ff8dbce61f758b88e765
[current] => 298cba4d3b472b418aca47db6522c752a4b5530de3f6f2d83eb42eb5fe4231356bfd860a7e2f735b3e5ced759dbc6ca26fc6a18c49bd7ffa07d5a6faa78ae51d
)
)
)
)
tflidd
November 26, 2016, 9:49pm
2
you can get the original files of your Nextcloud here: nextcloud.com/changelog
The hidden .htaccess-file is often omitted when copying files. The others were perhaps skipped by accident or modified during file transfer (especially via FTP).
ant0n
October 16, 2022, 5:27am
3
I referenced this solution here:
opened 04:18AM - 08 Oct 22 UTC
closed 09:52PM - 10 Oct 22 UTC
bug
0. Needs triage
### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no… t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
Hi
This File is provided by Nextcloud
this happened after an upgrade from 24.0.5 to 24.0.6
Output from CLI...
`cloud ~]# sudo -u apache php /var/www/html/nextcloud/occ integrity:check-core
- INVALID_HASH:
- core/skeleton/Nextcloud Manual.pdf:
- expected: abf7371b397482bc58efefa57b69dc668f95605a31db558b8ef7e9bf595f44cf31434e879b553d4ee637a82068fdf92e201e85b196226b0c9205aa59aa32e686
- current: d6313a540657fe3f36d4ba8ba884a0996220fb340af05055aad632e75f4e9458fb4b8fb5b33fb75ae26841f9a9ff06a9919b6a282719593888566541701aa106
`
Output from GUI:
`
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/skeleton/Nextcloud Manual.pdf
- files_pdfviewer
- INVALID_HASH
- js/pdfjs/build/pdf.worker.js.map
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[core/skeleton/Nextcloud Manual.pdf] => Array
(
[expected] => abf7371b397482bc58efefa57b69dc668f95605a31db558b8ef7e9bf595f44cf31434e879b553d4ee637a82068fdf92e201e85b196226b0c9205aa59aa32e686
[current] => d6313a540657fe3f36d4ba8ba884a0996220fb340af05055aad632e75f4e9458fb4b8fb5b33fb75ae26841f9a9ff06a9919b6a282719593888566541701aa106
)
)
)
[files_pdfviewer] => Array
(
[INVALID_HASH] => Array
(
[js/pdfjs/build/pdf.worker.js.map] => Array
(
[expected] => 6dea795c3fc20801ac14e3d54ce7c4af9bf29ef758e656576f88c459e133314a2c440f58c2953bde8b2011b355cfb53a867344480e76b2587ee6bb017adf2368
[current] => c2a3a6bf8c0bbd765d04c3e37f6fbce4d2f4926e78913e8bd739cfb883ed89ca65b6f6c84495fc610bc3439fd13f8fac2f466d75c82851a02cb4ee2a7b545c82
)
)
)
)
`
### Steps to reproduce
upgrade from 24.0.5 to 24.0.6 on CLI
### Expected behavior
no errors in overview/scan after update
### Installation method
Community Manual installation with Archive
### Operating system
RHEL/CentOS
### PHP engine version
PHP 7.4
### Web server
Apache (supported)
### Database engine version
MySQL
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
### Are you using the Nextcloud Server Encryption module?
_No response_
### What user-backends are you using?
- [X] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
```shell
sudo -u apache php /var/www/html/nextcloud/occ config:list system
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"allow_local_remote_servers": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"overwriteprotocol": "https",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "24.0.6.1",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"default_phone_region": "***REMOVED SENSITIVE VALUE***",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"loglevel": 2
}
}
```
### List of activated Apps
```shell
sudo -u apache php /var/www/html/nextcloud/occ app:list
Enabled:
- accessibility: 1.10.0
- activity: 2.16.0
- admin_audit: 1.14.0
- announcementcenter: 6.3.1
- bruteforcesettings: 2.4.0
- calendar: 3.5.0
- circles: 24.0.1
- cloud_federation_api: 1.7.0
- comments: 1.14.0
- contacts: 4.2.0
- contactsinteraction: 1.5.0
- dashboard: 7.4.0
- dav: 1.22.0
- deck: 1.7.1
- external: 4.0.0
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_external: 1.16.1
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- firstrunwizard: 2.13.0
- forms: 2.5.1
- integration_google: 1.0.8
- integration_openproject: 2.0.4
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- maps: 0.2.1
- nextcloud_announcements: 1.13.0
- notes: 4.5.1
- notifications: 2.12.1
- oauth2: 1.12.0
- onlyoffice: 7.5.4
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- recommendations: 1.3.0
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- tasks: 0.14.4
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- twofactor_totp: 6.4.0
- updatenotification: 1.14.0
- user_status: 1.4.0
- viewer: 1.8.0
- weather_status: 1.4.0
- workflowengine: 2.6.0
Disabled:
- encryption
- mail: 1.13.8
- user_ldap
```
### Nextcloud Signing status
```shell
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/skeleton/Nextcloud Manual.pdf
- files_pdfviewer
- INVALID_HASH
- js/pdfjs/build/pdf.worker.js.map
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[core/skeleton/Nextcloud Manual.pdf] => Array
(
[expected] => abf7371b397482bc58efefa57b69dc668f95605a31db558b8ef7e9bf595f44cf31434e879b553d4ee637a82068fdf92e201e85b196226b0c9205aa59aa32e686
[current] => d6313a540657fe3f36d4ba8ba884a0996220fb340af05055aad632e75f4e9458fb4b8fb5b33fb75ae26841f9a9ff06a9919b6a282719593888566541701aa106
)
)
)
[files_pdfviewer] => Array
(
[INVALID_HASH] => Array
(
[js/pdfjs/build/pdf.worker.js.map] => Array
(
[expected] => 6dea795c3fc20801ac14e3d54ce7c4af9bf29ef758e656576f88c459e133314a2c440f58c2953bde8b2011b355cfb53a867344480e76b2587ee6bb017adf2368
[current] => c2a3a6bf8c0bbd765d04c3e37f6fbce4d2f4926e78913e8bd739cfb883ed89ca65b6f6c84495fc610bc3439fd13f8fac2f466d75c82851a02cb4ee2a7b545c82
)
)
)
)
```
### Nextcloud Logs
```shell
you may request that in PM, i will not put all logs publix
```
### Additional info
_No response_
please add to the docs because there is NO hint on where to get the correct files
in my case the updater was just maybe skipping files? so i reported a bug, but i cannot reproduce it and noone can
ant0n
October 16, 2022, 5:45am
4
I replaced the files from the 24.0.6 zip
the Nextcloud Manual pdf error is gone
the pdf worker js map is still there
i reported a bug, and you closed it, because you feel insulted by commuity users…
for what reason do you actually do opensource if you try to force payment to people who work for free for you?
wanna be like Google?
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
files_pdfviewer
INVALID_HASH
js/pdfjs/build/pdf.worker.js.map
Raw output
Array
(
[files_pdfviewer] => Array
(
[INVALID_HASH] => Array
(
[js/pdfjs/build/pdf.worker.js.map] => Array
(
[expected] => 6dea795c3fc20801ac14e3d54ce7c4af9bf29ef758e656576f88c459e133314a2c440f58c2953bde8b2011b355cfb53a867344480e76b2587ee6bb017adf2368
[current] => c2a3a6bf8c0bbd765d04c3e37f6fbce4d2f4926e78913e8bd739cfb883ed89ca65b6f6c84495fc610bc3439fd13f8fac2f466d75c82851a02cb4ee2a7b545c82
)
)
)
)