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 to Nextcloud 14 fails if the Bookmark app 0.12.1 is installed. #11954

Closed
e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd opened this issue Oct 20, 2018 · 3 comments · May be fixed by XirdigH/server#32
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd

Steps to reproduce

  1. Install the bookmarks app in the version 0.12.1
  2. Upgrade the Nextcloud from version 13.06 to 14.03 using the web updater.

Expected behaviour

The update works.

Actual behaviour

The update fails and shows the "Internal Server error" page.
Using the console updater the update is working but navigating to the apps page or the logging page shows an "Internal server error" page again. Disabling the outdated bookmarks app fixes the issue.

Server configuration

Operating system: Debian GNU/Linux 9.5 (stretch)

Web server: nginx 1.10.3

Database: Mariadb 10.1.26

PHP version: 7.0.3

Nextcloud version: 14.0.3.0

Updated from an older Nextcloud/ownCloud or fresh install: Regularly updated since version 12.

Where did you install Nextcloud from:

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Nextcloud is in maintenance mode - no apps have been loaded

Enabled:
  - accessibility: 1.0.1
  - activity: 2.7.0
  - admin_audit: 1.4.0
  - bookmarks: 0.12.1
  - bruteforcesettings: 1.1.0
  - calendar: 1.6.1
  - cloud_federation_api: 0.0.1
  - comments: 1.4.0
  - contacts: 2.1.5
  - dav: 1.6.0
  - encryption: 2.2.0
  - federatedfilesharing: 1.4.0
  - federation: 1.4.0
  - files: 1.9.0
  - files_external: 1.5.0
  - files_pdfviewer: 1.3.2
  - files_sharing: 1.6.2
  - files_texteditor: 2.6.0
  - files_trashbin: 1.4.1
  - files_versions: 1.7.1
  - files_videoplayer: 1.3.0
  - firstrunwizard: 2.3.0
  - gallery: 18.1.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.2.0
  - mail: 0.8.3
  - nextcloud_announcements: 1.3.0
  - notifications: 2.2.1
  - oauth2: 1.2.1
  - password_policy: 1.4.0
  - provisioning_api: 1.4.0
  - serverinfo: 1.4.0
  - sharebymail: 1.4.0
  - support: 1.0.0
  - survey_client: 1.2.0
  - systemtags: 1.4.0
  - theming: 1.5.0
  - twofactor_backupcodes: 1.3.1
  - updatenotification: 1.4.1
  - workflowengine: 1.4.0
Disabled:
  - files_automatedtagging
  - files_reader
  - keeweb
  - user_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "lariscus.eu"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/lariscus.eu",
        "dbtype": "mysql",
        "version": "14.0.3.0",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "timeout": 0,
            "dbindex": 0,
            "port": 6379
        },
        "maintenance": false,
        "singleuser": false,
        "updater.release.channel": "stable",
        "loglevel": 2,
        "theme": "",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: --

Are you using encryption: yes

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

Client configuration

Browser: Firefox 62.0.3

Operating system: Windows 10 - 1803

Logs

Web server error log

Web server error log
--

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"g2gL8GFqZZ9YdAvEd6Y1","level":3,"time":"2018-10-20T20:40:00+00:00","remoteAddr":"84.112.194.194","user":"root","app":"index","method":"GET","url":"\/settings\/ajax\/checksetup","message":{"Exception":"Error","Message":"Call to undefined method GuzzleHttp\\Client::request()","Code":0,"Trace":[{"file":"\/var\/www\/html\/lariscus.eu\/settings\/Controller\/CheckSetupController.php","line":152,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["http:\/\/www.nextcloud.com\/"]},{"file":"\/var\/www\/html\/lariscus.eu\/settings\/Controller\/CheckSetupController.php","line":135,"function":"isSiteReachable","class":"OC\\Settings\\Controller\\CheckSetupController","type":"->","args":["www.nextcloud.com"]},{"file":"\/var\/www\/html\/lariscus.eu\/settings\/Controller\/CheckSetupController.php","line":601,"function":"isInternetConnectionWorking","class":"OC\\Settings\\Controller\\CheckSetupController","type":"->","args":[]},{"file":"\/var\/www\/html\/lariscus.eu\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"check","class":"OC\\Settings\\Controller\\CheckSetupController","type":"->","args":[]},{"file":"\/var\/www\/html\/lariscus.eu\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\CheckSetupController"},"check"]},{"file":"\/var\/www\/html\/lariscus.eu\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\CheckSetupController"},"check"]},{"file":"\/var\/www\/html\/lariscus.eu\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\CheckSetupController","check",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"settings.CheckSetup.check"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"settings.CheckSetup.check"}]},{"file":"\/var\/www\/html\/lariscus.eu\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"settings.CheckSetup.check"}]},{"file":"\/var\/www\/html\/lariscus.eu\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/ajax\/checksetup"]},{"file":"\/var\/www\/html\/lariscus.eu\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/html\/lariscus.eu\/lib\/private\/Http\/Client\/Client.php","Line":161,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"14.0.3.0"}

Browser log

Browser log
--
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #9204 (Nextcloud upgrade to version 13.0.1), #9911 (Nextcloud upgrade to 13.0.4 Failed), #3119 (Default calendar not showing after Upgrade to Nextcloud 11.0.1), #6410 (Nextcloud 11 - Upgrade to 12 failed - ), and #5597 (Nextcloud gets very slow since upgrade to 12.0.0).

@Exagone313
Copy link

I had the same issue, but then using occ upgrade (via ssh, with nextcloud's user) worked.

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@skjnldsv
Copy link
Member

Yes, this is coming from the bookmark app.
It reuired an update which is now fixed

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants