404 error on autouploads when most compatible option is enabled
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Expected behaviour
Autoupload "most compatible" live and not live pictures.
Actual behaviour
Pictures are not autouploaded if "most compatible" option is enabled. This happens both with "Live photo" enabled and disabled.
404 error (screenshot attached)
Message:
Upload file
404: The requested resource could not be found
Apache log of AUTOUPLOAD with "most compatible" ENABLED:
192.168.xxx.xxx - - [22/Jun/2020:23:15:39 +0200] "PUT /remote.php/webdav/Photos/iPhone8-nx/2020/06/2020-06-22_23-15-31_IMG_2292.mov HTTP/1.1" 404 1099 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.0"
192.168.xxx.xxx - - [22/Jun/2020:23:15:39 +0200] "PUT /remote.php/webdav/Photos/iPhone8-nx/2020/06/2020-06-22_23-15-31_IMG_2292.jpg HTTP/1.1" 404 4002 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.0"
Apache log of AUTOUPLOAD with "most compatible" DISABLED:
192.168.xxx.xxx - - [22/Jun/2020:23:11:57 +0200] "PUT /remote.php/webdav/Photos/iPhone8-nx/2020/06/2020-06-22_23-11-46_IMG_2290.heic HTTP/1.1" 201 4085 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.0"
192.168.xxx.xxx - - [22/Jun/2020:23:11:57 +0200] "PUT /remote.php/webdav/Photos/iPhone8-nx/2020/06/2020-06-22_23-11-46_IMG_2290.mov HTTP/1.1" 201 1182 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.0"
Apache log of MANUAL upload with "most compatible" ENABLED (also works with most comaptible disabled):
192.168.xxx.xxx - - [22/Jun/2020:23:18:08 +0200] "PUT /remote.php/webdav/Photos/iPhone8-nx/20-06-22%2023-17-32%202293.mov HTTP/1.1" 201 1182 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.0"
192.168.xxx.xxx - - [22/Jun/2020:23:18:08 +0200] "PUT /remote.php/webdav/Photos/iPhone8-nx/20-06-22%2023-17-32%202293.jpg HTTP/1.1" 201 4085 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.0"
No errors are generated in nextcloud log.
Steps to reproduce
- Enable "Most compatible"
- Enable "Autoupload"
- Take a picture.
- Open Nextcloud 3.0.0
- Wait for transfer
- ERROR
Reasoning or why should it be changed/implemented?
It seems to be a bug in a cool functionality that I love!
iOS version
13.5.1
App version
3.0.0.76
Server configuration
Operating system:
Debian sid (up to date)
Web server:
Server version: Apache/2.4.43 (Debian)
Database:
MariaDB 10.4.12
PHP version:
7.4
Nextcloud version: (see Nextcloud admin page)
Nextcloud 19.0.0
404 not found screenshot:

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 by reproducing the failure in the iOS app with Most Compatible and autoupload enabled, then trace the autoupload path for the generated .jpg and .mov requests. Compare it with the successful manual upload and HEIC autoupload requests; done means both live and non-live pictures upload successfully in Most Compatible mode without a 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100