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 https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
used this code to configure the cloud: http://www.sempervideo.de/pi-owncloud.txt
external storage enabled

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
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
already
exists","Exception":"Sabre\DAV\Exception\MethodNotAllowed","Code":0,"Trace":"#0

\/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(588):
Sabre\DAV\Server->createCollection('Uni\/Module HS 1...',
Object(Sabre\DAV\MkCol))\n#1 [internal function]:
Sabre\DAV\CorePlugin->httpMkcol(Object(Sabre\HTTP\Request),
Object(Sabre\HTTP\Response))\n#2
\/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105):
call_user_func_array(Array, Array)\n#3
\/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459):
Sabre\Event\EventEmitter->emit('method:MKCOL', Array)\n#4
\/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248):
Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request),
Object(Sabre\HTTP\Response))\n#5
\/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(56):
Sabre\DAV\Server->exec()\n#6 \/var\/www\/owncloud\/remote.php(164):
require_once('\/var\/www\/ownclo...')\n#7
{main}","File":"\/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","Line":1121,"User":"XXXX"}

Hi,

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.

Hi,
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