Problems with Nextcloud after the last Update

NethServer Version: 7.9.2009
Module: Nextcloud

Hello friends,

after yesterday’s (final) update of Nextcloud I suddenly have problems with the integrity check of some files. See attached message. How can I solve the problem?

Thanks and Regards…

Uwe

Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation :arrow_upper_right:. (List of invalid files… / Rescan…)

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

  • twofactor_totp
    • EXTRA_FILE
      • .php-cs-fixer.dist.php
      • l10n/.gitkeep
      • psalm.xml
      • stylelint.config.js
      • vendor/composer/InstalledVersions.php
      • vendor/composer/installed.php
      • vendor/composer/platform_check.php
      • README.md
  • bruteforcesettings
    • EXTRA_FILE
      • .php-cs-fixer.dist.php
      • l10n/.gitkeep
  • suspicious_login
    • EXTRA_FILE
      • l10n/.gitkeep
      • vendor/composer/InstalledVersions.php
      • vendor/composer/installed.php
      • vendor/composer/platform_check.php
      • README.md

Raw output

Array
(
[twofactor_totp] => Array
(
[EXTRA_FILE] => Array
(
[.php-cs-fixer.dist.php] => Array
(
[expected] =>
[current] => caedd21caff482beb978d287aa07d98f4c473d5c8c9f0c0f72f28e914c39179de076f33132bebb78e8bad04c876a98a0f1d59f1625954174d06973f1c5dbf1cc
)

                [l10n/.gitkeep] => Array
                    (
                        [expected] => 
                        [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                    )

                [psalm.xml] => Array
                    (
                        [expected] => 
                        [current] => c75fd811f2833da21c54f2081b402648ecc399833af4dc594d50a5f9c882f9ec36e926a54ed691891856fef72f0d16d5871236ccc8b580d434403565aedec834
                    )

                [stylelint.config.js] => Array
                    (
                        [expected] => 
                        [current] => 1b0c21fcb497dd0396b318d813e149aec91c335fedbfd0193bdad0fb76e9d23070aa60f57b3f990f8ff0103447524bccafe06708d24f995f3aae37f3e337e753
                    )

                [vendor/composer/InstalledVersions.php] => Array
                    (
                        [expected] => 
                        [current] => 86ebb1216b59b01b7cd1f3b2e66311cd6295b58fab91a9a82603f903c6d2f716d7697a82d625372538f809e9e45f7dbd257a00e2b95d23c3785e4eeb3a6ebb60
                    )

                [vendor/composer/installed.php] => Array
                    (
                        [expected] => 
                        [current] => b189c3d15de7bfec2745fa59ba6932648aa09c59f192019f9ce6cab7510277c6fc8ac8bdce2824c22934a40fc9a54b6c8575fbde66cf8e3a9c4f3b2817a4b909
                    )

                [vendor/composer/platform_check.php] => Array
                    (
                        [expected] => 
                        [current] => 3a6ee48b1b0fc814c7662ccca2cdd03481c52213f02ba32940dc33d717de0a421f9aade8a4bb75a93c0e91f7a523a139448b9f66bae26da8177c206c6a50e695
                    )

                [README.md] => Array
                    (
                        [expected] => 
                        [current] => 6bda42572c3d4df7ce31e38993369a6db493583e4f0018bf7658db561460ada1963169bd5c5341df4e4950e6f6ee6e9e617f3f4975fb01b8ff6ed930c4579aef
                    )

            )

    )

[bruteforcesettings] => Array
    (
        [EXTRA_FILE] => Array
            (
                [.php-cs-fixer.dist.php] => Array
                    (
                        [expected] => 
                        [current] => a768a02ed4d9c9dfc8686d94cb3d921c851afb5598d9dd0b3b2abf9097e25a0276fc5eb53b1ec4fd1ff79583b24ed5fc09ad379e17068fd74bf2a2522c388248
                    )

                [l10n/.gitkeep] => Array
                    (
                        [expected] => 
                        [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                    )

            )

    )

[suspicious_login] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/.gitkeep] => Array
                    (
                        [expected] => 
                        [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                    )

                [vendor/composer/InstalledVersions.php] => Array
                    (
                        [expected] => 
                        [current] => 86ebb1216b59b01b7cd1f3b2e66311cd6295b58fab91a9a82603f903c6d2f716d7697a82d625372538f809e9e45f7dbd257a00e2b95d23c3785e4eeb3a6ebb60
                    )

                [vendor/composer/installed.php] => Array
                    (
                        [expected] => 
                        [current] => 1e610cca1aa893ce59b8b8bd271fed33762cd7af64ce687df916a153d6641e4e661f2a8121395623342fa286e0b3afdbba40f2854c8c46df201565bc97a9d78b
                    )

                [vendor/composer/platform_check.php] => Array
                    (
                        [expected] => 
                        [current] => 3a6ee48b1b0fc814c7662ccca2cdd03481c52213f02ba32940dc33d717de0a421f9aade8a4bb75a93c0e91f7a523a139448b9f66bae26da8177c206c6a50e695
                    )

                [README.md] => Array
                    (
                        [expected] => 
                        [current] => 2b1fbd468d4a5cd6c1023d8dac8a99df6e8b6eb2cf112ddf3cfaa8e1dc5b93e9aa9c2a8956e82f83b4adfd6159efbeec1a4dc177fa1f3718da41c0764c59d517
                    )

            )

    )

)

by the looks of it I think it’s nothing to worry about (.gitkeep, composer/*, .php-cs-fixer*, psalm.xml … they seem to be development files or files created at build time).

The error reports that it has found that some of the files are not listed in the app signature.json file (the one that is checked to control app file integrity).

Manually downloading latest version of one of the apps I checked some of the reported files are indeed in the signature.json and therefore should not be reporting it as EXTRA_FILE

First step would be to update the apps (if any update available) and trigger a file integrity check rescan. If no updates…
Maybe not for twofactor_totp, but for the other apps you can try to uninstall them (list/note down the remaining files in the app directory) and reinstall them, refresh the integrity check message if needed and verify what it is reporting. Maybe not possible to do (just disable/enalbe) for bruteforcesettings and suspicious_login app as they’re integrated with nextcloud.

Note down:

  • app version
  • nextcloud version
  • file integrity check report
  • how the app was installed (through the app store or downloaded manually to the apps folder)

Check if there are other users reporting the same, and finally report it to the app developers.

EDIT: I got the same message for bruteforcesettings (and removed the files)

2 Likes

dnutan is right plus if you have any issues with updating the individual files or removing them use the ocs cod tool