How to correct file integrity check

Nextcloud’s file integrity checks came up with the following.

  • core
    • FILE_MISSING
      • .htaccess
      • .user.ini

I’ve read the documentation linked, however I’m not sure how to proceed at correcting the hash check.

Did you upload both files? This error message basically tells: “Nextcloud was not able to find the .htaccess and .user.ini file.”

Please login to your server and check whether you have actually uploaded these files. They are often marked as hidden file and thus can be easily missed.

Yes, I created both hidden files and verified they were on the server in core/. They belong to the www-data user and have 755 permissions.

They don’t need to be in the core/ folder. core here means the root directory.

Yes, I created the files in the Nextcloud root and rescanned. No-go.

What you are doing is not going to work, you need to upload the correct files from the Nextcloud ZIP or TAR and not empty .htaccess files.

  1. Download the 9.0.50 release
  2. Grab it’s .htaccess and .user.ini
  3. Upload that to your Nextcloud’s base folder
  4. Press rescan in the GUI
1 Like