client_theming icon indicating copy to clipboard operation
client_theming copied to clipboard

Updating windows app overwrites sync-exclude.lst

Open suamikim opened this issue 9 years ago • 8 comments

Please don't overwrite the sync-exclude.lst file when performing an automatic uninstall of the current version in the course of an client update.

I just had to manually delete a lot of files since the file has been overwritten and stuff has been uploaded/downloaded to and from clients erroneously since i wasn't aware of this until now. Also I'm pretty sure that I'm going to "trap" into this again during future updates...

I was updating from version 2.2.3 to 2.2.4 (build 2).

Ps.: I've also reported this in the forums and they linked me to this repo...

suamikim avatar Oct 11 '16 10:10 suamikim

I'll look into this a bit more. As far as I know the exclude list should be in the data folder which should not be touched by the installer.

rullzer avatar Oct 17 '16 06:10 rullzer

It's located in C:\Program Files (x86)\Nextcloud on multiple of my Win 10 machines.

suamikim avatar Oct 17 '16 06:10 suamikim

I can confirm that also on OS X (or macOS) the sync-exclude.lst file is located inside the app bundle. This means it comes with the app and is replaced when the app is replaced with a new version. It is also not a common practice to have to edit a file inside an app to change some settings.

matteoipri avatar Nov 11 '16 13:11 matteoipri

This issue has been inactive for some time now.

Is this issue related to the ownCloud client, (thus not an theming isssue) please close it and report the issue here instead. Is this issue related to this repo but solved, please close it and if possible let us know what solved the issue. Is this issue still not solved, please let us know as well.

If I don't hear anything from the one who created this issue within 2 weeks, I will close the issue.

enoch85 avatar Jun 05 '17 15:06 enoch85

The issue still exists for me and I've opened an issue in the mentioned GitHub repo...

suamikim avatar Jun 06 '17 11:06 suamikim

Ps.: I don't know if this issue actually belongs to the client_theming repo or not. I've only created it here since I was linked to it from my original question in the nextCloud forum

suamikim avatar Jun 06 '17 11:06 suamikim

@rullzer did you have time to look at this?

enoch85 avatar Jun 06 '17 16:06 enoch85

According to an answer in the ownCloud repo, there's a local sync-exclude.lst file as well within %LOCALAPPDATA%\ownCloud which shouldn't be overwritten on updates.

Does this also apply to the Nextcloud client? Whilst the directory %LOCALAPPDATA%\Nextcloud exists on my machine, there's no file named sync-exclude.lst in it. Do I have to manually create it or wouldn't this work?

suamikim avatar Jun 07 '17 10:06 suamikim