Radicale
Radicale copied to clipboard
Explain possible pitfall when using git with systemd
When setting up Radicale I had some headache getting git to run. Radicale gave me internal server errors. The logs showed, that the default git hook was to blame.
git complains about the repository being unsafe with an 128 error code, which results in Radicale being unable to complete requests.
As I didn't want to just disable the owner safety check for this repository I created a .gitconfig to set user name and email. Turns out the unit file suggested by the documentation does not allow read access to the users home directory, which means this won't actually solve anything.
I feel the Tutorial should mention this (and how to properly set up git) as otherwise the combination of those setup snippets will not result in a viable configuration.