<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Radicale on SROEMER</title>
    <link>/tags/radicale/</link>
    <description>Recent content in Radicale on SROEMER</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>Stefan Römer</copyright>
    <lastBuildDate>Thu, 30 May 2024 23:31:00 +0700</lastBuildDate><atom:link href="/tags/radicale/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Radicale installation on Devuan Daedalus 5.0</title>
      <link>/posts/2024/05/radicale_installation/</link>
      <pubDate>Thu, 30 May 2024 23:31:00 +0700</pubDate>
      
      <guid>/posts/2024/05/radicale_installation/</guid>
      <description>&lt;p&gt;Since years I am running my own CalDAV / CardDAV server to synchronize my calendars and address books.
I use &lt;a href=&#34;https://radicale.org&#34;&gt;Radicale&lt;/a&gt; for this and on my Uberspace it was installed via Python&amp;rsquo;s &lt;code&gt;pip&lt;/code&gt;,
but now it was time to move this to my own server too and I chose to install the package directly from
the Devuan repository via &lt;code&gt;apt-get install radicale&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The installation via &lt;code&gt;apt-get&lt;/code&gt; just does the installation but some additional configuration was needed
to set everything up.&lt;/p&gt;</description>
      <content>&lt;p&gt;Since years I am running my own CalDAV / CardDAV server to synchronize my calendars and address books.
I use &lt;a href=&#34;https://radicale.org&#34;&gt;Radicale&lt;/a&gt; for this and on my Uberspace it was installed via Python&amp;rsquo;s &lt;code&gt;pip&lt;/code&gt;,
but now it was time to move this to my own server too and I chose to install the package directly from
the Devuan repository via &lt;code&gt;apt-get install radicale&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The installation via &lt;code&gt;apt-get&lt;/code&gt; just does the installation but some additional configuration was needed
to set everything up.&lt;/p&gt;
&lt;p&gt;At first I modified the configuration file &lt;code&gt;/etc/radicale/config&lt;/code&gt; and did set&lt;br&gt;
&lt;code&gt;type = htpasswd&lt;/code&gt; and &lt;code&gt;htpasswd_encryption = bcrypt&lt;/code&gt; (both in the &lt;code&gt;[auth]&lt;/code&gt; section).&lt;/p&gt;
&lt;p&gt;Then I created a new htpasswd file with my user:&lt;br&gt;
&lt;code&gt;htpasswd -c -B /etc/radicale/users &amp;lt;user&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Finally I started the service and enabled it to be started automatically:&lt;br&gt;
&lt;code&gt;/etc/init.d/radicale start&lt;/code&gt;&lt;br&gt;
&lt;code&gt;update-rc.d radicale enable&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;After this the radicale server is bound to localhost and listening on port 5232.
For being accessible from the outside the following configuration must be added to the Nginx configuration (and Nginx being restarted once):&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;location /radicale/ { # The trailing / is important!
      proxy_pass        http://localhost:5232/; # The / is important!
      proxy_set_header  X-Script-Name /radicale;
      proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header  Host $http_host;
      proxy_pass_header Authorization;
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now I only had to copy contact and calendar entries from my Uberspace instance. Done!&lt;/p&gt;
</content>
    </item>
    
  </channel>
</rss>
