Server: Login Page loads Twice

Created on 1 May 2018  Â·  8Comments  Â·  Source: nextcloud/server

Steps to reproduce

  1. open nextcloud on webbrowser (Firefox >56, iOS Safari)
  2. input login credentials in the empty fields
  3. hit enter / press login button
  4. Login page with empty fields is loading again

Expected behaviour

After entering the login and hit enter or the login button it should be logged in.

Actual behaviour

The login page is loading again. if i enter my login data again it will continue to login succesfull

Server configuration

Operating system: Ubuntu 16.04 LTS

Web server: Apache (latest)

Database: MySQL

PHP version: 7.0

Nextcloud version: 13.0.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated from fresh 13.0.1

Where did you install Nextcloud from: .zip downloaded from nextcloud homepage

Signing status:


Signing status

No errors have been found.

List of activated apps:


App list

Enabled:
  - activity: 2.6.1
  - admin_audit: 1.3.0
  - announcementcenter: 3.2.1
  - bruteforcesettings: 1.0.3
  - calendar: 1.6.1
  - comments: 1.3.0
  - contacts: 2.1.3
  - dav: 1.4.6
  - encryption: 2.0.0
  - end_to_end_encryption: 1.0.5
  - external: 3.0.2
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_automatedtagging: 1.3.0
  - files_pdfviewer: 1.2.1
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - gallery: 18.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - nextcloud_announcements: 1.2.0
  - notes: 2.3.2
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - quota_warning: 1.2.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - socialsharing_email: 1.0.3
  - systemtags: 1.3.0
  - theming: 1.4.1
  - twofactor_backupcodes: 1.2.3
  - twofactor_totp: 1.4.1
  - updatenotification: 1.3.0
  - user_external: 0.4
  - workflowengine: 1.3.0
Disabled:
  - files_external
  - mail
  - spreed
  - survey_client
  - user_ldap

Nextcloud configuration:


Config report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "www.lovelyfamily.de",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/www.lovelyfamily.de",
        "dbtype": "mysql",
        "version": "13.0.2.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "maintenance": false,
        "updater.release.channel": "stable",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "tls",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "theme": "",
        "loglevel": 2,
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

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

Are you using encryption: yes

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

Client configuration

Browser: Firefox >56, iOS Safari

Operating system: OSX 10.13.4 ; iOS 11.3

needs info

All 8 comments

@blakkmaan We can't reproduce this error. Could you provide us with a test instance to check what is going on?

As there is no feedback since a while I will close this ticket. If this is still happening please feel free to reopen.

I have got the same problem like blackkmaan. I fill in my login username and password, hit the login button and the same page appears. After repeating the same procedure, I get logged in to nextcloud.
Nectcloud v15, Firefox v64

I just recently see this behaviour on two different nextcloud instances (both 15.0.5, on Debian 9.8/Apache/PHP 7.0.33), one with quite some extensions, one without. It seems to happen only on the '"first login of the day", no matter which client (so logging in from a different client does not produce the behaviour if previously logged in from another client). The less bloated one only complains about the "referer-policy" (althought it is set) and php-version. Browser used: Firefox 65.0.1.

Ok, it is not the "first login of the day" but randomly.

Same problem here ! :)

Same Problem here with Nextcloud 16.0.2, happens sometimes, maybe when the internet connection is bad?... Nginx, Mariadb and Ubuntu 16.04LTS, can i give a dev an account on my nextcloud do check it out? :)

Same problem here with Nextcloud 19, php 7.4 (with only 256 MB instead of 512 as recommended – could that be the cause?). Sometimes I get logged in with content shown but I get the message Problem loading page, reloading in ... seconds, then I'm dropped back to the login screen.

Was this page helpful?
0 / 5 - 0 ratings