The user "radicale" needs access to the folder Permission denied says it clearly.
sudo chown -R radicale:radicale /var/lib/radicale
This should fix it
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
The user "radicale" needs access to the folder Permission denied says it clearly.
sudo chown -R radicale:radicale /var/lib/radicale
This should fix it
May have to chown /var/lib/radicale/collections as well:
ls -ld /var/lib/radicale/collections
If the directory doesn't exist, create it:
sudo mkdir -p /var/lib/radicale/collections
sudo chown radicale:radicale /var/lib/radicale/collections
sudo chown radicale:radicale /var/lib/radicale/collections
sudo chmod 750 /var/lib/radicale/collections
At least that's what my notes say.
The -R is the recursive switch
My bad.
I'll try that, but I'm pretty sure I've done that already. I might be wrong though, thanks! (maybe I did the command wrong)
just tried it both with sudo and as root, also tried it with /var/lib/radicale/collections. The error still occurs, and there's a warning note that says that the directory doesn't exist and is being created even though I've already created it with mkdir
I don't know if you're using debian but I encountered the same issue. The wiki has instructions to fix this (section create essential directories):
ooh that seems really helpful, thanks :D
I'll try that once I come home
unfortunately could not fix my issue :(
I suspect its got something to do with the systemd service definition. You may have to tweak the parameters under "optional security settings" to make it work. Or maybe you could start radicale manually from the command line, just for testing, and see if that works
Can you maybe give us a ls -Al of /var/lib/radicale and /var/lib/radicale/collections to double check the permissions? I just looked at the systemd documentation and the service definition looks ok.
ok, I’ll do that soon