I installed and have a running WebDAV server (Davical) and now would like to publish my calendar from Thunderbird (Lightning), as advertised here: https://support.mozilla.org/en-US/kb/exporting-and-sharing-a-calendar (under "Steps when Running Lightning").

However, I don't know my WebDAV URL. Quite probably I don't really understand how it is supposed to work. Do I have to create a new calendar on the server first? Or how is publishing meant to work?

In the end, I'd like to have a regularly synced iCal URL on my WebDAV server, so I can access it through Google Calendar (as Google Calendar apparently does not work with CalDAV).

EDIT: I created a principal myusername with all rights in the Davical admin panel and tried to publish an existing calendar (which is my particular use case – I don't want to create a new calendar on the server) under the following url: http://myurl.com/caldav.php/myusername/calendar and what I get from Thunderbird is:

Publishing the calendar file failed.
Status code: 405: Method Not Allowed

EDIT 2: I was actually able to publish the calendar by using the following URL: http://myurl.com/caldav.php/myusername/calendar/test.ics, so that problem is solved by appending test.ics or any other filename to the above URL. Now, I can subscribe to it from Google Calendar, but unfortunately, the events are not displayed there... Maybe it is because of permissions? Google Calendar does not have a field where I can enter credentials.


1 Answer 1


The following is paraphrased from DAViCal's General Client Configuration Information:

Thunderbird wants a 'calendar' URL which is something like:


The host name is up to you. The 'root path' should be /caldav.php/ and anything following that is the calendar namespace.

Within the calendar namespace DAViCal uses the first element of the path as the user or 'princpal' name, so that a client connecting at the root path can see all of the (accessible) users and resources available to them with any calendars below that.

Once you have your URL, DAViCal provides the Thunderbird-specific illustrated setup info noted in the comment by @dirdi.

  • Okay, I did exactly that (although I think the setup info is for creating a new calendar, not publishing an existing one, and I'm only talking about this - why should there a button in the Thunderbird context menu if that is not a use case?). However, upon publishing in Thunderbird, I get: "Publishing the calendar file failed. Status code: 405: Method Not Allowed". I edited my answer to reflect this.
    – grssnbchr
    Jul 4, 2020 at 12:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .