client icon indicating copy to clipboard operation
client copied to clipboard

new install 1.7.0cr1 on Ubuntu 14.10 fails to locate system sync-exclude.lst

Open ornearius opened this issue 12 years ago • 9 comments

New install of the desktop client on a recently upgraded Ubuntu 14.10.

Client will sync folders but files fail with the error message "Could not read system exclude file"

I can find ~/.local/share/data/ownCloud/sync-exclude.lst but not the system one. Folder /etc/ownCloud does not exist.

~$ owncloud --logwindow SocketApi: server started, listening at "/run/user/1001/ownCloud/socket" ==== added system ignore list to socketapi: "/etc/ownCloud/sync-exclude.lst" ==== added user defined ignore list to csync: "/home//.local/share/data/ownCloud/sync-exclude.lst" Sys Info size: 81 int main(int, char**) Already running, exiting... SocketApi: dtor

ornearius avatar Nov 04 '14 22:11 ornearius

@ornearius How did you install the client?

If you go through a regular installer you should get the system exclude file installed to /etc/ownCloud. And if you build from source, cmake should put a copy of the exclude file next to your owncloud binary.

ckamm avatar Nov 05 '14 10:11 ckamm

Installed using apt-get after installing the package location and key. I am not sure where it is installed to as there is no /etc/ownCloud directory. I would manually add the file but I have not managed to find a copy.

As far as I can tell this should have been a vanilla install. It is a work machine so standard xubuntu that has been upgraded each release from 11.10

ornearius avatar Nov 05 '14 23:11 ornearius

@ornearius Thanks for the info, it does indeed look like sync-exclude.lst is missing from the 1.6.4 debs for 14.10 and 14.04 (probably others too, I only checked these).

@danimo I see a

install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} )

in CMakeLists.txt - do you know what's going wrong?

ckamm avatar Nov 06 '14 08:11 ckamm

Awesome. Recent update fixed issue and now files sync. Thanks.

ornearius avatar Nov 09 '14 23:11 ornearius

I also struggle with the same problem. What was the solution?

Ubuntu 14.04 x64 lts owncloud client 1.7.0 (sudo apt-get install owncloud-client)

vgergo avatar Dec 07 '14 19:12 vgergo

I have my system set to daily updates. Try updating to the latest release. sudo apt-get update It just started working for me but maybe you need to reinstall. If that does not work check if the excludes file is missing. If so then raise another issue to ask if they backported the fix to 14.04. I hope so as it is the lts version.

ornearius avatar Dec 07 '14 23:12 ornearius

@ornearius Thank you for your help. I tried updating to the latest release, but not solved the problem. The reinstall also not solved. I tried sudo apt-get purge owncloud-client owncloud-client-l10n libowncloudsync0 && sudo apt-get -o DPkg::Options::='--force-overwrite' install owncloud-client not solved the problem.

But after dist upgrede the problem is solved sudo apt-get dist-upgrade

vgergo avatar Dec 08 '14 17:12 vgergo

Sounds like they did not back port the fix.

ornearius avatar Dec 08 '14 23:12 ornearius

All who still have the issue, please try: a)

apt-get purge libowncloudsync0
apt-get install owncloud-client

or b) try the testpilotcloud-client (which is a development version of owncloud-client).

jnweiger avatar Dec 09 '14 21:12 jnweiger