Integrity check of .htaccess


#1

Hey everyone, my owncloud server unexpectedly shutdown and now is throwing integrity check errors of an incorrect hash of .htaccess. I have followed everything on https://doc.owncloud.org/server/9.1/admin_manual/issues/code_signing.html#fixing-invalid-code-integrity-messages to fix it, and it fixed the .user.ini as that also had a hash error, but doing the same for .htaccess does not seem to fix it.

root@ed-owncloud:/var/www/html# sudo -u www-data php occ integrity:check-core

  • core:
    • INVALID_HASH:
      • .htaccess:
        • expected: c00197d1a4d7a1db5bf43849acd10d2d7813705463ba02fe540b5d05328dcf078456e55dcd0450bb884a85bf25c66a596cdcf9108d26ba44d2287a35de26d72b
        • current: 6fd2bca47deffbdf905bcd30ee3b487584823481202ecde931ee6527514be04d84e19aa3252d252347c5a7f0519fa903c1335de0ca26b111c2ea663300f4682f

Any help?


Owncloud 10.0.10 errors on integrity check
#2

Hey,

maybe it could help if you provide the steps you while trying to solve this issue?


#3

Currently i have tried (what is stated in that link and what other topics have pointed out) by downloading owncloud from https://owncloud.org/download/ and uploading the .htaccess

(P.s that method did fix the .user.ini hash error)


#4

Hey,

could it be possible that you have downloaded and extracted the .htaccess file of an ownCloud version which is not matching your current version of ownCloud?