Auto upload to external storages not working with IOS App v4.1.0.17 and later
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Update the App to the lastest version. In my case 4.1.0.17
- Open the App - singed out?
- Photos are uploaded automatically ?
Expected behaviour
After the update I should open the app and land on the FILES tab.
Any new Photos are uploaded automatically. Which is the normal behavior.
Actual behaviour
After the update I was singed out.
Auto Upload was off.
After manually enabling it, new Photos are recognized but are not uploaded automatically. Auto upload was working fine with the last version. I think it was 4.0.6
Upload Progress can be seen under More -> Transfers. It tries to upload the photos every couple of seconds, but with no success. It says "Error Waiting for upload"
I should mention that the location where photos are uploaded is a mapped folder (as a volume) into the docker container. But like I said, it was working before.
Logs
"PUT /remote.php/dav/files/share/photos/user/21-12-01%2012-29-25%202332.jpg HTTP/2.0" 404 182 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/4.1.0"
"PUT /remote.php/dav/files/share/photos/user/21-12-01%2012-29-25%202332.jpg HTTP/2.0" 404 182 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/4.1.0"
Environment data
iOS version:
OS 15.1
Nextcloud iOS app version:
14.1.0.17
Server operating system:
docker. it runs on ubuntu
Web server:
nginx
Database:
postgres 13.5
Nextcloud version:
22.2.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the iOS app's Auto Upload flow and the More Transfers screen, then reproduce the repeated 404 responses shown in the logs. Compare behavior with the reported 4.0.6 version and check whether the signed-out state or mapped external-storage path changes the upload request. Done means new photos upload automatically without the "Error Waiting for upload" failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100