Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Failed Code Integrity because of EXTRA_FILE after Update from 16.0.1 to 16.0.2 #16229
Yesterday, I update my Nextcloud 15 to Nextcloud 16.0.1 and everything looked fine (just for context). Today, I saw the new 16.0.2 version and started the update and it finished without any problems
But after the update, I went to the settings page and found that the NC was complaining about failed code integrity checks (see below). In addition, I noticed that I can't open the Apps list (maybe related, maybe a separate issue).
Steps to reproduce
I didn't try to reproduce it, but I would guess: Update from 188.8.131.52 to 184.108.40.206
The code integrity check should pass.
The code integrity check fails.
Operating system: Arch Linux 5.1.15
Web server: Apache
PHP version: 7.3.7
Nextcloud version: 16.0.2
Updated from an older Nextcloud/ownCloud or fresh install: Update from 16.0.1
Where did you install Nextcloud from: Update via Web-Interface
List of activated apps:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Operating system: Arch Linux
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Without logs noone can tell.
I just moved the cypress.json file and the whole cypress directory out of the nextcloud/apps/viewer and to my home folder and triggered a rescan.
Now no error is showing up and everythings seems to be working again. I can also open the Apps page again in the web gui.
Deleting /var/www/nextcloud/apps/viewer/cypress folder
solved the issue (all checks passed).
What I don't know is if this would affect to NC functionality or viewer app
EDIT: after deleting this files I was not able to access to users.
After restoring folders and file I can access to users and everything. All checks passes, error no longer appears. Cron and check launched manually, no errors found now (weird but worked)
My integrity check failed still after removing the cypress.json and the /apps/viewer/cypress folder. SSH session had created again this .rnd file to nextclouds root folder. So after removing also that (again, had to remove this first before update) integrity check got passed. Didn't have any problem with Apps or Users pages. They opened all the time normally.
Thank you @kesselb but shame i havent see the reply before.
Whas more quick to solve the problem, i havent time today to spend on the pc.