The officially official Devuan Forum!

You are not logged in.

#1 2024-03-08 21:54:56

mclien
Member
Registered: 2020-02-29
Posts: 101  

radicale not starting with init-script

I just installed radicale (calDAV server) on my home-server. (via apt)

Starting manually works with the config file:

radicale -D -C config

I can the reach the server and generate a calendar, which is accessible from Thunderbird

However the init-script fails me:

 root@homeserver# /etc/init.d/radicale start
Starting Radicale CalDAV server : radicale.
root@homeserver# /etc/init.d/radicale status
radicale is not running ... failed

I did enable the service before with:

 update-rc.d radicale enable

unfortunately the log-dir stays empty:

/var/log/radicale 

Offline

#2 2024-03-09 08:12:18

mclien
Member
Registered: 2020-02-29
Posts: 101  

Re: radicale not starting with init-script

Found the right hint, I guess.
https://github.com/Kozea/Radicale/issues/1188

Hadn't time to test it jet. I'll be back.

Offline

#3 2024-03-09 10:12:34

mclien
Member
Registered: 2020-02-29
Posts: 101  

Re: radicale not starting with init-script

Sadly the patch didn't work. I do have an idea where the problem lies, but don't know how to fix it.
The startscript defines this variable:

CALDIR=/var/lib/$NAME

That's the default path for storing the calendar-files,
which later on is used in the script as location for the calendar file, which is odd, since you can define that in
/etc/radicale/config.
Where I did this:

[storage]
# Folder for storing local collections, created if not present
filesystem_folder = /data/ordnung/radicale/collections

I do find that a bit off. Why define the storage path i the init-script, if there is config file for that?

also the init-sscript has this comment:

# Description:          Start/Stop the Radicale CalDAV and CardDAV
#                       server, configurable via /etc/default/radicale.

and /etc/default/radicale looks like this:

# Defaults for radicale calendar server (sourced from /etc/init.d/radicale)

# If you want radicale to be started as a system service,
# enable it using the command 'update-rc.d radicale enable'

# Options for radicale on startup
# Note that most options can be specified in /etc/radicale/config
RADICALE_OPTS="--daemon"

# Make initscript verbose, override system default
# (Note: This is ONLY about the initscript!)
VERBOSE=yes

If that seems a bit confused, you are right, I am...

Offline

#4 2024-03-09 10:33:38

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 190  

Re: radicale not starting with init-script

had a moment and curiosity got the best of me

ttps://radicale.org/v3.html

that webpage has an incredible amount of information
(good to take it all in when you have the time, especially the "about" section)

also of additional note:

attempted to visit one of the links on that webpage:
ttps://openports.se/productivity/radicale

and failed to find anything related to radicale but there was a notice dated 20230130 at ttps://openports.se/

2023-01-30

Time to say goodbye
We started NetBSD.se 20 years ago and it's time to say goodbye to this small swedish community. None of us really have interest in doing this any longer and to be honest none of us run NetBSD anymore either ;-).

It's been a fun journey, it's been many services over the years and today we more or less only have pkgsrc.se and openports.se left.

Some statistics of pkgsrc.se over the years,
* 45 566 updates has been done since 2007 with an average exec time of 820 seconds
* Tracking 64 braches and 865 029 packages
* 69 843 995 changed detected in pkgsrc over the years
* 255 072 commit mails

Thank you for these 20 years.

Fredrik & Viktor

admin (a) netbsd DOT se

2023-02-03
We would like to thank you for all the emails we have received in the last few days. It means a lot to receive positive response to the services we have provided over the years.
Special thanks to Thomas Merkel [1] who will continue to provide the pkgsrc.se service.

[1]
tm (a) netbsd DOT org


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#5 2024-03-09 10:44:55

mclien
Member
Registered: 2020-02-29
Posts: 101  

Re: radicale not starting with init-script

Yeah, I have been to most of it, but it seems the sysV is now left to the package maintainers.

I did open an bug here
https://github.com/Kozea/Radicale/issues/1412

the bug I posted earlier is marked closed:
https://github.com/Kozea/Radicale/issues/1188

But didn't fixed my problem. I could try to use the default storage location, but that would be in /var/lib which feels somewhat wrong for me.

Offline

#6 2024-03-09 11:30:29

mclien
Member
Registered: 2020-02-29
Posts: 101  

Re: radicale not starting with init-script

So with the first answer in my bug #1412 do actually have no idea where the right place is to post this..

So do I open a Devuan bug for this and if necessary the maintainers will bush it upstream, if necessary? (devuan -> debian -> radicale).

OK, that seems the wrong way to do it. I searched bugs.devuan.org for radicale:
"There is no maintainer for radicale. This means that this package no longer exists (or never existed). Please do not report new bugs against this package."

Meanwhile on my installation:

# apt-cache search radicale
python3-radicale - simple calendar and addressbook server - python3 module
radicale - simple calendar and addressbook server - daemon

Same result for my chimeara (server) and daedalus(desktop) installation.

So, first upgrad my server to deadalus and then if the problem still exists a bug repost to debian (since there is no devuan maintainer) ?

Last edited by mclien (2024-03-09 11:56:32)

Offline

#7 2024-03-10 00:28:14

boughtonp
Member
From: UK
Registered: 2023-01-19
Posts: 212  
Website

Re: radicale not starting with init-script

There is no radicale package maintainer in Devuan because there is no radicale package in Devuan - Devuan uses the Debian package unmodified.

Devuan only modifies a relatively small number of Debian packages (to remove systemd entanglement - usually when a package has "Depends: systemd"), the majority of packages are unmodified from Debian repositories.

(In addition to searching as you did, you can tell when you have a Devuan-modified package by looking for "devuan" in the Version, and checking for "pool/DEVUAN/" at the start of the filename. The radicale package does not have these, because it comes from Debian.)

So, if Debian's radicale package supplies a sysvinit script (which it appears to here), and you've identified a problem with that script, then the report should go via Debian's bug tracker  (i.e. not direct to Radicale's bug tracker).


3.1415P265E589T932E846R64338

Offline

#8 2024-03-10 09:29:17

mclien
Member
Registered: 2020-02-29
Posts: 101  

Re: radicale not starting with init-script

Thank you, very much for generating a easy and understandable explanation from my unsorted clutter.

As to the problem itself, that is addressed in this debian bugs:
https://bugs.debian.org/cgi-bin/bugrepo … ug=1038930
https://bugs.debian.org/cgi-bin/bugrepo … ug=1055771
First one has a working patch, second has not.
Both aren't fixed yet.

Offline

Board footer