I’m getting an error message from NC Admin overview. It says that some files have not passed the integrity test. When I look at the list of files it tells me that index.html is missing. I would just create one, but I can’t think for the life of me what it would need to have in it.
NC loads and everything I’ve tested so far seems ok.
I’d be grateful if anyone has any ideas about what to do.
It goes in the same directory as index.php. Don’t forget to chown and chmod your index.html appropriately so there are no issues updating etc later. (Mine is set as chmod 644.)
Many thanks for replying. I have been off doing something else for a bit so I’ve only just looked at your reply.
I’ve tried what you said. This didn’t solve the problem. I think NC is upset because a checksum doesn’t match I’ve listed the error file below.
I’ve tried putting index.html in both the /var/www/cloud directory and the /var/www/cloud/data directory. I’ve also tried putting the very long number below in the header of the html file. None of this works. It’s been suggested that I should re-install, but this is a lot of work.
My thought is that I should just leave it. Would you advise this?
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.
Hi DarkSteve
Many thanks for taking the time to reply. I’ve actually been off doing other things for the last few days so I’ve only just had time to read and try out your suggestions. Sadly it didn’t work. I’ve replied to JDePerio, who kindly suggested a solution, with what I think the problem is. I’m minded just to ignore it as everything works so aside from techical pride there’s not much reason to take up time fixing it. I would be interested in your opinion on this.
Go with what JDePerio says. I’m on FreeBSD, so my file locations and package management will be different. That said, the “index.html” should still be in the same location as “index.php” regardless.
I still think the contents of my “index.html” file should be identical to yours (since they should both be from Nextcloud). However, when I post the contents to the forum, it changes the formatting (e.g. the whitespace), which will change the checksum.
But if your system works, then stick with it! At some point in the future, hopefully an update will replace or update the missing file
A bump for this one. I too have this problem and after adding the index.html file the error changes from ‘missing’ to: - core
- INVALID_HASH
- index.html
I saw some sudo commands which might re-hash or something but I wonder: will this re-hashing thing do its job once there an upgrade in near future?
Everything works in Nextcloud except the internal server error when clicking on ‘System’ in Nextcloud. And nginx giving me these errors:
Fout index Exception: Call to undefined function OCA\ServerInfo\OperatingSystems\shell_exec() in file ‘/home/nextclouduser/webapps/nextcloud/apps/serverinfo/lib/OperatingSystems/DefaultOs.php’ line 248