desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: [PPA installation] Unable to show the Nextcloud Desktop window

Open webafrancois opened this issue 2 months ago • 36 comments

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

Bug description

I upgrade from the nextcloud-devs repositories from ubuntu (on my Linux Mint Cinamonn 22.2) to the 4.0.0 client. And I cannot see the Nextcloud Desktop window. I see that the app is working on "Settings" when I force the synchronisation, but the window never appear.

Steps to reproduce

  1. upgrade the app from nextcloud-devs repositories ubuntu
  2. stop the old app and execute the new
  3. left-clic on the icon, or right-clic and choose "Open Nextcloud Desktop".
  4. Nothing is happenning ...
Image

Expected behavior

When I use ther App image, I can see the window ...

Which files are affected by this bug

Nextcloud app

Operating system

Linux

Which version of the operating system you are running.

Linux Mint Cinamonn 22.2

Package

Other

Nextcloud Server version

31.0.9

Nextcloud Desktop Client version

4.0.0

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

Updated to a major version (ex. 3.16.3 to 3.17.0)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [ ] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs


Additional info

Works well with the App Image.

webafrancois avatar Oct 22 '25 09:10 webafrancois

Can you share the client logs when trying to open the window? The client writes the logs to ~/.config/Nextcloud/logs, the most recent one should contain them (keep an eye out for messages that contain qml)

nilsding avatar Oct 22 '25 12:10 nilsding

@nilsding Hello I've the exact same problem in Linux Mint 22.2 Zara base: Ubuntu 24.04 noble

My log with the qml extract says :

2025-10-22 14:51:59:270 [ warning default qrc:/qml/src/gui/tray/ActivityList.qml:77 ]: qrc:/qml/src/gui/tray/ActivityList.qml:77:20: QML QQuickRectangle: Cannot anchor to an item that isn't a parent or sibling.

Thanks a lot

Sebfff avatar Oct 22 '25 13:10 Sebfff

My logs with qml are :

20251022_1552_nextcloud.log.0:2025-10-22 15:52:46:854 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "Activity"; value type names should begin with a lowercase letter
20251022_1552_nextcloud.log.0:2025-10-22 15:52:46:854 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "TalkNotificationData"; value type names should begin with a lowercase letter
20251022_1552_nextcloud.log.0:2025-10-22 15:52:46:854 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "UserStatus"; value type names should begin with a lowercase letter
20251022_1552_nextcloud.log.0:2025-10-22 15:52:46:854 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "Sharee"; value type names should begin with a lowercase letter
20251022_1552_nextcloud.log.0:2025-10-22 15:52:46:926 [ warning nextcloud.gui.systray ./src/gui/systray.cpp:121 ]:	"qrc:/qml/src/gui/tray/MainWindow.qml:160 Type UserStatusSelectorPage unavailable\nqrc:/qml/src/gui/UserStatusSelectorPage.qml:46 Type UserStatusMessageView unavailable\nqrc:/qml/src/gui/UserStatusMessageView.qml:100 Type EmojiPicker unavailable\nqrc:/qml/src/gui/EmojiPicker.qml:119 Cannot assign to non-existent property \"popupType\"\n"
20251022_1553_nextcloud.log.0:2025-10-22 15:53:48:442 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "Activity"; value type names should begin with a lowercase letter
20251022_1553_nextcloud.log.0:2025-10-22 15:53:48:442 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "TalkNotificationData"; value type names should begin with a lowercase letter
20251022_1553_nextcloud.log.0:2025-10-22 15:53:48:442 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "UserStatus"; value type names should begin with a lowercase letter
20251022_1553_nextcloud.log.0:2025-10-22 15:53:48:442 [ warning qt.qml.typeregistration unknown:0 ]:	Invalid QML element name "Sharee"; value type names should begin with a lowercase letter
20251022_1553_nextcloud.log.0:2025-10-22 15:53:48:527 [ warning nextcloud.gui.systray ./src/gui/systray.cpp:121 ]:	"qrc:/qml/src/gui/tray/MainWindow.qml:160 Type UserStatusSelectorPage unavailable\nqrc:/qml/src/gui/UserStatusSelectorPage.qml:46 Type UserStatusMessageView unavailable\nqrc:/qml/src/gui/UserStatusMessageView.qml:100 Type EmojiPicker unavailable\nqrc:/qml/src/gui/EmojiPicker.qml:119 Cannot assign to non-existent property \"popupType\"\n"

webafrancois avatar Oct 22 '25 13:10 webafrancois

@webafrancois thanks for the logs, I see what's happening there

the popupType property was added to Qt 6.8, which is much newer than what's available in the Mint/Ubuntu 24.04 repos. The AppImage includes a newer build of Qt which explains why that one's working fine.

nilsding avatar Oct 22 '25 14:10 nilsding

I can confirm it's now also broken under Linux Mint 22.2 using PPA .

melroy89 avatar Oct 28 '25 18:10 melroy89

I can confirm breakage on xUbuntu 24.04.3, qt-version is 6.4.2 ... hope there is a way to get it fixed (we had this before when changing to client-version 3.0.0).

jeensg avatar Oct 29 '25 09:10 jeensg

Confirm same issue with 4.0.1 Flatpak (com.nextcloud.desktopclient.nextcloud) on Linux Mint 21.3 (Ubuntu 22.04)

gav- avatar Oct 30 '25 04:10 gav-

Also Pop!-OS 22.04 with flatpak 4.0.1not working anymore.

Did strace flatpak run com.nextcloud.desktopclient.nextcloud

At end of messages seem to be some interesting things:

poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, -1Gtk-Message: 15:20:34.891: Failed to load module "xapp-gtk3-module" Gtk-Message: 15:20:34.891: Failed to load module "appmenu-gtk-module" Qt: Session management error: Could not open network socket nextcloud.gui.application: Migrating old config from "/home/xxxx/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/xxxx/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud" nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/xxxx/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/xxxx/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud" ) nextcloud.gui.application: Will move the individual files QList("Xxxx_sync.log") nextcloud.gui.application: Fallback move of "Xxxx_sync.log" also failed

p.s I also upgraded to Nextcloud 32.0.1 this morning, did not have a need to open flatpak 4.0.1 before this. I am not sure flatpak 4.0.1 was working before this Nextcloud update. Wanted to check syncing problems after upgrade of Nextcloud because the upgrade to Nextcloud 32.0.1 gave me a some problems ... Nextcloud lied when stated that all apps having compatibility ...

DeRaafMedia avatar Oct 30 '25 14:10 DeRaafMedia

For reference, Ubuntu 25.04 is also affected.

rihards-simanovics avatar Oct 30 '25 14:10 rihards-simanovics

@gav- @DeRaafMedia as this issue is concerning about the PPA package (and the cause has been identified), could either of you please create a separate issue about the Flatpak that includes the following information?

  • What desktop environment are you using?
  • What GPU (and driver) do you use?
  • Which runtimes are installed? (flatpak list --runtime)
  • Does running the AppImage work?
  • Does right-clicking on the icon to open the Settings window work?
  • Is there any other Nextcloud process running? (ps -ef | grep -i nextcl)

nilsding avatar Oct 30 '25 15:10 nilsding

@gav- @DeRaafMedia as this issue is concerning about the PPA package (and the cause has been identified), could either of you please create a separate issue about the Flatpak that includes the following information?

I believe it's a bug in the source code that basically affects all builds not just ppa.

melroy89 avatar Oct 30 '25 15:10 melroy89

@gav- @DeRaafMedia as this issue is concerning about the PPA package (and the cause has been identified), could either of you please create a separate issue about the Flatpak that includes the following information?

I believe it's a bug in the source code that basically affects all builds not just ppa.

I would agree with this.

DeRaafMedia avatar Oct 30 '25 15:10 DeRaafMedia

@melroy89 from my understanding the Flatpak is supposed to be the very same for each distribution, especially as it's using its own runtimes separate from what is provided by the system repositories. This issue is all about the packages in the PPA trying to use newer Qt features which are not available on systems that aren't on Qt >= 6.8 yet.

fwiw I just tested the 4.0.1 flatpak on two machines again: one with openSUSE using an AMD GPU, and the other one with Fedora using an Intel GPU. Both of those setups are on the KDE desktop though, so this might have some influence on the specific Flatpak case.

nilsding avatar Oct 30 '25 15:10 nilsding

@melroy89 from my understanding the Flatpak is supposed to be the very same for each distribution, especially as it's using its own runtimes separate from what is provided by the system repositories. This issue is all about the packages in the PPA trying to use newer Qt features which are not available on systems that aren't on Qt >= 6.8 yet.

fwiw I just tested the 4.0.1 flatpak on two machines again: one with openSUSE using an AMD GPU, and the other one with Fedora using an Intel GPU. Both of those setups are on the KDE desktop though, so this might have some influence on the specific Flatpak case.

I have read I believe 3 threads that seem to describe the same bug symptoms ... three threads for three separate systems (saw a window thread, two Linux threads). You just changed the title of this thread to include this is for PPA installs ...

In my opinion you make things overcomplicated for yourself treating this bug different for many systems and install methods. I think it would be more helpful (to yourself and others) to combine these threads instead of splitting them up even further in "sub" bugs. But again that is just my opinion ...

DeRaafMedia avatar Oct 30 '25 17:10 DeRaafMedia

What I would be curious about, @rihards-simanovics said 25.04 is also affected which ships qt 6.8.3, it should work with this version, no? Up to date version is 6.9.2, which is shipped in 25.10 fio example. It would be interesting if this one is affected too, before thinking about general bug, that I don't see till now (as said before, same problem with qt version was when updating to 3.0.0).

jeensg avatar Oct 30 '25 17:10 jeensg

Up to date version is 6.9.2, which is shipped in 25.10 fio example. It would be interesting if this one is affected too, before thinking about general bug, that I don't see till now (as said before, same problem with qt version was when updating to 3.0.0).

The Flathub Flatpak package is relying on the 6.9 branch of the KDE runtime, which is currently at Qt v6.9.3:

https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/blob/867d70b4fcc79f5b36f33ff5171186b86d59e93c/com.nextcloud.desktopclient.nextcloud.yml#L4

https://invent.kde.org/packaging/flatpak-kde-runtime/-/blob/094cc415694670dd34c808a48e500a73d1b177bb/org.kde.Sdk.json.in#L170

zefr0x avatar Oct 30 '25 18:10 zefr0x

What I would be curious about, @rihards-simanovics said 25.04 is also affected which ships qt 6.8.3, it should work with this version, no? Up to date version is 6.9.2, which is shipped in 25.10 fio example. It would be interesting if this one is affected too, before thinking about general bug, that I don't see till now (as said before, same problem with qt version was when updating to 3.0.0).

Since I was mentioned, and the comment hidden tag was removed, I would like to clarify my system specs below in case they are helpful. I think the most relevant would be that I use Wayland, and the Nexcloud desktop client originates from Flathub, the system, as you already know, is Ubuntu 25.04.

I am planning to install 25.10 today in a VM to test out the software I have to see if I can upgrade and I will test out the desktop client as well.

System Details Report


Report details

  • Date generated: 2025-10-31 14:02:45

Hardware Information:

  • Hardware Model: Gigabyte Technology Co., Ltd. Z390 AORUS MASTER
  • Memory: 80.0 GiB
  • Processor: Intel® Core™ i9-9900K × 16
  • Graphics: NVIDIA GeForce RTX™ 2060
  • Disk Capacity: 7.2 TB

Software Information:

  • Firmware Version: F12
  • OS Name: Ubuntu 25.04
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 48
  • Windowing System: Wayland
  • Kernel Version: Linux 6.14.0-35-generic

rihards-simanovics avatar Oct 31 '25 14:10 rihards-simanovics

Updating as promised, Ubuntu 25.10 is not affected. So, as zefr0x and others mentioned, it must be version incompatibility. What surprises me, though, is that (seemingly) no one has tested the update on different distributions.

rihards-simanovics avatar Oct 31 '25 17:10 rihards-simanovics

Same Problem here... Fedora 42 with Plasma 6.4.5 and Kernel 6.17.5

lionking102 avatar Nov 01 '25 09:11 lionking102

Same Problem also with Linux Mint.

lionking102 avatar Nov 02 '25 13:11 lionking102

Hello github readers, same behaviour with LUbuntu (running LTQX - xcb - sddm) (similar to Linux Mint)

nextcloud --version nextcloud.gui.application: Migrating old config from "/home/ant0n/.local/share/Nextcloud" to "/home/ant0n/.config/Nextcloud" nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/ant0n/.local/share/Nextcloud" to "/home/ant0n/.config/Nextcloud" ) nextcloud.gui.application: Will move the individual files QList("Nextcloud_sync.log") nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed Nextcloud version 4.0.1-20251029.160431.e81c242e13-1.0~noble1 Using Qt 6.4.2, built against Qt 6.4.2 Using Qt platform plugin 'xcb' Using 'OpenSSL 3.0.13 30 Jan 2024' Running on Ubuntu 24.04.3 LTS, x86_64

not sure if related in syslog:

tail -10 /var/log/syslog 2025-11-03T20:55:35.503808+01:00 antbook /usr/libexec/gdm-x-session[4797]: Error on DBus request(:1.83,/StatusNotifierItem): QDBusError(org.freedesktop.DBus.Error.UnknownProperty, Property org.kde.StatusNotifierItem.IconThemePath was not found in object /StatusNotifierItem) 2025-11-03T20:55:35.504123+01:00 antbook /usr/libexec/gdm-x-session[4797]: Error on DBus request(:1.83,/StatusNotifierItem): QDBusError(org.freedesktop.DBus.Error.UnknownProperty, Property org.kde.StatusNotifierItem.ToolTip was not found in object /StatusNotifierItem)

tell me if you need debug logs, i HAVE capacities to help you

no one has tested the update on different distributions

that IS normal

and second how to raise log level for the nextcloud client, the click on "Open Nextcloud Desktop" does not produce any log entry in the client logs, not even if you click "Settings" from the nextcloud desktop tray menu

ant0nwax avatar Nov 03 '25 19:11 ant0nwax

Hello, I'd like to know whether there is a way to solve this issue in Ubuntu 24.04. If there is a library that must be compiled, is there anyone to give some guidance on the version and documentation of such library?

If I'm not wrong, AppImage is not a full replacement for the PPA installation as it doesn't offer File Manager integration (Nautilus in my case)?

pmarini-nc avatar Nov 05 '25 21:11 pmarini-nc

Does someone know which version of nextcloud-client started to have the issue, so one could roll-back to an working version?

vimu86 avatar Nov 06 '25 16:11 vimu86

Does someone know which version of nextcloud-client started to have the issue, so one could roll-back to an working version?

4.0.0, last working version was v3.17.3 for me

UnderEu avatar Nov 06 '25 17:11 UnderEu

Does anyone know how to downgrade back to 3.17 on Ubuntu 24.04? Nextcloud desktop ppa does not have previous versions.

anpavlov avatar Nov 06 '25 18:11 anpavlov

Found this, hope it works ... https://help.nextcloud.com/t/how-to-downgrade-desktop-client-back-to-3-17-3/234508/2

jeensg avatar Nov 06 '25 19:11 jeensg

Just tested it, it works as afollows. Download the corresponding files (change regarding architecture/file-manager): caja-nextcloud_3.17.3-20251010.150706.392da9a259-1.0~noble1_all.deb libnextcloudsync0_3.17.3-20251010.150706.392da9a259-1.0~noble1_amd64.deb nextcloud-desktop_3.17.3-20251010.150706.392da9a259-1.0~noble1_amd64.deb

Install all files together: sudo dpkg -i caja-nextcloud_3.17.3-20251010.150706.392da9a259-1.0~noble1_all.deb libnextcloudsync0_3.17.3-20251010.150706.392da9a259-1.0~noble1_amd64.deb nextcloud-desktop_3.17.3-20251010.150706.392da9a259-1.0~noble1_amd64.deb

Restart nextcloud-client.

Hold the corresponding packages: sudo apt-mark hold nextcloud-desktop caja-nextcloud libnextcloudsync0

jens-reparad avatar Nov 06 '25 20:11 jens-reparad

Updating as promised, Ubuntu 25.10 is not affected.

ok, I'm not sure what the problem is. I've upgraded my os from Ubuntu 25.04 to 25.10 on my actual workstation, and the issue persists. It must be something with the runtime or the environment. See the printout of the flatpak runtimes (apologies, I've got quite a few apps, so there are quite a few runtimes)

$ flatpak list --runtime
Name                                                Application ID                                               Version                                Branch                    Installation
Codecs                                              org.audacityteam.Audacity.Codecs                                                                    stable                    system
Codecs                                              org.blender.Blender.Codecs                                                                          stable                    system
Calf                                                org.freedesktop.LinuxAudio.Plugins.Calf                      0.90.8                                 24.08                     system
LSP                                                 org.freedesktop.LinuxAudio.Plugins.LSP                       1.2.23                                 24.08                     system
MDA                                                 org.freedesktop.LinuxAudio.Plugins.MDA                       1.2.10                                 24.08                     system
TAP-plugins                                         org.freedesktop.LinuxAudio.Plugins.TAP                       1.0.1                                  24.08                     system
TAP-plugins                                         org.freedesktop.LinuxAudio.Plugins.TAP                       1.0.1                                  25.08                     system
ZamPlugins                                          org.freedesktop.LinuxAudio.Plugins.ZamPlugins                4.4                                    24.08                     system
SWH                                                 org.freedesktop.LinuxAudio.Plugins.swh                       0.4.17                                 24.08                     system
SWH                                                 org.freedesktop.LinuxAudio.Plugins.swh                       0.4.17                                 25.08                     system
Freedesktop Platform                                org.freedesktop.Platform                                     freedesktop-sdk-24.08.27               24.08                     system
Freedesktop Platform                                org.freedesktop.Platform                                     freedesktop-sdk-25.08.3                25.08                     system
i386                                                org.freedesktop.Platform.Compat.i386                                                                25.08                     system
Mesa                                                org.freedesktop.Platform.GL.default                          25.2.4                                 24.08                     system
Mesa (Extra)                                        org.freedesktop.Platform.GL.default                          25.2.4                                 24.08extra                system
Mesa                                                org.freedesktop.Platform.GL.default                          25.2.6                                 25.08                     system
Mesa (Extra)                                        org.freedesktop.Platform.GL.default                          25.2.6                                 25.08-extra               system
nvidia-580-95-05                                    org.freedesktop.Platform.GL.nvidia-580-95-05                                                        1.4                       system
Mesa                                                org.freedesktop.Platform.GL32.default                        25.2.6                                 25.08                     system
Mesa (Extra)                                        org.freedesktop.Platform.GL32.default                        25.2.6                                 25.08-extra               system
nvidia-580-95-05                                    org.freedesktop.Platform.GL32.nvidia-580-95-05                                                      1.4                       system
Nvidia VAAPI driver                                 org.freedesktop.Platform.VAAPI.nvidia                                                               25.08                     system
gamescope                                           org.freedesktop.Platform.VulkanLayer.gamescope               3.16.17                                25.08                     system
vkBasalt                                            org.freedesktop.Platform.VulkanLayer.vkBasalt                0.3.2.10                               25.08                     system
Codecs Extra Extension                              org.freedesktop.Platform.codecs-extra                                                               25.08-extra               system
i386                                                org.freedesktop.Platform.codecs_extra.i386                                                          25.08-extra               system
FFmpeg extension with extra codecs                  org.freedesktop.Platform.ffmpeg-full                                                                24.08                     system
openh264                                            org.freedesktop.Platform.openh264                            2.5.1                                  2.5.1                     system
Freedesktop SDK                                     org.freedesktop.Sdk                                          freedesktop-sdk-24.08.27               24.08                     system
Freedesktop SDK                                     org.freedesktop.Sdk                                          freedesktop-sdk-25.08.3                25.08                     system
GNOME Boxes Osinfo DB                               org.gnome.Boxes.Extension.OsinfoDb                           20250606                               stable                    system
GNOME Application Platform version 48               org.gnome.Platform                                                                                  48                        system
GNOME Application Platform version 49               org.gnome.Platform                                                                                  49                        system
Yaru Gtk Theme                                      org.gtk.Gtk3theme.Yaru                                                                              3.22                      system
Yaru-dark Gtk Theme                                 org.gtk.Gtk3theme.Yaru-dark                                                                         3.22                      system
KDE Application Platform                            org.kde.Platform                                                                                    6.8                       system
KDE Application Platform                            org.kde.Platform                                                                                    6.9                       system
gecko                                               org.winehq.Wine.gecko                                                                               stable-25.08              system
mono                                                org.winehq.Wine.mono                                                                                stable-25.08              system

rihards-simanovics avatar Nov 07 '25 11:11 rihards-simanovics

Tried upgrading to the "beta" and "alpha" packages from the PPA, no change whatsoever. Sent a message for the responsible team via Launchpad, let's see what happens.

Image

UnderEu avatar Nov 07 '25 13:11 UnderEu

My packages received an update from the PPA and it's working again.

Image

UnderEu avatar Nov 10 '25 03:11 UnderEu