nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.06k stars 804 forks source link

[Bug]: Nautilus integration not working/present on Ubuntu 24.04 (Nautilus 46.2) #6912

Open vimu86 opened 4 months ago

vimu86 commented 4 months ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Freshly installed Ubuntu 24.04, installed nextcloud-clinet 3.13.2. Nextcoud client and syncing is working fine.

I have installed

Steps to reproduce

Open Nautilus aka Files, version 46.2. No nextcloud entries visible in the context menu (right click), folders have no symbol that they are synced.

Expected behavior

Nextcloud entry in context menu should be present.

Which files are affected by this bug

no

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 24.04

Package

Distro package manager

Nextcloud Server version

Unknown

Nextcloud Desktop Client version

3.13.2

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

No response

vimu86 commented 4 months ago

I was able to fix the issue. I have first tried to install some other nautilus-extension to see that that this works. I used sudo apt-get install nautilus-admin and sudo killall nautilus. Interestingly, after killing all nautilus instances, if I execute nautilus from terminal, it displays some more meaningful information:

yyy@xxx:~$ nautilus
** Message: 16:56:31.135: Connecting to org.freedesktop.Tracker3.Miner.Files
Initializing Nextcloud-client-nautilus extension
Using python version sys.version_info(major=3, minor=12, micro=3, releaselevel='final', serial=0)

However, even after getting the heartbeat from Nextcloud-client-nautilus extension - it still did not work. I tried to add another nextcloud-share (added new account), and for the newly added account/folder, the nautilus extension was working. So, as a next step I have deleted all accounts in the nextcloud-client app (there were some bugs that prevented deletion via gui, so i deleted the nextcloud.cfg). Afterwards, I could add my accounts to nextcloud-client and nextcloud-client-nautilus extensions was working properly.

vimu86 commented 2 months ago

A status update.. The nautilus extension is not working, when the sync folder/disk that contains the nextcloud data appears/is mounted after the start of the nextcloud app.

I can get the extensions running for this folder, by doing

  1. sudo killall nautilus
  2. close/terminate the nextcloud client (taskbar icon)
  3. restart nextcloud client
  4. restart/open nautilus

After that I can see in nautilus the state of the nextcloud sync (green circles on the file icon) and I have the context menu. However, several options in the context menu do not work, e.g. the "copy public link".

Ventusfahrer commented 2 months ago

I have the same problem and want to add some additional information:

I am running the gnome desktop.

Not working:

Working: