Package Details: baikal 0.9.5-1

Git Clone URL: https://aur.archlinux.org/baikal.git (read-only, click to copy)
Package Base: baikal
Description: Lightweight CalDAV+CardDAV server
Upstream URL: http://sabre.io/baikal/
Licenses: GPL
Submitter: The-Compiler
Maintainer: Martchus
Last Packager: Martchus
Votes: 21
Popularity: 0.018901
First Submitted: 2014-01-07 12:12 (UTC)
Last Updated: 2024-03-20 21:43 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Pinned Comments

Martchus commented on 2020-01-31 13:47 (UTC) (edited on 2024-02-05 14:39 (UTC) by Martchus)

When updating your PHP, have a look whether Baikal still works and checkout the comments here for possible issues. Any hints/patches from your side are welcome of course, too. PHP is known to break things and it broke Baikal in the past. At the bottom of this comment you also find NGINX configuration snippets to use an older PHP version. Using an older PHP version is likely the best for being on the safe side although support for older PHP versions is also dropped from time to time from Baikal's side.


All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There's also a binary repository, also including older PHP versions: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff


head -n 20 /etc/nginx/nginx.conf 
[...]
http {
    include php-handler.conf;
    include phpXX-handler.conf;
cat /etc/nginx/php.conf 
location ~ ^(/baikal.+?\.php)(/.*)?$ {
  try_files $1 =404;
  include fastcgi.conf;
  fastcgi_pass phpXX-handler; # handler registered via phpXX-handler.conf included in nginx.conf
  fastcgi_index index.php;
  fastcgi_param SCRIPT_FILENAME $document_root$1;
  fastcgi_param PATH_INFO $2;
  fastcgi_param HTTPS on;
}
location ~ ^(.+?\.php)(/.*)?$ {
  try_files $1 =404;
  include fastcgi.conf;
  fastcgi_pass php-handler; # handler registered via php-handler.conf included in nginx.conf
  fastcgi_index index.php;
  fastcgi_param SCRIPT_FILENAME $document_root$1;
  fastcgi_param PATH_INFO $2;
  fastcgi_param HTTPS on;
}
cat /etc/nginx/phpXX-handler.conf 
upstream phpXX-handler {
  server unix:/run/phpXX-fpm/php-fpm.sock;
}
cat /etc/nginx/php-handler.conf 
upstream php-handler {
  server unix:/run/php-fpm/php-fpm.sock;
}

(XX is of course supposed to be replaced by the actual PHP version.)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Martchus commented on 2016-03-04 16:01 (UTC)

This doesn't work for me with latest KOrganizer/Akonadi/KDE since the latest update. With KOrganizer I'm always getting a 401 error. However, it continues working with Davdroid (Android app).

The-Compiler commented on 2016-02-16 06:47 (UTC)

v0.3.0 and v0.3.1 are marked as unstable pre-releases, I'll update the package when they're released as stable.

The-Compiler commented on 2016-02-12 06:52 (UTC)

Maybe some other changes from https://github.com/fruux/sabre-dav/pull/752/files or https://github.com/fruux/sabre-vobject/pull/287/files need to be backported. In the long term I'll probably switch to something else (Radicale?) anyways, as Baikal 2 seems overengineered and impossible to package without going insane.

fluke commented on 2016-02-11 18:00 (UTC)

While contacts & calendars are ok, it seems synching tasks still doesn't work with PHP7. I'll debug it further if I find the time, for now I just downgraded php-fpm for this vhost.

Iwmrby commented on 2016-01-14 16:13 (UTC)

@The-Compiler: yes, syncing seems to be fixed now. Thanks a lot!

The-Compiler commented on 2016-01-14 15:19 (UTC)

Indeed it seems like PHP7 decided to change operator precedence, which broke the (older) version of SabreDAV bundled with Baikal... I wrote a patch based on the SabreDAV fix and included it in -6. This makes it work for me again, please let me know if it fixed things for you as well!

Iwmrby commented on 2016-01-14 15:15 (UTC)

@The-Compiler: not really, no. I reloaded the software on my phone( BlackBerry) and still the same issue. Vdirsyncer works on my notebook though. I looked thorough logs and so on and nothing seems broken or I just fail at finding any errors.

The-Compiler commented on 2016-01-14 15:00 (UTC)

@Iwmrby Any update? I've been having trouble as well and today suddenly my client actually showed an error message, which I reported here: https://github.com/netgusto/Baikal/issues/434

Iwmrby commented on 2016-01-10 08:57 (UTC) (edited on 2016-01-10 21:01 (UTC) by Iwmrby)

Baikal doesn't seem to sync anymore since the upgrade to PHP7. Does anybody else have this problem? Is there some config change I missed? Later edit: It might be an issue with my phone.