-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
SQLite error 3850 when exporting backup #5933
Comments
This ecryptfs bugreport suggests ecryptfs implements advisory posix locks without forwarding to the underlying filesystem: |
I use ecryptfs over btrfs with options |
Looking at eCryptfs source code at https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ecryptfs, does not look like it cares about file locks at all. POSIX locks are probably handled independent of the FS and there is nothing special about eCryptfs. Maybe probem is something else depending on the OS distribution used. Could be AppArmor or something like this, don't know. |
I even tried installing from flatpak and exporting into mounted Private/ folder with eCryptfs, it works. |
Heyyy, I'm using Linux Mint 23.1 Cinnamon on my Laptop and Delta Chat Desktop 1.46.8 (git: flathub). If you have any questions to me that might help to solve the problem, just ask. |
@Matschepampe1312, so you don't use eCryptfs? Could you run smth like |
Original problem was also reported for Linux Mint btw, so maybe there is something special about Linux Mint in contrast to e.g. Ubuntu. |
@iequidoo Tbh I don't even know what eCrypfs is. But I do have a .ecryptfs directory. But I don't know what its for or what its doing. Like I said I'm not super much into tech stuff. |
Ok, it seems that Linux Mint uses eCryptfs for |
You can try exporting backup to /tmp |
User reports that Delta Chat desktop 1.46.5 installed from flathub fails to export backups into home directory. The error is displayed in a toast: "IMEX failed to complete: could not export database: failed to attach backup database: disk I/O error: Error code 3850: I/O error in the advisory file locking layer". The whole home directory has eCryptfs mounted from
~/.Private
into~
. Underlying filesystem is ext4.I have tried the same version of Delta Chat desktop from flathub and it successfully exports backups. I don't use ecryptfs though.
I have tried to reproduce the error by installing ecryptfs-utils, running
modprobe ecryptfs
, creating a new~/.Private
withecryptfs-setup-private --nopwcheck --noautomount
and mounting withecryptfs-mount-private
. Delta Chat desktop then successfully exports backup into~/Private
even if I run desktop withXDG_CONFIG_HOME=$HOME/Private/config
to place account folder into ecryptfs as well.I have not tried to run Delta Chat desktop inside flatpak and exporting into ecryptfs. Maybe there is some bad interaction between flatpak and ecryptfs. If this does not fails as well then I don't know how to reproduce the problem.
The text was updated successfully, but these errors were encountered: