After Upgrading to 18.0.2 Error: Failed integrity test, invalid hashes user_external/appinfo/info.xml and user_external/lib/smb.php

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


  • user_external
      • appinfo/info.xml
      • lib/smb.php

Raw output

[user_external] => Array
[appinfo/info.xml] => Array
[expected] => 06b250c3a2c2ae01c8a2c4b963d6449c99645dca36ee197c3aa513fb7ac3e90e42dc1408ee6957408d85f9f9a973b8983719e9c15125d42211d43f0853c7bf75
[current] => e5da848ca44b3b60abb1c99a3d26455d78464f94ea1f5f522b07d642096a771dcde9a1a5289e271805292659edc42925a86b5d6ad22ffa98b79ecec5bfed69ff

                [lib/smb.php] => Array
                        [expected] => 283a99667fd865e54423d575953423bc6e15862b7683885cb5675aafdb3b2cbc1400a1318ec81cdbd90ce827c3f839aa6daf6a0f6e3ac6bd2742947498dd14f9
                        [current] => 1c12005d92f88017564fb4135a532810aab33ffab22eac67c19501a59d213518e417cceb83f5e9ea4b448ea81fff3149da37eefb0100a61bce3140ce67f8decc




originally the whole thing crashed on upgrade, so I had to manually upgrade, everything seems ok, but I’m failing the integrity test, I’m not sure what the debugging code means.
So I downloaded the package opened it and user_externals is not in the install package, so I can’t manually upgrade these 2 files.

Any help would be greatly appreciated.

I figured it out, figured out where the user_external folder was, Looked at signature.json it had the expected # so I : cd /var/www/html/nextcloud/apps/user_external/appinfo then I : sudo -u www-data php occ integrity:check-app user_external nothing seemed to happen, I then went back into nextcloud and the errors are gone ! I also hope this helps others that also suffer from blowing a weekend figuring out all the errors that come with a Nextcloud update/upgrade, either way takes forever to fix everything afterwards. I’m really not sure why NextCloud calls anything stable, none of my other servers or anything else makes my butt pucker every time I go to upgrade or update…