Ios: KeePassium cannot reference a file over Apple Files app

Created on 3 Oct 2020  路  6Comments  路  Source: nextcloud/ios

Expected behaviour

KeePassium, an iOS App for KeePass, can use any KeePass2.x-Database file over Apple Files app.
Nextcloud also can be used by KeePassium.

Actual behaviour

Files linked to KeePassium remain available only for several minutes. (mostly, but few times alive 2days)
After that, any attempt to access the linked file results "The file doesn't exist." error.

Steps to reproduce

  1. prepare Nextcloud server and iOS App, and install KeePassium.
  2. enable Nextcloud in Apple Files app and settle your kdbx.
  3. open KeePassium and select the kdbx in Nextcloud App.
  4. confirm you can use the kdbx.
  5. close KeePassium, and wait several minutes.
  6. reopen KeePassium or call KeePassium from iOS Password Manager API.
  7. cannot use the kdbx and get "The file doesn鈥檛 exist."(Code=-1005) error.

Reasoning or why should it be changed/implemented?

Why this issue isn't KeePassium's issue?

First, I wrote this in KeePassium's tracker.
Then @keepassium pointed out barely invalid server response, and told me that Failing to avoid this (server-side) problem is Nextcloud-iOS's issue.

After this conversation, I copied my kdbx into my Dropbox. There was no issue like this in Dropbox iOS App.
Next, I attempted reproducing this WebDAV response using curl but got a perfect response.
Considering both, I guess this issue related to Nextcloud iOS App.

iOS version

iOS 13.7 in iPhone X

App version

3.0.8(and few previous version)

Server configuration

Operating system: Gentoo Linux

  • sys-apps/baselayout 2.7
  • kernel(sys-kernel/gentoo-sources) 5.4.66
  • sys-apps/systemd 245.7-r1

Web server: www-servers/h2o 2.2.6 with dev-libs/libressl 3.1.4

Database: dev-db/mariadb 10.4.13-r2

PHP version: dev-lang/php 7.4.9

Nextcloud version: 19.0.3

0. Needs triage bug

Most helpful comment

I can confirm the issue. As pointed out in the FAQ of KeePassium regarding the syncronization with Nextcloud/iOS [1] this might be related to following issues:

https://github.com/nextcloud/ios/issues/649
https://github.com/nextcloud/ios/issues/372

[1] https://keepassium.com/articles/sync-ios-keepass-with-nextcloud/

All 6 comments

Just to add to this, the problem persists in iOS 14 as well:

Client

  • iOS 14.0.1
  • Nextcloud Coherence for iOS 3.0.8.0

Server

  • Nextcloud Server 19.0.3
  • Apache/2.4.41 (Ubuntu)
  • PHP 7.4.9 (fpm-fcgi)
  • Redis server v=5.0.7
  • Mysql Ver 8.0.21-0ubuntu0.20.04.4

This setup (keepassium + nextcloud synced key file) had been working for me very well for quit some time. It is only _relatively_ recently that this problem has started happening.
I am not 100% sure when I first noticed it, as I don't use my password manager daily, but it seems like it was around 3-4 months back?

It's terribly frustrating. If there's something more I can do to help move the resolution forward please let me know.

I just tested this on a second, fresh install of Nextcloud 19.0.3 on a new server and location.

Same result. :(

I confirmed that Strongbox has the same trouble.

I can confirm the issue. As pointed out in the FAQ of KeePassium regarding the syncronization with Nextcloud/iOS [1] this might be related to following issues:

https://github.com/nextcloud/ios/issues/649
https://github.com/nextcloud/ios/issues/372

[1] https://keepassium.com/articles/sync-ios-keepass-with-nextcloud/

Seems disappeared in iOS 14.2.
I'll close this issue for several days(if there're no new comments).

@Slug-V agreed. This seems to have resolved somewhere recently.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MorrisJobke picture MorrisJobke  路  4Comments

zigulle picture zigulle  路  3Comments

immortal79 picture immortal79  路  4Comments

marinofaggiana picture marinofaggiana  路  5Comments

sakthi-d picture sakthi-d  路  4Comments