SOLVED Nextcloud integrity check failed after update

ChrisChros

Patron
Joined
Nov 24, 2018
Messages
218
Hi,
I have updated the nextcloud plugin via GUI to version 23.0.4.
Since that I receive in the overview tab the following Security & setup warning:
Some files have not passed the integrity check.
Code:
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

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => aab002636038627a549cdc33b749fe7ef74fcbb2a52decf1af0b4c90394d869d982dd7a2d3ce72d1d5114b21aa73cb35ddb6c8b54760ca0e7347e7b26760d6ab
                            [current] => 54cf22f44b5e273d6ca00a13843a803df163891451a2289ca91d088aa9d8230175791937c69ab8728d89206008adeaf2fd836dc47d5543494ac04bb4c318ccde
                        )

                )

        )

)


How can I fix this?
Thanks for your help.
Chris
 

ChrisChros

Patron
Joined
Nov 24, 2018
Messages
218
Hi, also after an update from 23.0.4 to 24.0.0 the integrity check failure is still present.
Has nobody an idea to fix this failure?
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
Hi, also after an update from 23.0.4 to 24.0.0 the integrity check failure is still present.
Has nobody an idea to fix this failure?
Did you perform the first update via the Nextcloud GUI or the TrueNAS GUI?
 

ChrisChros

Patron
Joined
Nov 24, 2018
Messages
218
I performed both updates via TrueNAS GUI.
 

ChrisChros

Patron
Joined
Nov 24, 2018
Messages
218
Still the same problem also after the update to 24.0.1
 

rladelman771

Cadet
Joined
Jan 21, 2022
Messages
5
I fixed it by manually downloading the zip file,


unzipping the archive

If you want to check the hash here is a site you can drop the file on and it will give you the hash code


manually delete the existing .htaccess

copied the replacement from the archive

in the shell ran

occ integrity:check-core

and then ran it from nextcloud and the file integrity passed.
 

ChrisChros

Patron
Joined
Nov 24, 2018
Messages
218
I fixed it by manually downloading the zip file,


unzipping the archive

If you want to check the hash here is a site you can drop the file on and it will give you the hash code


manually delete the existing .htaccess

copied the replacement from the archive

in the shell ran

occ integrity:check-core

and then ran it from nextcloud and the file integrity passed.
Thanks for your help, now everything looks fine.
 

rvdaescu

Cadet
Joined
Oct 4, 2021
Messages
2
I fixed it by manually downloading the zip file,


unzipping the archive

If you want to check the hash here is a site you can drop the file on and it will give you the hash code


manually delete the existing .htaccess

copied the replacement from the archive

in the shell ran

occ integrity:check-core

and then ran it from nextcloud and the file integrity passed.
works like a charm - 10q
 

AlfN

Cadet
Joined
Feb 12, 2023
Messages
1
Hi,
it seems that I have the same problem as after the update I'm failing to pass the integrity check and my NC is always ending up in maintenance mode.
Now I tried the solution mentioned in this thread but I'm a beginner with TrueNas & Nextcloud and i don't know how to get the .htaccess from the zip into the nextcloud system. Can you help me with this?
 
Top