Uberspace / lab

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.
https://lab.uberspace.de
Other
315 stars 414 forks source link

[baikal] error 500 when accessing calendars / how to solve #1785

Open karlquint opened 2 months ago

karlquint commented 2 months ago

Description: I installed Baikal 0.9.5 using the current instructions in Uberspace Lab. The installation and initial setup of the database worked. However, connecting to Thunderbird or iCal did not work.

Steps to Reproduce:

Expected Result: Successful connection to Thunderbird or iCal.

Actual Result: Connecting to Thunderbird or iCal did not work. During troubleshooting, I tried to access the calendar in the web browser by navigating to 'https://domain.tld/baikal/html/dav.php/calendars/user/default' and always received an HTTP 500 error.

Logs: After reviewing the logs and the Baikal-config, I noticed the following entry in /baikal/config/baikal.yaml: base_uri: ''

I had to set this to: base_uri: '/baikal/html/'

After this change, the connection worked.

Additional Information: It would be helpful to point out that the integration into Thunderbird or other calendar apps can vary. I had to search for the correct configuration online. For example, here are the settings that worked for me:

MacOS Calendar:

Thunderbird:

Environment: Baikal version: 0.9.5 Installation method: Uberspace Lab

Suggested Fix: Update the documentation to include the necessary configuration change in the baikal.yaml file and provide examples for integrating with different calendar applications.