nextcloud / nextcloud/ios

E2EE Internal Error for iOS, PC/Mac works fine

Open
#3,346 10 comments 6 reactions 1 assignee View on GitHub

@marinofaggiana is already working on this.

Since Mar 22, 2025.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Enable Serverside Encryption and E2EE
  2. Enable on either Mac, Linux or Windows to generate a 12 word mnemonic
  3. Input the 12 word mnemonic into the iOS client when enabling E2EE
Expected behaviour

For E2EE to be enabled. Worked perfectly on my Mac and Windows Client

Actual behaviour

It comes up with "Internal Error" see screenshot below

Image

Logs

Nextcloud
https://pastebin.ubuntu.com/p/2vXRgnD2QK/

root@d7b5659d53a7:/# occ app:list
Enabled:
   - activity: 4.0.0
   - app_api: 5.0.2
   - bruteforcesettings: 4.0.0
   - circles: 31.0.0-dev.0
   - cloud_federation_api: 1.14.0
   - comments: 1.21.0
   - contactsinteraction: 1.12.0
   - dashboard: 7.11.0
   - dav: 1.33.0
   - encryption: 2.19.0
   - end_to_end_encryption: 1.17.0
   - federatedfilesharing: 1.21.0
   - federation: 1.21.0
   - files: 2.3.1
   - files_downloadlimit: 4.0.0
   - files_external: 1.23.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
   - music: 2.1.2
   - nextcloud_announcements: 3.0.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
   - serverinfo: 3.0.0
   - settings: 1.14.0
   - sharebymail: 1.21.0
   - 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
   - whiteboard: 1.0.5
   - workflowengine: 2.13.0
 Disabled:
   - admin_audit: 1.21.0
   - documentserver_community: 0.1.20 (installed 0.1.20)
   - onlyoffice: 9.6.0 (installed 9.6.0)
   - richdocuments: 8.6.1 (installed 8.6.1)
   - suspicious_login: 9.0.1
   - twofactor_nextcloud_notification: 5.0.0
   - twofactor_totp: 13.0.0-dev.0
   - user_ldap: 1.22.0

iOS Console
https://pastebin.ubuntu.com/p/VBBxDT6fP4/

Reasoning or why should it be changed/implemented?

It would be really important for security and privacy reasons

Environment data

iOS version: e.g. iOS 17.6.1
iOS 18.3.1
Nextcloud iOS app version: see More > Settings
Nextcloud 6.2.7
Server operating system:
Ubuntu Server 24.04.2 LTS Noble
Web server: Apache, nginx
NGinx version 1.26.2
Database:
MariaDB version “11.7.2-MariaDB-ubu2404”
PHP version:
I don't know, installed via docker compose
Nextcloud version: see Nextcloud admin page
Nextcloud Hub 10 (31.0.0)

I believe the app is buggy as on my desktop clients it works absolutely fine, and I have tested the E2EE on a web browser on my iPhone and it worked fine as well. I have Tailscale VPN with HTTPS enabled giving me the ability to have a valid LE certificate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.