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.