Calcurse 无法与 Nextcloud 同步
Calcurse can't sync with Nextcloud
您好,我最近设置了一个带有日历的 nextcloud 实例,并希望将我的 calcurse 与其同步。
这是我的 calcurse-caldav 配置(密码、用户名和主机名明显更改):
[General]
Binary = calcurse
Hostname = nextcloud.example.com/nextcloud
Path = remote.php/dav/
AuthMethod = basic
HTTPS = Yes
DryRun = No
Verbose = Yes
[Auth]
Username = BestUsername
Password = SuperSecretPassword
不过我收到以下错误:
╰─$ calcurse-caldav --init keep-remote
Connecting to nextcloud.example.com/nextcloud...
Removing all local calcurse objects...
error: The server at nextcloud.example.com/nextcloud replied with HTTP status
error: code 415 (Unsupported Media Type) while trying to access
error: https://nextcloud.example.com/nextcloud/remote.php/dav/.
我强烈怀疑我的配置有问题,但我无法理解这个配置与 Calibre 完美配合的原因。
我能够修复它:正确的配置方法如下:
Hostname = nextcloud.example.com
Path = /nextcloud/remote.php/dav/calendars/$USERNAME/personal
您好,我最近设置了一个带有日历的 nextcloud 实例,并希望将我的 calcurse 与其同步。
这是我的 calcurse-caldav 配置(密码、用户名和主机名明显更改):
[General]
Binary = calcurse
Hostname = nextcloud.example.com/nextcloud
Path = remote.php/dav/
AuthMethod = basic
HTTPS = Yes
DryRun = No
Verbose = Yes
[Auth]
Username = BestUsername
Password = SuperSecretPassword
不过我收到以下错误:
╰─$ calcurse-caldav --init keep-remote
Connecting to nextcloud.example.com/nextcloud...
Removing all local calcurse objects...
error: The server at nextcloud.example.com/nextcloud replied with HTTP status
error: code 415 (Unsupported Media Type) while trying to access
error: https://nextcloud.example.com/nextcloud/remote.php/dav/.
我强烈怀疑我的配置有问题,但我无法理解这个配置与 Calibre 完美配合的原因。
我能够修复它:正确的配置方法如下:
Hostname = nextcloud.example.com
Path = /nextcloud/remote.php/dav/calendars/$USERNAME/personal