⚠️ Before posting ⚠️
Steps to reproduce
The core issue is that while Nextcloud's UI shows files getting downloaded, and the web server agrees, but the content is not being written to the phone's storage.
A few weeks ago, I ran into a similar issue where syncing a folder didn't sync any contents of the folder (#15102 and possibly related: #15545). The icon saying it was synced was there and persistent, but the folders and files were not. At the time, I was able to download the files in the folder and it created the directory structure on disk.
This issue is separate from those above. Now I can't sync any files, nor downgrade to a version of Nextcloud that can do so.
This does not seem to affect files which were already downloaded before this bug was introduced. The files are still visible in the Files app and can be used by other apps.
This has been reproduced on multiple phones, both with the latest version of Nextcloud from F-Droid, both connecting to the same server.
Steps to reproduce
- Go to your list of folders in the Nextcloud app
- Click the vertical ellipsis on a folder which contains at least one file
- Click Sync
- Observe that the UI shows a syncing icon and then a green check mark
- Navigate into the folder, observe that none of the files were downloaded to the device
- Return to the previous screen, observe that the green check icon is now gone
- In the Files app, navigate to the folder location (Android/media/com.nextcloud.client/...
- Observe that neither the folder nor its files are present
- Repeat with a file and observe that also doesn't get put into the phone's storage. Clicking while the icon claims that is is synced, doesn't open the file, it doesn't appear in the Apps folder, and if you navigate away and come back Nextcloud shows it's not downloaded. There's a notification dialog that says "Error occurred while downloading files". There is no additional details when trying to expand it.
Relevant settings
When I go to the Android Settings app -> Apps -> Special app access -> All files access, Nextcloud is listed and it says "Allowed".
In the Nextcloud settings, the data storage location show I'm saving data to internal storage and using 35.4 GB / 109.7 GB. Allow access from other apps is enabled.
Expected behaviour
Syncing files causes them to be available on the phone in the Files app.
Actual behaviour
Files seem to download (per the server logs), but never get written to storage.
Android version
16
Device brand and model
Pixel 8a
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
33.1.2
Nextcloud server version
Hub 25 (aka 32.0.11)
Using a reverse proxy?
No
Android logs
No response
Server error logs
No errors on the server side.
The server logs show requests for the folder **and each of the files** in the folder. There are no errors showing on the web server. It serves up the content with a 200 status code.
In the nextcloud server logs (data/nextcloud.log), there's a warning "The requested alias \"OCP\\IServerContainer\" is deprecated. Please request \"Psr\\Container\\ContainerInterface\" directly. This alias will be removed in a future Nextcloud version." but no errors.
So it appears the folders are getting downloaded by the app, but the app just isn't putting them onto the phone's storage.
Additional information
I'm not using a beta version of the app and don't have USB connections enabled. I'll try to find a test device and gets logs from that to post in this ticket.
GrapheneOS. Not using storage scopes.
Unfortunately I can not downgrade to a previous version of the Nextcloud app to test for comparison. As such, I can't point to a specific version where this problem got worse.
Steps to reproduce
The core issue is that while Nextcloud's UI shows files getting downloaded, and the web server agrees, but the content is not being written to the phone's storage.
A few weeks ago, I ran into a similar issue where syncing a folder didn't sync any contents of the folder (#15102 and possibly related: #15545). The icon saying it was synced was there and persistent, but the folders and files were not. At the time, I was able to download the files in the folder and it created the directory structure on disk.
This issue is separate from those above. Now I can't sync any files, nor downgrade to a version of Nextcloud that can do so.
This does not seem to affect files which were already downloaded before this bug was introduced. The files are still visible in the Files app and can be used by other apps.
This has been reproduced on multiple phones, both with the latest version of Nextcloud from F-Droid, both connecting to the same server.
Steps to reproduce
Relevant settings
When I go to the Android Settings app -> Apps -> Special app access -> All files access, Nextcloud is listed and it says "Allowed".
In the Nextcloud settings, the data storage location show I'm saving data to internal storage and using 35.4 GB / 109.7 GB. Allow access from other apps is enabled.
Expected behaviour
Syncing files causes them to be available on the phone in the Files app.
Actual behaviour
Files seem to download (per the server logs), but never get written to storage.
Android version
16
Device brand and model
Pixel 8a
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
33.1.2
Nextcloud server version
Hub 25 (aka 32.0.11)
Using a reverse proxy?
No
Android logs
No response
Server error logs
Additional information
I'm not using a beta version of the app and don't have USB connections enabled. I'll try to find a test device and gets logs from that to post in this ticket.
GrapheneOS. Not using storage scopes.
Unfortunately I can not downgrade to a previous version of the Nextcloud app to test for comparison. As such, I can't point to a specific version where this problem got worse.