When I take a picture that I need on my computer, I open the app and sometimes it starts uploading that picture. Great. But sometimes it doesn’t upload it.
Expected behaviour
There should be a way to trigger the picture-upload. If just starting the app doesn’t work, then there must be a menu item to trigger a check of the picture upload feature.
Steps to reproduce
Take a picture
check server if picture is uploaded yet.
open the app, nothing happens.
Check the uploads tab. Nothing happens, new picture is not listed.
Can this problem be reproduced with the official owncloud server?
Yes, I think it can I think I have this. I do not think the server matters though.
Environment data
Android version: 14
Device model: moto G54 5G
Stock or customized system: stock.
ownCloud app version:4.4.1 (4ef4cc200)
ownCloud server version: old, but works-for me.
Logs
Web server error log
Log is irrelevant as the client never contacts the server with this upload.
ownCloud log (data/owncloud.log)
Log is irrelevant as the client never contacts the server with this upload.
Adding extra information by quickly editing the post is not possible??? Then it will have to go in a reply.
Of course the upload eventually happens. In the case at hand, I manually pushed the upload to a different directory by share->owncloud, and while writing this question, it was uploaded automatically to the pictures directory. But I often don’t want to wait that long if someone asks me for a reply-with-picture that I need/want to write on my PC.
Yes, I have automatic upload of the pictures I take enabled.
When someone asks me: Can you send a picture of xxx and I want to type something more than “here it is” I prefer to do that on my computer (and I don’t have email on my phone). So I’ll go and take the picture and then want to send the reply and not wait 15 minutes for it to upload. If I go and do something else, I’ll forget I have to go back to sending that reply. And I also don’t want to sit around doing nothing for 15 minutes.
I can hit refresh on a shared directory 15 times in a row, but you’re saying the app is prevented from doing a “check now” on user-request? I can imagine that android forbids you tot check more often in the background. But surely it is not forbidden to do something in response to a user-action ?
Well, for that use case, you should use “Pictures form Camera” instead of automatic uploads. “Pictures from Camera” allows you to upload one picture from the camera at the moment. You’ll find this by clicking the floating button (+) → Uploads → Picture from Camera.
Automatic uploads are intended to be done in background. Typically: you are on a vacation, a visit… you are taking pictures and videos that will be synced to the server at any moment (short term, for sure). In background, Android system does not allow to trigger more ofter, as i commented before. Checking the existing files with a button to force the upload, is not implemented.
Back to the initial problem. You take pictures automatic uploads that are not enqueued in the uploads view (bottom bar). I guess, after 15 minutes is there, or not? Is your camera folder correctly setup in the app’s Settings view?
I have my own server without public IP address. So my phone can upload when it is connected to the right WIFI network (of which there are two). On my old phone it also worked when I enabled the VPN, but I havn’t set up the VPN on my current phone yet.
Slightly annoying, that when is active it doesn’t check for a “sudden restoration” of the connection to the server, at which point it could upload the “failed upload because server was unreachable” files. I have to hit “retry” manually in the uploads tab.
I just tried “pictures from camera” and it uploaded the picture to a different place than where it would go if the automatic upload triggered. I already have that by opening the picture and hitting “share” and then “owncloud”. And in that case I put it where it DOES get synced to the PC…
Yes, it is correctly set up, and it will show up in “uploads” after a while. When I’m on the right wifi, the upload happens. So when I’m not in a hurry to use the picture I sometimes see the “a new file was added” popup on my PC.
So there is no workaround that’s better than what I already have. And the button I’d like to have is not implemented.
My phone is a Motorola moto G54 5G.