Open balki opened 8 months ago
This sounds like a bug in how sqlite is configure when it is built. It might be worth reporting to your distribution; if /var/tmp
doesn't exist but sqlite
tries to use that by default, it should definitely be fixed.
I was getting below error when trying to sync.
vdirsyncer -v DEBUG sync
This happens because sqlite library tries to write to a temporary file in
/var/tmp/
when trying to execute the above insert statement. In my system (it is a systemd container),/var/tmp/
folder is not writable by regular user even though the permissions are ok. No idea how to fix that (something to do with user namespace).Workaround
This tells sqlite to use
/tmp/
instead of/var/tmp
and it works fine.This is not a bug in vdirsyncer but just a quirk with my system and sqlite library. Adding here so it will be helpful for anyone who faces it as it was not easy to debug.
May be good to add a note in 'Trouble shooting' section of the docs.