EDIT- The issue is having is with “Authentication”. I haven’t made it past that step. Incorrectly said “addresses” on the original post.
Yo yo! Fairly new to making a change towards privacy. My brother gave me a raspberry pi 4 and I want to experiment with that before making a bigger change towards my other electronics. Rn I’m working on using radicale on the pi4 and I’m stuck because I can’t understand the technological language.
I’m trying to follow the tutorial on the radicale website but am getting stuck in the “addresses” authentication part. I can’t enter in anything Into the initial command prompt I used to create the radicale website. And when I make a new command prompt and enter that in nothing happens. I asked AI and it spits out an answer that isn’t dumbed down enough for me. Lemmy is my last hope before I try Reddit …
Tutorial link for clarity https://radicale.org/v3.html#tutorials
Just a heads-up to anyone who - like me - thought this was about Radicle and got confused about mentions of caldav/cardav/LDAP… Radicale != Radicle
https://github.com/tomsquest/docker-radicale
Don’t try to run services without containers
Do you mean this config option?
[server] hosts = 0.0.0.0:5232, [::]:5232
That is binding the service to a network interface and port. For example your computer probably has a loopback interface and an Ethernet interface and WiFi interface. And you can bind to an IPv4 and or IPv6 address on those interfaces. Which ones do you want radicale to listen to traffic from and on what port? The example above listens on all interfaced both IPv4 and IPv6 and uses port 5323 on all. Of course that port must not be in use on any interface. Generally using this notation is insecure, but fine for testing. Put the real IP addresses when you’re ready.
I thought I was stuck there but I misspoke. I made an edit to the original post. Thanks for the insight tho! In sure that’ll be helpful once I actually get there.
I’m trying to follow the tutorial on the radicale website but am getting stuck in the “addresses” part.
From reading from the link you provided, you have to create a config file on one of two locations if they don’t exist:
“Radicale tries to load configuration files from
/etc/radicale/config
and~/.config/radicale/config
”after that, add what the
Addresses
sections says to the file:[server] hosts = 0.0.0.0:5232, [::]:5232
And then start/restart Radicale.
You should be able to access from another device with the IP of the Pi and the port after that
I made an error in my original post. Please see the edit I made.
But I think I’m understanding a bit! I need to literally create a file named “/etc/radicale/config”. Then after that I need to copy/paste the configuration file/command line into said folder. Once I do that then I should be able to move onto authentication and then addresses.
But I think I’m understanding a bit! I need to literally create a file named “/etc/radicale/config”.
Yes, you will need to create that
config
file, on one of those paths so you then continue with any of the configuration steps on the documentation, you can do thatAddresses
step first.A second file for the users is needed as well, that I would guess the best location would be
/etc/radicale/users
For the Authentication part, you will need to install the
apache2-utils
package withsudo apt-get install apache2-utils
to use thehtpasswd
command to add usersSo the command to add users would be
htpasswd -5 -c /etc/radicale/users user1
and instead of user1, your username.And what you need to add to the config file for it to read your user file would be:
[auth] type = htpasswd htpasswd_filename = /etc/radicale/users htpasswd_encryption = autodetect
Replacing the path with the one where you created your users file.
I set up mine through docker and it works great. I’ve switched from other CalDAV / CardDAV hosts and it really is the most stable and reliable.