Auto-upload on android not uploading anything

Hello, Iā€™m new on next cloud and has just finished setting up next cloud on my raspsberry pi, however i just found out today that auto-opload on android is not working for me, it doesnā€™t seem to upload old nor new pictures. I am using version 3.13.0 of the android app on a samsung s10. Thanks in advance!

1 Like

Did you exclude it from cleaning ram in samzungs shitty power management? Also in android energy settings you have to disable power optimization.

For some reason, i cant find the app on the ā€œnot to put to sleepā€ list, it just doesnt exist there. And for the battery optimisation, i already disabled it for the app.

Unfortunately (or in that case actually fortunately) i dont own a samsung device to check how to do that, but i know it has to be done on two places in samsjng devices, one, the one you most likely missed is somewhere in samsungs ram optimization, it needs to be excluded there as well, otherwise samsung will not allow the app to do anything in background. Samsung has never been good building Software and have totally broken android battery, ram and background task management instead of configuring androids stock ram management correctly in the first place

1 Like

Ah ok, thanks for the input.

Hi @Darrell_Octavianus,

Have you configured the correct options in the NC android client app?

In NC Android app -> Menu -> Auto upload.

For each folder you want auto uploaded (e.g Camera) is the item enabled?

354-768-max

The enabled icon is a solid coloured cloud.

Then if you go into the sub-menu for a selected auto-upload directory what options do you currently have set in there? Are they compatible with your connection method (e.g not set to ā€˜Only upload on unmetered Wi-Fiā€™ when you are reliant on a mobile data connection only.)

Let us know how you get on!

Iā€™m having the same issue on Android, Nextcloud version 3.13.0.

The ā€œUploadsā€ page is empty. I already chose to exclude the app from battery optimizations.

Probably doesnā€™t matter, but the app install was made via F-Droid, not the Play Store.

NOTE: JUST as I was about to submit this reply, the uploads page started showing all the pending uploads! It literally took over an hour of fiddling, changing settings, until I just gave up. I didnā€™t change anything at the end, the uploads just showed up. Is there a delay between choosing upload settings and having them trigger for existing files?

I decided to still make this post since the delay is likely still an issue.

EDIT: I pressed the cloud icon again to disable auto uploads. The uploads continued to upload. I pressed the X button in the Uploading group to stop the pending uploads. Then I went back and enabled the cloud icon again. So far the auto uploads have not started, so I confirm there is a delay. I will update again if I see that the uploads start on their own. This is on Android 8.0.0, on an LG G5, while the phone is plugged in and charging.

Yes, it suddenly works for some reason, didnā€™t change anything and suddenly bam, 20gb of my internet data was gone, it uploaded everything while i was using data connection, but anyways, it now works like a charm!

Well, unfortunately Iā€™ve been completely unsuccessful at getting the files to upload again. Iā€™ve tried turning off the cloud icon and then turning it back on. I also tried unticking the option to upload existing files, saving, then ticking it again. The upload screen still shows ā€œupload some content or activate auto upload.ā€

It really would be great to get this critical functionality working! If you need any help debugging the issue, just let me know what to do. Iā€™m willing to help.

In worst case you still could remove the share and create it new

Oopsā€¦ I realized we are discussing some slightly different things, very sorry about that! The auto-upload feature DOES work fine for uploading pictures as they are taken. Itā€™s the ā€œAlso upload existing filesā€ feature that doesnā€™t work. All existing files donā€™t get uploaded (except seeming randomly, though like I said I have no idea what triggered it that one time.)

As for creating a new share, the same issue happens with brand new ā€œcustomā€ folders. Basically I turned off the default syncs for images/videos in the Camera folder, and created a new custom sync for the Camera folder, but it doesnā€™t autosync existing items.

Sorry for the confusion. Let me know if you need any more info. Would love to get this to work.

1 Like

I want to warm up this topic again: I still have the same issue as @nextcloud4me described above in itā€™s post. Any updates on this or more experience?

It would be simply great to have a rescan button or something like this to actively counter this situation.

I would also like to see a rescan button or similar. For the most part the instant upload is working for me, but occasionally Iā€™ll have a failure when Iā€™m not connected to any network. It would be nice to be able to tell the app to try again, even if itā€™s been a few days. Or maybe in the app it could be an option on a photo-by-photo basis?

the ONLY thing for me that syncs correctly on Android ā†’ Nextcloud for me is the ā€œInstant uploadā€ camera folder, and even then it will ONLY auto upload .jpg files.
If a .mp4 / video is taken with the camera, this will not upload automatically.

Any folders manually created do not sync in the same way as the desktop/windows client. (any file or folder created or modified on either side is synced) ā† this is what id expect android to be able to do but it cannot.

If i setup a folder to be synced on android, yes it can upload it to the nextcloud folder, and any filese uploaded, if they are modified, you can then manually press ā€œsyncā€ and they will sync.
however any new files or folders created on the android side do not get synced, ONLY modified.

Is very weird and unusual behaviour for a ā€œsyncā€ and i personally use syncthing on android for more normal sync duities, would love to see the android client work in the same way the windows desktop nextcloud client does, the windows Client seems really good and reliable for me.

Same problem hereā€¦
The auto-upload functionality sometimes works, sometimes not. It is extremely random.
I think this should be a very high priority task to solve.
I can not recommend using Nextcloud for anyone like this on the phone, not the family or friendsā€¦ The most basic feature should be to be able to sync your photos and videos. If it just doesnā€™t work, then it doesnā€™t really matter how amazing the other features areā€¦

So Iā€™ve solved this problem for myself. The process of setting up auto-upload is a bit weird.

On my phone I have a Documents folder in the HOME directory that I wanted to sync. The folder only has about 20MB.

In auto-upload settings, when choosing the local folder to sync, I had to

  1. click the check-mark next to Documents :white_check_mark:.
  2. Then enter the Documents directory (subfolders will appear) and click the blue :blue_square: Choose button in the lower right corner.

The upload started immediately.

My conclusion is that if not doing it the way like described above, Nextcloud client wants to upload the whole HOME directory, even if you think you have selected a subfolder.

I was getting crazy with this. Fresh Android install, but with years of pictures. Auto-Upload wasnā€™t working and everything seemed well configured - Icons enabled, battery optimization excluded, all file. But it didnā€™t worked.

Then I just took a picture and it triggered NC to start uploading everything to the server. Now Iā€™m uploading several GB of picturesā€¦ :blush:

2 Likes

Iā€™ve been experiencing the same problem and it indeed seems that taking a new picture (and potentially just creating a new photo in a certain folder?) directly triggers the uploads of all photos

I solved my problems with using another app (FolderSync) which supports WebDAV for syncing and works way better than the Nextcloud client. FolderSync not only uploads new pictures reliable but you can also manually trigger a sync job if needed and it also supports two way sync (optionally) - so if you delete an old picture in Nextcloud which you donā€™t need any more or if you move it to another folder, it will also get deleted on your device.

Does this support creating folders with the year/date?

I want to use nextcloud to sync my photos and go away from google photos.