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

[Bug]: error when upgrading from 25.0.3 to 25.0.4 #36894

Closed
5 of 9 tasks
apasov opened this issue Feb 28, 2023 · 0 comments · Fixed by #36895
Closed
5 of 9 tasks

[Bug]: error when upgrading from 25.0.3 to 25.0.4 #36894

apasov opened this issue Feb 28, 2023 · 0 comments · Fixed by #36895
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug

Comments

@apasov
Copy link
Contributor

apasov commented Feb 28, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

sudo -u nginx php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Updating database schema
Updated database
Starting code integrity check...
An unhandled exception has been thrown:
TypeError: json_decode(): Argument #1 ($json) must be of type string, bool given in /var/www/website.com/lib/private/IntegrityCheck/Checker.php:443
Stack trace:
#0 /var/www/website.com/lib/private/IntegrityCheck/Checker.php(443): json_decode()
#1 /var/www/website.com/lib/private/IntegrityCheck/Checker.php(459): OC\IntegrityCheck\Checker->getResults()
#2 /var/www/website.com/lib/private/IntegrityCheck/Checker.php(581): OC\IntegrityCheck\Checker->storeResults()
#3 /var/www/website.com/lib/private/IntegrityCheck/Checker.php(592): OC\IntegrityCheck\Checker->verifyCoreSignature()
#4 /var/www/website.com/lib/private/Updater.php(309): OC\IntegrityCheck\Checker->runInstanceVerification()
#5 /var/www/website.com/lib/private/Updater.php(141): OC\Updater->doUpgrade()
#6 /var/www/website.com/core/Command/Upgrade.php(225): OC\Updater->upgrade()
#7 /var/www/website.com/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute()
#8 /var/www/website.com/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#9 /var/www/website.com/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#10 /var/www/website.com/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#11 /var/www/website.com/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run()
#12 /var/www/website.com/console.php(100): OC\Console\Application->run()
#13 /var/www/website.com/occ(11): require_once('...')
#14 {main}

Steps to reproduce

./occ upgrade

Expected behavior

sudo -u nginx php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Updating database schema
Updated database
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Resetting log level

Installation method

Community Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

sudo -u nginx php ./occ app:list
Enabled:
  - activity: 2.17.0
  - bruteforcesettings: 2.5.0
  - calendar: 4.2.4
  - circles: 25.0.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contacts: 5.1.0
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recommendations: 1.4.0
  - related_resources: 1.0.4
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - support: 1.8.0
  - survey_client: 1.13.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - flowupload: 1.1.2
  - suspicious_login
  - testing
  - twofactor_totp
  - user_ldap

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@apasov apasov added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Feb 28, 2023
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 25-feedback bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants