Open ghost opened 6 years ago
We have got the same problem. We use the app to edit PDF-files locally on iPads at customers'. Workflow: View PDF -> Open with -> edit pdf -> draw/write stuff -> done -> save again in that next cloud "folder" in order for it to upload. The correct file is being uploaded and all, but the preview within this app itself is not being updated.
I also have this problem on several versions of iOS, Nextcloud app and KeePassium. Now I am at:
I created an empty database on my Linux desktop PC with KeePassXC. It got synced to the server and showed up in the mobile app. I opened it on my iPhone from Nextcloud to KeePassium. I added 2 empty groups in the database and they showed up as expected in KeePassXC on the desktop. I then added a password entry in one of the groups, but this time it did not show up on the PC.
The mobile app shows a progress bar saying that it is uploading files on top of the files list, after a few moments the file that should be updated disappears from the files list and KeePassium also says the database does not exist any longer. As long as the file is listed, the iOS Files app shows the file with the correct updated timestamp. When it disappears in Nextcloud it disappears in the Files app, too. After some time (maybe one minute or two) the file appears again in the files list, but it is the old version. Reloading the files in KeePassium restores the old version.
What should I do to troubleshoot and help fix this bug that persists since years? Thanks
Expected behaviour
Open current version of a Nextcloud hosted file that has been cached in the past using the iOS files app
Actual behaviour
Opens the older cached file
Steps to reproduce
Open a non-cached Nextcloud hosted file (tested with docx, xlsx, pdf and txt) from built in iOS Files app. This caches and opens the file as expected. Open same file on PC using desktop sync client, make changes and save. Changes are uploaded to Nextcloud server. Open Files app, time/date stamp changes on the file as expected. Open the file again from files app in iOS, it opens the old cached version, changes are not reflected. This is not the intended experience.
Extra info
Have checked behaviour of Files app using other cloud storage apps e.g. Dropbox. These re-download an updated version as expected. I can get around this issue by using the Nextcloud app directly and refreshing the folders, but this is cumbersome and not ideal for applications that use the Files app picker directly. Everything else works as normal, creating and editing files etc, just not this feature.
iOS version
11.4.1
App version
2.22.2.2
Server configuration
Operating system: Gentoo Linux
Web server: Apache
Database: SQlite
PHP version: 7.1.18
Nextcloud version: (see Nextcloud admin page) 13.0.6