[ 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.
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 » Fri Oct 23, 2015 2:05 pm

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

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

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

Post by QNAP_Stephane » Sat Oct 24, 2015 7:06 pm

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/QBaikal_0.2.7.0.2.qpkg.zip
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

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 » Sun Oct 25, 2015 5:19 pm

QNAP_Stephane wrote:ARMv5 must continue to use the version http://www.positiv-it.fr/QNAP/APP/QBaikal_0.2.7.0.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 » Thu Dec 31, 2015 11:45 pm

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 » Tue Feb 16, 2016 10:43 pm

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 » Mon Feb 22, 2016 5:52 am

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.

Bugme7
Getting the hang of things
Posts: 87
Joined: Wed Aug 05, 2015 2:58 pm

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

Post by Bugme7 » Fri Feb 26, 2016 10:02 pm

What do I have to do, to use Baikal with my own Certifikate? Just creating my certifikate and replace the server.key and server.crt in the Baikal folder?

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

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

Post by QNAP_Stephane » Fri Feb 26, 2016 10:30 pm

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
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

Bugme7
Getting the hang of things
Posts: 87
Joined: Wed Aug 05, 2015 2:58 pm

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

Post by Bugme7 » Fri Feb 26, 2016 10:51 pm

Thanks, it works!
But my question remains :P The wiki is not helpful either^^

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

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

Post by QNAP_Stephane » Fri Feb 26, 2016 10:55 pm

Bugme7 wrote:Thanks, it works!
But my question remains :P The wiki is not helpful either^^



it should use ones set in QTS, i guess
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

Bugme7
Getting the hang of things
Posts: 87
Joined: Wed Aug 05, 2015 2:58 pm

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

Post by Bugme7 » Sat Feb 27, 2016 7:39 am

The on off switch does not work and deleting the app seems not to disable any Database writings either, my HDD Standby is now broken -.-

grb43
Starting out
Posts: 21
Joined: Fri Jul 25, 2014 2:39 pm

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

Post by grb43 » Sat Feb 27, 2016 1:29 pm

What do I have to do, to use Baikal with my own Certifikate? Just creating my certifikate and replace the server.key and server.crt in the Baikal folder?


I'm using certificates signed by Lets Encrypt.

I found it more convenient to modify apache-ssl.conf (in the QBaikal directory) to point to my new certificates because I wanted to keep them separate from the QBaikal installation. The settings I used are shown below but you would obviously adjust these to wherever you keep your new certificates. Note that Apache/QBaikal actually requires 3 certificates.

    SSLCertificateFile "/opt/etc/ssl/certs/cert.pem"
    SSLCertificateKeyFile "/opt/etc/ssl/private/privkey.pem"
    SSLCertificateChainFile "/opt/etc/ssl/certs/chain.pem"

Bugme7
Getting the hang of things
Posts: 87
Joined: Wed Aug 05, 2015 2:58 pm

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

Post by Bugme7 » Sat Feb 27, 2016 4:27 pm

It seems there is no apache-ssl.conf in the new version anymore :-( But thanks for the info, maybe the old version is the better one ;-)

grb43
Starting out
Posts: 21
Joined: Fri Jul 25, 2014 2:39 pm

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

Post by grb43 » Sun Feb 28, 2016 8:19 am

It seems there is no apache-ssl.conf in the new version anymore


I haven't had time to upgrade to 0.3.5 yet, but noticed this version doesn't use a separate port. I presume this means it no longer uses a separate instance of Apache, but relies on the same instance that provides the general web interface and uses the standard certs.

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

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

Post by QNAP_Stephane » Sun Feb 28, 2016 3:30 pm

Exact
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

Post Reply

Return to “Community Apps”