nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.99k stars 882 forks source link

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

Open melyux opened 2 years ago

melyux commented 2 years ago

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

sebabordon commented 2 years ago

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.

Zegorax commented 2 years ago

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.

melyux commented 2 years ago

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.

aivisol commented 2 years ago

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

sdnr commented 2 years ago

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...)

lukasl96 commented 2 years ago

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.

marinofaggiana commented 2 years ago

@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.

lukasl96 commented 2 years ago

@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.

melyux commented 2 years ago

@marinofaggiana Any update on a fix for this?

marinofaggiana commented 2 years ago

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

melyux commented 2 years ago

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

simiusstrabus commented 2 years ago

@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.

melyux commented 2 years ago

@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.

jonno293 commented 1 year ago

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

marinofaggiana commented 1 year ago

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...

meichthys commented 1 year ago

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

mcr-ksh commented 1 year ago

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

dennore commented 1 year ago

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 commented 1 year ago

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

mcr-ksh commented 1 year ago

Yes. This is like a very simple thing todo.

dennore commented 1 year ago

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.