Page MenuHomePhorge

iRony crashes, with class not found exception
Closed, ResolvedPublic

Description

Server is running Ubuntu 18.04 with Kolab 16. iRony update yesterday or the day before has broken DAV access for all users.

dpkg -l irony
Desired=Unknown/Install/Remove/Purge/Hold

Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
/ Name Version Architecture Description

+++-=====================-===============-===============-===============================================
ii irony 0.4.4-1~kolab2 all Kolab Groupware DAV Access

Error in /var/iRony/errors.log:

[17-Oct-2020 09:02:44 America/New_York] PHP Fatal error:  Uncaught Error: Class 'Kolab\CardDAV\LDAPResources' not found in /usr/share/iRony/lib/Kolab/CardDAV/UserAddressBooks.php:77
Stack trace:
#0 /usr/share/php/sabre21/Sabre/DAV/Collection.php(54): Kolab\CardDAV\UserAddressBooks->getChild('26f518c2597b3e7...')
#1 /usr/share/php/sabre21/Sabre/DAV/Tree.php(105): Sabre\DAV\Collection->childExists('26f518c2597b3e7...')
#2 /usr/share/php/sabre21/Sabre/DAVACL/Plugin.php(758): Sabre\DAV\Tree->nodeExists('addressbooks/er...')
#3 [internal function]: Sabre\DAVACL\Plugin->beforeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /usr/share/php/Sabre/Event/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /usr/share/php/sabre21/Sabre/DAV/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)
#6 /usr/share/php/sabre21/Sabre/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /usr/share/iRony/public_html/index.php(194): Sabre\DAV\Server->exec()
#8 {main}
  thrown in /usr/share/iRony/lib/Kolab/CardDAV/UserAddressBooks.php on line 77

Details

Ticket Type
Task

Event Timeline

sicherha lowered the priority of this task from Needs Triage to High.Oct 17 2020, 4:16 PM

Ouch. @fjl could you provide the missing file.

I just realized that the file has been lost when I did the manual merge. So, It was my fault. Fixed in d6660105443ff5. A new package will take a while.

Manually placing this file on my server resolved the issue for me, thanks for the quick response!