我不太熟悉Linux / Debian,但仍然试图在我的Raspberry Pi上安装激进化器。安装工作顺利,但当我尝试用sudo systemctl start radicale启动激进服务并连接到web界面时,我得到的结果是:“服务器出错。请与管理员联系。”
当使用journalctl --unit radicale.service进行调试时,它向我展示了以下内容:
Jun 12 18:49:20 raspberrypi systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server.
Jun 12 18:49:20 raspberrypi env[6299]: [2022-06-12 18:49:20 +0200] [6299] [CRITICAL] Invalid configuration: Failed to load config file '/etc/radicale/config': File contains no secti>
Jun 12 18:49:20 raspberrypi env[6299]: file: '/etc/radicale/config', line: 1
Jun 12 18:49:20 raspberrypi env[6299]: '.# -*- mode: conf -*-\n'
Jun 12 18:49:21 raspberrypi systemd[1]: radicale.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 18:49:21 raspberrypi systemd[1]: radicale.service: Failed with result 'exit-code'.据我所知,我的节标题有问题。但是,当我按照下面的方式配置/etc/根目录/config文件时,我不知道实际问题是什么:
[auth]
type = htpasswd
htpasswd_filename = /etc/radicale/users
htpasswd_encryption = bcrypt
[server]
hosts = 0.0.0.0:5232
[storage]
filesystem_folder = /var/lib/radicale/collections任何帮助都将是非常感谢的,因为我还没有在谷歌上找到任何与我的问题完全类似的东西。
发布于 2022-10-21 12:12:55
如果你的解药被列出来会有帮助。
我刚刚完成了同样的工作,找到了指南https://www.atlantic.net/dedicated-server-hosting/how-to-install-radicale-calendar-caldav-and-carddav-on-ubuntu-20-04/
我使用了建议的filesystem_locking = true,但这是一个未知的配置选项错误。
对此进行注释后,该单元运行正常。
https://stackoverflow.com/questions/72669413
复制相似问题