Comment on First Time Self Hoster- Need help with Radicale
darkan15@lemmy.world 1 week ago
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 Rradicale.
You should be able to access from another device with the IP of the Pi and the port after that
BlackSnack@lemmy.zip 1 week ago
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.
darkan15@lemmy.world 1 week ago
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:
Replacing the path with the one where you created your users file.