Skip to content

[Bug]: upgrading from 31.0.0 to 31.0.1 : unable to connect account from ios #51579

@NicoBerlo1

Description

@NicoBerlo1

⚠️ This issue respects the following points: ⚠️

Bug description

Hi !

I've been struggling with this bug since I updated to 31.0.1 and the only fix I found was downgrading to 30.0.0.
What happens, with a new setup on ios is that I can connect, but there is one error message :
Encryption App is enabled, but your keys are not initialized. Please log-out and log-in again.
then I grant access
then nothing happens, the account is never "linked".
I tried reconnecting and regranting and nothing happens

Steps to reproduce

1.update to 31.0.1
2.connect to account on ios
3.

Expected behavior

expect it to work

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "xx.fr:4433",
            "xx.fr"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.0.18",
        "overwrite.cli.url": "https:\/\/xx.fr:4433",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true
    }
}

List of activated Apps

Enabled:
  - activity: 4.0.0
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.2.0
  - circles: 31.0.0-dev.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.0.4
  - contactsinteraction: 1.12.0
  - dashboard: 7.11.0
  - dav: 1.33.0
  - encryption: 2.19.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 4.3.1
  - nextcloud_announcements: 3.0.0
  - notes: 4.11.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0-dev.1
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - richdocuments: 8.6.2
  - richdocumentscode: 24.4.1302
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - spreed: 21.0.1
  - support: 3.0.0
  - survey_client: 3.0.0
  - systemtags: 1.21.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - admin_audit: 1.21.0
  - files_external: 1.23.0
  - suspicious_login: 9.0.1
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - user_ldap: 1.22.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

when I try to login :

<html><body>
<!--StartFragment-->
Error | core | InvalidTokenException Token does not exist: token does not exist Renewing session token failed: Token does not exist: token does not exist
-- | -- | --


<!--EndFragment-->
</body>
</html>

Additional info

communications.log from ios :

2025-03-19 13:39:04 [INFO] Start session with level 1 Nextcloud Hydrogen for iOS 6.4.0.10 © 2025
2025-03-19 13:39:04 [INFO] Scene will enter in foreground
2025-03-19 13:39:04 [INFO] Scene did become active
2025-03-19 13:39:04 [INFO] Initialize Auto upload with 0 uploads
2025-03-19 13:39:21 Network request started: GET https://xxx.fr/status.php
2025-03-19 13:39:21 Network response request: https://xxx.fr/status.php, result: success(170 bytes)
2025-03-19 13:39:21 Network request started: POST https://xxx.fr/index.php/login/v2
2025-03-19 13:39:22 Network response request: https://xxx.fr/index.php/login/v2, result: success(414 bytes)
2025-03-19 13:39:22 Network request started: POST https://xxx.fr/index.php/login/v2/poll?token=mXphYDNsmxxuQyjlZ2g1rau5dUPY245yHpsxpVfu0hYwdi9pHFiUCgB7ASRATzhq71HMRchIYlfYMV8e4DpldwC8CNxRNCikedRNGye7xH898AvgAmik9y0r2lCpM0iX
2025-03-19 13:39:22 Network response request: https://xxx.fr/index.php/login/v2/poll?token=mXphYDNsmxxuQyjlZ2g1rau5dUPY245yHpsxpVfu0hYwdi9pHFiUCgB7ASRATzhq71HMRchIYlfYMV8e4DpldwC8CNxRNCikedRNGye7xH898AvgAmik9y0r2lCpM0iX, result: failure(Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureReason.unacceptableStatusCode(code: 404)))
2025-03-19 13:39:23 Network request started: POST https://xxx.fr/index.php/login/v2/poll?token=mXphYDNsmxxuQyjlZ2g1rau5dUPY245yHpsxpVfu0hYwdi9pHFiUCgB7ASRATzhq71HMRchIYlfYMV8e4DpldwC8CNxRNCikedRNGye7xH898AvgAmik9y0r2lCpM0iX

No response

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