Baikal: reporting 200 OK instead of 207 Multi-Status

Created on 16 Oct 2016  路  7Comments  路  Source: sabre-io/Baikal

I currently experience a problem quite similar to https://github.com/owncloud/core/issues/24041

I run the latest DavDroid with the latest baikal an get at.bitfire.dav4android.exception.InvalidDavResponseException: Expected 207 Multi-Status, got 200 OK from DavDroid.

This could be something baikal needs to differently!?

question

All 7 comments

Hi @pguth ,

It's a bit hard to tell without more information. If you received a 200 OK then this probably means there is something interesting in the response body that better describes a potential problem. You are right though that this should respond with a 207.

If you can get the full HTTP response from sabre/dav I can help you further, otherwise this will be hard.

This usually happens when you update Baikal and it shows the update message. In this case, just visit it with a browser, complete the update it at works again.

I have started to see this error out of nowhere (baikal not updated, I'm on latest git master). It's not telling anything about pending update in the browser. Can log into admin interface normally, everything looks as expected.

Using davdroid and thunderbird/lightning as clients.

Can't see any errors in nginx logs.

Any suggestions?

Can you upgrade to the latest version and see if the issue persists? If it does, re-open this issue

I upgraded to 0.5.1 and 0.5.2 with the same issue.

The error on the page its trying to reach (dav.php/calendar/...)

ErrorException: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /usr/share/webapps/baikal/vendor/sabre/dav/lib/CalDAV/ICSExportPlugin.php:321
Stack trace:

0 /usr/share/webapps/baikal/vendor/composer/ClassLoader.php(444): Baikal\Framework::exception_error_handler(2, '"continue" targ...', '/usr/share/weba...', 321, Array)

1 /usr/share/webapps/baikal/vendor/composer/ClassLoader.php(444): include()

2 /usr/share/webapps/baikal/vendor/composer/ClassLoader.php(322): Composer\AutoloadincludeFile('/usr/share/weba...')

3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Sabre\CalDAV\IC...')

4 /usr/share/webapps/baikal/Core/Frameworks/Baikal/Core/Server.php(170): spl_autoload_call('Sabre\CalDAV\IC...')

5 /usr/share/webapps/baikal/Core/Frameworks/Baikal/Core/Server.php(112): Baikal\Core\Server->initServer()

6 /usr/share/webapps/baikal/html/dav.php(59): Baikal\Core\Server->__construct(true, true, 'Digest', 'BaikalDAV', Object(PDO), '/dav.php/')

7 {main}

@MalakymR sounds like you are using php 7.3. We currently only support php 7.2. Support for 7.3 was requested in #764

Ah yes, I saw the 7.3 issue and got mixed up after a while as I had only just upgraded to PHP7 - then thought this was that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BobWs picture BobWs  路  5Comments

GrayGhost93 picture GrayGhost93  路  5Comments

Ostromogilski picture Ostromogilski  路  6Comments

lunixyacht picture lunixyacht  路  8Comments

tuxtlequino picture tuxtlequino  路  5Comments