desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Can't conntect 2 or more Nextclouds

Open Rotstein007 opened this issue 3 months ago • 8 comments

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

Bug description

Currently it's not possible to connect more than one nextcloud. The problem seems to be the broken window. That causes buttons and text to disappear and therefore makes the set up impossible.

Steps to reproduce

Try connecting a second nextcloud.

Expected behavior

It should work like in previous versions (33)

Which files are affected by this bug

no file

Operating system

Linux

Which version of the operating system you are running.

Fedora 44

Installation method

Community FlatPak (please test with the AppImage package ?)

Nextcloud Server version

can't see

Nextcloud Desktop Client version

34.0.2

Did this occur after an update or on a clean installation?

Minor version update (i.e. 33.0.0 → 33.0.1)

Are you using the Nextcloud Server Encryption module?

Yes

Are you using an external user-backend?

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

Nextcloud Server logs


Additional info

No response

Rotstein007 avatar Aug 25 '26 19:08 Rotstein007

First two images are the current state, last one is the past state. Image Image Image

Rotstein007 avatar Aug 25 '26 19:08 Rotstein007

do you mean that you do not see the "Add account" option anymore? Even if you right client on the tray icon?

Image

camilasan avatar Aug 26 '26 08:08 camilasan

For me this option is there, but does not open the dialog to add more accounts.

17:29:14:664 [ warning nextcloud.gui.wizard owncloudsetupwizard.cpp:160 ]: Failed to load QML account wizard: QList(qrc:/qml/src/gui/wizard/qml/AccountWizardWindow.qml:22:5: Cannot assign to non-existent property "minimizable"

Root cause confirmed: QML bug in this build. AccountWizardWindow.qml line 22 tries to set a minimizable property that doesn't exist on the window type in this Qt version — QML component fails to compile, wizard silently never opens, no crash. This is a packaging/version-mismatch bug (Qt 6.10.3 here), not something misconfigured on your end.

  • Package: com.nextcloud.desktopclient.nextcloud on Flathub, branch stable
    • Runtime: org.kde.Platform/x86_64/6.10, Qt 6.10.3
    • Symptom: "Add account" does nothing — no window, no crash
    • Root cause: AccountWizardWindow.qml fails to compile at load time
      • build 34.0.2daily (commit 104e4e87...): Cannot assign to non-existent property "minimizable" (line 22)
      • build 34.0.1daily (commit 661f0361...): BrowserAuthFooter is not a type (line 227)
    • Both are QML/Qt-runtime incompatibilities in the same file, on the two most recent Flathub builds — points to a QML-vs-Qt-6.10 regression in the packaging, not user config.
    • Confirmed via --logdebug --logfile: wizard aborts entirely on QML load failure, no account/credential logic runs.

fbartels avatar Aug 26 '26 15:08 fbartels

Tried to connect a second account and failed.

I also tried to connect by adding the second server config manually on the app and I still couldn't connect, even with a correct password on my kdewallet. Sounds like the whole second account setup is borked.

Murazaki avatar Sep 12 '26 15:09 Murazaki

I see the same thing here with the Desktop Client v34.0.3 AppImage.

Start Nextcloud desktop sync client > right click tray icon > click Add account > enter server address.

From this point I can't click "Log-in". If I hit return then it briefly says "Checking server address", "Preparing browser login" then crashes. The flatpak logs show:

xdg_surface#46: error -1: invalid window geometry size (500x0)

Robsteranium avatar Sep 15 '26 12:09 Robsteranium

I have a similar issue in 34.0.3 under Fedora 44: no Add Account option is listed in the window or the icon pop-up. I am limited to the first account which I set up.

goolash761 avatar Sep 24 '26 15:09 goolash761

I digged a bit in the code and I see references to a Systray::openAccountWizard function, but no implementation.

It seems to be linked to this PR, which didn't implement it : https://github.com/nextcloud/desktop/pull/2164

It might work if the function just called the AccountWizardController/AccountWizardWindow like done in OwncloudSetupWizard::startQmlWizard, though I don't know if it would overwrite the first account or create a new account

I am still unclear how this is able to build and how this has been working on Windows.

Edit: got confused with signals, my bad. The call does go to ownCloudGui::slotNewAccountWizard

It might be an issue with how the wizard is created (first thing I notice is it doesn't have any parent defined, it shouldn't be an issue in the default case).

Murazaki avatar Sep 26 '26 14:09 Murazaki

This issue seem to be solved, but introduced another : now the second account has to reauthenticated at boot.

Murazaki avatar Oct 31 '26 17:10 Murazaki