Skip to content
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

Crash when Sync is put on hold and folder sync connections are removed #5895

Open
4 of 8 tasks
smdawson opened this issue Jul 17, 2023 · 8 comments
Open
4 of 8 tasks

Comments

@smdawson
Copy link

smdawson commented Jul 17, 2023

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

Bug description

The share dialog is looking incomplete.
...
Nextcloud Desktop Client crashes when Sync is put on hold and folder sync connections are removed.

Steps to reproduce

  1. Select Pause Sync for All
  2. Select Settings
  3. From sync connection options select Remove folder sync connection
    ...

Expected behavior

After folder connection is removed client should continue to run.
...

Which files are affected by this bug

Unknown

Operating system

Linux

Which version of the operating system you are running.

Distro - Archlinux, DE - KDE Plasma

Package

Distro package manager

Nextcloud Server version

25.0.8

Nextcloud Desktop Client version

3.9.0

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

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is not Enabled

Are you using an external user-backend?

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

Nextcloud Server logs

[1]    3520 segmentation fault (core dumped)  nextcloud --logwindow

Additional info

2023-07-17 11:45:06:440 [ debug nextcloud.gui.socketapi /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/socketapi/socketapi.cpp:369 ]	[ OCC::SocketApi::slotReadSocket ]:	Received SocketAPI message <-- "RETRIEVE_FILE_STATUS:/tmp/Nextcloud-logdir/20230717_1143_nextcloud.log.0" from QLocalSocket(0x561e8eddbb40)
2023-07-17 11:45:06:440 [ debug nextcloud.gui.socketapi /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/socketapi/socketapi.cpp:212 ]	[ OCC::SocketListener::sendMessage ]:	Sending SocketAPI message --> "STATUS:NOP:/tmp/Nextcloud-logdir/20230717_1143_nextcloud.log.0" to QLocalSocket(0x561e8eddbb40)
2023-07-17 11:45:06:754 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:1295 ]:	Removing  "6"
2023-07-17 11:45:06:754 [ info nextcloud.sync.database /usr/src/debug/nextcloud-client/nextcloud-client/src/common/syncjournaldb.cpp:662 ]:	Closing DB "/home/user/Documents/Nextcloud/.sync_36638bba715c.db"
2023-07-17 11:45:06:755 [ debug nextcloud.sync.database /usr/src/debug/nextcloud-client/nextcloud-client/src/common/syncjournaldb.cpp:255 ]	[ OCC::SyncJournalDb::commitTransaction ]:	No database Transaction to commit
2023-07-17 11:45:06:759 [ info nextcloud.gui.folder /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folder.cpp:847 ]:	wipe: Removed csync StateDB  "/home/user/Documents/Nextcloud/.sync_36638bba715c.db"
@smdawson smdawson changed the title [Bug]: [Bug]: Nextcloud Desktop Client crashes when Sync is put on hold and folder sync connections are removed. Jul 29, 2023
@joshtrichards joshtrichards changed the title [Bug]: Nextcloud Desktop Client crashes when Sync is put on hold and folder sync connections are removed. Crash when Sync is put on hold and folder sync connections are removed Aug 15, 2024
@amalgame21
Copy link

Same issue here.
I have 10 folder in sync.
Every time I press Remove Folder Sync Connection on a synced folder, it crashes.
I have to relaunch nextcloud desktop after crash 10 times to remove all 10 synced folders.
This is so stupid.

This issue was reported more than a year now.
This bug still exist now in late October 2024, unbelievable.
Is Nextcloud desktop unmaintained?

@Rello Rello removed the crash label Dec 9, 2024
@AJZander
Copy link

AJZander commented Dec 15, 2024

Having the same issue here Dec 2024, Trying to remove the synced folder is crashing the app as well as deisabling the virtual file sync crashes the app.

I tried uninstalling and re installing and the sync connection is still setting there and cant be removed.

@davidmarshall15
Copy link

Having the same issue as AJZander, created a virtual file sync by mistake, trying to disable it or remove the sync entirely crashes the client.

I notice on other non virtual file sync folders, there is no option to enable that, maybe it's related.

If there are any logs I should be sharing, please let me know the location and what is needed.

@AJZander
Copy link

I created my Nexcloud folder in the root of a separate HDD, not my OS drive, and I keep getting errors saying that Virtual files can't be synced to the root of a drive.
So I created another file sync not in the root of the HDD, but I can't get rid of the initial sync as it crashes every time. Now I have one synced folder working fine and the other that can't be deleted even though it's not syncing anything.

I'm only getting this on Windows 11, My Fedora laptop is fine and there are no issues's with the My M2 MacBook either.

Does anyone know of anything that can be changed in the configs to just remove the reference to the non-existent file sync?

@davidmarshall15
Copy link

There is a more recent bug report #7658 on this issue.
A number of people stated rolling back to 3.15.0 resolved the issue and it did resolve the issue for me. Virtual file sync removed.

@JoseRamirezMoreno

This comment has been minimized.

@camilasan
Copy link
Member

and I keep getting errors saying that Virtual files can't be synced to the root of a drive.

this will be fixed with 3.15.2, we stopped further updates to 3.15.1. 3.15.2 should be out tomorrow.

@camilasan camilasan self-assigned this Dec 16, 2024
@jancborchardt
Copy link
Member

@amalgame21 and @JoseRamirezMoreno please keep in mind we have a Code of Conduct: https://nextcloud.com/contribute/code-of-conduct/
These are shared values everyone of us follows in online as well as offline spaces. Please be considerate and respectful, even when encountering bugs.

@JoseRamirezMoreno due to the severity of your comment, this will be your only warning before getting banned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants