Some files have not passed the integrity check index.html missing

Nextcloud 19.0.0; Debian 10 (Buster); php 7.3; Apache 2.4.3.8

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.

This is a long shot but I will try. Do you have index.html under “/root_directory/data” folder
ex: my setup is /var/www/nextcloud/data

If you don’t have one just create a blank index.html file.

I’ve noticed I sometimes get weird errors like this too. You can usually reinstall and the problem goes away.

However, it might be easier to simply create the file. My index.html is pretty simple, and only contains:

<!DOCTYPE html>
<html>
<head>
        <script> window.location.href="index.php"; </script>
        <meta http-equiv="refresh" content="0; URL=index.php">
</head>
</html>

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.)

Hope that helps!