File Integrity errors

Hi all,

I’m appreciate the easy migration from OC to NextCloud within a short period of time, and the good cloud storage.

PHP 5.4.45-0+deb7u3

ii  nginx                               1.2.1-2.2+wheezy4              all                                                                                                  small, powerful, scalable web/proxy server
ii  nginx-common                        1.2.1-2.2+wheezy4              all                                                                                                  small, powerful, scalable web/proxy server - common files
ii  nginx-full                          1.2.1-2.2+wheezy4              amd64                                                                                                nginx web/proxy server (standard version)

These are the errors I got after the installation:

indent preformatted text by 4 spaces`    
=====================
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
		- .htaccess

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => 4a97aae4d05df89a28bf2e63fe2a31cdf2afe74d3c9f622afb581d6b0f1f4e001639c7c3a31d7aaa793c00d5f355e0bfaad62ec45507245de441cfc552115cd7
                            [current] => b6ccc851487e591699e1f105539bc4738f1e190f92b83817f7c1e0f689c414653dccf355f7a678ede049a251b42dc2136db18a191cf655768ea0893f7d88d931
                        )

                )

        )

)
Error while running background job (class: OC\BackgroundJob\Legacy\RegularJob, arguments: Array ( [0] => OCA\Files_Antivirus\Cron\Task [1] => run ) ): {"Exception":"OCP\\Files\\NotFoundException","Message":"File with id \"4\" has not been found.","Code":0,"Trace":"#0 \/media\/54bf67db-da31-4c50-bb3c-27140944b223\/www\/nextcloud\/apps\/files_antivirus\/lib\/backgroundscanner.php(78): OC\\Files\\View->getPath('4')\n#1 \/media\/54bf67db-da31-4c50-bb3c-27140944b223\/www\/nextcloud\/apps\/files_antivirus\/lib\/cron\/task.php(21): OCA\\Files_Antivirus\\BackgroundScanner->run()\n#2 [internal function]: OCA\\Files_Antivirus\\Cron\\Task::run()\n#3 \/media\/54bf67db-da31-4c50-bb3c-27140944b223\/www\/nextcloud\/lib\/private\/backgroundjob\/legacy\/regularjob.php(31): call_user_func(Array)\n#4 \/media\/54bf67db-da31-4c50-bb3c-27140944b223\/www\/nextcloud\/lib\/private\/backgroundjob\/job.php(52): OC\\BackgroundJob\\Legacy\\RegularJob->run(Array)\n#5 \/media\/54bf67db-da31-4c50-bb3c-27140944b223\/www\/nextcloud\/cron.php(171): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#6 {main}","File":"\/media\/54bf67db-da31-4c50-bb3c-27140944b223\/www\/nextcloud\/lib\/private\/files\/view.php","Line":1677}

Ok, I’ve fixed the .htaccess file.

Don’t know how to fix the clamav.
I’ve tried Daemon, Daemon (Socket, Executable, but error persist.

The file integrity check error for .htaccess seems to be catching enough people out, that it really should be an FAQ in the relevant section of the docs…