ios icon indicating copy to clipboard operation
ios copied to clipboard

Auto upload (photo) settings lost after login expiration and logging back in

Open melyux opened this issue 2 years ago • 21 comments

Steps to reproduce

  1. App logs you out for whatever reason
  2. You sign back in
  3. All your auto-upload settings are lost and reset to default (aka no auto-upload)

Expected behaviour

The app should remember your settings even after being logged out.

Actual behaviour

The app loses all your settings when you are signed out.

Reasoning or why should it be changed/implemented?

Environment data

iOS version: iOS 15

Nextcloud iOS app version: 4.2.0.5

Server operating system: Docker

Web server:

Database:

PHP version: 7

Nextcloud version: 21.0.4

melyux avatar Jan 24 '22 03:01 melyux

Had experienced the same behaviour after application crash just now. Had 1400+ photos to upload since august (wife's behaviour) and after a few minutes uploading the application crashed. Afterwards it asked me to login and all settings lost, so I'm now trying to figure out a way not to upload everything and manually uploading potentially 1400+ photos by hand.

sebabordon avatar Mar 07 '22 00:03 sebabordon

I got the exact same problem today. Photos were not syncing since 1 month approximately, and today it logged me out. Losing all of the settings and which photos were uploaded or not.

Zegorax avatar Mar 21 '22 18:03 Zegorax

Can we please tackle this? The auto-upload stops every now and then without any sort of warning (which is a different issue entirely) when the iOS login expires WAY TOO OFTEN (also another issue), and then I have to login and re-enter ALL my app settings from scratch every single time from a note (where I have to note down every little setting I changed in the Nextcloud app so that I can re-enter them the next time I get logged out). This is stupid. None of these should happen.

melyux avatar Jun 20 '22 22:06 melyux

This still exists. Happened after iOS update to version 15.6. Got logged out and now all settings are gone.

aivisol avatar Aug 24 '22 04:08 aivisol

I'm really grateful to find this open issue. Went through this process several times now. Please fix this by storing these settings somewhere. It is especially annoying if you use sub-folders and different file names (because then you have to remember or look up your settings...)

sdnr avatar Aug 26 '22 15:08 sdnr

Same Problem over here. I use multiple Accounts on the IOS App and for no reason the App lost all accounts and settings. It’s very annoying.

lukasl96 avatar Sep 04 '22 05:09 lukasl96

@lukasl96 V. 4.4 : Due to a change in the Nextcloud application identifier (Apple application ID), the settings and password for accessing your cloud are reset, so please re-enter your account data and check your Settings. We are sorry about that.

marinofaggiana avatar Sep 04 '22 09:09 marinofaggiana

@marinofaggiana Thank you for your reply :) I already logged in and re-entered my settings because it isn’t the first time of this behaviour. I think the same behaviour already occurred three or four times.

lukasl96 avatar Sep 04 '22 10:09 lukasl96

@marinofaggiana Any update on a fix for this?

melyux avatar Sep 04 '22 10:09 melyux

@lukasl96 , @melyux with the 4.4 we have fixed the lost of password with more account.

marinofaggiana avatar Sep 04 '22 10:09 marinofaggiana

@marinofaggiana I see, does that fix this issue too with single accounts?

melyux avatar Sep 04 '22 11:09 melyux

@marinofaggiana Updated the app recently and it forgot all auto upload settings....again. Why do these updates keep breaking everything? Please look in to this seriously this time. Updates should not (never!) cause this much trouble. Need to re-upload all photo's and video's now. @lukasl96 Happened quite a few times already. At this rate the project may become of no use to smartphone users. At least for the auto-upload part.

simiusstrabus avatar Oct 30 '22 16:10 simiusstrabus

@simiusstrabus I've found the PhotoSync app, which does a phenomenal job of automatically syncing my photos and videos faithfully. Works great uploading to Nextcloud.

I turned off the Nextcloud auto upload, which was also taking up 100GB of cache space on my phone despite turning off "cache uploaded files", which it apparently ignores. NC is good for files, but I think they're overstretched for these peripheral features.

melyux avatar Oct 30 '22 22:10 melyux

Same issue here. Thought I had already gone through all the ropes but just checked my settings and for whatever reason auto upload was off. So there we go, RE-uploading the same 1500+ photos again, and going to do a duplicate scan later in bash shell, obviously not a preferred approach. There should be something in the metadata that's used to check for unique photos rather than just re uploading

jonno293 avatar Dec 19 '22 15:12 jonno293

Can be interesting add an automatic save config (export json) in the new iOS group shared data with Talk... but if you "remove" the App you can lost this backup...

marinofaggiana avatar Dec 19 '22 16:12 marinofaggiana

Confirming that I'm still seeing this issue in v4.6.0.9

meichthys avatar Feb 05 '23 12:02 meichthys

well, well well, still happening frequently here as well on iOS v4.8.0.5 and Ubuntu v26.0.1.

mcr-ksh avatar May 14 '23 21:05 mcr-ksh

Please just add an option to select photos from the upload screen between specific dates which you can enter… this would fix this issue as well as others… selecting multiple photos from manual upload is a pain, since no two-finger or swipe select is possible

dennore avatar Oct 22 '23 14:10 dennore

Also the ios app should save the setting on the nextcloud profile maybe me in a hidden or even visible file.. which restores the autoupload state as well as settings

dennore avatar Oct 22 '23 14:10 dennore

Yes. This is like a very simple thing todo.

mcr-ksh avatar Oct 23 '23 15:10 mcr-ksh

I just found a simple workaround to manually upload multiple photos, when your app forgot the last photo it saved.

In the settings app under privacy/security -> photos -> nexcloud app.. dont allow all photos. Choose select photos. Now you can swipe to select all missing photos. (Or use search etc)

Back in the nextcloud app choose sync all photos... now it goes much quicker, since it doesn't need to parse all photos.

After the sync, reenable allow access to all photos.

dennore avatar Oct 26 '23 21:10 dennore