Owncloud 10.15 "core" failed the integrity check

Steps to reproduce

  1. Update to version 10.15
  2. (Update did not run smoothly, i had to disable an app i coded myself (and whitch was supposed to be entirely disabled and removed, but it wasn’t apparently)):
    To disable my own plugin qrcode_generator, i ran these mariaDB commands:

USE ownclouddb
UPDATE oc_appconfig
SET configvalue = ‘no’
WHERE appid = ‘qrcode_generator’ AND configkey = ‘enabled’;

  1. After that, update was a sucsess and after the update, i could access owncloud with all my files, but i noticed that the integrity check failed, because of “core”

Expected behaviour

There shouldn’t be any error messages and the integrity check should be completed without any error

Actual behaviour

The integrity check failed with this error message: https://pastebin.com/nXcSKLgu

Server configuration

Operating system:
Ubuntu 24.04
Web server:
Apache 2
Database:
MariaDB
PHP version:
I believe 7.4
ownCloud version: (see ownCloud admin page)
10.15.0.2
Updated from an older ownCloud or fresh install:
updated
Where did you install ownCloud from:
originally through an install script, but everything worked just fine before the update
Signing status (ownCloud 9.0 and above):
?

Again, the link to the failed integrity check: https://pastebin.com/nXcSKLgu

The content of config/config.php:

https://pastebin.com/tLZSQEMi

Are you using external storage, if yes which one: local/smb/sftp/…
no

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Chrome

Operating system:
Windows 11

I updated via web updater and the same thing happened to me.
There seems to be no malfunction, but the error message is a bummer.

Can not upload my error logs since writing a link or uploading a file is not allowed for me, but
I just confirmed that INVALID_HASH files list and hashes are exactly the same as OP and mine.

1 Like

I haven’t found anything that isn’t working, so to get rid of the notification, i just disabled the integrity check. In the config.php, I just added this line: 'integrity.check.disabled' => true,

1 Like

Hey,

i did an manual update to ownCloud 10.15.0 recently (which i think is the suggested / recommended way) and i haven’t noticed such messages. Maybe it could be possible that this problem only happening with the updater app? If this is the case then i think it could be possible that it is required to let the ownCloud people know about this over here:

Hi there,
I have also used the updater app and the integrety check only fails on the files of the updater app (see below). I assume something went wrong in the process of building the updater app. It would be great if this could be fixed quickly to get rid of this message. I would also be glad, to receive a confirmation, that it really is an process error and not due to a malware attack that manipulated the updater package.

Here is the output of the integretiy 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

  • core
    • INVALID_HASH
      • updater/CHANGELOG.md
      • updater/app/config/container.php
      • updater/src/Command/BackupDataCommand.php
      • updater/src/Command/BackupDbCommand.php
      • updater/src/Command/CleanCacheCommand.php
      • updater/src/Command/PostUpgradeRepairCommand.php
      • updater/src/Command/PreUpgradeRepairCommand.php
      • updater/src/Command/RestartWebServerCommand.php
      • updater/src/Command/UpdateConfigCommand.php
      • updater/vendor/autoload.php
      • updater/vendor/composer/autoload_real.php
      • updater/vendor/composer/autoload_static.php
      • updater/vendor/composer/installed.json
      • updater/vendor/composer/installed.php
      • updater/vendor/guzzlehttp/guzzle/CHANGELOG.md
      • updater/vendor/guzzlehttp/guzzle/README.md
      • updater/vendor/guzzlehttp/guzzle/UPGRADING.md
      • updater/vendor/guzzlehttp/guzzle/composer.json
      • updater/vendor/guzzlehttp/guzzle/src/Client.php
      • updater/vendor/guzzlehttp/guzzle/src/ClientInterface.php
      • updater/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php
      • updater/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
      • updater/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
      • updater/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
      • updater/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
      • updater/vendor/guzzlehttp/guzzle/src/HandlerStack.php
      • updater/vendor/guzzlehttp/guzzle/src/MessageFormatter.php
      • updater/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
      • updater/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php
      • updater/vendor/guzzlehttp/guzzle/src/RequestOptions.php
      • updater/vendor/guzzlehttp/guzzle/src/TransferStats.php
      • updater/vendor/guzzlehttp/guzzle/src/Utils.php
      • updater/vendor/guzzlehttp/promises/CHANGELOG.md
      • updater/vendor/guzzlehttp/promises/README.md
      • updater/vendor/guzzlehttp/promises/composer.json
      • updater/vendor/guzzlehttp/promises/src/Each.php
      • updater/vendor/guzzlehttp/promises/src/EachPromise.php
      • updater/vendor/guzzlehttp/promises/src/RejectionException.php
      • updater/vendor/guzzlehttp/psr7/CHANGELOG.md
      • updater/vendor/guzzlehttp/psr7/README.md
      • updater/vendor/guzzlehttp/psr7/composer.json
      • updater/vendor/guzzlehttp/psr7/src/AppendStream.php
      • updater/vendor/guzzlehttp/psr7/src/BufferStream.php
      • updater/vendor/guzzlehttp/psr7/src/FnStream.php
      • updater/vendor/guzzlehttp/psr7/src/Header.php
      • updater/vendor/guzzlehttp/psr7/src/HttpFactory.php
      • updater/vendor/guzzlehttp/psr7/src/InflateStream.php
      • updater/vendor/guzzlehttp/psr7/src/Message.php
      • updater/vendor/guzzlehttp/psr7/src/MessageTrait.php
      • updater/vendor/guzzlehttp/psr7/src/MimeType.php
      • updater/vendor/guzzlehttp/psr7/src/MultipartStream.php
      • updater/vendor/guzzlehttp/psr7/src/PumpStream.php
      • updater/vendor/guzzlehttp/psr7/src/Query.php
      • updater/vendor/guzzlehttp/psr7/src/Request.php
      • updater/vendor/guzzlehttp/psr7/src/Response.php
      • updater/vendor/guzzlehttp/psr7/src/Rfc7230.php
      • updater/vendor/guzzlehttp/psr7/src/ServerRequest.php
      • updater/vendor/guzzlehttp/psr7/src/Stream.php
      • updater/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php
      • updater/vendor/guzzlehttp/psr7/src/StreamWrapper.php
      • updater/vendor/guzzlehttp/psr7/src/UploadedFile.php
      • updater/vendor/guzzlehttp/psr7/src/Uri.php
      • updater/vendor/guzzlehttp/psr7/src/UriNormalizer.php
      • updater/vendor/guzzlehttp/psr7/src/UriResolver.php
      • updater/vendor/guzzlehttp/psr7/src/Utils.php
      • updater/vendor/psr/http-client/CHANGELOG.md
      • updater/vendor/psr/http-client/composer.json
    • EXTRA_FILE
      • updater/vendor/guzzlehttp/promises/vendor-bin/php-cs-fixer/composer.json
      • updater/vendor/guzzlehttp/promises/vendor-bin/phpstan/composer.json
      • updater/vendor/guzzlehttp/promises/vendor-bin/psalm/composer.json

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[updater/CHANGELOG.md] => Array
(
[expected] => 8c02ccafe8a447d606d0afc665fa44afe4714eb1e55e213c94732a501fdb4daf8625756cd2707064151df7dd29e99a52c6284377be21cf88b879dc6a6f830e4a
[current] => ec6bc1fbea93c62366109c056cce06bb4755e886a215cd1ad3acafbc0024b3d96a3820bf1f355ff28c9f12a18978e751b727c8bedaaa0f1164bdcbbb9d9b1c12

Hey,

i think for this some one would need to create an issue for the ownCloud people like i mentioned previously. I think i have read somewhere here in the forums that the ownCloud people are not necessarily looking into this forums and could not notice it. Only i an GitHub issue is raised i think the changes are high that a quick fix is provided.

1 Like

Thank You very much for Your proposal - in fact I did exactly that and an issue is filed under the number #749. I am not allowed to include the link to https://github.com/owncloud/updater/issues/749

3 Likes

On Github, the issue was solved and it works for me. this is the solution:

cd /var/www/owncloud
rm -rf updater
curl -L https://github.com/owncloud/updater/releases/download/v1.1.1/updater-v1.1.1.tar.gz | tar zxvf -
chown -R www-data. updater
occ integrity:check-core
4 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.