Discussion:
iRony error
Pietro Vassalli
2016-10-11 11:44:56 UTC
Permalink
Dear Sirs,

in my environment I have a Kolab 14 installation on ubuntu 14.04.5 with
seafile as file backend.

I don't have any issue, everything is working very well except for an
issue that I have with my collegues who are using thunderbird as backend
(outlook configured with an Exchange server is properly working).

When they try to insert an event on the calendar via client, the item is
correctly inserted (no error messages), but it can't be found in the web
interface.

If they close tb and reopen it, the item is not present.

The log is the following:

[11-Oct-2016 13:28:34 Europe/Zurich] PHP Fatal error: Uncaught
exception 'Exception' with message 'Storage error. Library not found.'
in /usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php:1086
Stack trace:
#0 /usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php(1199):
seafile_file_storage->find_library('calendars/pietr...')
#1 /usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php(896):
seafile_file_storage->uri2resource('calendars/pietr...')
#2 /usr/share/chwala/lib/api/lock_list.php(38):
seafile_file_storage->lock_list('calendars/pietr...', false)
#3 /usr/share/chwala/lib/file_api_lib.php(127): 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/pietr...', false)
#6
/usr/share/iRony/vendor/sabre/dav/lib/Sabre/DAV/Locks/Plugin.php(234):
Kolab\DAV\Locks\Chwala->getLocks('calendars/pietr...', false)
#7 /usr/share/iRony/vendor/sabre/dav/lib/Sabre/DAV/Locks/Plugin.php( in
/usr/share/chwala/lib/drivers/seafile/seafile_file_storage.php on line 1086

Can anyone help?

Regards,

Pietro
--
*Pietro Vassalli*
IT Manager
........................................................

Direct: +41 91 935 9634
Fax: +41 91 935 9320
Mobile: +41 79 706 2168
E-mail: ***@waterline.ch <mailto:***@waterline.ch>_

........................................................*
**Water Line SA*
Via Sceresa 7 – Zona industriale 3
P.O. Box 149
CH-6805 Mezzovico-Vira
Switzerland
........................................................

Voice: +41 91 935 9300
Fax: +41 91 946 2064
E-mail: ***@waterline.ch <mailto:***@waterline.ch>_
Website: _www.waterline.ch <http://www.waterline.ch>_

........................................................
Aleksander Machniak
2016-10-11 11:55:19 UTC
Permalink
in my environment I have a Kolab 14 installation on ubuntu 14.04.5 with seafile
as file backend.
I don't have any issue, everything is working very well except for an issue that
I have with my collegues who are using thunderbird as backend (outlook
configured with an Exchange server is properly working).
When they try to insert an event on the calendar via client, the item is
correctly inserted (no error messages), but it can't be found in the web interface.
SeaFile over iRony is not supported, https://git.kolab.org/T1141
--
Aleksander Machniak
Software Developer, Kolab Systems AG
-------------------------------------------------------
PGP:19359DC1 - http://kolabsys.com - http://alec.pl
Pietro Vassalli
2016-10-11 12:30:41 UTC
Permalink
Thank you Aleksander for your quick response.

So is it correct that, in the environment that I've described, I can't
use the calendar provided by Kolab with thunderbird?

Can I use those calendars in some other way?

How can I "configure iRony to provide CalDAV and CardDAV only if needed"?

Where can I do that?

I've seen the configuration file:

/usr/share/iRony/config/config.inc.php

What should I disable? And, if I disable something there, do I have to
reconfigure also my smartphones, adding specific calendars via caldav?

Regards,

Pietro
Post by Aleksander Machniak
in my environment I have a Kolab 14 installation on ubuntu 14.04.5 with seafile
as file backend.
I don't have any issue, everything is working very well except for an issue that
I have with my collegues who are using thunderbird as backend (outlook
configured with an Exchange server is properly working).
When they try to insert an event on the calendar via client, the item is
correctly inserted (no error messages), but it can't be found in the web interface.
SeaFile over iRony is not supported, https://git.kolab.org/T1141
--
*Pietro Vassalli*
IT Manager
........................................................

Direct: +41 91 935 9634
Fax: +41 91 935 9320
Mobile: +41 79 706 2168
E-mail: ***@waterline.ch <mailto:***@waterline.ch>_

........................................................*
**Water Line SA*
Via Sceresa 7 – Zona industriale 3
P.O. Box 149
CH-6805 Mezzovico-Vira
Switzerland
........................................................

Voice: +41 91 935 9300
Fax: +41 91 946 2064
E-mail: ***@waterline.ch <mailto:***@waterline.ch>_
Website: _www.waterline.ch <http://www.waterline.ch>_

........................................................
Aleksander Machniak
2016-10-11 12:44:45 UTC
Permalink
Post by Pietro Vassalli
So is it correct that, in the environment that I've described, I can't
use the calendar provided by Kolab with thunderbird?
Can I use those calendars in some other way?
I think this might be unrelated issue.
Post by Pietro Vassalli
How can I "configure iRony to provide CalDAV and CardDAV only if needed"?
Where can I do that?
In your case you have to set CALDAV=1 an CARDDAV=1 in your environment.
You can do this in apache config for iRony, e.g.

SetEnv CALDAV 1
SetEnv CARDDAV 1
--
Aleksander Machniak
Software Developer
Kolab Systems AG: http://kolabsys.com
PGP: 19359DC1
Gelpi Andrea
2016-10-13 07:39:42 UTC
Permalink
Post by Pietro Vassalli
Thank you Aleksander for your quick response.
So is it correct that, in the environment that I've described, I can't
use the calendar provided by Kolab with thunderbird?
Can I use those calendars in some other way?
Pietro in thunderbird I installed a plugin for google's calendars, under
debian it's called ICEOWL.
With old kolab version I used Lightning, I don't know if it's still working.

Then I simply copy the link found in calendar from webmail, and it works.
Post by Pietro Vassalli
How can I "configure iRony to provide CalDAV and CardDAV only if needed"?
Where can I do that?
/usr/share/iRony/config/config.inc.php
What should I disable? And, if I disable something there, do I have to
reconfigure also my smartphones, adding specific calendars via caldav?
Regards,
Pietro
Post by Aleksander Machniak
in my environment I have a Kolab 14 installation on ubuntu 14.04.5 with seafile
as file backend.
I don't have any issue, everything is working very well except for an issue that
I have with my collegues who are using thunderbird as backend (outlook
configured with an Exchange server is properly working).
When they try to insert an event on the calendar via client, the item is
correctly inserted (no error messages), but it can't be found in the web interface.
SeaFile over iRony is not supported, https://git.kolab.org/T1141
--
*Pietro Vassalli*
IT Manager
........................................................
Direct: +41 91 935 9634
Fax: +41 91 935 9320
Mobile: +41 79 706 2168
........................................................*
**Water Line SA*
Via Sceresa 7 – Zona industriale 3
P.O. Box 149
CH-6805 Mezzovico-Vira
Switzerland
........................................................
Voice: +41 91 935 9300
Fax: +41 91 946 2064
Website: _www.waterline.ch <http://www.waterline.ch>_
........................................................
_______________________________________________
users mailing list
https://lists.kolab.org/mailman/listinfo/users
--
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
Pietro Vassalli
2016-10-13 08:13:33 UTC
Permalink
Thank you Andrea,

but, as Aleksanderpointed out, if you configure kolab with seafile in
this way (roundcube/config.inc.php):

$config['fileapi_backend'] = 'seafile';

$config['fileapi_drivers'] = array('seafile');

$config['fileapi_seafile_host'] = 'yourserver.yourdomain';

$config['fileapi_seafile_ssl_verify_peer'] = true;

$config['fileapi_seafile_ssl_verify_host'] = true;

$config['fileapi_seafile_cache'] = '14d';

$config['fileapi_seafile_debug'] = true;

$config['kolab_http_request'] = array(

'ssl_verify_peer' => true,

'ssl_verify_host' => true,

'ssl_cafile' => '/etc/ssl/certs/yourcertificatefile.crt'

);

iRony, in some way gets broken and the links you use from the website
can only show what's on, giving errors.
BTW this workaround solves the problem:

$config['fileapi_backend'] = 'kolab';

$config['fileapi_drivers'] = array('seafile');

$config['fileapi_seafile_host'] = 'yourserver.yourdomain';

$config['fileapi_seafile_ssl_verify_peer'] = true;

$config['fileapi_seafile_ssl_verify_host'] = true;

$config['fileapi_seafile_cache'] = '14d';

$config['fileapi_seafile_debug'] = true;

$config['kolab_http_request'] = array(

'ssl_verify_peer' => true,

'ssl_verify_host' => true,

'ssl_cafile' => '/etc/ssl/certs/yourcertificatefile.crt'

);

Unfortunately you have to manually add the storage for each user.
Cheers,
Pietro
Post by Gelpi Andrea
Post by Pietro Vassalli
Thank you Aleksander for your quick response.
So is it correct that, in the environment that I've described, I can't
use the calendar provided by Kolab with thunderbird?
Can I use those calendars in some other way?
Pietro in thunderbird I installed a plugin for google's calendars, under
debian it's called ICEOWL.
With old kolab version I used Lightning, I don't know if it's still working.
Then I simply copy the link found in calendar from webmail, and it works.
Post by Pietro Vassalli
How can I "configure iRony to provide CalDAV and CardDAV only if needed"?
Where can I do that?
/usr/share/iRony/config/config.inc.php
What should I disable? And, if I disable something there, do I have to
reconfigure also my smartphones, adding specific calendars via caldav?
Regards,
Pietro
Post by Aleksander Machniak
in my environment I have a Kolab 14 installation on ubuntu 14.04.5 with seafile
as file backend.
I don't have any issue, everything is working very well except for an issue that
I have with my collegues who are using thunderbird as backend (outlook
configured with an Exchange server is properly working).
When they try to insert an event on the calendar via client, the item is
correctly inserted (no error messages), but it can't be found in the web interface.
SeaFile over iRony is not supported, https://git.kolab.org/T1141
--
*Pietro Vassalli*
IT Manager
........................................................
Direct: +41 91 935 9634
Fax: +41 91 935 9320
Mobile: +41 79 706 2168
........................................................*
**Water Line SA*
Via Sceresa 7 – Zona industriale 3
P.O. Box 149
CH-6805 Mezzovico-Vira
Switzerland
........................................................
Voice: +41 91 935 9300
Fax: +41 91 946 2064
Website: _www.waterline.ch <http://www.waterline.ch>_
........................................................
_______________________________________________
users mailing list
https://lists.kolab.org/mailman/listinfo/users
--
*Pietro Vassalli*
IT Manager
........................................................

Direct: +41 91 935 9634
Fax: +41 91 935 9320
Mobile: +41 79 706 2168
E-mail: ***@waterline.ch <mailto:***@waterline.ch>_

........................................................*
**Water Line SA*
Via Sceresa 7 – Zona industriale 3
P.O. Box 149
CH-6805 Mezzovico-Vira
Switzerland
........................................................

Voice: +41 91 935 9300
Fax: +41 91 946 2064
E-mail: ***@waterline.ch <mailto:***@waterline.ch>_
Website: _www.waterline.ch <http://www.waterline.ch>_

........................................................
Loading...