client icon indicating copy to clipboard operation
client copied to clipboard

Auto Update Requires Log In to work

Open MTRichards opened this issue 12 years ago • 40 comments

I updated to 1.5.2 today, worked great with the click to update mechanism!

But, when the upgrade finished, the client seems to have forgotten my account. It sat there with the correct server address and user, as far as I can tell, but not syncing.

So, I logged back in with edit my account, and all works fine.

Would be great if it remembered my account.

MTRichards avatar Feb 27 '14 14:02 MTRichards

Same here after upgrading from 1.5.1 to 1.5.2. Happened on Win 7 64-bit and Mac OS X Mavericks as well. After clicking through account settings and entering username and password it works well again.

rakekniven avatar Feb 27 '14 18:02 rakekniven

That's a side-effect of removing the option to store the password in the config file as a last resort. For some reason, that's what the client had done for you. On the upside, it is now stored securely.

danimo avatar Feb 27 '14 18:02 danimo

How do you store it securely? Could not find an explanation in changelog. Some more words would be nice.

rakekniven avatar Feb 27 '14 18:02 rakekniven

@rakekniven just like before: kwallet. There was just a fallback.

danimo avatar Feb 27 '14 18:02 danimo

On all platforms? Thought kwallet is kde related.

rakekniven avatar Feb 27 '14 18:02 rakekniven

@rakekniven of course not. I was just answering for what I thought was your case. we still use libqtkeychain which does the abstraction, storing to kwallet, gnome keychain, os x keychain, etc. Just whenever that fails, it won't silently get stored in the config file. This has two advantages: a) not a security issue anymore and b) we get to find those environments where there's a problem with qtkeychain.

danimo avatar Feb 27 '14 18:02 danimo

That is good to know! thx.

MTRichards avatar Feb 27 '14 20:02 MTRichards

I'm having to 'modify' my account each time OC client starts - just to put my password in. It never keeps the password after OC is quit or PC is restarted. This has only been happening since upgrading to 1.5.2 today.

MU7L3Y avatar Feb 27 '14 23:02 MU7L3Y

Password is not stored! System: Win7x64 Pro SP & WinServer 2008 R2 Client: 1.5.2 build 2445 Is there any way to fix it. It´s not really usable without the storage of the password. Thanx and regards, Jan

csg-pc avatar Feb 28 '14 09:02 csg-pc

I'm having the same problem on Windows 7 64. When i reboot i need to reconfig account of owncloud. Is there a solution? Thanks.

ronbailer avatar Feb 28 '14 11:02 ronbailer

Adding to the list of people whose client (win7 64bit) forgets the password upon restart.

Epithumia avatar Feb 28 '14 11:02 Epithumia

Deleting the owncloud.cfg worked for me: C:\Documents and Settings\user\Local Settings\Application Data\ownCloud\owncloud.cfg then start your client and create your login again. Your existing sync-folders won't be deleted.

Tested on Win7x64 and Ubuntu 12.04 /home/user/.local/share/data/ownCloud/owncloud.cfg

Edit: sorry, seems that this is not reproduceable

BavYeti avatar Feb 28 '14 11:02 BavYeti

Tried that - deleted the following file but it didn't fix it on win7 x64. C:\Users[user]\AppData\Local\ownCloud

MU7L3Y avatar Feb 28 '14 11:02 MU7L3Y

It would appear that there are two problems:

First, the password is no longer saved in the config file. I suspect this was the only mechanism for storing passwords on the Windows client, so the password is always lost between sessions.

Second, the password is not requested if missing. Instead, the connection just fails. The client needs to be able to tell the difference between "no password required" and "password not stored".

Can I ask that either (a) the client requests tyhe password if missing and/or (b) the password save to config file be reinstated and I'll take responsibility for making sure the file is not hacked?

andyrushtonprogramming avatar Feb 28 '14 12:02 andyrushtonprogramming

Is it possible that this is colliding with the already not nicely done solution to connect to more than one owncloud (running multiple clients with --confdir)? I can now "choose" which of my owncloud clients will work (the first one i correctly sign in) but for the other one i am unable to get it online.

oxivanisher avatar Feb 28 '14 13:02 oxivanisher

I only have one owncloud server and one client to connect to it. So, no I don't think so.

Of course, my explanation is a guess based on other comments and the symptoms - I don't know this. However, I have regressed to v1.5.2 of the client and it works. 1.5.3 does not, so this must be a change in this version of the client.

andyrushtonprogramming avatar Feb 28 '14 13:02 andyrushtonprogramming

Also having this issue on Windows 7 x64. Deleting the cfg file did not help.

bigworm avatar Feb 28 '14 14:02 bigworm

Same problem here on Windows 7 x64. Also, the cfg delete workaround didn't bring much joy over here. This is a showstopper for a lot of people I think...

Aesculapius avatar Feb 28 '14 15:02 Aesculapius

I have the same issue on multiple client pc's. Deleting owncloud appdata folder did not help.

axel-dd avatar Feb 28 '14 15:02 axel-dd

Yep sorry, i tried it again on several other machines but it didn't work anymore. So I can confirm the issue on Win7x32/x64 and Ubuntu 12.04 i386, 13.10 amd64 (both from the opensuse repo)

BavYeti avatar Feb 28 '14 15:02 BavYeti