[Pkg-owncloud-maintainers] Bug#900287: owncloud-client-cmd requires /etc/owncloud-client/sync-exclude.lst and ~/.local/share/data/ownCloud/

Charles Curley charlescurley at charlescurley.com
Tue Oct 19 20:31:56 BST 2021


On Tue, 19 Oct 2021 16:27:37 +0800
Paul Wise <pabs at debian.org> wrote:

> Please test the new version of owncloud-client available in Debian
> experimental and reply to the bug whether this issue is fixed yet.

Really?

After adding experimental to a stable (Bullseye) system, I ran:

--------------------------------------------------
root at amanda:~# apt-get -t experimental install owncloud-client-cmd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libdouble-conversion3 libmd4c0 libowncloudsync0 libqt5core5a
  libqt5dbus5 libqt5gui5 libqt5keychain1 libqt5network5 libqt5sql5
  libqt5sql5-sqlite libqt5svg5 libqt5widgets5 libxcb-icccm4
  libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0
  libxcb-xinput0 libxcb-xkb1 libxkbcommon-x11-0 libxkbcommon0
  owncloud-client-l10n qt5-gtk-platformtheme qttranslations5-l10n
Suggested packages:
  qt5-image-formats-plugins qtwayland5

...

--------------------------------------------------

Even if the code is fine, the list of dependencies is unacceptable.

After installing anyway, I ran:

--------------------------------------------------
charles at amanda:~$ /usr/bin/owncloudcmd --user charles --password <obfuscated> /home/charles/nextcloud https://nextcloud.localdomain/nextcloud
10-19 13:05:38:749 [ info sync.accessmanager ]:	2 "" "https://nextcloud.localdomain/nextcloud/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "76ed3f60-4492-4794-acd3-ac18e7e5aa19"
10-19 13:05:38:749 [ info sync.networkjob ]:	OCC::JsonApiJob created for "https://nextcloud.localdomain/nextcloud" + "ocs/v1.php/cloud/capabilities" ""

<much cruft omitted.>

10-19 13:05:41:679 [ fatal default ]:	Cannot load system exclude list or list supplied via --exclude
Aborted
charles at amanda:~$
--------------------------------------------------

So I copied in an old copy of ~/.local/share/data/ownCloud. Then ran the same command line again.

--------------------------------------------------
charles at amanda:~$ /usr/bin/owncloudcmd --user charles --password <obfuscated> /home/charles/nextcloud https://nextcloud.localdomain/nextcloud
10-19 13:20:32:638 [ info sync.accessmanager ]:	2 "" "https://nextcloud.localdomain/nextcloud/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "5a051192-0f74-40e6-accc-f065b233bd00"
10-19 13:20:32:639 [ info sync.networkjob ]:	OCC::JsonApiJob created for "https://nextcloud.localdomain/nextcloud" + "ocs/v1.php/cloud/capabilities" ""
10-19 13:20:32:641 [ warning sync.networkjob ]:	QNetworkReply::ConnectionRefusedError "Connection refused" QVariant(Invalid)
10-19 13:20:32:641 [ info sync.networkjob.jsonapi ]:	JsonApiJob of QUrl("https://nextcloud.localdomain/nextcloud/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS "ConnectionRefusedError Connection refused"
10-19 13:20:32:641 [ warning sync.networkjob.jsonapi ]:	Network error:  "ocs/v1.php/cloud/capabilities" "Connection refused" QVariant(Invalid)
10-19 13:20:32:641 [ debug default ]	[ main(int, char**)::<lambda ]:	Server capabilities QJsonObject()
Error connecting to server
charles at amanda:~$
--------------------------------------------------

This is running against a server Nextcloud 22.2.0. So it is possible
that divergence between the server and client have made it impossible
for me to test.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-owncloud-maintainers/attachments/20211019/c6020dbf/attachment.sig>


More information about the Pkg-owncloud-maintainers mailing list