Problem with Lightning calendar synchronizing

Hi, I have a problem with the webdav using Lightning.
Thank you for the help :slight_smile:

Steps to reproduce
1. Tried to import an Owncloud calendar in Thunderbird/Lightning
2. Login Window appeared
3. Filled in username and pw and the window appears again without any effect.

Expected behaviour
Should import the calendar from OC

Actual behaviour
Login window is reappearing

Server configuration
Operating system: Raspbian
Web server: Nginx
Database: SQLite
PHP version: PHP 5
ownCloud version (see ownCloud admin page): 9.1.0
Updated from an older ownCloud or fresh install: 9.0
ownCloud log (data/owncloud.log, see

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
used this code to configure the cloud:
external storage enabled

Integrity status for oC9+

Login as admin user into your ownCloud and access
paste the results here.
-> No errors have been found.

Error log from webdav attempts:
Exception: {"Message":"HTTP\/1.1 405 The resource you tried to create

Sabre\DAV\Server->createCollection('Uni\/Module HS 1...',
Object(Sabre\DAV\MkCol))\n#1 [internal function]:
call_user_func_array(Array, Array)\n#3
Sabre\Event\EventEmitter->emit('method:MKCOL', Array)\n#4
Sabre\DAV\Server->exec()\n#6 \/var\/www\/owncloud\/remote.php(164):


have you created the calendar in ownCloud first before importing that one via Lightning? AFAIK the calendar needs to exist to be able to import calendar events into it.

Thank you for the hint. I have a working calendar in owncloud.

Don't know why it was marked as solved(maybe I misclicked). Still the same problem though.
When I submit the login info in lightning the login window reappears with no effect...

Because of this:

If you don't want to have misinterpretations for your texts then its better to clearly state it hasn't solved your issue. When reading over your statement its too easy to assume that you have now a working calendar.

For everything WebDAV, CalDAV or CardDAV related issues like the re-appearing Login window in Lightning we have the following FAQ containing all needed info:

If you can't fix your issue with those resources you can also upload the .ics file of the calendar to the WebGUI and click on it there. With that you can import the .ics file into your calendar.

That's a good troubleshooting post, thanks.
My issue was that I had an "ä" in the password and webdav seems to have a problem with German XD