You are not logged in.

#1 2020-10-11 17:11:26

xeak99
Member
Registered: 2020-10-11
Posts: 2

Nextcloud Client starts automatically although not activated

Since the update to 3.0.2 I have the problem that the Nextcloud Client starts automatically when I open Nautilus.
I do not want this and I cannot find a way to deactivate it

Offline

#2 2020-10-11 19:13:27

G3ro
Member
Registered: 2020-09-24
Posts: 33

Re: Nextcloud Client starts automatically although not activated

I see:

 optdepends=(
  'python-nautilus: integration with Nautilus'

So I assume you have python-nautilus installed as well.
I guess this might be useful for other things as well, so it maybe can't be uninstalled.

I would search or ask for a different solution upstream.

Last edited by G3ro (2020-10-11 19:14:12)

Offline

#3 2020-10-12 04:40:46

xeak99
Member
Registered: 2020-10-11
Posts: 2

Re: Nextcloud Client starts automatically although not activated

Uninstall python-nautilus changes nothing

Offline

#4 2020-10-12 04:57:43

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 168

Re: Nextcloud Client starts automatically although not activated

You have to modify the config files of nautilus.
The source code is open .

Last edited by Khere (2020-10-12 09:52:56)


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#5 2020-10-15 03:44:17

fluttershy
Member
Registered: 2014-04-14
Posts: 4

Re: Nextcloud Client starts automatically although not activated

Hello, I have a similar problem. As soon as I open a document in Firefox that is in a folder that is synchronized with Nextcloud, the Nextcloud app opens and tries to connect.

I have no Firefox plugins or extensions that can do this. As file explorer I use PCmanFM, again no modules are installed.

python-nautilus is not installed (Why should it be, I don't use Nautilus).

The only thing I have installed is "nextcloud-app" which has the string "nextcloud" in its name.

I'm using Awesome WM, so I guess "freedesktop.org" is the cause, but I'm not that familiar with it, maybe someone has some advice?

Thanks.

Offline

#6 2020-10-17 12:28:34

wookietreiber
Member
Registered: 2020-10-17
Posts: 1

Re: Nextcloud Client starts automatically although not activated

I just had the same issue and was able to see in syslog:

```
Oct 17 14:03:26 hostname dbus-daemon[1530]: [session uid=1000 pid=1530] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.15' (uid=42 pid=1931 comm="/usr/lib/firefox/firefox ")
```

So, firefox activates nextcloud client via dbus. Some may even call it *feature* big_smile

Last edited by wookietreiber (2020-10-17 12:29:11)

Offline

#7 2020-10-18 13:57:31

LeCaNo
Member
Registered: 2020-10-11
Posts: 1

Re: Nextcloud Client starts automatically although not activated

I've downgraded to Version 2.6.5. Not what I wanted but unfortunately necessary. I don't know if it's a Nextcloud "Bug" or an Arch Linux Bug.

Offline

#8 2020-10-18 14:27:20

yan12125
Member
Registered: 2017-11-01
Posts: 36

Re: Nextcloud Client starts automatically although not activated

I suspect this is related to the recently enabled libcloudproviders feature in gtk3 [1]. Could anyone try deleting

/usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini

and restarting all GTK+ applications to see if nextcloud-client is still started automatically?

[1] https://github.com/archlinux/svntogit-p … 5eb9b7203a

Offline

#9 2020-10-20 03:51:21

fluttershy
Member
Registered: 2014-04-14
Posts: 4

Re: Nextcloud Client starts automatically although not activated

Does anyone know of a way to configure this "cloud provider"?  Normally I would treat it like a disease and remove it surgically, but unfortunately this does not seem to work:

$ sudo pacman -R libcloudproviders 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libcloudproviders breaks dependency 'libcloudproviders' required by gtk3
:: removing libcloudproviders breaks dependency 'libcloudproviders' required by nextcloud-client

Offline

#10 2020-10-20 16:14:54

yan12125
Member
Registered: 2017-11-01
Posts: 36

Re: Nextcloud Client starts automatically although not activated

You will need to use a modified PKGBUILD to build gtk3 without libcloudproviders as gtk3 directly uses libcloudproviders.so.0

$ readelf -d /usr/lib/libgtk-3.so.0 | grep cloud
 0x0000000000000001 (NEEDED)             Shared library: [libcloudproviders.so.0]

I will check if libcloudproviders can be turned into an optional dependency of nextcloud-client.

Update 2020/10/21 - nextcloud-client directly links to libcloudproviders, too, so the dependency cannot be optional.

$ readelf -d /usr/bin/nextcloud | grep cloudproviders
 0x0000000000000001 (NEEDED)             Shared library: [libcloudproviders.so.0]

Last edited by yan12125 (2020-10-21 14:54:53)

Offline

#11 2020-10-21 13:34:48

elduderino32
Member
Registered: 2020-10-21
Posts: 2

Re: Nextcloud Client starts automatically although not activated

Hi I have the same problem and tried

# rm /usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini /usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service

It works for now, but is of course not a permanent solution, since an update of the nextcloud-client package will restore the deleted files.

Last edited by elduderino32 (2020-10-21 13:35:05)

Offline

#12 2020-10-21 15:01:43

yan12125
Member
Registered: 2017-11-01
Posts: 36

Re: Nextcloud Client starts automatically although not activated

elduderino32 wrote:

It works for now, but is of course not a permanent solution, since an update of the nextcloud-client package will restore the deleted files.

Thanks for the confirmation! You can make the workaround permanent with the NoExtract feature of pacman. For example, adding the following line into the [options] section of /etc/pacman.conf

NoExtract = usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini

(Note that there is not / in the front of the path)

I it not a permanent solution, though.

Offline

#13 2020-10-23 10:31:17

maschm
Member
Registered: 2020-03-11
Posts: 1

Re: Nextcloud Client starts automatically although not activated

https://gitlab.gnome.org/World/libcloud … /issues/17

Felix Glaser wrote:

Everytime I open a GtkFileChooserDialog in a GTK3 application like Firefox or XFCE's Mousepad, my Nextcloud client is launched. In addition, the Nextcloud client cannot be closed again. It will always be restarted until I close the GTK3 application that caused Nextcloud to start.

Offline

#14 2020-11-08 14:37:52

yan12125
Member
Registered: 2017-11-01
Posts: 36

Re: Nextcloud Client starts automatically although not activated

I uploaded nextcloud-client 3.0.3-2 to [community-testing] with cloudproviders support disabled by default. Please remove the relevant NoExtract line from pacman.conf and check if nextcloud-client is still started automatically when nextcloud-client-cloudproviders is not installed.

Offline

#15 2021-02-18 11:45:52

elduderino32
Member
Registered: 2020-10-21
Posts: 2

Re: Nextcloud Client starts automatically although not activated

yan12125 wrote:

I uploaded nextcloud-client 3.0.3-2 to [community-testing] with cloudproviders support disabled by default. Please remove the relevant NoExtract line from pacman.conf and check if nextcloud-client is still started automatically when nextcloud-client-cloudproviders is not installed.

Sorry for the late answer. Since the workaround worked for me I did not follow the thread.

After removing the NoExtract lines and reinstalling nextcloud-client, it does not start automatically. For testing, I installed nextcloud-client-cloudproviders and as expected, nextcloud-client started, e.g. when I opened a file dialog.

I think moving the two files to the nextcloud-client-cloudproviders package is a good solution. Thank you!

Last edited by elduderino32 (2021-02-18 11:52:23)

Offline

Board footer

Powered by FluxBB