nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.91k stars 4.02k forks source link

[Bug]: login password not recognised #41657

Closed ferdiga closed 1 week ago

ferdiga commented 10 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

The browser copies the stored login + password into the 2 fields account name and password. after clicking "Log In" Nextcloud does not always recognise the password and asks to enter / copy saved password again

Steps to reproduce

  1. Open Nextcloud weg interface
  2. browser copies login name and password
  3. click Login
  4. sometimes the login is executed, sometimes the password must be entered/copied again

Expected behavior

always use the provided stored login/password and complete the login process

Installation method

None

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

sudo -u www-data php8.2  occ config:list system               
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "27.1.3.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "debug": false,
        "default_phone_region": "AT",
        "installed": true,
        "enable_previews": true,
        "forcessl": true,
        "theme": "",
        "maintenance": false,
        "knowledgebaseenabled": true,
        "session_lifetime": 3600,
        "session_keepalive": true,
        "auto_logout": true,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtptimeout": 10,
        "loglevel": 0,
        "allow_local_remote_servers": true,
        "share_folder": "\/Shared",
        "trusted_domains": [
            "service2.chricar.at",
            "service.chricar.at"
        ],
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "singleuser": false,
        "forceSSLforSubdomains": true,
        "trashbin_retention_obligation": "auto",
        "filesystem_check_changes": 1,
        "mail_smtpauthtype": "PLAIN",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "auth.bruteforce.protection.enabled": true,
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/service2.chricar.at\/owncloud",
        "updater.release.channel": "stable",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "preview_max_x": 512,
        "preview_max_y": 512,
        "preview_max_scale_factor": 1,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\PDF",
            "OC\\Preview\\Movie",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\SVG",
            "OC\\Preview\\OpenDocument"
        ],
        "has_rebuilt_cache": true,
        "mysql.utf8mb4": true,
        "app_install_overwrite": [
            "files_clipboard",
            "files_accesscontrol",
            "issuetemplate",
            "dashboard",
            "files_external_gdrive",
            "ojsxc",
            "quickaccesssorting",
            "ocr",
            "files_fulltextsearch_tesseract",
            "documentserver_community"
        ],
        "0": {
            "verify_peer_off": true
        },
        "data-fingerprint": "2e5954a0f3c41d5dc2c0cd22b19dc1e0",
        "mail_sendmailmode": "smtp"
    }
}

List of activated Apps

Enabled:
  - activity: 2.19.0
  - admin_audit: 1.17.0
  - analytics: 4.11.1
  - announcementcenter: 6.7.0
  - audioplayer: 3.4.0
  - bruteforcesettings: 2.7.0
  - calendar: 4.5.3
  - carnet: 0.25.2
  - circles: 27.0.1
  - cloud_federation_api: 1.10.0
  - comments: 1.17.0
  - contacts: 5.4.2
  - contactsinteraction: 1.8.0
  - dashboard: 7.7.0
  - dav: 1.27.0
  - deck: 1.11.1
  - documentserver_community: 0.1.13
  - drawio: 2.1.4
  - emlviewer: 1.0.8
  - external: 5.2.1
  - federatedfilesharing: 1.17.0
  - federation: 1.17.0
  - files: 1.22.0
  - files_antivirus: 5.3.0
  - files_external: 1.19.0
  - files_fulltextsearch: 27.0.1
  - files_fulltextsearch_tesseract: 27.0.0
  - files_pdfviewer: 2.8.0
  - files_photospheres: 1.27.0
  - files_reminders: 1.0.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - fulltextsearch: 27.0.2
  - fulltextsearch_elasticsearch: 27.0.4
  - groupfolders: 15.3.1
  - integration_google: 2.1.0
  - logreader: 2.12.0
  - lookup_server_connector: 1.15.0
  - metadata: 0.19.0
  - nextcloud_announcements: 1.16.0
  - notes: 4.8.1
  - notifications: 2.15.0
  - oauth2: 1.15.1
  - onlyoffice: 8.2.4
  - password_policy: 1.17.0
  - phonetrack: 0.7.6
  - photos: 2.3.0
  - previewgenerator: 5.3.0
  - privacy: 1.11.0
  - provisioning_api: 1.17.0
  - quickaccesssorting: 3.0.0
  - quota_warning: 1.17.0
  - recommendations: 1.6.0
  - related_resources: 1.2.0
  - serverinfo: 1.17.0
  - settings: 1.9.0
  - sharebymail: 1.17.0
  - spreed: 17.1.2
  - support: 1.10.0
  - survey_client: 1.15.0
  - suspicious_login: 5.0.0
  - systemtags: 1.17.0
  - tasks: 0.15.0
  - text: 3.8.0
  - theming: 2.2.0
  - theming_customcss: 1.15.0
  - twofactor_backupcodes: 1.16.0
  - updatenotification: 1.17.0
  - user_status: 1.7.0
  - user_usage_report: 1.11.1
  - viewer: 2.1.0
  - weather_status: 1.7.0
  - workflow_ocr: 1.27.5
  - workflowengine: 2.9.0
Disabled:
  - apporder: 0.15.0 (installed 0.15.0)
  - cadviewer: 9.18.8 (installed 9.18.8)
  - dashboardcharts: 0.1.3 (installed 0.1.3)
  - encryption: 2.15.0
  - files_accesscontrol: 1.17.1 (installed 1.17.1)
  - files_automatedtagging: 1.17.0 (installed 1.17.0)
  - files_downloadactivity: 1.16.0 (installed 1.16.0)
  - files_retention: 1.16.0 (installed 1.16.0)
  - firstrunwizard: 2.16.0 (installed 2.7.0)
  - issuetemplate: 0.7.0 (installed 0.7.0)
  - ocr: 6.0.58 (installed 6.0.58)
  - ocsms: 2.2.0 (installed 2.2.0)
  - ojsxc: 5.0.0 (installed 5.0.0)
  - printer: 0.0.5 (installed 0.0.5)
  - quicknotes: 0.8.10 (installed 0.8.10)
  - rainloop: 7.2.6 (installed 7.2.6)
  - registration: 2.2.0 (installed 2.2.0)
  - richdocuments: 8.2.3 (installed 8.2.3)
  - richdocumentscode: 23.5.503 (installed 23.5.503)
  - socialsharing_email: 3.0.0 (installed 3.0.0)
  - twofactor_totp: 9.0.0
  - user_ldap: 1.17.0
  - whiteboard: 0.0.3 (installed 0.0.3)
  - wopi: 3.5.11 (installed 3.5.11)
  - workflow_pdf_converter: 1.12.0 (installed 1.12.0)
  - workflow_script: 1.12.1 (installed 1.12.1)

Nextcloud Signing status

no errors found

Nextcloud Logs

No response

Additional info

No response

joshtrichards commented 10 months ago

Sounds like #32538 or #9354 maybe?

ferdiga commented 10 months ago

yes it does, but as I said, it's random, sometimes it works , I didn't find a pattern

joshtrichards commented 7 months ago

Do you have a reverse proxy in front of Nextcloud?

nextcloud-command commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

ferdiga commented 4 months ago

NC is provided by Hetzner - I do not know the configuration

joshtrichards commented 1 week ago
  1. Are you still experiencing this behavior?
  2. If so, what appears in your Nextcloud log when you try to log-in (with a loglevel set to either 1 or 0)?
ferdiga commented 1 week ago

29.0.7 - no more problems