Code Integrity Check (re: ezyang/htmlpurifier)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (14.0.1):
Operating system and version (Fedora 28):
Apache or nginx version (Apache 2.4.25):
PHP version (7.1):

The issue you are facing: Greeted with: There were problems with the code integrity check…

> 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
>     =======
>     - news
>     		- vendor/ezyang/htmlpurifier/maintenance/.htaccess
>     Raw output
>     ==========
>     Array
>     (
>         [news] => Array
>             (
>                 [FILE_MISSING] => Array
>                     (
>                         [vendor/ezyang/htmlpurifier/maintenance/.htaccess] => Array
>                             (
>                                 [expected] => 4d51270ac56b1600199cd52c4f0fc34171bb306db59761863c87978049b771a053ebb80c8dda03b4d98bf5e43361ec0e1e1d2ad4b01fc315fb809b40acd23843
>                                 [current] => 
>                             )
>                     )
>             )
>     )

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Upon entering the web client

deaktivate news
rm /var/www/nextcloud/apps/news -r
download and activate news

Thanks, @Soko

In spite of it not been indicated as such, it seems as if the News app is currently incompatible with Nextcloud 14.

Should be compatible. I use it along with nc without any glitches…

Clearly, you’re correct in this regard if it works for you! In any case, I still have the warning even after having had removed the app :frowning:

to fix this, simply download Original package of News App ( manually somewhere e.g. on your desktop. Open the archive and extract/copy the missing .htaccess file into your netxcloud folder /apps/news/vendorezyang/htmlpurifier/maintanance and do not forget to chown it for user/group www-data.

This worked for me.

1 Like

Thanks, Tomas. This is indeed a proper “fix” to this issue.