Hello!
I’ve got a minor code signing issue after the upgrade to nextcloud 12.0.4.
Nextcloud version: 12.0.4 (now, previous: 12.0.3)
Operating system and version: debian 9
Apache/2.4.25 (Debian)
PHP version (eg, 5.6): PHP 7.0.26-1~dotdeb+8.2
Is this the first time you’ve seen this error?: yes, I have done multiple upgrade in the past.
Can you reliably replicate it? (If so, please outline steps): yes, I’ve upgraded according to manual (https://docs.nextcloud.com/server/12/admin_manual/maintenance/manual_upgrade.html)
The issue you are facing:
After the upgrade I get code signing errors for files in 3rdparty/aws-sdk-php and
Logging (example, all files in aws-sdk-php are marked)
- files_texteditor
- EXTRA_FILE
- l10n/ka_GE.php
- l10n/eu.php
- EXTRA_FILE
- files_external
- EXTRA_FILE
- 3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/Exception/ErrorResponseException.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/ErrorResponsePlugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Md5/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Md5/CommandContentMd5Plugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Md5/Md5ValidatorPlugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Oauth/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Oauth/OauthPlugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Async/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Async/AsyncPlugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/History/HistoryPlugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/History/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/CurlAuth/composer.json
- 3rdparty/aws-sdk-php/Guzzle/Plugin/CurlAuth/CurlAuthPlugin.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Cookie/CookieJar/ArrayCookieJar.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Cookie/CookieJar/CookieJarInterface.php
- 3rdparty/aws-sdk-php/Guzzle/Plugin/Cookie/Cookie.php
… and so on - 3rdparty/aws-sdk-php/Symfony/Component/EventDispatcher/ImmutableEventDispatcher.php
- 3rdparty/aws-sdk-php/Symfony/Component/EventDispatcher/EventSubscriberInterface.php
- 3rdparty/aws-sdk-php/Symfony/Component/EventDispatcher/Event.php
- 3rdparty/aws-sdk-php/Symfony/Component/EventDispatcher/EventDispatcher.php
- EXTRA_FILE
- gallery
- EXTRA_FILE
- l10n/es_CL.php
- EXTRA_FILE
Raw output
Array
(
[files_texteditor] => Array
(
[EXTRA_FILE] => Array
(
[l10n/ka_GE.php] => Array
(
[expected] =>
[current] => d00162557896cdb62d09b4e6e22571653b3c174e7912c18f234d0a0a697cdf531fd9618709b373f3798a75d5c7faa69c4a40f6048be2bcc603dda19106bbd545
)
[l10n/eu.php] => Array
(
[expected] =>
[current] => 8e928678b25f6626f0ae9fac1a7eed4c068ab017d5b67788fdc7fc4a643fb5ddc26bdc1d48093921cf430641578fe652925b7c758867c8cc109e5c9ae5f13f56
)
)
)
[files_external] => Array
(
[EXTRA_FILE] => Array
(
[3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/Exception/ErrorResponseException.php] => Array
(
[expected] =>
[current] => 10c7849dc2a7757914b991864e61ce02b576115534e5eae245c243cee9b5149e26c74df00c5b0edcd0de386cc7fa93c30073dccb163c1f7252ee84b68e93621e
)
[3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php] => Array
(
[expected] =>
[current] => 4cd12e5870185b314658518cc798a47de8ce534443756f81cbde7f36ed0086ec90769ebc6c1a1f09c040b1dd05af9e038b211f4f51ccff0a6bcb1c141f6557f6
)
[3rdparty/aws-sdk-php/Guzzle/Plugin/ErrorResponse/composer.json] => Array
(
… and so on
[3rdparty/aws-sdk-php/Symfony/Component/EventDispatcher/EventDispatcher.php] => Array
(
[expected] =>
[current] => 96211d2e46a1b6ced8d126e1c2a2732feb467c5418836aa8305a149932b0842d825e31f36accccd0458609a87087ace69453dc13d5240b5a8a1bd9a142ed36d7
)
)
)
[gallery] => Array
(
[EXTRA_FILE] => Array
(
[l10n/es_CL.php] => Array
(
[expected] =>
[current] => daa117985c2bce1f85c85628ee23483feb0f3401af8e1ced57d89815774475efa8aa92862b4a7dc8e3ddbe3def351965f4cae2fa433d36c710f1e05d616d85a5
)
)
)
)
There where no errors prior to the upgrade. I’ve gotten no errors during the upgrade.
I’ve tried so far:
- Checked manually if these files exist in de backup of the webdirectory, they don’t;
- Checked if they existed in the tar file i’ve downloaded;
- removed the original directory in /var/www and replaced with a fresh extracted version from the tar file;
- checked (sha256sum) and compared the /core/signatures.json;
- read this document and did a rescan: https://docs.nextcloud.com/server/12/admin_manual/issues/code_signing.html?highlight=integrity
- rebooted the server
What did I miss or can I do to resolve this issue (without disabling the integrity check all together in the configuration file)?