client icon indicating copy to clipboard operation
client copied to clipboard

When upgrading of Windows client 2.0 to 2.0.1 sync folders were lost

Open tangix opened this issue 11 years ago • 46 comments

Was prompted this morning to update my Windows Desktop Sync Client to 2.0.1 (build 5445) running on Windows 8.1 64-bit. After the update was installed all configured folders were lost and had to be re-added manually.

tangix avatar Sep 04 '15 06:09 tangix

Same on my side with WIN 7 Prof SP1 German 64bit.

RalfWW avatar Sep 04 '15 06:09 RalfWW

My Windows 10 Pro 32 bit English (US) upgraded fine. I have 4 accounts and a total of 7 folder syncs.

phil-davis avatar Sep 04 '15 06:09 phil-davis

Should probably add that I am running Swedish Windows 8.1. Folder-names issue?

tangix avatar Sep 04 '15 06:09 tangix

@tangix Did your sync folder name (or any parent folder) contain ø å etc? @RalfWW or similar?

Were the configured folders gone or the configured folders and the account (URL etc) ?

guruz avatar Sep 04 '15 07:09 guruz

@guruz Yes, in Swedish the path is "C:\Användare\msa.TANGIX\owncloud" (C:\Users\msa.TANGIX\ownCloud in Englisg when copying pasting). And only the synced folder was gone, account info still intact.

tangix avatar Sep 04 '15 07:09 tangix

The 2 accounts are still there.

I was able to re-adding the sync-folder at one account only. Server is a 8.1.1 fresh installation

But the other account is "working" but the listing of the available folders is not working. Server is a updated 8.1.1 I found out, that the connection to a remote WEBDAV-Server is not working. After removing that definition (with path at /root) listing is working again.

@guruz There are no spezial characters in the root folder's names.

RalfWW avatar Sep 04 '15 07:09 RalfWW

From my old config-file in C:\Users\msa.TANGIX\AppData\Local\ownCloud\owncloud.cfg.aE9772 I see that it is in fact the English version of the path used, but with standard slash: [Accounts] 0\Folders\ownCloud\localPath=C:/Users/msa.TANGIX/ownCloud/

But after re-adding the synched folder I see in the new owncloud.cfg the path is escaped with double back-slash. 0\Folders\ownCloud\localPath=C:\Users\msa.TANGIX\ownCloud

tangix avatar Sep 04 '15 08:09 tangix

I also have the same problem win 7 SP1 x64 German, and none of my paths contains any umlauts, but they contain spaces. But the two remaining folders also contain White spaces. And the files in the remaining folders also contain Umlauts.

Siedlerchr avatar Sep 04 '15 10:09 Siedlerchr

This is odd because there's only a single-line diff between 2.0.0 and 2.0.1 - and it's an unrelated wizard fix. Are you sure you were updating from the official 2.0.0 release to the 2.0.1 release?

ckamm avatar Sep 04 '15 10:09 ckamm

@ckamm Yes, yesterday I got the notification and today I did the auto-update. My prev version was : ownCloud-2.0.0.5423 and now my version is 2.01.5446

Siedlerchr avatar Sep 04 '15 10:09 Siedlerchr

Same happened to me before the update on Linux. Shut down the PC at work this evening, started it at home again. OC client started, showed a message that a new version is available but had lost all connections.

individual-it avatar Sep 04 '15 14:09 individual-it

Same thing happened to me on two different Windows PCs. One XP and the other Windows 7. Didn't happen on Mac or Ubuntu Linux updates.

vkimball avatar Sep 05 '15 00:09 vkimball

The difference seems to be that the folders to sync is now in owncloud.cfg instead of folders/*

0\Folders\ownCloud\localPath=/home/mikael/ownCloud
0\Folders\ownCloud\targetPath=/ronin
0\Folders\ownCloud\paused=false
0\Folders\ownCloud\ignoreHiddenFiles=true

folders/ownCloud

[ownCloud]
localPath=/home/mikael/ownCloud
targetPath=/ronin
backend=owncloud
connection=ownCloud

mikaelfrykholm avatar Sep 05 '15 06:09 mikaelfrykholm

Idem for me: synced directory configuration was lost after upgrade to 2.0.1_5446 (was in official 2.0.0). Did the upgrade just by clicking OK on upgrade notification. Client on Win 7 Pro / 64bits / French

skimpax avatar Sep 06 '15 06:09 skimpax

Just upgraded my other systems running Windows 7 64-bit and Win 8.1 64-bit, both running English OS versions. No problems at all, all settings kept.

tangix avatar Sep 06 '15 07:09 tangix

Windows 7 64-bit Lost all folders on upgrade.

tjharman avatar Sep 06 '15 22:09 tjharman

I have also yesterday seen this same problem on 2.0.0, the only thing the user had done was rebooted the machine (some windows updates installed at the same time) and subsequently the sync folder config was wiped.

I have also seen it from every user who upgraded to 2.0.1 but only the one user on 2.0.0

dubsflyt avatar Sep 10 '15 08:09 dubsflyt

This happened to me only on my home laptop. It did an auto-update from 2.0.0 to 2.0.1 on Windows 10 and prompted me for admin priv... When ownCloud started again the account was there but no sync folder. I had to add the sync folder again. On other systems I have done manual updates using the full downloaded installer and had no problem. Is this problem only happening when the update is done with the auto-updater?

phil-davis avatar Sep 10 '15 08:09 phil-davis

@phil-davis Interesting theory... but then i would have guessed the config-losing to be all or nothing, not keeping the sync URL

guruz avatar Sep 10 '15 12:09 guruz

Interestingly on my Win7 32bit notebook, upgrading from 1.84 to 2.01 via autoupdate worked with no problems. All folders intact.

Siedlerchr avatar Sep 10 '15 13:09 Siedlerchr