android
android copied to clipboard
Android client after url change: Server not available
⚠️ Before posting ⚠️
- [X] This is a bug, not a question or an enhancement.
- [X] I've searched for similar issues and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- move your Nextcloud server folder from domain.com/old-dir to domain.com/new-dir
- create a 301 permanent redirect from the old folder to the new folder.
Expected behaviour
The mobile sync client should transition to the new path and keep working. Like the desktop client does.
Actual behaviour
When opening the mobile nextcloud client, it shows the cached folders and a "server not available" warning. When entering one of the folders it shows loading and the warning about server unavailable.
- - [21/Aug/2024:08:43:37 +0000] "GET /owncloud/ocs/v2.php/cloud/user?format=json HTTP/1.1" 301 4473
- pascal [21/Aug/2024:08:43:37 +0000] "GET /nextcloud/ocs/v2.php/cloud/user?format=json HTTP/1.1" 200 2384
- - [21/Aug/2024:08:43:37 +0000] "PROPFIND /owncloud/remote.php/dav/files/pascal/Dilbert/ HTTP/1.1" 301 4408
- pascal [21/Aug/2024:08:43:37 +0000] "PROPFIND /nextcloud/remote.php/dav/files/pascal/Dilbert/ HTTP/1.1" 207 2186
Android version
14
Device brand and model
Samsung S22
Stock or custom OS?
Stock
Nextcloud android app version
3.29.2
Nextcloud server version
29.0.3
Using a reverse proxy?
No
Android logs
No response
Server error logs
No response
Additional information
No response