Upgrading Kolab 3.4 to 16



  • Same issue here, iRony does not authenticate after update from 3.4 to 16. Is it just a configuration issue or do we have to update sabre-http. And if the second could someone provide a little howto?



  • NOTE: The folowing has been tested on a throwaway VM I'm using to test upgrades. There's no guarantee that something won't break. Do it at your own risk.

    Download the package:

    wget https://github.com/fruux/sabre-http/archive/3.0.5.tar.gz
    

    Untar and copy the relevant bits:

    tar -xf 3.0.5.tar.gz
    cp -R sabre-http-3.0.5/lib/* /usr/share/php/Sabre/HTTP/
    

    No restart should be required.


  • Global Moderator



  • THANKS! This fixes a problem I've have for some time in Development and have asked about a few times on the mailing list.



  • @einar said:

    NOTE: The folowing has been tested on a throwaway VM I'm using to test upgrades. There's no guarantee that something won't break. Do it at your own risk.

    YOLO ;-)
    I made this changes Yesterday on Kolab16 and now calendar and webdav is working again.



  • I think there is still a problem here. With a fresh install of Kolab:16 and T1022 manually applied, I've been able to download content using DAV, but I've not been able to do a two-way sync. Basically I'm seeing this at the client when trying to send data:

    "CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '500' ('InternalServerError'). Message:
    <?xml version="1.0" encoding="utf-8"?>
    <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    <s:sabredav-version>2.1.6</s:sabredav-version>
    <s:exception>Exception</s:exception>
    <s:message>Storage error. Library not found.</s:message>
    </d:error>"

    The last iRony log entry:
    [17-Feb-2016 02:39:19,220300 -0500]: PHP Error: Storage error. Library not found. (error 500)
    #0 /usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php(1296): seafile_file_storage->find_library('calendars/troy@...')
    #1 /usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php(999): seafile_file_storage->path2uri('calendars/troy@...')
    #2 /usr/share/chwala/lib/api/lock_list.php(38): seafile_file_storage->lock_list('calendars/troy@...', false)
    #3 /usr/share/chwala/lib/file_api_lib.php(137): file_api_lock_list->handle()
    #4 /usr/share/iRony/lib/Kolab/DAV/Locks/Chwala.php(91): file_api_lib->__call('lock_list', Array)
    #5 /usr/share/iRony/lib/Kolab/DAV/Locks/Chwala.php(91): Kolab\DAV\Backend->lock_list('calendars/troy@...', false)
    #6 /usr/share/php/Sabre/DAV/Locks/Plugin.php(156): Kolab\DAV\Locks\Chwala->getLocks('calendars/troy@...', false)
    #7 /usr/share/php/Sabre/DAV/Locks/Plugin.php(99): Sabre\DAV\Locks\Plugin->getLocks('calendars/troy@...')
    #8 /usr/share/php/Sabre/DAV/Browser/PropFindAll.php(53): Sabre\DAV\Locks\Plugin->Sabre\DAV\Locks{closure}()
    #9 /usr/share/php/Sabre/DAV/Locks/Plugin.php(101): Sabre\DAV\Browser\PropFindAll->handle('{DAV:}lockdisco...', Object(Closure))
    #10 [internal function]: Sabre\DAV\Locks\Plugin->propFind(Object(Sabre\DAV\Browser\PropFindAll), Object(Kolab\CalDAV\Calendar))
    #11 /usr/share/php/Sabre/Event/EventEmitterTrait.php(83): call_user_func_array(Array, Array)
    #12 /usr/share/php/Sabre/DAV/Server.php(1016): Sabre\Event\EventEmitter->emit('propFind', Array)
    #13 /usr/share/php/Sabre/DAV/Browser/Plugin.php(296): Sabre\DAV\Server->getPropertiesByNode(Object(Sabre\DAV\Browser\PropFindAll), Object(Kolab\CalDAV\Calendar))
    #14 /usr/share/php/Sabre/DAV/Browser/Plugin.php(102): Sabre\DAV\Browser\Plugin->generateDirectoryIndex('calendars/troy@...')
    #15 [internal function]: Sabre\DAV\Browser\Plugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    #16 /usr/share/php/Sabre/Event/EventEmitterTrait.php(83): call_user_func_array(Array, Array)
    #17 /usr/share/php/Sabre/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:GET', Array)
    #18 /usr/share/php/Sabre/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
    #19 /usr/share/iRony/public_html/index.php(194): Sabre\DAV\Server->exec()
    #20 {main} in /usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php on line 1175 (GET /iRony/calendars/troy%40carpenter.cx/blahblahblahblah)

    Chwala is connected to Seafile, and both Roundcube and Chwala interfaces are working as expected.



  • @mhuetter FYI, the fix should have landed properly in the Kolab:16 repository as well by now.


  • Global Moderator

    @troycarpenter If you could make that a bug report, that'd be lovely.

    Note that for tracebacks and other large amounts of output, we have a pastebin that you can then refer to in tickets with P4 for example.



  • @kanarip said:

    @troycarpenter If you could make that a bug report, that'd be lovely.

    Note that for tracebacks and other large amounts of output, we have a pastebin that you can then refer to in tickets with P4 for example.

    Thanks for the tip. I'll do that when I get a free cycle. I'm very interested in getting all this working, so I'll prioritize it right under two other high tasks I have (as well as my regular paying job).


Log in to reply