nextcloud / nextcloud/ios

Upload cameraroll (~25000 photos), many 404 errors due to missing directory.

Open
#3,561 5 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Clear all photos from nextcloud server
  2. Reset nextcloud ios application
  3. Upload whole cameraroll using monthly subdirs
Expected behaviour

All photos & movies uploaded in the appropriate subdirs

Actual behaviour

Upload often seems to stop, then when looking in the log it seems that it receives a 404 error because the folder does not yet exist.
When i create the folder using the web ui, sometimes uploading will continue.

Logs

Can add on request.

Reasoning or why should it be changed/implemented?

Because the current situation is not user friendly, and imho simply faulty.

Environment data

iOS version: e.g. iOS 18.5

Nextcloud iOS app version: 7.0.0.25

Server operating system: debian/bookworm (docker.io/nextcloud:31)

Web server: Apache (docker.io/nextcloud:31)

Database: Mariadb

PHP version:

Nextcloud version: [Nextcloud Hub 10] (31.0.5)

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

No source files or tests are named. Start by reproducing the whole-camera-roll upload with monthly subdirectories and collect the requested logs; trace the upload and directory-creation entry points involved in the 404. Done means the photos and movies upload into the appropriate directories without stopping on missing-directory errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.