Package Details: baikal 0.10.1-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-3.0-only
Submitter: The-Compiler
Maintainer: Martchus
Last Packager: Martchus
Votes: 22
Popularity: 0.37
First Submitted: 2014-01-07 12:12 (UTC)
Last Updated: 2024-11-10 13:09 (UTC)

Dependencies (3)

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 20:56 (UTC)

I will try to investigate on this issue a little bit more before filing a bug report. Since it works with Davdroid I suspect that the cause of the error is not on the server side anyways. And yes, the web interface works. The browser plugin for GET requests works, too.

The-Compiler commented on 2016-03-04 16:37 (UTC)

Hmm, that's odd. Visiting the webinterface works? I suggest you open an issue in their issue tracker, as I suspect this is an upstream issue: https://github.com/fruux/Baikal/issues Feel free to mention me (@The-Compiler) though, so I get notifications.

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