-
Notifications
You must be signed in to change notification settings - Fork 815
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
[Bug]: filesystem error with multi-byte character leads to crash on Ubuntu 22.04 #7026
Comments
Having the same issue with AppImage version of Nextcloud Linux client.
|
Yeah I rechecked on AppImage and Flatpak version as well with the same result. It seems to be an issue with multiple accounts though, since after reinstalling everything and adding the second account, the issue came back. Then, when reinstalling again with only one account, the issue seemed to be gone. |
On appimage i`m having the error too using Arch latest version:
I think it`s related to this too. |
Same problem in Ubuntu 22.04. I have several accounts. |
Apparently this issue is not related to having multiple accounts. It pops up after every reboot, no matter if I'm using a single account or multiple. Very annoying, I need NC for everyday use and heavily rely on it's usage. EDIT: I just removed some files through the website after which the desktop client crashed, so I suspect this might be related to client file deletion. |
I just started nextcloud using
No idea if this is in any way related to the crash, but maybe it helps. EDIT: If this is related to incomplete multi-byte characters, it might help that my full name includes umlauts. |
Today I rebooted the computer and now it works. Ubuntu 22.04 |
same here Nextcloud-3.13.3-x86_64.AppImage / ubuntu
|
same here. Reboot didn't solve the problem. I did a downgrade now back to version 3.4.2 and it works for now. For me (using ubuntu mate with caja-integration [caja is the nautilus filemanager for mate]) it worked like that: First I found out which nextcloud packages were recently upgraded: I hope that helps somebody for now. |
Hi. I have the same problem:
Server just upgraded to 29.0.5 when this started to occur, not certain it is related. If I move the file away, it fixes this -- but the files are coming from the server with probably broken UTF-8 encoding - not sure if this is a problem on the client that uploaded the file or the server. Downgrading the client to 3.12.7 makes it work - no crashes. |
I have the same issue. The solution proposed by @taaz worked great for me. Thanks a lot! Note: I am running Tuxedo OS (KDE and Ubuntu based).
|
I saw the same problem (i.e., no crash - but syncing just silently fails) when I downgraded to 3.4.2 but running the 3.12.7 appimage works for me. Version 3.13.33.13 just crash. |
@jas4711 Thank you so much for that hint! Unfortunately via apt I could only choose between 3.13.3 and 3.4.2. I've spend already so much time testing around and now if finally works for now. Let's hope this issue will be fixed soon so we can again use up-to-date versions of the client. |
I encountered the same errors as OP with The desktop client app would still silently crash at what looked like the very end of its synchronization process. The logs now did not contain any errors (no occurrence of "error" or "warning" keyword). The last log messages mentioned I followed this advice of rolling back the client version and I encounter no crash with |
I had the same problem today. Using AppImage as here (#7026 (comment)) saved my day |
Same for me having multiple accounts configured. I had to downgrade to Linux AppImage v. 3.13.2 and now it works like before. |
We have around 150+ Linux Mint 21.3 clients, none of which are currently able to synchronize with our Nextcloud instance. Nextcloud-desktop logs show the following error: Client latest 3.13.3, from PPA
Additional Information: We hope there will be a quick hotfix. We had to quickly downgrade using:
|
I was not able to reproduce this crash (multiple accounts on Arch Linux).
|
Same problem on Debian 12.6 + client 3.13.3 + server 29.0.5
Downgrading to 3.7.3 solved the problem |
Also very important: what is the output of the command |
Another one over here... Crashes all the time -- used to work well, so something must have changed in my system that makes the Desktop client feel extremely uncomfortable. Nextcloud-3.13.3-x86_64.appimage on Fedora 40 KDE
|
|
The client crashes directly on startup when scanning folders and encountering a non-ascii filename. Multiple accounts has nothing to do with this, I only have one account. No read-only folders. See my earlier post with example filename from 'strace': Removing that file makes the nextcloud application not crash anymore, but that is not really a solution for me since I want those files synchronized. Downgrading solves the problem. For reference, I'm using Trisquel aramo (Ubuntu 22.04 clone) and locale output is below. /Simon
|
I also have this problem with desktop client version 3.13.3 on ubuntu 22.04 and server version 29.0.5. I managed to figure out a scenario where this crash reliably occurs. Via the web interface i created the following file structure:
These files were properly synced by the client without any issue. Deleting the corresponding file locally or restoring / renaming to original filename via web interface fixes the crash.
|
3.13.3 chokes on a new local file whose name contains an Umlaut ("Bilder für Quiz"). 3.13.2 handles this file without problems. When I renamed the file to replace the "ü" by an "ue" ("Bilder fuer Quiz"), 3.13.3 also handled it without problems. However, interestingly, when I created a local file called "ü" ( The "Bilder für Quiz" file was created by someone else on an Apple device, and I had downloaded it from iCloud. Would that make a difference...? (How could that be, anyway?) |
Same for me : the problem occurred twice when another Windows user was working (without the client, via the web interface) |
IssueLike jas4711 #7026 (comment) I encounter the same problem and same behavior:
However, it happened only with this server, which is the one requiring a higher (than 3.4.2) client version :
But not this more recent one (which is still OK with client version 3.4.2) :
Provide your server version using https://scan.nextcloud.com/ WorkaroundI'm using the appImage v.3.12.7 as a workaround but I'm not happy with it (lost integration with the filemanager, not using the APT repository / system libs). My problem / Why it append?I was initially using a 3.4.2 version installed from the debian stable APT repo. But I've been forced to use Nextcloud's dev PPA repository because one of my servers required a higher client version I couldn't get otherwise. ExtrapolationI guess that my problem is the case for most people here who would have preferred to stick to the Debian client's stable version (at least with Debian base distros). Is it? SuggestionCould the 3.12.7 version make it's way quickly to the Debian / Mint stable repository? Couldn't there a solution in-between where Nextcloud would provide a stable PPA repository (in plus of the dev one) thanks to which professionals could upgrade before their stable package make it's way to the debian repo, without risking a (normal for a dev branch) breaking change? Does it exist already (where to find it)? My specsMy files do contain special chars.
Many thank to Nextcloud and their team for providing us with this great software, |
as i said, i had the problem and the error from the first post. then i rebooted and start working. then some times stoped working with the error reported by benchti in #7026 (comment)
after deleting files in /home/user/.local/share/ it could copy after several times and started working again. my locale
Many thank to Nextcloud and their team for providing us with this great software, as @afath-richard says |
i have another computer with Ubuntu 24.04 and it works ok.
|
at all |
Can't test the fix anymore, I wiped the client's configuration (in both spots, |
@mgallien The latest appimage daily build does not crash for me anymore. 🎉 |
Latest appimage |
Same here. Ubuntu 24.04.1 and Nextcloud desktop in AppImage format. Nextcloud version 3.13.33.13 (build 25182)Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
nextcloud.gui.application: Migrating old config from "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
Nextcloud version 3.13.33.13 (build 25182)
Git revision e4e1bf9a4c1def61c444f086999d461e37851c9b
Using Qt 5.15.12, built against Qt 5.15.12
Using Qt platform plugin 'xcb'
Using 'OpenSSL 3.1.4 24 Oct 2023'
Running on Ubuntu 24.04.1 LTS, x86_64 Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
nextcloud.gui.application: Migrating old config from "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Multibyte ou caractere largo inválido
Abortado (imagem do núcleo gravada) Nextcloud version 3.13.81rc1 (build 25184)qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
nextcloud.gui.application: Migrating old config from "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.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 3.13.81rc1 (build 25184)
Git revision 7ac7ef1744f758df7a5d35ca1c7897769c106a69
Using Qt 6.6.3, built against Qt 6.6.3
Using Qt platform plugin 'xcb'
Using 'OpenSSL 3.1.5 30 Jan 2024'
Running on Ubuntu 24.04.1 LTS, x86_64 qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
nextcloud.gui.application: Migrating old config from "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.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
[659332:659332:0909/082800.502552:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
Created TensorFlow Lite XNNPACK delegate for CPU.
[659378:659378:0909/082812.009800:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[659378:659378:0909/082812.011404:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[659378:659378:0909/082812.013683:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#58 is a dynamic-sized tensor).
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Multibyte ou caractere largo inválido
Abortado (imagem do núcleo gravada) Nextcloud version 3.13.2stable (build 24288)Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
nextcloud.gui.application: Migrating old config from "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
Nextcloud version 3.13.2stable (build 24288)
Git revision f0ab45748f296ff00856d54be97a1d58988cd540
Using Qt 5.15.12, built against Qt 5.15.12
Using Qt platform plugin 'xcb'
Using 'OpenSSL 3.1.4 24 Oct 2023'
Running on Ubuntu 24.04.1 LTS, x86_64 Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
nextcloud.gui.application: Migrating old config from "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/wbraga/.local/share/Nextcloud" to "/home/wbraga/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed |
Fixed with #7079 |
Might be. I had just compiled 3.13.3git revision d84ee83 last Thursday because the debian package version has bulkupload issues.
Then I found that hetzner upgraded their nextcloud hosts to 29.0.5.1 on Friday, so all the later failed runs were against that version. |
What's the timeframe for a 3.13.4 release? Or at least updated alpha/beta debs on https://launchpad.net/~nextcloud-devs? |
Bug description
The client crashes just a few seconds after start with following error (excerpt from syslog):
Steps to reproduce
Expected behavior
Be able to sync everything
Which files are affected by this bug
I'm unable to find out which file is affected by this issue
Operating system
Linux
Which version of the operating system you are running.
Pop!_OS 22.04 LTS, downloaded via ppa:nextcloud-devs/client
Package
Distro package manager
Nextcloud Server version
29.0.5.1
Nextcloud Desktop Client version
3.13.3
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 Disabled
Are you using an external user-backend?
Nextcloud Server logs
nextcloud.log doesn't print anything at all after starting the nextcloud client, which makes me think that there's no file transfers being triggered at all before client crash.
Additional info
I recently connected a second account to the client, which was shortly before the crash problems started.
EDIT: After deleting .config/Nextcloud and .local/share/Nextcloud folders, purging
nextcloud-desktop
and reinstalling, everything seems to be back working again. Still, I have no idea what caused the issue.The text was updated successfully, but these errors were encountered: