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

Web login loop after upgrade from 17.0.1.1 to 18.0.0.10 #19409

Closed
quicktrick opened this issue Feb 11, 2020 · 2 comments
Closed

Web login loop after upgrade from 17.0.1.1 to 18.0.0.10 #19409

quicktrick opened this issue Feb 11, 2020 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@quicktrick
Copy link

Expected behaviour

Normal web login

Actual behaviour

After upgrading PHP from 7.3.7 to 7.4.2 Nextcloud 17.0.1.1 refused to work. Then after upgrading Nextcloud to 18.0.0.10, Windows client is working fine, but the web login does not work, it loops to itself. To be more precise, it loops to the page: https://nextcloud.mydomain.tld/login?redirect_url=/apps/files/

Server configuration

Operating system:
openSUSE Tumbleweed
Web server:
nginx/1.17.7
Database:
mysql Ver 15.1 Distrib 10.3.20-MariaDB, for Linux (x86_64) using readline 5.1
PHP version:
7.4.2
Nextcloud version: (see Nextcloud admin page)
18.0.0.10
Updated from an older Nextcloud/ownCloud or fresh install:
17.0.1.1
Where did you install Nextcloud from:
https://download.nextcloud.com/server/releases/latest.tar.bz2

List of activated apps:

App list
Enabled:
  - accessibility: 1.4.0
  - activity: 2.11.0
  - cloud_federation_api: 1.1.0
  - comments: 1.8.0
  - dav: 1.14.0
  - federatedfilesharing: 1.8.0
  - federation: 1.8.0
  - files: 1.13.1
  - files_pdfviewer: 1.7.0
  - files_rightclick: 0.15.2
  - files_sharing: 1.10.1
  - files_trashbin: 1.8.0
  - files_versions: 1.11.0
  - files_videoplayer: 1.7.0
  - firstrunwizard: 2.7.0
  - logreader: 2.3.0
  - lookup_server_connector: 1.6.0
  - nextcloud_announcements: 1.7.0
  - notifications: 2.6.0
  - oauth2: 1.6.0
  - password_policy: 1.8.0
  - photos: 1.0.0
  - privacy: 1.2.0
  - provisioning_api: 1.8.0
  - recommendations: 0.6.0
  - serverinfo: 1.8.0
  - settings: 1.0.0
  - sharebymail: 1.8.0
  - support: 1.1.0
  - survey_client: 1.6.0
  - systemtags: 1.8.0
  - text: 2.0.0
  - theming: 1.9.0
  - twofactor_backupcodes: 1.7.0
  - updatenotification: 1.8.0
  - viewer: 1.2.0
  - workflowengine: 2.0.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.mydomain.tld"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "18.0.0.10",
        "overwrite.cli.url": "https:\/\/nextcloud.mydomain.tld",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "htaccess.RewriteBase": "\/",
        "overwriteprotocol": "https",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "syslog_tag": "nextcloud",
        "loglevel": 2,
        "logtimezone": "Europe\/Moscow",
        "knowledgebaseenabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "maintenance": false,
        "theme": "",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "PLAIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "updater.release.channel": "stable",
        "mail_sendmailmode": "smtp"
    }
}

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

Are you using encryption: no

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

Client configuration

Browser:
Chrome, Opera, Firefox, Pale Moon, Internet Explorer
Operating system:
Windows 10

Logs

Web server error log

There is no errors in the web server log concerning this issue

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"MxNzQDTVVm64hRi7fzLG","level":1,"time":"2020-02-09T12:35:51+03:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"17.0.1.1"}
{"reqId":"MxNzQDTVVm64hRi7fzLG","level":1,"time":"2020-02-09T12:35:55+03:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"17.0.1.1"}
{"reqId":"MxNzQDTVVm64hRi7fzLG","level":1,"time":"2020-02-09T12:35:55+03:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"18.0.0.10"}
{"reqId":"MxNzQDTVVm64hRi7fzLG","level":1,"time":"2020-02-09T12:35:55+03:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceActive:Maintenance mode is kept active","userAgent":"--","version":"18.0.0.10"}
{"reqId":"MxNzQDTVVm64hRi7fzLG","level":1,"time":"2020-02-09T12:35:55+03:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"18.0.0.10"}
{"reqId":"OEWVCWIc31MLvlszXXBb","level":3,"time":"2020-02-09T12:40:13+03:00","remoteAddr":"192.168.2.3","user":"--","app":"PHP","method":"GET","url":"/apps/theming/styles?v=0","message":"Trying to access array offset on value of type null at /srv/www/nextcloud/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 OPR/66.0.3515.72","version":"18.0.0.10"}
{"reqId":"nEm08swLzDd3NI2UUt94","level":3,"time":"2020-02-09T13:43:48+03:00","remoteAddr":"192.168.2.3","user":"--","app":"PHP","method":"GET","url":"/apps/theming/styles?v=0","message":"Trying to access array offset on value of type null at /srv/www/nextcloud/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 OPR/66.0.3515.72","version":"18.0.0.10"}

Browser log

Browser log
a) The javascript console log

JQMIGRATE: Migrate is installed, version 1.4.1
main.js?v=e8e81401-0:1082 Backbone is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ main.js?v=e8e81401-0:1082
get @ main.js?v=e8e81401-0:1082
(anonymous) @ login.js?v=e8e81401-0:169
(anonymous) @ login.js?v=e8e81401-0:169
(anonymous) @ login.js?v=e8e81401-0:169
(anonymous) @ login.js?v=e8e81401-0:169
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:25
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:310
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:1
main.js?v=e8e81401-0:1082 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ main.js?v=e8e81401-0:1082
get @ main.js?v=e8e81401-0:1082
t.default @ login.js?v=e8e81401-0:305
(anonymous) @ login.js?v=e8e81401-0:230
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:230
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:305
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:299
(anonymous) @ login.js?v=e8e81401-0:299
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:25
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:310
n @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:1
(anonymous) @ login.js?v=e8e81401-0:1
DevTools failed to parse SourceMap: https://nextcloud.mydomain.tld/core/js/dist/main.js.map
DevTools failed to parse SourceMap: https://nextcloud.mydomain.tld/core/js/dist/login.js.map
DevTools failed to parse SourceMap: https://nextcloud.mydomain.tld/apps/files_videoplayer/js/main.js.map
DevTools failed to parse SourceMap: https://nextcloud.mydomain.tld/apps/files_sharing/js/dist/main.js.map


b) The network log
There is no errors in the network log
@quicktrick quicktrick added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Feb 11, 2020
@kesselb
Copy link
Contributor

kesselb commented Feb 11, 2020

Best guess your session directory is not writable. As this seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com

@kesselb kesselb closed this as completed Feb 11, 2020
@quicktrick
Copy link
Author

Thanks you so very much, @kesselb ! You were absolutely right, it solved the problem. A million thanks to you!

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

No branches or pull requests

2 participants