GNU bug report logs -
#47672
owncloud-client : "Could not read system exclude file"
Previous Next
Reported by: Fulbert <fulbert <at> bluewin.ch>
Date: Fri, 9 Apr 2021 11:22:02 UTC
Severity: normal
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47672 in the body.
You can then email your comments to 47672 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#47672
; Package
guix
.
(Fri, 09 Apr 2021 11:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Fulbert <fulbert <at> bluewin.ch>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 09 Apr 2021 11:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello !
After setting up an account to a davs server, the synchronisation
fails with messages :
* On the GUI : "Could not read system exclude file"
* In log file :
20210409_1235_owncloud.log.0.gz:04-09 12:35:55:294 [ info sync.configfile ]: Adding system ignore list to csync: "/home/fulbert/etc/ownCloud/sync-exclude.lst"
20210409_1235_owncloud.log.0.gz:04-09 12:35:55:294 [ info sync.configfile ]: Adding user defined ignore list to csync: "/home/fulbert/.config/ownCloud/sync-exclude.lst"
20210409_1235_owncloud.log.0.gz:04-09 12:35:55:295 [ warning gui.folder ]: Could not read system exclude file
After a little web search, I have not found a way to change the
path to the *system* `sync-exclude.lst` file, whether through GUI,
configuration file or environement variable.
brutal workaround :
$ mkdir $HOME/etc/ownCloud
$ ln -s $HOME/.guix-profile/etc/ownCloud/sync-exclude.lst $HOME/etc/ownCloud
Thanks and best regards.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47672
; Package
guix
.
(Wed, 16 Jun 2021 15:15:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 47672 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I have also noticed this issue and found the basis for my fix here:
https://github.com/owncloud/client/issues/8373
The attached patch fixes this behaviour.
Best regards
Daniel
[0001-gnu-owncloud-client-Fix-sysconfdir-path.patch (text/x-patch, inline)]
From 84b103e261ed1473cdd456b70dbf58626bb9f7ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mei=C3=9Fner?=
<daniel.meissner-i4k <at> ruhr-uni-bochum.de>
Date: Wed, 16 Jun 2021 14:16:10 +0200
Subject: [PATCH] gnu: owncloud-client: Fix sysconfdir path
Somehow sysconfdir was not set correctly so that owncloud searched for
sync-exclude.lst in the relative path etc/ownCloud/sync-exclude.lst instead
of the /gnu/store/...-owncloud-client/etc/ownCloud/sync-exclude.lst.
* gnu/packages/sync.scm(owncloud-client): Add -DSYSCONF_INSTALL_DIR flag to
configure flags.
---
gnu/packages/sync.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 2b64117dc6..f9c3855e08 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -341,10 +341,16 @@ See also: megacmd, the official tool set by MEGA.")
(("QCoreApplication::applicationFilePath\\()") "\"owncloud\""))
#t))
(delete 'patch-dot-desktop-files))
- #:configure-flags '("-DUNIT_TESTING=ON"
- ;; build without qtwebkit, which causes the
- ;; package to FTBFS while looking for QWebView.
- "-DNO_SHIBBOLETH=1")))
+ #:configure-flags `("-DUNIT_TESTING=ON"
+ ;; build without qtwebkit, which causes the
+ ;; package to FTBFS while looking for QWebView.
+ "-DNO_SHIBBOLETH=1"
+ ;; Fix sync-exclude.list problem
+ ;; See: https://github.com/owncloud/client/issues/8373
+ ;; See: https://issues.guix.gnu.org/47672
+ ,(string-append "-DSYSCONF_INSTALL_DIR="
+ (assoc-ref %outputs "out")
+ "/etc"))))
(native-inputs
`(("cmocka" ,cmocka)
("extra-cmake-modules" ,extra-cmake-modules)
--
2.32.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47672
; Package
guix
.
(Wed, 16 Jun 2021 15:15:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 47672 <at> debbugs.gnu.org (full text, mbox):
Hi,
I have also noticed this issue and found a fix here:
https://github.com/owncloud/client/issues/8373
Somehow sysconfdir is not set correctly so that owncloud searched for
sync-exclude.lst in the relative path etc/ownCloud/sync-exclude.lst instead
of the /gnu/store/...-owncloud-client/etc/ownCloud/sync-exclude.lst.
The following patch fixes this behaviour:
* gnu/packages/sync.scm(owncloud-client): Add -DSYSCONF_INSTALL_DIR flag to
configure flags.
---
gnu/packages/sync.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 2b64117dc6..f9c3855e08 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -341,10 +341,16 @@ See also: megacmd, the official tool set by MEGA.")
(("QCoreApplication::applicationFilePath\\()") "\"owncloud\""))
#t))
(delete 'patch-dot-desktop-files))
- #:configure-flags '("-DUNIT_TESTING=ON"
- ;; build without qtwebkit, which causes the
- ;; package to FTBFS while looking for QWebView.
- "-DNO_SHIBBOLETH=1")))
+ #:configure-flags `("-DUNIT_TESTING=ON"
+ ;; build without qtwebkit, which causes the
+ ;; package to FTBFS while looking for QWebView.
+ "-DNO_SHIBBOLETH=1"
+ ;; Fix sync-exclude.list problem
+ ;; See: https://github.com/owncloud/client/issues/8373
+ ;; See: https://issues.guix.gnu.org/47672
+ ,(string-append "-DSYSCONF_INSTALL_DIR="
+ (assoc-ref %outputs "out")
+ "/etc"))))
(native-inputs
`(("cmocka" ,cmocka)
("extra-cmake-modules" ,extra-cmake-modules)
--
2.32.0
Best regards
Daniel
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Mon, 11 Oct 2021 13:29:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Fulbert <fulbert <at> bluewin.ch>
:
bug acknowledged by developer.
(Mon, 11 Oct 2021 13:29:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 47672-done <at> debbugs.gnu.org (full text, mbox):
Am Montag, den 11.10.2021, 14:24 +0200 schrieb Daniel Meißner:
> > Thanks for checking. Your workaround LGTM aside from indentation
> > which I can fix. If the updater is still patched away as intended,
> > I could apply it on top of this one. Did you check that as well?
>
> Cool, thanks, that would be great. I have not found any updater
> widgets in the GUI and the client did not seem to attempt any auto-
> updates. However, I have never used the owncloud-client outside Guix
> so I do not really know where the updater widget was in the first
> place. Sorry :/
Sounds good enough to me. Pushed both.
Thanks
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 09 Nov 2021 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.