Code Integrity Check

9.0.x
help

#1

Hi everybody. Can someone please help me to solve this problem? Obviously I have changed those files during installazion. How can I make owncloud ahppy and remove the error message? :slight_smile:

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.

Results
=======
- core
	- INVALID_HASH
		- .htaccess
		- .user.ini

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => ab5f4c44ba2f9c66f2ed25c3ad3d84660b2808cca11ffa8fe2778a648a054d8ada495a0bf4715dc873aac1efe8dfd92a72f9a24441d8f5240834e639325fd892
                            [current] => 2620686bccdd0dad0691942c7f9c4d7762d1874f0e85da74bc054b1f81163fd661f353462b5e0b931073ecf7c080937b0876b9d6b36fa494eedb30e4f2d0fe02
                        )

                    [.user.ini] => Array
                        (
                            [expected] => 0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f
                            [current] => e8399257b0a2daec8af966a0c515a896653912e7f2da8b3199c445749430a3fab180307ba64a2b2913d147a40eebe0c898ae119292687ca6d683ec9535c0d25e
                        )

                )

        )

)

#2

Hi,

there is a FAQ available for this here:

guiding you to the official documentation containing all needed info how to fix this.


#3

HI,
Thanks for that. I did read the FAQ and I understood that this is my problem

INVALID_HASH
The file has a different hash than specified within signature.json. This usually happens when the file has been modified after writing the signature data

However I don't know how "fix it". Can you please point me in the right direction? I understand it is nothing major. Is it right?


#4

Hi,

the documentation contains the needed info:

- core
      - INVALID_HASH
              - /index.php
              - /version.php
  1. In the ownCloud core (that is, the ownCloud server itself) the files “index.php” and “version.php” do have the wrong version.

and the solution:

  1. Upload the correct “index.php” and “version.php” files from e.g. the archive of your ownCloud version.

You can download the archive with the correct .htaccess file from here: https://owncloud.org/changelog/


#5

Yeap...but the file in my output are different....have you seen the deacription? Can I take the same action for them?
Thanks


#6

The files there are just examples


#7

Righyt. That bring the discussion to my previous point.How can I fix that erorr for that messages?


#8

A starting point would be that you're actually reading the info you get provided:

Replace "index.php" and "version.php" with ".htaccess" in this text and you have the info you need to fix this.


#9

You should not need to change the .htaccess. You will probably do something nasty.

If you really insist, you should be able to put your own changes underneath the line

#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

in the .htaccess file. But don't :wink:


#10

in .htaccessI have just changed this rows and nothing else

<IfModule mod_php5.c>
  php_value upload_max_filesize 2000M
  php_value post_max_size 2000M
  php_value memory_limit 2000M

<IfModule mod_php7.c>
  php_value upload_max_filesize 2000M
  php_value post_max_size 2000M
  php_value memory_limit 2000M

in .user.ini just these

upload_max_filesize=2000M
post_max_size=2000M
memory_limit=2000M

#11

HI, i have similar error but with and script. Anybody have the same error?

  • Application to check
    • EXCEPTION
      • Exception
      • App not found
  • core
    • EXTRA_FILE
      • scriptOcc.sh.ori