CalcurseはNextcloudと同期できません。

CalcurseはNextcloudと同期できません。

こんにちは。私は最近カレンダーを含むnextcloudインスタンスを設定し、私の計算をそれと同期させたいと思います。

私の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と完全に機能するため、何がわかりません。

ベストアンサー1

問題を解決できました。正しい設定方法は次のとおりです。

Hostname = nextcloud.example.com
Path = /nextcloud/remote.php/dav/calendars/$USERNAME/personal

おすすめ記事