LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2024, 11:32 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,599

Rep: Reputation: 180Reputation: 180
Thunderbird calendar not working after Radicale upgrade


I've upgraded from Radicale 2.1.11 to Radicale 3.1.8 and am having some issues. But, in the course of writing this thread I tried restarting Radicale and now it won't run at all! I've made no changes. I get the single line in /var/log/syslog:
Code:
Jan 30 00:18:33 server daemon: radicale: client (pid 2894) exited with 1 status, exiting
Nothing else. I can't find this error searching the web. I've rebooted the server. Nada. My config is, essentially unchanged from 2.1.11:
Code:
[server]

hosts = 0.0.0.0:5232

ssl = False

[encoding]

[auth]

type = htpasswd
htpasswd_filename = /etc/httpd/passwords
htpasswd_encryption = bcrypt

[rights]
type = none

[storage]
filesystem_folder = ~/collections

[headers]
The startup command line is:
Code:
daemon -n radicale -u radicale -o local1.warning -e "HOME=/home/radicale" -D /home/radicale -- python3 -m radicale
That's all I have. Any idea why this is failing to run at all?

Last edited by mfoley; 01-29-2024 at 11:34 PM.
 
Old 01-30-2024, 12:40 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
Just comparing what you have with my working setup.

I added '-E /var/lib/radicale/radicale.log' to the startup command line to log messages when I was initially setting this up.

For the [server] section in /etc/radicale/config I just have the default which I believe is 'hosts = localhost:5232' and the default 'ssl = False'.

For the [auth] section I just have 'type = htpasswd' with the defaults 'htpasswd_filename = /etc/radicale/users' and 'htpasswd_encryption = md5'.
 
1 members found this post helpful.
Old 01-30-2024, 10:49 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,599

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by allend View Post
Just comparing what you have with my working setup.

I added '-E /var/lib/radicale/radicale.log' to the startup command line to log messages when I was initially setting this up.
Thanks for that tip. I also added --stderr (-E), --stdout (-O) and --output (-o). In the case of -o, that was set to "local1.warning" and I have no idea where that went. In any case, the -O file showed a problem:
Code:
[2024-01-30 23:17:16 -0500] [19440] [WARNING] (trapped) error reading bcrypt version
Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
AttributeError: module 'bcrypt' has no attribute '__about__'
I had installed radicale from the SlackBuilds repo, and as part of that it did install python3-bcrypt-4.1.2 and removed python3-bcrypt-4.0.1. I'm not too familiar with python. Any idea how I would get the right version of bcrypt in sync with my Python 3.9.18 version?

In the meantime, I've set [auth] type = none. That got my calendar on the Windows Thunderbird syncing again.
Quote:
For the [server] section in /etc/radicale/config I just have the default which I believe is 'hosts = localhost:5232' and the default 'ssl = False'.
localhost:5232 means it only accepts connections from the local host. I have 0.0.0.0:5232 because I am connecting from remote devices. My ssl is also False.
Quote:
For the [auth] section I just have 'type = htpasswd' with the defaults 'htpasswd_filename = /etc/radicale/users' and 'htpasswd_encryption = md5'.
So that's my problem at the moment. I am using htpasswd and have encryption = bcrypt, and that stopped working when I "upgraded" to python3-bcrypt-4.1.2.

I'll see if I can figure out how to rectify this, but advice would be appreciated as I know little about how Python and all its modules interrelate.
 
Old 01-31-2024, 12:05 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
I cannot offer any good advice on Python. I do know that I built with python-bcrypt-4.0.1 which is still in use.

I installed radicale to be able to import calendar entries into my iPhone. I let Apache handle the connection from the iPhone. Apparently the iPhone requires HTTPS for external CalDAV servers.
 
  


Reply

Tags
not start, python3, radicale



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Radicale CalDaV and Thunderbird client, All calendars are currently disabled mfoley Linux - Server 3 01-15-2024 08:27 PM
LXer: How to Install Radicale Calendar (CalDAV and CardDAV) on Ubuntu 20.04 LXer Syndicated Linux News 0 09-07-2021 12:54 AM
[SOLVED] Need pointers on radicale, or other DavCAL server mfoley Slackware 7 04-29-2019 11:58 PM
[SOLVED] Radicale smbelow Linux - Software 11 12-19-2013 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration