Solved radicale service cannot start after apache24 upgrade

Hi all,

After upgrading apache24 this morning, a python-based WebCal/WebDAV server radicale cannot start with the following error:
Code:
[12116] [WARNING] bcrypt module version '5.0.0' >= '5.0.0' and passlib(libpass) module version '1.7.4' < '1.9.3' found => incompatible, downgrade bcrypt or upgrade passlib(libpass)
[12116] [CRITICAL] An exception occurred during server startup: The htpasswd encryption method 'bcrypt' requires the bcrypt module but not usuable
I tried downgrading bcrypt from 5.0.0_4 to 5.0.0_2 which didn't work. I tried downgrading it to 4.3.0_2 again that didn't work either. Then I downgraded apache24 from 2.4.67_1 to 2.4.66 but that didn't solve the problem either, I still get the same error message shown above. py311-passlib-1.7.4_1 seems to be the latest package and 1.9.3 is not available.

Any suggestion will be much appreciated!
 
How about installing the latest libpass via pip until the py311-passlib-1.9.3 becomes available. Am I going to have trouble removing it later on or cause conflicts that will become a huge problem later on? What do you guys recommend?
 
OK, this is what I learned and how I solved my problem, for those who may get stuck with this and need this information in the future:

py311-radicale package depends on and installs py311-passlib-1.7.4_1. If you want to remove the latter, you need to remove the former as well.
I installed py311-pip first and then switched to the user that runs the radicale service (not root) and ran
pip install libpass
Please note this is libpass not passlib. It is apparently a fork of passlib, but its version is the correct one, 1.9.3.
Server launched without problem.
 
Back
Top