Hello,
I had rdiff-backup 2.2.6 running on Fedora 39 installed with the "Option 2. PyPi repository" directions. I created a service unit, and it was starting automatically. It was working flawlessly.
I upgraded tonight to Fedora 41, and rdiffweb can no longer start, either as a service or from the command line. I get a similar error on both.
Service error message
---------------------------------------------------------------------------------------------------------------
# systemctl status rdiffweb
× rdiffweb.service - Rdiffweb Server
Loaded: loaded (/etc/systemd/system/rdiffweb.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf, 50-keep-warm.conf
Active: failed (Result: exit-code) since Sat 2024-12-21 19:04:24 PST; 6min ago
Duration: 2.643s
Invocation: a5dc6af8367d4fb0bb7b12f91792c790
Docs: https://rdiffweb.org/
Process: 890 ExecStart=/usr/local/bin/rdiffweb (code=exited, status=1/FAILURE)
Main PID: 890 (code=exited, status=1/FAILURE)
Mem peak: 8.5M
CPU: 118ms
Dec 21 19:04:22 fireplace systemd[1]: Started rdiffweb.service - Rdiffweb Server.
Dec 21 19:04:24 fireplace python3[890]: detected unhandled Python exception in '/usr/local/bin/rdiffweb'
Dec 21 19:04:24 fireplace rdiffweb[890]: Traceback (most recent call last):
Dec 21 19:04:24 fireplace rdiffweb[890]: File "/usr/local/bin/rdiffweb", line 5, in <module>
Dec 21 19:04:24 fireplace rdiffweb[890]: from rdiffweb.main import main
Dec 21 19:04:24 fireplace rdiffweb[890]: ModuleNotFoundError: No module named 'rdiffweb'
Dec 21 19:04:24 fireplace systemd[1]: rdiffweb.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 19:04:24 fireplace systemd[1]: rdiffweb.service: Failed with result 'exit-code'.
Command line error message
---------------------------------------------------------------------------------------------------------------
# rdiffweb
Traceback (most recent call last):
File "/usr/local/bin/rdiffweb", line 5, in <module>
from rdiffweb.main import main
ModuleNotFoundError: No module named 'rdiffweb'
---------------------------------------------------------------------------------------------------------------
Fedora 39 had Python 3.12.1-2.fc39
Fedora 41 has Python 3.13.0-1.fc41
The upgrade moved the site packages to the correct location for 3.13.
# ls -1d /usr/lib64/python3*/site-packages/rdi*
/usr/lib64/python3.13/site-packages/rdiff_backup
/usr/lib64/python3.13/site-packages/rdiffbackup
/usr/lib64/python3.13/site-packages/rdiff_backup-2.2.6-py3.13.egg-info
Does anyone know how to resolve this? I haven't tried reinstalling or upgrading the version yet.
Thank you.