[ QBaikal ] [ 0.5.3 ] Lightweight CalDAV+CardDAV server

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
presenceofmind
Know my way around
Posts: 138
Joined: Thu May 26, 2016 3:05 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by presenceofmind » Wed Nov 23, 2016 12:50 pm

hi Stephane,

The baikal team said this is a qnap known issue. Its something related to an outdated library. libxml.

More about it here: https://github.com/fruux/Baikal/issues/515

Are you guys aware of this? Is there a ticket to sort this out?

Regards

User avatar
QNAP_Stephane
Experience counts
Posts: 3141
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by QNAP_Stephane » Wed Nov 23, 2016 2:56 pm

presenceofmind wrote:hi Stephane,

The baikal team said this is a qnap known issue. Its something related to an outdated library. libxml.

More about it here: https://github.com/fruux/Baikal/issues/515

Are you guys aware of this? Is there a ticket to sort this out?

Regards


if it is i need to do a version with Qapache a dependency which is using the latest libxml
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

presenceofmind
Know my way around
Posts: 138
Joined: Thu May 26, 2016 3:05 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by presenceofmind » Thu Nov 24, 2016 1:09 am

They are saying qnap qhttpd libxml is out dated .

"So you have to ensure that the QNAP Qthttpd service uses libxml 2.9.2."

Can you look into how to update this library without any hacks.

Regards

User avatar
QNAP_Stephane
Experience counts
Posts: 3141
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by QNAP_Stephane » Thu Nov 24, 2016 1:18 am

guess it is updated in 4.3.x , but not checked yet

workaround should be run it with Qapache as dependency which 2.9.4 embedded
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

presenceofmind
Know my way around
Posts: 138
Joined: Thu May 26, 2016 3:05 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by presenceofmind » Thu Nov 24, 2016 2:59 am

I prefer to have only one instance of apache on my server.

How long until 4.3 is out? Could you make sure libxml is updated.

meanwhile Is it possible to update libxml on 4.2.2 manually?

User avatar
QNAP_Stephane
Experience counts
Posts: 3141
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by QNAP_Stephane » Thu Nov 24, 2016 9:05 pm

found 5 min and confirmed libxml is updated in 4.3 (from phpinfo)

libxml

libXML support active
libXML Compiled Version 2.9.2
libXML Loaded Version 20902
libXML streams enabled
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

presenceofmind
Know my way around
Posts: 138
Joined: Thu May 26, 2016 3:05 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by presenceofmind » Fri Apr 07, 2017 12:51 pm

hi Stephane,

Just a quick update. Its working with 4.3 firmware.

Cheers

User avatar
QNAP_Stephane
Experience counts
Posts: 3141
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by QNAP_Stephane » Fri Apr 07, 2017 9:40 pm

coool ! good to know :)
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

blowfish
Starting out
Posts: 18
Joined: Fri Apr 21, 2017 9:53 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by blowfish » Fri Apr 21, 2017 2:31 pm

Hello All,

I note the version in QNAP club is 0.4.5. And that presenceofmind notes 0.4.6 workin on 4.3.3.0154 f'ware.

I guess I have a few questions;

1. Is the 0.4.6 version suitable for 64-bit architecture (or so QNAP tell me it is).

2. Can the QNAP Club repo be trusted?

3. Would you personally go Baikal over Radicale?

All assistance will be greatly appreciated.

Viish
New here
Posts: 2
Joined: Wed Aug 17, 2016 8:39 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by Viish » Fri Apr 21, 2017 5:11 pm

Hi,

I've updated my QNAP to 4.3.3.0154,I'm using Baikal 0.4.6 and it works great !

Cheers,

User avatar
QNAP_Stephane
Experience counts
Posts: 3141
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by QNAP_Stephane » Fri Apr 21, 2017 11:55 pm

Thanks a lot for the Info :)
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

blowfish
Starting out
Posts: 18
Joined: Fri Apr 21, 2017 9:53 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by blowfish » Sat Apr 22, 2017 3:56 am

much appreciated. thanks.

blowfish
Starting out
Posts: 18
Joined: Fri Apr 21, 2017 9:53 am

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by blowfish » Sun Apr 30, 2017 12:42 pm

Hoping for either a little further assistance here please. Or even just a prod in the right direction will do.

I have QBaikal installed and can access calendars on it from other devices. Great!

What I haven't been able to figure out yet is how to delegate access to a given calendar. I've tried reading the docs, but get re-directed to the sabre docs site. Which is fair enough as if I've understood correctly, Baikal (and in turn Stephane's QBaikal pkg) is built on sabre yes??

My problem is I do not know whether or even how I should be running these cmds I see on the sabre docs to enable sharing. I was under the impression that this sharing was already built-in to Baikal, in which case I wouldn't expect to have to be entering any cmds like that. But the Baikal admin interface isn't throwing up anything obvious where I would/could/should configure sharing.

E.g. logging into the baikal UI as a user(calendar owner) and not admin, I see a plugins page. Read the links on there and they just talk about certain plugins, not whether they are actually installed or not. Click on them and the links take one to Sabre. So do I need to install these or are they already installed? And IF I need to install them, where do I need to be in the cmd structure in order to execute these cmds.

I guess my larger problem is I still haven't got my head around how the QNAP is set up and handles packages. I have no problem messing around in cmdline world. But my experience is based on RHEL and I can find my way around Ubuntu (based on debian I believe), but I'm just a bit lost to get underneath and understand how whatever linux QTS is using is put together and how the whole pkg system fits in with and operates with the QTS UI.

So, if anyone has a clearer explanation of exactly WHAT is already compiled/configured into QBaikal and whether or not, there are indeed cmds I need to enter into it in order to set up calendar delegation, I would be really grateful to hear it please.

SpiridonLouis
Getting the hang of things
Posts: 52
Joined: Sat Nov 21, 2009 8:56 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by SpiridonLouis » Thu Jun 01, 2017 8:00 pm

Hi,

I tried to install on a 4.3.3 QNAP and I want to use MySQL. But I am getting this error:
Validation error
Baïkal was not able to establish a connexion to the MySQL database as configured.
MySQL says: SQLSTATE[42000]: Syntax error or access violation: 1115 Unknown character set: 'utf8mb4'

I already tried changing utf8 to different settings in phpMyAdmin but the error stays the same. Any ideas?

Thank you in advance!

antonsack
New here
Posts: 2
Joined: Sat Jul 15, 2017 7:41 pm

Re: [ QBaikal ] [ 0.4.6.0 ] Lightweight CalDAV+CardDAV server

Post by antonsack » Sat Jul 15, 2017 8:00 pm

Hi there,

first of all: thanks for this nice server for calendar and contact sync! Your work is highly appreciated!

I managed to sync both contacts and calendar with my android device and the contacts also with my MacBook. But what drives me crazy is the sync MacBook <-> Calendar. I just don't manage to get this to work.

I created the .htaccess file containing:

Code: Select all

<IfModule mod_rewrite.c>
        RewriteEngine On
        <Files ~ "^\.(htaccess|htpasswd)$">
        allow from all
        </Files>
        Redirect permanent /.well-known/carddav /baikal/html/dav.php
        Redirect permanent /.well-known/caldav /baikal/html/dav.php
        order deny,allow
        require all granted
</IfModule>

<IfModule mod_expires.c>
        ExpiresActive Off
</IfModule>


But when creating the calDav account in MacOS Sierra with the following settings...

Account Type: Manual
User Name: MyUser (also has WebDav rights)
Password: XXXX
Server Address: X.X.X.47

...I do get errors in the Mac console I don't understand:

Code: Select all

[com.apple.calendar.accounts.authentication] [Auto-discovery finished with accountInfo (null) and error Error Domain=CoreDAVErrorDomain Code=3 "(null)".]
[com.apple.calendar.accounts.authentication] [Auto-discovery for (null) failed with error Error Domain=CoreDAVErrorDomain Code=3 "(null)".]
[com.apple.calendar.accounts.authentication] [The user didn't tell us to try auto-discovery via HTTP, so we'll return ACErrorInsecureAuthenticationRejected. Accounts.framework will then prompt the user to connect via HTTP.]
[com.apple.calendar.accounts.authentication] [Auto-discovery for MyUser (A09E5C78-6105-4D5F-B746-79440AF2ACF2) completed.
principalURL = (null)
error = Error Domain=com.apple.accounts Code=10001 "(null)" UserInfo={NSUnderlyingError=0x7feb22526660 {Error Domain=CoreDAVErrorDomain Code=3 "(null)"}, Hostname=X.X.X.47}
username = MyUser]
[com.apple.calendar.accounts.authentication] [Calling completion block with account error Error Domain=com.apple.accounts Code=10001 "(null)" UserInfo={NSUnderlyingError=0x7feb22526660 {Error Domain=CoreDAVErrorDomain Code=3 "(null)"}, Hostname=X.X.X.47}.]
[com.apple.calendar.accounts.authentication] [Dequeued <CalAutoDiscoveryOperation: 0x7feb2223ec70>.  In-flight operations for A09E5C78-6105-4D5F-B746-79440AF2ACF2: {(
)}]


It would be great if someone could give me a hint what to change so that the sync works.

Cheers

Post Reply

Return to “Community Apps”