-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto upload to external storages not working with IOS App v4.1.0.17 and later #1788
Comments
Had the exact same error with had to delete pending uploads and redefine target drive to get it working |
Thanks for the reply. I tried that already... didn't solve the issue for me. I updated the server to 23.0.0 hoping that it will get fixed, but that didn't help either. I have an Android device that uploads photos to the same location without problems... It seems that the iOS client has a problem with external storages. Auto Upload to the default destination (/Photos) works fine. |
@mrtnd I see you closed this issue. Did you find a fix? I'm facing the same issue but haven't found a workaround yet unless i upload to a non 'external storage' directory: |
@meichthys I didn't realize that it was closed until now. It must have happend by accident. It is open now I have not found a solution. the newest server (23.0.0) and newest app (4.2.0) don't fix the issue. Two versions ago had no issue uploading to external storages. Downgrading would be a solution? |
Having the same issues. iOS 4.1.0.17, server is 23.0.0. (Docker) Images and videos in my camera roll wont upload with the same error message. |
@muzzah Are you uploading to an "External Storage"? |
Have you tried to ditch this uploads and create some new "samples"? I could not figure out how to upload the files which were showing up with an error, but new uploads were not affected. |
@chrissi5120 I'm not sure what you mean by new "samples" but for me, any new photos taken have the same issue. Sometimes they do actually upload but usually they still show the same error in the app. |
@chrissi5120 i tried everything..... turning autoupload off and on again and again, redefining target location, deleting cache, server update... I even reinstalled the App. Nothing. I cannot confirm that some photos are uploaded and some are not because I didn't want to keep track on that. I just set it to it's default path. That works. |
Same here with App Version 4.2.0.5 and Server 22.2.3. Some images are not uploaded when i activated "upload complete storage", even when i leave to default file path. I just switched on to make subfolders for every month and year. |
Can reproduce this with app version 4.2.0.5 and server 23.0.0.0. The Images are uploaded to Nextcloud-local storage just fine, but not to remote Storage (SMB).
|
I have no such errors in the log. Are you able to browse the external storage from within the app ? Is it properly shown? |
The android app had a similar issue (nextcloud/android#468). It looks like it may be a timeout issue or a contenttype issue that could be fixed by checking for an empty content type of |
Yeah it all started with v4.1.0…. It was working fine with the version before that. Is there a way to downgrade? |
Hi all any news regarding this issue? |
@mrtnd no, you can't really downgrade apps on iOS, unless you have a developer account or some MDM stuff. |
Hi @JmbFountain that is really disappointing... cuz it was working before v4.1.0. I have an android client that is uploading to external storages just fine. So it must be a client issue, not server. |
There was a question whether manually uploading a file to those remote storage works. Answer for me is YES 👍 Manual Upload : [22/Feb/2022:09:41:50 +1100] "PUT /nextcloud/remote.php/dav/files/Johan/piwigo_1/Johan/2022/HDPE_A4.pdf HTTP/1.1" 201 950 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/4.2.2" The "Auto Upload" however fails (http 409 : conflict with current status of resource [22/Feb/2022:09:52:19 +1100] "MKCOL /nextcloud/remote.php/dav/files/piwigo_1/Johan HTTP/1.1" 409 822 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/4.2.2" |
For those who have control on underlying OS ...(Linux) A workaround which works on NC 23 (not tested on NC 22) |
If I read this correctly, your workaround is to mount the file server
on the Nextcloud VM and then write there. However, this is kind of a
pain in the back with the amount of ACLs these File Servers have on
them in Enterprise environments.
Our eventual goal is to replace most Windows Workstations with either
Terminals that just open a webbrowser or Tablets. Once we migrated
there, we want to just get rid of the Windows File servers.
@MrTD I pinged a colleague of mine who is responsible for Mobile
Deployments, we plan to push an old Version of this App using MDM and
check if it solves the problem. If yes, we'll try to fork, fix and
upstream
|
Please keep us updated! |
Yes that would be great. Please keep us posted. |
@JmbFountain indeed . mounted a remote filesystem using in this case smb on the OS. Then a bind mount to a subdirectory that nc has access to. It's a lot of workaround and agree with the hassle of file permissions |
Steps to reproduce
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
The text was updated successfully, but these errors were encountered: