iOS Nextcloud App and Files Manager Integration no longer works

I’ve noticed that the integration of iOS Nextcloud and Files app (and thus other apps that access Nextcloud via the Files app) no longer works as it used to. While I can see everything in the Nextcloud app, only the top-level files and directories are displayed in the Files app. If you select any directory, then 0 objects are shown, even if the directory contains files or more subdirectories.

I have the problem on both an iPhone 7 and an iPad Pro.

Software versions on the devices:

iPhone 7
Nextcloud 4.3.1
iOS 15.3.1

iPad Pro
iOS 14.8
Nextcloud 4.3.1

1 Like

hello,

notice that too on my daughter aie-phone X ! synch broken/hang since last ios/app update.

Well, her birthday is next October, and i planned to buy her a new android oneplus… :rofl:

I am definitly done with any apple products for several reasons … grumpy me talking here :face_with_symbols_over_mouth:

I have done some more thinking and testing. I tried to upload the app log to a folder on Nextcloud via the iOS Files app and got the error message “File or folder does not exist”. But in fact the log file was uploaded to the selected directory (checked in Nextcloud App). This is very strange. Of course, I can’t view it in any app (except the Nextcloud App itself). I guess browsing the directory tree from level 1 doesn’t work.

After deleting and reinstalling the Nextcloud app everything works again as usual.

I also ran in to this problem when updating to 4.3.1. Nextcloud no longer showed up in the Files app.

I first tried the “Advanced->Reset application” option, which afterwards Nextcloud did start showing up in the Files app, but after logging back in, it was basically frozen. In the end I had to delete and reinstall the app in order to get it fully working again.

My guess is that the is a bug in 4.3.1 that is causing the FileProviderExtension to crash when someone upgrades from an older version.

1 Like

For the record, a Nexcloud folder with only a file could appear under « on my iPhone », it’s the log file, you could disable it inside Nextcloud settings and delete it. If you don’t find any other Nextcloud folder at the Files root , it’s certainly disable: click on the three dots menu (upper right) > Modify > Enable the Nextcloud item

I have observed a similar/identical behavior after replacing folders with identical named folders (renamed them after removing the original folder). The Nextcloud app shows all files - the iOS native Files app shows only empty folders.
You can circumvent this in an easier way (instead of removing the app or your account): delete the cache (More > Settings > Advanced > Clear cache.

Regarding the bug of empty folders (as described above from my side):

It gets worse and worse :frowning: I have now the same issue as the creator of this topic: when I access my Nextcloud via the native Files app of iOS, I only see my 2 top level folders (a personal folder and a group share). When I access both of them, I can only see the message “Folder empty”. In real life both folders contain files and subfolders as well!
If I open the same folders via the Nextcloud app, I can see all files and subfolders within those 2 top-level folders however! If I switch back now to the iOS Files app (which was just in the background while checking with the Nextcloud app), the included files and folders get displayed suddenly as well! When I open now one of the included subfolders within the iOS Files app, they are empty! When I open again the identical subfolder via Nextcloud app, and switch back to iOS Files app, I can see all content on this level again.

Means: obviously one has to access all folders via Nextcloud app at first - otherwise you won’t see any content using the iOS native Files app :unamused:
Of course, this affects all other iOS Apps as well which use the iOS Files app for displaying/accessing Nextcloud content.

What I have already tried: I removed my Nextcloud account in Nextcloud app and logged in again. This resets everything to the start: when I access now Nextcloud, I can only see my 2 top level folders. If I enter them, they show up as empty again.
What a shi… :unamused:

There is another, quite similar issue on GitHub. Not sure if it technically interconnected:

Edit:
There is a new iOS app update which fixes the issue for me:

Hi !

First of all I want to thank the nextcloud team for the fantastic work they have done over the years. I’ve been using nextcloud for more than four years with no troubles at all.

I have a very similar problem about file integration on my phone.

After changing the battery, I had to reinstall the phone. I restored everything, but soon I realized that now the native file app cannot access to nextcloud. There is only one file in the nextcloud folder : communication.log

Of course this break the use of some apps that rely on my nextcloud (password manager) and my photo library.

I tried to clear the cache, reboot, reinstall both apps or reset nextcloud app but so far nothing worked…

Both phone and app are up to date : nextcloud 5.5.5, IOS 17.6.1.

Does anyone encountered and solved this problem ?

@KLM You are looking in the wrong place: the mentioned folder is a folder on your phone. You have to go “up” and change to the Nextcloud as entry point! Maybe you have to enable its view at first (on the top right corner using the 3 dots).

1 Like

Oh ! I feel so dumb… thank you, it was indeed the wrong folder :frowning: it seems to work as expected after activation !