New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When upgrading of Windows client 2.0 to 2.0.1 sync folders were lost #3747
Comments
Same on my side with WIN 7 Prof SP1 German 64bit. |
My Windows 10 Pro 32 bit English (US) upgraded fine. I have 4 accounts and a total of 7 folder syncs. |
Should probably add that I am running Swedish Windows 8.1. Folder-names issue? |
@guruz Yes, in Swedish the path is "C:\Användare\msa.TANGIX\owncloud" (C:\Users\msa.TANGIX\ownCloud in Englisg when copying pasting). |
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 @guruz There are no spezial characters in the root folder's names. |
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: But after re-adding the synched folder I see in the new owncloud.cfg the path is escaped with double back-slash. |
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. |
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 Yes, yesterday I got the notification and today I did the auto-update. |
Same happened to me before the update on Linux. |
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. |
The difference seems to be that the folders to sync is now in owncloud.cfg instead of folders/*
folders/ownCloud
|
Idem for me: synced directory configuration was lost after upgrade to 2.0.1_5446 (was in official 2.0.0). |
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. |
Windows 7 64-bit |
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 |
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. |
@phil-davis Interesting theory... but then i would have guessed the config-losing to be all or nothing, not keeping the sync URL |
Interestingly on my Win7 32bit notebook, upgrading from 1.84 to 2.01 via autoupdate worked with no problems. All folders intact. |
Can you guys check the old place where the folders resided ($HOME/.local/share/data/owncloud/folders for Unixoids) and paste the file names of the files residing there to this report? |
@dragotin
Notebook:
|
My home laptop Windows 10 just has a file called "ownCloud" in C:\Users\Davis\AppData\Local\ownCloud\folders
The thing is that I have already added back the same folder sync connection again as was there previously. So good evidence of what happened is probably gone for me. |
for me in $HOME/.local/share/data/ownCloud/folders there is only one file called "owCloud" content:
but before loosing the connections I had like 5 or 6 connections set up |
As said in mly prior comment, configuration lost after upgrade. C:\Users\chris\AppData\Local\ownCloud\folders\Christophe : C:\Users\chris\AppData\Local\ownCloud\folders\Général : C:\Users\chris\AppData\Local\ownCloud\folders\Karine : C:\Users\chris\AppData\Local\ownCloud\folders\Musiques : C:\Users\chris\AppData\Local\ownCloud\folders\Photos : C:\Users\chris\AppData\Local\ownCloud\folders\Pratique: Update done via auto-update mecanism by clicking on update available notification when poped-up. First time for me I used auto auto-update (always did update by classic downlown/install procedure before). |
@individual-it Are you implying this also happened on your Linux machine? |
@guruz yes, see my first comment on that topic |
When the client quits, the account settings are saved to the config file again (Application::slotCleanup). Maybe the configuration was wiped beforehand for some reason, or can't be read properly when that QSettings object sync()s. That'd explain account data being saved in the config file while folder data is missing. |
Unfortunately this will happen again on the update from 2.0.1 to 2.0.2, because the bug was an unintended side-effect of the shutdown process after launching the updater. :( |
@Dianafg76 What's wrong? |
@ckamm sorry |
I can't reproduce this issue with Win Server 2008 Enterprise. |
@Dianafg76 : just upgraded from 2.0.1 build 5446 to 2.0.2 build 5464 and my settings survived. No other problems detected. Windows 8.1 64-bit Swedish language. |
@tangix Many thanks |
I think this problem happened when the auto-updater ran automagically. Whenever I did a manual upgrade it worked fine between any versions. |
@phil-davis Yes, this was triggered only when the client started the updater binary and closed itself. I think you can trick the client into thinking there's an update by manually adjusting some setting values, but I don't know what combination of settings is necessary exactly. |
Am I getting this right, that the issue was closed? *) "There are no sync folders configured" |
I, too, was just hit with this issue when Owncloud auto-updated on Win8.1 x64. The folders are all in C:\Users\Michael\AppData\Local\ownCloud\folders but not configured in the C:\Users\Michael\AppData\Local\ownCloud\owncloud.cfg and the client shows that there are no sync folders configured. |
I've opened a new issue, since this had been closed already: #4012 |
Case may have been closed prematurely. Just upgraded a client from 2.0.1 5546 to 2.0.2 5569 and lost all of my sync data |
PEOPLE!! ARGH! IF YOU LET OWNCLOUD UPGRADE FROM 2.0.0/2.0.1 to 2.0.2 BY ITSELF, you will almost certainly lose your sync folders. THIS IS DUE TO A BUG IN 2.0.0/2.0.1. It doesn't matter if you later auto-upgrade to 3.8.4 THIS BUG WILL AFFECT YOU IF YOU ARE UPGRADING FROM 2.0.0/2.0.1. Opening this ticket over and over is pointless. The issue is fixed in 2.0.2 so that when it upgrades itself, this won't happen. You can't fix a bug that's already there, deployed to all the 2.0.0/2.0.1 clients. They have the bug and they trigger it when they upgrade to a newer version. |
Ok, THAT is an explanation. |
Yes, it is exactly like that, unfortunately. Still no reason to get loud I'd say, but yes, thanks anyway for explaining. |
In that case, what's the best solution to avoid this issue. |
Backup your files - because you should have backup anyway :) |
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.
The text was updated successfully, but these errors were encountered: