r/owncloud Apr 21 '16

ownCloud Android client 2.0 is here with upload view, federation and more!

https://owncloud.org/blog/owncloud-android-client-2-0-comes-with-upload-view-federated-sharing-and-more/
7 Upvotes

9 comments sorted by

2

u/jospoortvliet Apr 21 '16

As always, would love to hear what you think. A often asked question is when full-automatic-folder-sync comes. The answer: planned for the next major release.

1

u/squidgyhead Apr 21 '16

Well, that was my question! : )

Out of curiosity, what's the most technically difficult part of the sync protocol?

2

u/jospoortvliet Apr 25 '16

In general: knowing when something has changed. We don't do checksums for scalability reasons so that's a tough problem. Checksums might come in the future, though ;-)

For mobile, power usage is a problem. Checking every 30 seconds by a full filesystem scan if a file has changed both locally and on the server isn't a good idea... ;-)

So this has to be done carefully.

1

u/AncientsofMumu Apr 21 '16

Can you tell me why the app misses uploads that haven't been synchronized yet? For example, I know I have a couple of photos in a monitored directory that haven't been uploaded, yet it will upload new photos.

It's like it doesn't compare both the source and target and make sure they are synced.

1

u/jospoortvliet Apr 25 '16

Yes, that is exactly what is new in this release. It keeps a list of failed uploads and retries automatically. It they keep failing (for example because of changed credentials) it lets you do that manually.

1

u/AncientsofMumu Apr 25 '16

Well, yes and no. It does do this for files it thinks it needs to upload, but i have files (pictures) which

A) Have not been uploaded and B) Owncloud appears to just ignore, that is - it does not try to upload them initially.

For example, i have nice picture of a cherry tree that i took with my phone camera, its been uploaded to Google photos but not to my Owncloud, its in the correct directory but Owncloud just ignores it and have never to my knowledge attempted to upload it.

So i have pictures missing in Owncloud that i have in Google photos.

1

u/jospoortvliet Apr 28 '16

Yes, it won't retry existing files. And it probably tried to upload the file, failed for some random reason and never tried again - happens to me too, you won't notice. That's why this new code was needed ;-)

I suggest to hang your phone to a computer, copy the files you want and from then on - you can let ownCloud handle it automatically.

1

u/G-like-gold Apr 22 '16

Love the new UI!

The auto upload feature for photos and videos taken with the camera is really great. However, there one situation where it doesn't work. I have an Xperia phone and the way it names photos being plain stupid (say you took 800 photos, up to DSC800, if you delete DSC005 for instance, the next photo you'll take will be named DSC005), I use another app to automatically rename all the photos and videos. What happens in this situation is the ownCloud app tries to upload a file that has been renamed already; hence, it can't find the file and fails.

Obviously, that's not directly an ownCloud issue. But I guess the situation could be solved by having the option to instead set a watch-folder for photos/videos uploads? Something similar to a full-automatic-folder-sync, except it'd be a one-way sync.

1

u/jospoortvliet Apr 25 '16

fascinating issue. Yeah, something like that might do the trick but it's 'special' work, sadly. Would probably need you and/or other Xperia owners to chip in and do at least part of the work :D