Package: radicale
Version: 3.1.8-2
Severity: normal

Dear Maintainer,

I have installed Radicale Card/CalDAV server on Debian Bookworm (12.4).

apt install radicale

Install adds "radicale" user and group OK.
Config file in /etc/radicale/config

I did not change the config file (initially).

Enable and use systemd service (installed as 
/lib/systemd/system/radicale.service).

systemctl enable radicale.service
systemctl start radicale.service
systemctl status radicale.service :

-------------------
● radicale.service - A simple CalDAV (calendar) and CardDAV (contact) server
     Loaded: loaded (/lib/systemd/system/radicale.service; enabled; preset: 
enabled)
     Active: active (running) since Fri 2024-01-12 10:50:29 GMT; 5s ago
       Docs: man:radicale(1)
   Main PID: 61961 (radicale)
      Tasks: 1 (limit: 9249)
     Memory: 20.9M
        CPU: 726ms
     CGroup: /system.slice/radicale.service
             └─61961 /usr/bin/python3 /usr/bin/radicale

Jan 12 10:50:29 vesta systemd[1]: Started radicale.service - A simple CalDAV 
(calendar) and CardDAV (contact) server.
-------------------

In /var/log/syslog (and journal) :

Jan 12 10:50:29 vesta systemd[1]: Started radicale.service - A simple CalDAV 
(calendar) and CardDAV (contact) server.

Radicale systemd unit includes a "[Service]" section :

[Service]
ExecStart=/usr/bin/radicale
Restart=on-failure
LogsDirectory=radicale
User=radicale

and should use a log file : /var/log/radicale

ls -l /var/log :
drwxr-xr-x  2 radicale radicale          4096 Jan 12 10:50 radicale

However this directory is empty and never populated.


Set logging to "info" in config file and : systemctl restart radicale :


/var/log/syslog :

2024-01-12T10:53:49.958708+00:00 vesta systemd[1]: Stopping radicale.service - 
A simple CalDAV (calendar) and CardDAV (contact) server...
2024-01-12T10:53:50.050017+00:00 vesta systemd[1]: radicale.service: 
Deactivated successfully.
2024-01-12T10:53:50.050667+00:00 vesta systemd[1]: Stopped radicale.service - A 
simple CalDAV (calendar) and CardDAV (contact) server.
2024-01-12T10:53:50.066160+00:00 vesta systemd[1]: Started radicale.service - A 
simple CalDAV (calendar) and CardDAV (contact) server.
2024-01-12T10:53:50.585767+00:00 vesta radicale[62111]: [2024-01-12 10:53:50 
+0000] [62111] [INFO] Loaded default config
2024-01-12T10:53:50.586197+00:00 vesta radicale[62111]: [2024-01-12 10:53:50 
+0000] [62111] [INFO] Loaded config file '/etc/radicale/config'
2024-01-12T10:53:50.586326+00:00 vesta radicale[62111]: [2024-01-12 10:53:50 
+0000] [62111] [INFO] Skipped missing config file 
'/var/lib/radicale/.config/radicale/config'
2024-01-12T10:53:50.586435+00:00 vesta radicale[62111]: [2024-01-12 10:53:50 
+0000] [62111] [INFO] Starting Radicale

/var/log/radicale is still empty. No log file written here.

I assume I should see logging go to a file under this directory. I also
assume that I might be doing something wrong.

Many Thanks for having a look.

Alastair



-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-17-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages radicale depends on:
ii  adduser                    3.134
ii  init-system-helpers        1.65.2
ii  python3                    3.11.2-1+b1
pn  python3-radicale           <none>
ii  sysvinit-utils [lsb-base]  3.06-4

Versions of packages radicale recommends:
ii  ssl-cert  1.1.2

Versions of packages radicale suggests:
pn  apache2                     <none>
pn  apache2-utils               <none>
pn  libapache2-mod-proxy-uwsgi  <none>
pn  python3-bcrypt              <none>
pn  python3-passlib             <none>
pn  uwsgi                       <none>
pn  uwsgi-plugin-python3        <none>

Reply via email to