Page MenuHomekolab.org

Packaging: Chwala can't find SabreDAV lib
Open, NormalPublic

Description

When Chwala is configured to use webdav driver:
[19-Feb-2016 18:10:50 UTC] PHP Warning: require(SabreDAV/vendor/autoload.php): failed to open stream: No such file or directory in /usr/share/chwala/lib/drivers/webdav/webdav_file_storage.php on line 25
[19-Feb-2016 18:10:50 UTC] PHP Fatal error: require(): Failed opening required 'SabreDAV/vendor/autoload.php' (include_path='/usr/share/chwala/lib/drivers/webdav:/usr/share/chwala/lib/drivers/seafile:/usr/share/chwala/lib/..lib:/usr/share/chwala/lib/..lib/ext:/usr/share/chwala/lib/..//lib/client:.:/usr/share/pear:/usr/share/php:/usr/share/roundcubemail/program/lib') in /usr/share/chwala/lib/drivers/webdav/webdav_file_storage.php on line 25

A simple fix is to change the path in require to 'Sabre/autoload.php', so it will use packaged version of the SabreDAV lib, but this does not match the Sabre libs installation described in Chwala's README.

Details

Ticket Type
Task

Event Timeline

machniak created this task.Feb 19 2016, 7:24 PM

Chwala package should also depend on php-sabre-dav.

Jeroen, could you guide me on the best solution for this issue? Should we go with composer as iRony?

The packaged version of the sabre-dav library is the preferred route.

machniak edited projects, added Kolab 16; removed Winterfell.Feb 24 2016, 2:51 PM
machniak added a subscriber: vanmeeuwen.

Also, please take care about adding package dependency on php-sabre-dav

vanmeeuwen lowered the priority of this task from 60 to Normal.Fri, Mar 22, 12:28 PM

Correcting the priority from 60/40 to Normal