INVALID_HASH updating from owncloud 9.1.5 to X


#1

I have this error when i upgrade in console from owncloud 9.1.5 to owncloud X.
I don't know how to resolve this INVALID_HASH problem...
Can you help me??
thanks a lot.

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
      • core/doc/admin/_sources/configuration_files/collaborative_documents_configuration.txt
      • core/doc/admin/_static/img/note_pencil.svg
      • core/doc/admin/_static/img/warning.svg
      • core/fonts/LICENSE.txt
      • core/vendor/clipboard/dist/clipboard.js
      • core/vendor/jsTimezoneDetect/jstz.js
      • lib/composer/natxet/CssMin/src/CssMin.php
  • files_external
    • INVALID_HASH
      • 3rdparty/Dropbox/API.php
  • files_texteditor
    • INVALID_HASH
      • js/vendor/ace/src-noconflict/mode-diff.js

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[core/doc/admin/_sources/configuration_files/collaborative_documents_configuration.txt] => Array
(
[expected] => 5ee11f56be6b4e29fb062a4c6fd245f2c0c5a6069b4390873af2146441c27119d6b58d14160833958edda1d7fb63770ea1ac5c75803449da77153c17b275af4b
[current] => 8c7ff817a9b1ba8f6be059198a394fb8b2e2c49d8b0a3420bc97907a02ed314036a0f6927307e08c5160397bb2d21b89fbc7da2e8453f89527b717b0c30b8b81
)

                [core/doc/admin/_static/img/note_pencil.svg] => Array
                    (
                        [expected] => 78b9df57afe9468145e6e375cd1f61274b269b9c3019726a99e043ae952367acf53cf471cbc5b3dcca2e68367c2c4422d4a9f9a9fdbb11f9b962845ac77857de
                        [current] => 97117ce2827cc1b742678b52fc100de1e7d3fdb1adeea04a301c012e7f95b66e10a369c6a83ba89a707c4232b5e31fba3d5e58b0e0d970f22031d0704eebb5a9
                    )

                [core/doc/admin/_static/img/warning.svg] => Array
                    (
                        [expected] => e8647b47ef1531b8c2fcdd51f76996fe85476467fc694540f3dcf8ce7e7da489e99edae5a158742da71c07dc09ccfaf721f01c1c4bda3f5bae9b711981b71a1b
                        [current] => 85687f19cf204716e9b1c608682aa22c045b6f8284a3496db07f13200952491bfea54deee7ef11115c0dedfd87443c7022ef05792892a8a984866752c8ec5726
                    )

                [core/fonts/LICENSE.txt] => Array
                    (
                        [expected] => 4cc5a12bfe984c0a50bf7943e2d70a948d520ef423677c77629707aace3a95aa378d205de929105d644680679e70ef2449479b360ad44896b75bafed66613272
                        [current] => 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
                    )

                [core/vendor/clipboard/dist/clipboard.js] => Array
                    (
                        [expected] => 0b118c979e7f7500e22f3849ec4bf13fe84663093400036007550047c99486585753675ad30f486410d9380ffdb5afb30003a5f89e7cb7520a9ceda5d0b3d477
                        [current] => acb0d6f535722770a0e3fb3e34dd2007423517c8364e09cb40a8a29832e0bd7be305d16b4cf94853fb386cc391664796b7382a22ed4739b178813a17f8f6fa2e
                    )

                [core/vendor/jsTimezoneDetect/jstz.js] => Array
                    (
                        [expected] => 8cb5b1df4cc7cb0ccc58e4283a705684c3790f23aff6f61554ace2f75ea7d5a017952fdeeecdc287a7d534bdc77502315a88cdd6dc2a5385ab53d92d4bfa802f
                        [current] => 14c2327f24d56511147b723f8e7281b32c79cd86995357f96f759bf0cfdd69cc18cacd0e9f1ac00c4bb8f5adc89e73bf991eb9f8dccdfb0201fdac69f489fc88
                    )

                [lib/composer/natxet/CssMin/src/CssMin.php] => Array
                    (
                        [expected] => 3dbb09114c95f76781d9facc76b2d479c1e9776bf7d63da5a09078f9433897eb1ae6fca84f8569ac40bd5a3cd08c4d828316136cc7ede47d95d73552be02a042
                        [current] => 6cc864e4795675b935d651344ae33071eb14430cdf7612bbb87fae5f6500c4fc40342a927058ac8f0017c9884ec125c7b9b369106f880ebef663376eaa4ba16f
                    )

            )

    )

[files_external] => Array
    (
        [INVALID_HASH] => Array
            (
                [3rdparty/Dropbox/API.php] => Array
                    (
                        [expected] => a6866ef3ceeb26d9d4b2ccc343aeaf626c82f03e279962bc7d761a68e87e5a7916ff0bcf7a350e20889557336ed9c5dd1651cfe513fa04bb8a03cd6d8f9cc484
                        [current] => 917eed2c4f6359a4d0b8658a36404c83344b0bf72ccda614dd59f97d099b3d9ef4e86691401c64d3754c3f7e0fa163eab946a25dbc7bc65e1694ffd47a054317
                    )

            )

    )

[files_texteditor] => Array
    (
        [INVALID_HASH] => Array
            (
                [js/vendor/ace/src-noconflict/mode-diff.js] => Array
                    (
                        [expected] => 4a59b6376376b81e4e12ccc345065db62029a61035a88e19b1be3d7ec4cd9f86444121cca6d46c44a5f86e4f5b44d5109cbc77e80c07ff8dbce61f758b88e765
                        [current] => f8dbde2422c010af18b254a562c9e96865d5e58a698a191c855974f37d5a837ccc243ca85b2a8fbe81c61c53470b877e5b8b3e64cd2951c7f863bf49085aa5d7
                    )

            )

    )

)


#2

Hi @nomopo
it seems as if you have some extra files in your owncloud tree.

Find some more info here:
https://doc.owncloud.org/server/10.0/admin_manual/issues/code_signing.html


#3

I do this, i delete index and version, and upload originals files from owncloud 10, and rescan but it work as same, i have a lot of INVALID_HASH. I spoke with developers and he said me that this problem is in owncloud, that i need to change the signatures but i don't know how...


#4

There is a big red warning box at the posted link above that you shouldn't change the signatures.

This is very very unlikely. The problem is most likely the one below also explained at the posted link:

When using a FTP client to upload those files make sure it is using the Binary transfer mode instead of the ASCII transfer mode.


#5

I don't like change signatures or HASH, i like to upgrade / update this INVALID_HASH in core and apps...
thanks


#6

i'm sure that i use binary transfer...


#7

INVALID_HASH means that the files gets corrupted during the transfer or the files are transferred with the wrong mode.

This is something you or your admins needs to fix by following [1]. There is nothing what can be done here from ownCloud side.

[1] https://doc.owncloud.org/server/latest/admin_manual/issues/code_signing.html#fixing-invalid-code-integrity-messages