RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 890 forks source link

Rainloop ownCloud App 5.1.0 forgets all saved mailaccount passwords from ownCloud user settings #1760

Open plastikschnitzer opened 6 years ago

plastikschnitzer commented 6 years ago

RainLoop version, browser, OS: Rainloop ownCloud App Version 5.1.0

Expected behavior and actual behavior: I have added the mail account in the ownCloud settings before, so if I go to the Mail app, my account opens automatically. After the update from 5.0.5 to Rainloop ownCloud app version 5.1.0, the password seems not to work any more, instead of the mailbox I get the login screen. If I go to the ownCloud settings and re-enter my password (my email address and asterisks in the password field are still there!) and save the data again, its working.

Steps to reproduce the problem: Install ownCloud Rainloop app version 5.0.5 Add a mail account in the ownCloud user settings Access your mail account (working) Update to Rainloop app version 5.1.0 Try to access your mailbox (not working)

Is there a way to solve this? I have ownCloud installations with tons of mail accounts and adding all their user credentials manually would be a nightmare …

deMattin commented 6 years ago

Have a look here, maybe the same problem (and solution/workaround):

1753 Update from 1.12.0 to 1.12.1 not using old data folder and setting

plastikschnitzer commented 6 years ago

No, thats not the case. The rainloop data folder and content stays the same. All rainloop admin panel settings are kept over the update but all users who saved their mailaccount in the ownCloud settings are gone. Where does rainloop save these settings?

deMattin commented 6 years ago

Accounts are saved in owncloud Data space in the folder: /Rainloop-storage/_data_/storage/data/...

And the _data_ subfolder has been named _data_bablablablabla before. /Rainloop-storage/_data_bablablablabla/storage/data/...

Have a look, if you have both folders there.

  1. /Rainloop-storage/_data_/ (new created by updated but with missing files) and
  2. /Rainloop-storage/_data_bablablablabla/ ("old" data-folder)

If you have both folders there, rename 1. (to have the possibility to revert back in case) and rename 2. to the name of 1.

This is, what I described in the other issue!

plastikschnitzer commented 6 years ago

No, I only have one data folder, no matter which version. No _data_blablabla folder in the former version. Very sure! I even made a file comparison and all files and folders are the same, only the content of rainloop-storage/INSTALLED and rainloop-storage/VERSION changes from 1.11.3 to 1.12.0 (as expected :-) )

Now I am re-entering tons of passwords in order to make it work … after that everything is back, all account settings, everything.

plastikschnitzer commented 5 years ago

I think I have a new trace: The problem does not occur when contacts are saved to sqlite Datebase. If I set it to mysql, the behavior described above occurs.

Any ideas why? It does not sound logical to me, but I could rebuild the error this way.