Skip to content

Authentication problem after upgrade to 10.0.0 #1282

@sven3

Description

@sven3

Steps to reproduce

  1. Install Nextcloud 9.0.53 with IMAP authentication
  2. Upgrade to 10.0.0 via "php occ upgrade" as user www-data
  3. Try to login

Expected behaviour

Files and calendar can be seen, login without error message

Actual behaviour

Login seems to fail, Web Interfaces says "Problem loading page, reloading in 5 seconds". Files are not displayed.

Server configuration

Operating system: Debian GNU/Linux "jessie" 8.5 on amd64

Web server: Apache 2.4.10 (unmodified Debian package 2.4.10-10+deb8u5)

Database: MySQL 5.5.50 (unmodified Debian package 5.5.50-0+deb8u1)

PHP version: 5.6.24 (unmodified Debian package 5.6.24+dfsg-0+deb8u1)

Nextcloud version: Nextcloud 10.0 (stable) as reported on admin site, but reported as 9.1.0.16 in config.php

Updated from an older Nextcloud/ownCloud or fresh install: updated from previous stable version 9.0.53, which ran without problems.

Where did you install Nextcloud from: Downloaded the Zip file from https://nextcloud.com/install/

Signing status:

Signing status

No errors have been found.

List of activated apps:

App list

Enabled:

  • admin_audit: 1.0.0
  • calendar: 1.3.3
  • comments: 1.0.0
  • dav: 1.0.0
  • federatedfilesharing: 1.0.1
  • federation: 1.0.1
  • files: 1.5.2
  • files_external: 1.0.2
  • files_pdfviewer: 0.8.1
  • files_sharing: 1.0.0
  • files_texteditor: 2.1
  • files_trashbin: 1.0.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • notifications: 0.3.0
  • password_policy: 1.0.0
  • provisioning_api: 1.0.0
  • serverinfo: 1.1.1
  • survey_client: 0.1.5
  • systemtags: 1.0.2
  • templateeditor: 0.1
  • theming: 1.0.1
  • updatenotification: 1.0.1
  • user_external: 0.4
  • workflowengine: 1.0.1
    Disabled:
  • activity
  • encryption
  • external
  • files_accesscontrol
  • files_automatedtagging
  • files_retention
  • files_versions
  • gallery
  • user_ldap
  • user_saml

The content of config/config.php:

Config report

{
"system": {
"instanceid": "oc4ddy17c9k5",
"passwordsalt": "_REMOVED SENSITIVE VALUE",
"secret": "_REMOVED SENSITIVE VALUE
",
"trusted_domains": [
"my-domain.de",
"my-other-domain.de"
],
"datadirectory": "/var/www/my-domain.de/cloud/data",
"overwrite.cli.url": "https://my-domain.de/cloud",
"dbtype": "mysql",
"version": "9.1.0.16",
"dbname": "owncloud2",
"dbhost": "webserver",
"dbtableprefix": "oc_",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE
",
"logtimezone": "Europe/Berlin",
"installed": true,
"theme": "",
"loglevel": 2,
"maintenance": false,
"user_backends": [
{
"class": "OC_User_IMAP",
"arguments": [
"{localhost:993/imap/ssl/novalidate-cert/notls/readonly}"
]
}
],
"htaccess.RewriteBase": "/cloud"
}
}

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

Are you using encryption: no

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

Client configuration

Browser: Firefox 48.0

Operating system: Ubuntu 16.04 on amd64

Logs

Web server error log

Web server error log

[Wed Aug 31 19:01:47.479659 2016] [:error] [pid 4522] [client 2001:db8:1:1:ed64:4cb2:c227:b392:40452] PHP Fatal error: Uncaught exception 'Exception' with message 'Session has been closed - no further changes to the session are allowed' in /var/www/my-domain.de/cloud/lib/private/Session/Internal.php:154\nStack trace:\n#0 /var/www/my-domain.de/cloud/lib/private/Session/Internal.php(64): OC\Session\Internal->validateSession()\n#1 /var/www/my-domain.de/cloud/lib/private/Session/CryptoSessionData.php(164): OC\Session\Internal->set('encrypted_sessi...', 'e3b4eba3a833fa5...')\n#2 /var/www/my-domain.de/cloud/lib/private/Session/CryptoSessionData.php(67): OC\Session\CryptoSessionData->close()\n#3 [internal function]: OC\Session\CryptoSessionData->__destruct()\n#4 {main}\n thrown in /var/www/my-domain.de/cloud/lib/private/Session/Internal.php on line 154, referer: https://my-domain.de/cloud/

#### Nextcloud log (data/nextcloud.log)

Nextcloud log

{"reqId":"O+0RJqz9QDOXkLpQrjyh","remoteAddr":"2001:db8:1:1:ed64:4cb2:c227:b392","app":"core","message":"Login failed: 'sven' (Remote IP: '2001:db8:1:1:ed64:4cb2:c227:b392')","level":2,"time":"2016-08-31T19:14:22+02:00","method":"GET","url":"/cloud/index.php/apps/files/","user":"sven"}

#### Browser log

Browser log

I don't have a browser log I could paste here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions