Radicale: Difference between revisions
From wikinotes
No edit summary |
(No difference)
|
Revision as of 05:15, 28 February 2016
Radicale is a lightweight Calendar/Contacts Server written in Python. Radicale does not fully support CalDAV, and I have already started running into issues with the code quality. I am moving to baikal.
Install
BSD
This program was clearly written with linux in mind, and had a few hiccups while I was attempting to install it. Fixes recorded below.
sudo pkg install py27-radicale #### /etc/rc.conf radicale_enable="YES" #### ## NOTE: freebsd radicale installer has an issue, ## the radicale group is unable to be created properly ## without a fix, you can start radicale to test with the ## following command: radicale --debug -c /usr/local/etc/radicale/configdebug info
#### /usr/local/etc/rc.d/radicale command_args="-d --debug -p ${pidfile} -C ${radicale_config}" ## add debug, so can get actually useful info ####compensating for mistakes in package
log-config lookup fix
## radicale tries (incorrectly) to log to read logging config from /etc/radicale/logging ## sudo ln -s /usr/local/etc/radicale /etc/radicale sudo touch /var/log/radicale sudo chown radicale:wheel /var/log/radicalegroupmod fix
sudo pw userdel -n radicale sudo pw groupdel -n radicale ## delete any existing radicale group sudo pw groupadd -n radicale -g 974 ## installer requires a gid of 974 sudo pw useradd radicale -g radicale ## create user radicale, and add to group sudo pkg install -f py27-radicale sudo chown radicale:wheel /var/run/radicale sudo service radicale startFinal Advisory
## After performing the above fixes, I had a typo in my config (hpasswd instead of htpasswd) ## which was preventing the program from running. --debug mode was silencing any errors (they are NOT written to the log), in fact the log did not record any issues at all. If you do run into issues, try to reproduce the condition running the command in the foreground. It has proven abslutely invaluable to me.
# make sure you have a user called radicale # Create a passwd file htpasswd.py -cb /usr/local/etc/radicale/users radicale <password> #### /usr/local/etc/radicale/config [auth] type = htasswd htpasswd_filename = /usr/local/etc/radicale/users #### sudo service radicale start
Configuration
http://radicale.org/user_documentation/Official Documentation http://morpheus:5232/radicale/Calendar.ics/Default Location of Radicale /usr/local/etc/radicale/configMain Config ## You can test Radicale is running properly by ## visiting the following website (should print Radicale works!): http://morpheus:5232/
Korganizer
Settings > Configure Korganizer General > Calendars > Add Dav Groupware Resource User: radicale Pass: <password> Configure Resource Manually Add CalDav Remote URL: http://morpheus:5232/radicale/Calendar.ics/ Use Global Credentials > FetchErrors
## Repeatedly I received error 500 (only on some computers) (which is apparently Internal Error) ## github posts suggest there should be a stack-trace somewhere when this occurs.