-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextcloud flatpak can be opened multiple times #12
Comments
Does |
I thought this was fixed with flathub/org.nextcloud.Nextcloud#6 but unfortunately it seems to work only every second time when running Nextcloud. So maybe this is an upstream bug. |
Yes! Setting --filesystem=/tmp results in the second instance displaying:
|
@Firstyear does it also work if you try to open an instance for the third time? |
Okay, it opens again on the third time ... |
I'm still not sure if this is an upstream issue or not. When running the client without flatpak it works as expected every time. |
Hello, did you find a solution ? |
I still could not find out why this is happening, seems like an upstream issue as the lock file is there and can be accessed by the client but it only recognizes it sometimes. However I cannot reproduce this outside of flatpak. If anyone has some ideas how this could be debugged, help is very welcome. |
Could we set another lock file for the flatpak itself? In that way we can just ignore the nextcloud lock file. |
Setting |
Launching nextcloud with:
Still allows multiple instances to run. Imho this makes the flatpak nextcloud app unusable, |
The problem is that that QtSingleApplication is used to allow only one instance to be open. |
I have opened an issue to discuss possible replacements for QtSingleApplication upstream nextcloud/desktop#2364 |
Tried replicating the bug in a Gnome Boxes VM running Fedora SilverBlue 32 on Wayland. I failed to replicate it:
|
@Iolaum have you tried more than once, because once it works for me too. |
@tilosp You are correct, trying again succeeds where it shouldn't:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This doesn't seem to be the case anymore. Tested with Nextcloud Desktop-Client 3.14.2 on Fedora Linux 41 (Workstation Edition). |
It's possible to open multiple instances of the nextcloud flatpak, and all of them attempt to run and sync content at the same time. This may or may not cause consistency issues, so it would be great if the nextcloud flatpak was limited to a single instance running.
Thanks,
The text was updated successfully, but these errors were encountered: