Getting error after update from 10.7 to 10.8

,

Hello everyone,

I’m new to owncloud, and I installed it on my own server, and now I get an error after I update 10.7 to 10.8
“Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our”
and this is my owncloud Log:
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
  • lib/private/legacy/defaults.php
  • lib/private/legacy/image.php

Raw output

Arrays
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => a59e561f70cd7e5af9a9215ffff731bb4ce913d7f8f17cbdcdd9df3280557a395694ac91cad8875271d9f7c9150347f62ba719522edef5ff5480458c25ec1005
[current] => a51e9881a3aa2a67d57107534e263b92f89c936f288c013b71937fa074d583949400ed7547cd5644153df331ab1e95b3cf32aafd22a39cb92339af7b7666e027
)

                [lib/private/legacy/defaults.php] => Array
                    (
                        [expected] => c285aad7ca5304036f8351903bd3fba8dfccb0f3dd11c403d5cde0dd47936a91c120e30b048a6323e08c1fa03577b9fd6f17a593278ba1c1961ee6971e26025b
                        [current] => f5d2a12526233758cdbc5832e92fa12ed6e1e7f68f6f52bf3add239cc5f2c0811fe97be7cac3f06d3848ae4d0b6108cda4a49b850a906975d84c8565f8764468
                    )

                [lib/private/legacy/image.php] => Array
                    (
                        [expected] => ba2069bcca35105bc3079027da770ea47f55c19335341ed41304abc7c840f9b58164b7fa1e913e89f13e155571979712fc96fd59646d4c90e7a630ea291687b8
                        [current] => 6f7451dab3d3a063d3fe3a98e019ac639a99be654e5b0cce30812856a84b1ac369397f29b33c3f569d30b6268e98a404f398b960fda25520a1db84f587e70cbd
                    )

            )

Hi bocah,

you’ll receive those messages when files were changed in comparison to their original contents. As a rule of thumb never edit ownCloud files.

If you want to customize something, create a theme instead. See the theming docs at Theming ownCloud :: ownCloud Documentation and the example theme at https://github.com/owncloud/theme-example.

To solve the integrity check issues replace your files with the original files from your ownCloud installation zip/tarball. Detailed documentation: Fixing Invalid Code Integrity Messages

1 Like

hi cortho thanks for your reply,
now i have changed my default.php from github zip file, but i still get error in .htaccess and owncloud.log file, even though in config.php i have disabled log.
And this is my config.php

And these are my invalid files :
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
    • EXTRA_FILE
      • ocs/owncloud.log

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => a59e561f70cd7e5af9a9215ffff731bb4ce913d7f8f17cbdcdd9df3280557a395694ac91cad8875271d9f7c9150347f62ba719522edef5ff5480458c25ec1005
[current] => a51e9881a3aa2a67d57107534e263b92f89c936f288c013b71937fa074d583949400ed7547cd5644153df331ab1e95b3cf32aafd22a39cb92339af7b7666e027
)

            )

        [EXTRA_FILE] => Array
            (
                [ocs/owncloud.log] => Array
                    (
                        [expected] => 
                        [current] => 85d040acd9ef19e8b7102a3c079e331120ffedb4d304df0a40ca0e92b083dab914968215ebeb78d4c0000b35e57c9fe0d1bc3490710c961b79e2f69e31b19447
                    )

            )

    )

)

Thanks,

Bad idea, don’t do that! You have been advised already:

Download the tarball with the exact version you are using from here and extract the wrong or missing files from it.

Regarding ocs/owncloud.log: Delete it, it shouldn’t be there. Might be a misconfiguration, usually it’s located in data directory.

2 Likes

Thank you cortho and alfred for the advice, I have changed the defaults.php from the tarball and now my owncloud has no errors,

thank you :+1: :+1:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.