nextcloud / nextcloud/ios

Auto upload to external storages not working with IOS App v4.1.0.17 and later

Open
#1,788 25 comments 0 reactions 0 assignees View on GitHub

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
  1. Update the App to the lastest version. In my case 4.1.0.17
  2. Open the App - singed out?
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.