Another release is out! Thank you to all who contributed <3
SQLite self hosting support
A number of users have been asking for this - thank you to @scotte for doing the work and making a PR! It’s now possile to use SQLite as the sync server database.
This is a good idea for smaller installations with a low number of users
It is possible, but at the moment it is something you’d have to handle yourself. I suspect a CSV/similar export of postgres → sqlite import would be fine.
Make sure you’re using sync v2 beforehand
It’s unlikely to be something we handle for you due to the variety in self hosted setups + the risk of data loss!
I’ve installed atuin via cargo install atuin, but it won’t update beyond 18.6.1. Checking crates.io, all subcrates have newer versions released, but not the core atuin crate.
@ellie regarding sqlite support, could you elaborate more on what you mean by
You will need to map some sort of persistent volume for the /config directory and it should be writable by the atuin server.
Is this assuming a SQLite DB within a Docker container? What if someone wanted the SQLite db to be present on their host (not in a container & without resorting to using a volume)? Could instructions for that kind of setup be added?
You’d need to add a volume mount to ensure that the database is mapped onto the host from the container. The whole point of SQLite is for it to be a file - it’s either in the container, or mapped onto the host. The only other way is to use the network, and we’ve had postgres do that for a long time now.