Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade fails with code integrity chck #24229

Closed
john-2000 opened this issue Nov 19, 2020 · 2 comments
Closed

Upgrade fails with code integrity chck #24229

john-2000 opened this issue Nov 19, 2020 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity

Comments

@john-2000
Copy link

john-2000 commented Nov 19, 2020

Steps to reproduce

  1. run upgrade from 20.0.1 to 20.0.2 via web updater or terminal
  2. update fails

Expected behaviour

upgrade should complete

Actual behaviour

Upgrade fails with:

Starting code integrity check...
An unhandled exception has been thrown:
TypeError: Return value of OC\Files\Type\Detection::loadCustomDefinitions() must be of the type array, null returned in /var/www/nextcloud/lib/private/Files/Type/Detection.php:145
Stack trace:
#0 /var/www/nextcloud/lib/private/Files/Type/Detection.php(157): OC\Files\Type\Detection->loadCustomDefinitions()
#1 /var/www/nextcloud/lib/private/Files/Type/Detection.php(164): OC\Files\Type\Detection->loadAliases()
#2 /var/www/nextcloud/lib/private/IntegrityCheck/Checker.php(210): OC\Files\Type\Detection->getAllAliases()
#3 /var/www/nextcloud/lib/private/IntegrityCheck/Checker.php(378): OC\IntegrityCheck\Checker->generateHashes()
#4 /var/www/nextcloud/lib/private/IntegrityCheck/Checker.php(558): OC\IntegrityCheck\Checker->verify()
#5 /var/www/nextcloud/lib/private/IntegrityCheck/Checker.php(579): OC\IntegrityCheck\Checker->verifyCoreSignature()
#6 /var/www/nextcloud/lib/private/Updater.php(283): OC\IntegrityCheck\Checker->runInstanceVerification()
#7 /var/www/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade()
#8 /var/www/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
#9 /var/www/nextcloud/apps/mail/vendor/symfony/console/Command/Command.php(258): OC\Core\Command\Upgrade->execute()
#10 /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(920): Symfony\Component\Console\Command\Command->run()
#11 /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(266): Symfony\Component\Console\Application->doRunCommand()
#12 /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(142): Symfony\Component\Console\Application->doRun()
#13 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
#14 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#15 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')

Server configuration

Ubuntu 20.04

Apache2

MariaDB

PHP 7.4.3

NC 20.0.2

Update from NC 20.0.1

Web updated

@john-2000 john-2000 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Nov 19, 2020
@szaimen
Copy link
Contributor

szaimen commented Jun 18, 2021

Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :)

@ghost
Copy link

ghost commented Jul 18, 2021

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@ghost ghost added the stale Ticket or PR with no recent activity label Jul 18, 2021
@ghost ghost closed this as completed Aug 1, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

2 participants