[ Baikal ] [ 0.9.2.0 ] Lightweight CalDAV+CardDAV server

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
Dimaxa
New here
Posts: 9
Joined: Tue Jul 19, 2011 6:26 pm

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

Post by Dimaxa »

Thank you! Waiting for your reply.
Please tell me if I can help you
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Dimaxa wrote:Thank you! Waiting for your reply.
Please tell me if I can help you

ARMv5 must continue to use the version http://www.positiv-it.fr/QNAP/APP/QBaik ... 2.qpkg.zip
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Dimaxa
New here
Posts: 9
Joined: Tue Jul 19, 2011 6:26 pm

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

Post by Dimaxa »

QNAP_Stephane wrote:ARMv5 must continue to use the version http://www.positiv-it.fr/QNAP/APP/QBaik ... 2.qpkg.zip
Works like charm!! Thank you very much!

Does anyone know if it possible to set Baikal for one-way syncronization? I want to connect few user to addressbook but I donn't want them add/delete/update the addressbook.
Magellan498
Starting out
Posts: 23
Joined: Wed Apr 27, 2011 1:01 am

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

Post by Magellan498 »

So, I've done a little bit of troubleshooting on my own to no avail. I've installed 0.2.7 on my TS-269 Pro and I can get to the administration page on my LAN. I forwarded the ports 31000 and 31443 and as far as I can tell, they're definitely open according to all the port scan sites I've tried. On LAN, I can hit <serverIP>:31000 and get a "Baikal is running allright." message. No dice through WAN. Any ideas of next steps here???

Here are some logs also:

[Wed Dec 30 15:32:32 2015] [notice] FastCGI: process manager initialized (pid 29429)
[Wed Dec 30 15:32:32 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1p mod_fastcgi/2.4.7 configured -- resuming normal operations
[Wed Dec 30 15:34:00 2015] [notice] caught SIGTERM, shutting down
[Wed Dec 30 15:34:00 2015] [alert] (2)No such file or directory: FastCGI: read() from pipe failed (0)
[Wed Dec 30 15:34:00 2015] [alert] (2)No such file or directory: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Wed Dec 30 17:30:37 2015] [notice] FastCGI: process manager initialized (pid 19749)
[Wed Dec 30 17:30:37 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1p mod_fastcgi/2.4.7 configured -- resuming normal operations
[Wed Dec 30 17:34:58 2015] [notice] caught SIGTERM, shutting down
[Wed Dec 30 17:34:58 2015] [alert] (2)No such file or directory: FastCGI: read() from pipe failed (0)
[Wed Dec 30 17:34:58 2015] [alert] (2)No such file or directory: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Wed Dec 30 17:35:03 2015] [notice] FastCGI: process manager initialized (pid 13895)
[Wed Dec 30 17:35:03 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1p mod_fastcgi/2.4.7 configured -- resuming normal operations
[Wed Dec 30 18:22:16 2015] [notice] caught SIGTERM, shutting down
[Wed Dec 30 18:22:17 2015] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Wed Dec 30 18:22:17 2015] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Wed Dec 30 18:31:43 2015] [notice] FastCGI: process manager initialized (pid 17727)
[Wed Dec 30 18:31:43 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1p mod_fastcgi/2.4.7 configured -- resuming normal operations
[Wed Dec 30 22:06:07 2015] [notice] caught SIGTERM, shutting down
[Wed Dec 30 22:06:07 2015] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Wed Dec 30 22:06:07 2015] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Wed Dec 30 22:37:53 2015] [notice] FastCGI: process manager initialized (pid 20512)
[Wed Dec 30 22:37:53 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1p mod_fastcgi/2.4.7 configured -- resuming normal operations
[Thu Dec 31 03:41:37 2015] [notice] FastCGI: process manager initialized (pid 13579)
[Thu Dec 31 03:41:37 2015] [warn] pid file /share/CACHEDEV1_DATA/.qpkg/QBaikal/QBaikal.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 31 03:41:37 2015] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1p mod_fastcgi/2.4.7 configured -- resuming normal operations
superwallah
New here
Posts: 2
Joined: Tue Feb 16, 2016 3:18 pm

[ QBaikal ] [ 0.2.7.0.3 ] Integrate "permissions.php"

Post by superwallah »

Hi,

to allow using one calendar by multiple users or expose a calendar on the web, mrbaseman has written a small php script: https://github.com/mrbaseman/calendar-tools
To avoid the hassle with the additional digest authentication which is handle on QNAP http server a bit differently, it would be nice if this script was already included in the QBaikal bundle.

Can you include this, adapting the appropriate access rights in the http server?

Thank you very much,

Superwallah
superwallah
New here
Posts: 2
Joined: Tue Feb 16, 2016 3:18 pm

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

Post by superwallah »

Hi,

I am still trying to get an authentication accepted when accessing the "permissions.php" by mrbaseman. In a standard Baikal installation, the system's admin password should be sufficient to be taken over by the variable PHP_AUTH_USER. But it seems that the QBaikal variante is not receiving this at all, but the Apache always answering the Basic Authentication with 401 Not Authorized.

Any idea, what is different between a standard Baikal Apache installation and your QBaikal package?

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

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

Post by QNAP_Stephane »

just published the 0.3.5 from github

no more custom port
no more needed to restart qpkg
works on all plateform

not sure it support update
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

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

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

Post by QNAP_Stephane »

Exact
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
Metria
Getting the hang of things
Posts: 92
Joined: Thu May 28, 2015 2:38 am

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

Post by Metria »

Loaded QBaikal_0.3.5.0.qpkg onto my TVS-863+ and although it says running, unable to access it in anyway. The open button on the apps page does tries to take me to http://192.168.1.130/baikal/admin, (page not found) . Could you give any instructions? Going to http://192.168.1.130:31000/admin tells me connection refused. Thanks in advance!
jumihehi
New here
Posts: 7
Joined: Tue Dec 23, 2014 2:18 am

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

Post by jumihehi »

Hello,

i run into a strange error connecting to my addressbook via OSX Contacts.app and thunderbird too, using the sogo connector…

Log from apache:

Code: Select all

"PROPFIND /dav.php/addressbooks/karl/ HTTP/1.1" 400 299 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 Lightning/4.0.6"
"PROPFIND /dav.php/adressbooks/karl/default HTTP/1.1" 400 299 "-" "Mac OS X/10.11.3 (15D21) AddressBook/1679.4"
If i open the page http://myserver:10000/.well-known/carddav, i get the login, which works and im redirected to

Code: Select all

http://myserver:10000/dav.php/addressbooks/karl/b345-1234-bla/
apache log shows

Code: Select all

"GET /dav.php/addressbooks/karl/b345-1234-bla/ HTTP/1.1" 200 19125 "http://myserver:10000/dav.php/addressbooks/karl/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0"
and i see the vcards.

My virtualhost config:

Code: Select all

<VirtualHost *:10000>
	ServerName myserver
	DocumentRoot "/share/Web/baikal"

	CustomLog logs/baikal-access.log combined
	ErrorLog logs/baikal-error.log

	RewriteEngine On
	RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
        RewriteRule /.well-known/carddav /dav.php [R,L]
        RewriteRule /.well-known/caldav /dav.php [R,L]

    <Directory "/share/Web/baikal">
	Options None
	Options +FollowSymlinks
	AllowOverride All
    </Directory>

</VirtualHost>
Any hints??
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

updated to 0.4.4
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
halol
Getting the hang of things
Posts: 96
Joined: Thu Aug 09, 2012 9:43 pm

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

Post by halol »

jumihehi, did you manage to fix your problem?

I have what appears to be exactly the same issue (I also get the error 400 in the Apache logs). And when trying to sync using DAVdroid, I get a No CalDAV/CardDAV service is available at this location, despite the fact that the URL is working fine in the browser.

I tried with 0.4.4, 0.4.3, same issue. Only 0.2.7 is working for me...

By the way, I am on TVS-663 with QTS 4.2.
TVS-663
WeT-Klb
Starting out
Posts: 26
Joined: Fri Apr 29, 2016 2:18 am

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

Post by WeT-Klb »

Hi,

i found out something looking weired for me. I´m trying to use Qbaikal 0.4.4 on a TS-251. In the "web"-Folder there will be created a Folder "baikal" with subfolders "admin", "html" and "res".
Inside subfolder "html" i get exactly the same files. When switching to the "sub-subfolder html" there´s a copy again and and so on.
To make it clear i add a Picture. Is this a behavious to be expected or just a mistake?
Verzeichnisstruktur.jpg
Never the less i can´t manage to make it work. I can Access the admin page through http://192.168.1.241:90/baikal/admin and i can Access the calendar http://192.168.1.241:90/baikal/cal.php/ ... er/default - but only through web browser.
Until now i can´t manage to contact the Server with sunbird.

C U
Werner
You do not have the required permissions to view the files attached to this post.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

just updated to 4.5.0 ;)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
WeT-Klb
Starting out
Posts: 26
Joined: Fri Apr 29, 2016 2:18 am

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

Post by WeT-Klb »

I installed the new 0.4.5.0-package - but still can´t manage to make it work.
Can anybody try to go step-by-step with me?

I can access the Server through LAN and Internet by browser without any Problem - only i can´t manage to connect with Sunbird or Android phone.

If it´s helpful i can offer a Teamviewer Meeting.

C U
Werner
Post Reply

Return to “Community Apps”