14.0.3 to 14.0.4 File integrity check failed

Nextcloud 14.0.4
OpenSuse Leap 15.0
Apache 2.4.33
PHP 7.2.5

The issue you are facing:
File integrity check failed, for strange files

Is this the first time you’ve seen this error? Y

Steps to replicate it:
Upgrade from 14.0.3 to 14.0.4

The output of your Nextcloud log in Admin > Logging:

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

- core
- gallery

Raw output
    [core] => Array
            [FILE_MISSING] => Array
                    [COPYING] => Array
                            [expected] => a0a86214ea153fb07ff35ceec0848dd1703eae22de036a825efc8394e50f65e3044832f3b49cf7e45a39edc470bdf738abc36a3a78ca7df3a6e73c14eaef94a8
                            [current] => 



    [gallery] => Array
            [INVALID_HASH] => Array
                    [COPYING] => Array
                            [expected] => a0a86214ea153fb07ff35ceec0848dd1703eae22de036a825efc8394e50f65e3044832f3b49cf7e45a39edc470bdf738abc36a3a78ca7df3a6e73c14eaef94a8
                            [current] => 




Q: What are these files “COPYING”? Are they folders? I haven’t looked into my backup, but if they might have existed in 14.0.3, could they simply be restored?

I have also an error with the updater:

The following extra files have been found:
* .rnd

Why? Could be fixed?

Just checked in backup:

  • File nextcloud/core/COPYING does not exist in any prior to 14.0.4 backup
  • Folder nextcloud/gallery does not exist, so nextcloud/gallery/COPYING also not


What are the links they refer to in order to try and fix it? Did you get any instruction on what command to run maybe? Under Settings > Overview maybe?

@Starfish: The “usual suspects” link: https://docs.nextcloud.com/server/14/admin_manual/issues/code_signing.html.

Checked in the signature.json, fragment appended for “core”:

    "3rdparty\/symfony\/translation\/phpunit.xml.dist": "b18258c9e153b53047724f30886f3ba87974ba87187542b076f605819ecd5ab8d3b2084edb5f672b5a32f220b6eceb92d50ba453e95d7bdb3c575f80c411e4a3",
    "AUTHORS": "9e72f2138e6c462b8575baeb6abc691ff68af41bf9723a098009e869f011be343414a778141ae66a522ce2db21a8f936c5d4cd1e8502618d9fe00d5cfda2aeb4",
    "COPYING": "a0a86214ea153fb07ff35ceec0848dd1703eae22de036a825efc8394e50f65e3044832f3b49cf7e45a39edc470bdf738abc36a3a78ca7df3a6e73c14eaef94a8",
    "console.php": "9f44627ebbc4ee73dcb2fbdb204e1aff85f3b607584fdc33872171edadfdf72776bd637dad57bdc70ac576f615bae09b486fb31881987d08ff72ccf487669de2",

COPYING seems to be a completely information-only, technically not relevant file. But why is it missing, maybe an OpenSuse /distro specific issue? But afaik the OpenSuse packages for nextcloud, which usually arrive same day or the day after a nextcloud announcement, are just a wrapper for the nextcloud updater itself. The OpenSuse contributors for sure have no time to reinvent the wheel, at least not in just one day :slight_smile:

And I checked the current new-installation download file nextcloud-14.0.4.zip:

signature.json is identical, at least for core/COPYING.
And core/COPYING is NOT contained in ZIP

Bug? If so, I’ll open up an Github issue, repo “updater”?

Have you had a look at integrity check with occ? Sorry if you have already, but I am thinking of doing the basics first and see what we can get from that.

How did you upgrade? Via web updater for NC or through an OpenSuse channel?


File nextcloud/COPYING is “missing” when doing an upgrade OpenSuse upgrade, and probably also a new installation.

This files is copied by OpenSuse’s installer (zypper/rpm/yast) to/as /usr/share/licenses/nextcloud/COPYING

Adding a symbolic link for /usr/share/licenses/nextcloud/COPYING to nextcloud’s root directory. Solves both issues, as within nextcloud/apps/gallery already a symlink to …/…/COPYING existed. Which, of course, was broken.

Thank you, @Starfish !!!

No worries! Congrats on solving it!

Bug report for OpenSuse (Leap 15.0):


Had the same issue.

Just delete the .rnd file located on your installation and run again the online updater.