• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Onyx, Horde (Kronolith) and WebDAV

Boas Simon

Basic Pleskian
Hi,

I have an issue with my horde installation
  • Plesk Onyx Version 17.0.17 Update #13
  • Horde 5.2.11 (comig with plesk, so psa-horde)
I try to connect Tunderbird lightning via WebDAV to the calendar, but nothing happens. Thunderbird gives no error messages but no calendar entries are synced.
Horde's logfile (/var/log/psa-horde/psa-horde.log) says:
[30-Jan-2017 12:56:26 Europe/Berlin] PHP Fatal error: Call to a member function toHash() on a non-object in /usr/share/psa-horde/kronolith/lib/Application.php on line 690
2017-01-30T12:56:26+01:00 EMERG: HORDE [kronolith] Call to a member function toHash() on a non-object [pid 3237 on line 690 of "/usr/share/psa-horde/kronolith/lib/Application.php"]

line 960 in Application.php is a "->toHash" call in a "public function davGetCollections($user)". I'm not a programmer, so i don't understand the code. Here is the function:

public function davGetCollections($user)
{
global $calendar_manager, $injector, $registry;

$hordeUser = $registry->convertUsername($user, true);
$shares = $injector->getInstance('Kronolith_Shares')
->listShares($hordeUser);
$dav = $injector->getInstance('Horde_Dav_Storage');
$calendars = array();
foreach ($shares as $id => $share) {
if ($user == '-system-' && $share->get('owner')) {
continue;
}
$calendar = $calendar_manager
->getEntry(Kronolith::ALL_CALENDARS, $id)
->toHash();
try {
$id = $dav->getExternalCollectionId($id, 'calendar');
} catch (Horde_Dav_Exception $e) {
}
$calendars[] = array(
'id' => $id,
'uri' => $id,
'{' . CalDAV\Plugin::NS_CALENDARSERVER . '}shared-url' =>
$calendar['caldav'],
'principaluri' => 'principals/' . $user,
'{http://sabredav.org/ns}owner-principal' =>
'principals/'
. ($share->get('owner')
? $registry->convertUsername($share->get('owner'), false)
: '-system-'
),
'{DAV:}displayname' => Kronolith::getLabel($share),
'{' . CalDAV\Plugin::NS_CALDAV . '}calendar-description' =>
$share->get('desc'),
'{http://apple.com/ns/ical/}calendar-color' =>
$share->get('color') . 'ff',
'{' . CalDAV\Plugin::NS_CALDAV . '}supported-calendar-component-set' => new CalDAV\Property\SupportedCalendarComponentSet(array('VEVENT')),
'{http://sabredav.org/ns}read-only' => !$share->hasPermission($hordeUser, Horde_Perms::EDIT),
);
}
return $calendars;


What's wrong?
Thanks,
Boas
 
Hi IgorG,
problem solved - adding "calendar.network.multirealm=true" to Thunderbird config is a solution.

Thanks again!
Boas
 
Back
Top