• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Was anybody able to setup Kolab 16 under Plesk 12.5 on Centos 7???

saschadd

New Pleskian
Hi there,

i was trying to setup Kolab 16 under Plesk 12.5 on Centos 7 but without success.
The install went fine but setup was not successful because of the not available root mysql user.
I couldnt find a way to get it working but maybe someone else already has?!
Thanks for any thoughts or ideas.

Greetings,
sascha
 
Try to use admin account with corresponding password instead of root.
 
Try to use admin account with corresponding password instead of root.

Tried that but you cant give any other name than root in the setup process.
Even tried the password that cat /etc/psa/.psa.shadow gives without success.
 
Plesk renames Mysql 'root' account to 'admin' when the Plesk is installed. So, there is no root mysql login on Plesk server.
I suppose that you need to modify some kind of Kolaba initialization files and change default root mysql user to admin.
Unfortunately, I'm absolutely not familiar with Kolaba and can't say exactly where it should be changed.
Try to find it by yourself or ask Kolaba support.
 
You are always able to create a "root" user with desired rights over the phpMyAdmin - interface ( "user accounts" ):

Home > Tools & Settings > Database Servers

Screen_Database_phpMyAdmin_as_admin_001.jpg
 
Last edited by a moderator:
You are always able to create a "root" user with desired rights over the phpMyAdmin - interface ( "user accounts" ):

Home > Tools & Settings > Database Servers

View attachment 11080

This helped me a lot. I dont know why my first try didnt work but now i was able to install and setup.
But now i need to install pecl_http version 2 for php-fpm 5.6.21 as i get a failure message "class 'http_request2' not found"

Tried
yum search plesk-php devel
yum install make plesk-php56-devel gcc glibc-devel libmemcached-devel zlib-devel
/opt/plesk/php/5.6/bin/pecl install pecl_http

but this last one gives me the following output

pecl/pecl_http requires PHP (version >= 7.0.0), installed version is 5.6.21
pecl/raphf requires PHP (version >= 7.0.0), installed version is 5.6.21
pecl/propro requires PHP (version >= 7.0.0), installed version is 5.6.21
No valid packages found
install failed

How could i install pecl_http for PHP 5.6.21?!
 
Last edited:
Hi saschadd,

installing with "pecl" ( without any version-nr. for the package ), will always lead to a try to install the latest package. Please have a look at the corresponding package informations:

https://pecl.php.net/package/pecl_http/3.0.1 ( => "PHP Version: PHP 7.0.0 or newer" )
https://pecl.php.net/package/pecl_http/2.5.6 ( => "PHP Version: PHP version 7.0.0 or older" )

If you use a PHP version lower than 7.0.0, pls. use the command:

/opt/plesk/php/5.6/bin/pecl install channel://pecl.php.net/pecl_http-2.5.6
 
Last edited by a moderator:
Thanks again Uwe,
i managed to install version 2.5.5 this way.
But now when i try to install 2.5.6 it throws the following error message


PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/5.6/lib64/php/modules/http.so' - /opt/plesk/php/5.6/lib64/php/modules/http.so: undefined symbol: php_resource_factory_handle_ctor in Unknown on line 0
parsePackageName(): "2.5.6" is neither a valid version nor a valid state in "pecl_http-2.5.6"
invalid package name/package file "pecl_http-2.5.6"
install failed

do i have to remove it first?

Anyway, this didnt solve my problem yet as the "class 'http_request2' not found" still exists. :(
Do i have to activate it somewhere else than under Plesk?
 
Last edited:
Hi saschadd,

pls. keep in mind, to update/upgrade already installed packages with the option:

/opt/plesk/php/X.X/bin/pecl upgrade [options] <package>
(where X.X is always the used PHP - version )

Pls. make sure to learn as well some additional commands, like for example:

/opt/plesk/php/X.X/bin/pecl help
/opt/plesk/php/X.X/bin/pecl help commandname
/opt/plesk/php/X.X/bin/pecl info packagename
/opt/plesk/php/X.X/bin/pecl remote-info packagename
/opt/plesk/php/X.X/bin/pecl uninstall packagename

!! Please always inspect the output of your pecl - command, because this will show infos, errors, mistakes and failures !!!


Now you learned something about "pecl", but please, remember as well "pear", because I assume, that the output of the command:

/opt/plesk/php/5.6/bin/pear remote-info http_request2

will be:
Code:
...
Latest      2.3.0
Installed   - no -
...

Correct?
Well, if I assume correct, then pls. install "http_request2":

/opt/plesk/php/X.X/bin/pear install HTTP_Request2



 
Thank you once again Uwe for the input.
That helped me a lot and i learned pretty much.

Now i have another problem ;)
I need to get mod_rewrite running with php-fpm and apache.

I think this

<IfModule mod_rewrite.c>
RewriteEngine on
# NOTE: This needs to point to the base uri of your installation.
RewriteBase /kolab-webadmin/

# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^api/(.*)\.(.*)$ api/index.php?service=$1&method=$2 [L,QSA]

</IfModule>

is not working with php-fpm and apache.
 
Hi saschadd,

pls. keep in mind, that IF you use nginx as well, then you need additional nginx directives, to reach your goal.
Pls. be so kind to always point out, WHAT you changed ( and WHY ) and more important: "WHERE", so that investigations can be done.

If you followed a ( installation ) guide, or tutorial, pls. name as well the source with the URL, so that people willing to help you, don't have to search around the web.



In addition, it would really help, if you would point out in your posts, that "this" or "that" is already solved, because you have several questions / issues / problems and your thread is getting confusing and disordered, because of your different posts.
 
Hi Uwe,
you are right, that situation is getting more complex than i thought and i think i will put together an howto for kolab 16 on plesk when everyting is working.

I try to put together some more information in short:

I am on an Virtual Server on Centos 7.
After install of Centos 7 minimal i installed MariaDB 10.1.14.
After that i installed Plesk 12.5 with standard selection but removed Bind, Odin Antivirus, Spamassassin
Under Plesk i configured my testing domain for the kolab install kolab.domain.de and installed an lets encrypt certificate with the Let's Encrypt plugin.
After that i installed Kolab 16 following the guide https://docs.kolab.org/installation-guide/centos-7.html
Because the install showed an error regarding missing mysqlnd i did

yum shell
> remove php-mysql
> install php-mysqlnd
> run
> exit

after that i installed it with yum install kolab

Afterwards i created a mysql root user following your tip in this thread and then did

setup-kolab

This worked and i could setup Kolab.

But then i noticed that the web gui is not accessible and i checked the logfiles.
The *.conf files are stored under /etc/httpd/conf.d which is correct, but because plesk doesnt load those files i put the content of those files in plesk under "additional instruction for http".
Please see additional directives for plesk.txt

Then i followed this thread https://docs.kolab.org/howtos/nginx-webserver.html and created the php-fpm-pools as stated under More Complex Installation > Preperation and PHP-FPM > Create the PHP FPM Pools

but i added
listen.owner = root
listen.group = psaserv
listen.mode = 0660
php_value[include_path] = ".:/usr/share/php:/opt/plesk/php/5.6/share/pear"

This might be the point where i mixed things up but i wanted to stay with apache and use the PHP-FPM-Pools.

Afterwards i noticed that the
pecl_http is not working and installed it with your help.

Because pecl_http needs raphf.so and propro.so loaded before itself i removed the
/opt/plesk/php/5.6/etc/php.d/raphf.ini
/opt/plesk/php/5.6/etc/php.d/propro.ini
/opt/plesk/php/5.6/etc/php.d/http.ini

and added the following int the php.ini
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

extension=raphf.so
extension=propro.so
extension=http.so


Afterwards i noticed that HTTP_Request2 is not working and installed it with your help.

Now the web gui is opening but when i try to login it is not working an the logfile says
PHP Error: Login failed. Unable to decode response (POST)



I hope this information helps to better understand what i've done so far.
If i forgot something that might be important please let me know.
 

Attachments

  • addional directives for http.txt
    5.4 KB · Views: 2
Hi saschadd,

But then i noticed that the web gui is not accessible and i checked the logfiles.
The *.conf files are stored under /etc/httpd/conf.d which is correct, but because plesk doesnt load those files i put the content of those files in plesk under "additional instruction for http".
Please see additional directives for plesk.txt

Sorry, but your template "addional directives for http.txt" is misleading and wrong, compaired to your Plesk installation. Pls. see as well your existing *.conf files at "/var/www/vhosts/system/kolab.domain.de/conf".


First of all, pls. note, that your domain - specific socket is located at "/var/www/vhosts/system/kolab.domain.de/php-fpm.sock". Your definition should look like this:

unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/domain.de/kolab.domain.de

No "///", or even more slashes, as used in your template!!!



Second:
but i added
listen.owner = root
listen.group = psaserv
listen.mode = 0660
php_value[include_path] = ".:/usr/share/php:/opt/plesk/php/5.6/share/pear"
Eeeehm.... WHY? Your domain specific PHP-FPM - configuration file ( which is located at "/opt/plesk/php/X.X/etc/php-fpm.d/kolab.domain.de.conf" , while "X.X" is the Plesk-PHP version you use! ), is configured with the correct owner and group rights, which is
...
user = YOURDOMAIN_SYSTEM-USER
group = psacln

listen = php-fpm.sock
listen.owner = root
listen.group = psaserv
listen.mode = 0660
...
... and will have the exact include and opendir - paths as configured over Plesk. Pls. don't play around with it, if you are unsure how to modify the configuration.



Third - and this is probably the most important part of my answer - pls. be aware, that you use apache AND nginx at the moment. If you use additional apache directives, you HAVE TO ADD additional nginx directives as well. Pls. use the free Plesk extension "htaccess to nginx", a converter for apache rewrite rules and/or add the correct directives over your Plesk Control Panel ( => "Home > Subscriptions > domain.de > Websites & Domains > Apache & nginx Settings for kolab.domain.de" => "Additional Apache directives" and "Additional nginx directives" )


Additional external links, if you don't want to use the free Plesk "htaccess to nginx" extension:

http://winginx.com/en/htaccess ( external link, pls. inform me per private conversation, if the link goes dead, so that I can provide working link )

https://timmehosting.de/htaccess-converter ( external link, pls. inform me per private conversation, if the link goes dead, so that I can provide working link )
 
Last edited by a moderator:
Hi saschadd,



Sorry, but your template "addional directives for http.txt" is misleading and wrong, compaired to your Plesk installation. Pls. see as well your existing *.conf files at "/var/www/vhosts/system/kolab.domain.de/conf".


First of all, pls. note, that your domain - specific socket is located at "/var/www/vhosts/system/kolab.domain.de/php-fpm.sock". Your definition should look like this:

unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock|fcgi://127.0.0.1:9000/var/www/vhosts/domain.de/kolab.domain.de

No "///", or even more slashes, as used in your template!!!


Second:

Eeeehm.... WHY? Your domain specific PHP-FPM - configuration file ( which is located at "/opt/plesk/php/X.X/etc/php-fpm.d/kolab.domain.de.conf" , while "X.X" is the Plesk-PHP version you use! ), is configured with the correct owner and group rights, which is

... and will have the exact include and opendir - paths as configured over Plesk. Pls. don't play around with it, if you are unsure how to modify the configuration.

Okay, i will have a another look at my configuration.

Regarding the newly created .sock configurations:
I know that there is a domain-specific socket but i wanted to give any alias the recommended php-configuration and created those extra sockets.
If there is a better way for Plesk to do by using the already created socket i would be happy to do but havent found the right information yet.
I added the /usr/share/php path to get Smarty loaded.
The many slashes are actually added by Plesk when i click on save, dont know why.

Third - and this is probably the most important part of my answer - pls. be aware, that you use apache AND nginx at the moment. If you use additional apache directives, you HAVE TO ADD additional nginx directives as well. Pls. use the free Plesk extension "htaccess to nginx", a converter for apache rewrite rules and/or add the correct directives over your Plesk Control Panel ( => "Home > Subscriptions > domain.de > Websites & Domains > Apache & nginx Settings for kolab.domain.de" => "Additional Apache directives" and "Additional nginx directives" )


Additional external links, if you don't want to use the free Plesk "htaccess to nginx" extension:

http://winginx.com/en/htaccess ( external link, pls. inform me per private conversation, if the link goes dead, so that I can provide working link )

https://timmehosting.de/htaccess-converter ( external link, pls. inform me per private conversation, if the link goes dead, so that I can provide working link )

As the apache and nginx configuration for this seems to make things even more complicated, is there a way to have this subdomain running only with apache OR nginx?
 
Hi saschadd,

I hope you don't mind my opinion, but there's absolutely nothing "complicated" with nginx directives, it's absolutely the same as for apache directives, only in a different way - and with the converter(s), it's pretty easy, because they will do the "work" for you... pls. try it out, before judging.

If there are extra slashes added by Plesk, pls. consider to edit the three configuration files ( apache: vhost.conf + vhost_ssl.conf / nginx: vhost_nginx.conf ... all located at: "/var/www/vhosts/system/domain.com/conf" or "/var/www/vhosts/system/subdomain.domain.com/conf" ) manually.
 
Hi Uwe
i dont mind at all. I am always happy to hear different opinions because when you are always doing things as you did you might miss some better ways to do it. ;)
Well then i will try with apache and nginx configuration.
But just to be sure, is it just not possible to have only one (sub)domain running with apache OR nginx and leave the others untouched?

If i understand the standard apache + nginx configuration right nginx works as a proxy for static files (i have activated "intelligent static file processing" and deactivated "process static files directly through nginx". what files are included in the "intelligent" part? Couldnt find out yet.).
Therefore it should not be needed to add the same mod rewrite rules for php files to nginx as php files are not static.
Actually they have to be modified to forward to apache, right?
 
Hi saschadd,

pls. be informed about the following procedure, when you use apache+nginx:

Plesk will change the apache ports 80 / 443 to 7080 / 7081 ( pls. see at least your configuration files, to see that ). Nginx will be in front of your apache, if you like it, or not, when someone access your domain(s)/subdomain(s). ;)
Knowing this fact, do you still think, that "not all" apache directives have to be setup in the nginx configuration as well?

No, you can't have apache listening to all 4 ports for one domain/subdomain only, while the rest of your domain(s)/subdomain(s) are configured like already described.
 
Last edited by a moderator:
Well i tried the other approach without messing around on already configured stuff.
I use the already configured php-fpm.sock and put the php changes i need into Plesk php configuration.

The following part is working with apache and php-fpm

Code:
Alias /kolab-webadmin /usr/share/kolab-webadmin/public_html/

<Directory "/usr/share/kolab-webadmin/public_html/">
   <IfModule mod_proxy_fcgi.c>
     <Files ~ (\.php$)>
       SetHandler proxy:unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock|fcgi://127.0.0.1:9000
     </Files>
   </IfModule>
   <IfModule mod_rewrite.c>
     RewriteEngine on
     # NOTE: This needs to point to the base uri of your installation.
     RewriteBase /kolab-webadmin/

     # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_URI} !=/favicon.ico
     RewriteRule ^api/(.*)\.(.*)$ api/index.php?service=$1&method=$2 [L,QSA]

   </IfModule>
   AddDefaultCharset  UTF-8
   #php_value error_reporting  6135

   DirectoryIndex /index.php index.php
   AllowOverride All

   <ifModule mod_authz_core.c>
   Require all granted
   </ifModule>
   <ifModule !mod_authz_core.c>
   Order Allow,Deny
   Allow from All
   </ifModule>

</Directory>

But my "translation" for nginx is not fully working as it should.
The main parts are working but the following is not working
1. it works only with fastcgi_param SCRIPT_FILENAME $request_filename and is not working with fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
2. the rewrite part is not working as intended cause it gives me

POST /kolab-webadmin/api/system.authenticate HTTP/1.1" 500 186 "-" "HTTP_Request2/2.3.0 (http://pear.php.net/package/http_request2) PHP/5.6.21
GET /favicon.ico HTTP/1.1" 304 0 "-"

caused by this

FastCGI sent in stderr: "PHP message: PHP Fatal error: PHP Error: Login failed. Unable to decode response (POST)

Code:
#force https redirect
if ($scheme !~* ^https ){
   rewrite ^ https://$server_name$request_uri? permanent;
}
#kolab-webadmin
location /kolab-webadmin {
   alias /usr/share/kolab-webadmin/public_html;
   try_files $uri $uri/ @kolab-wapapi;

   # enable php
   location ~ .php$ {
     include /etc/nginx/fastcgi.conf;
     fastcgi_split_path_info ^(.+\.php)(.*)$;
     fastcgi_index  index.php;
     # fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
     fastcgi_param SCRIPT_FILENAME $request_filename;
     fastcgi_pass "unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock";
     fastcgi_pass_header X-Session-Token;

     if (!-f $request_filename){
       set $rule_0 1$rule_0;
     }
     if (!-d $request_filename){
       set $rule_0 2$rule_0;
     }
     if ($uri !~ "/favicon.ico"){
       set $rule_0 3$rule_0;
     }
     if ($rule_0 = "321"){
       rewrite ^/api/(.*)\.(.*)$ /api/index.php?service=$1&method=$2 last;
     }
   }
   location ~ /$ {
     index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml;
   }

}
 
Hi saschadd,

POST /kolab-webadmin/api/system.authenticate
According to the Kolab documentation, you should use ( already changed the suggestions, according to your used PHP socket for your domain! ) :

Code:
   #force https redirect
   if ($scheme !~* ^https ){
      rewrite ^ https://$http_host$request_uri permanent; # enforce https redirect
   }
    ##
    ## Chwala
    ##
    location /chwala {
        index index.php;
        alias /usr/share/chwala/public_html;

        client_max_body_size 30M; # set maximum upload size

        # enable php
        location ~ .php$ {
            include fastcgi_params;
            fastcgi_param HTTPS on;
            fastcgi_pass unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock;
            fastcgi_param SCRIPT_FILENAME $request_filename;
            # Without this, PHPSESSION is replaced by webadmin-api X-Session-Token
            fastcgi_param PHP_VALUE "session.auto_start=0
                session.use_cookies=0";
            fastcgi_pass_header X-Session-Token;
        }
    }

    ##
    ## iRony
    ##
    location /iRony {
        alias  /usr/share/iRony/public_html/index.php;

        client_max_body_size 30M; # set maximum upload size

        # If Nginx was built with http_dav_module:
        dav_methods  PUT DELETE MKCOL COPY MOVE;
        # Required Nginx to be built with nginx-dav-ext-module:
        # dav_ext_methods PROPFIND OPTIONS;

        include fastcgi_params;
        # fastcgi_param DAVBROWSER 1;
        fastcgi_param HTTPS on;
        fastcgi_index index.php;
        fastcgi_pass unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $request_filename;
    }
    location ~* /.well-known/(cal|card)dav {
        rewrite ^ /iRony/ permanent;
    }

    ##
    ## Kolab Webclient
    ##
    location / {
        index index.php;
        root /usr/share/roundcubemail/public_html;

        # support for csrf token
        rewrite "^/[a-zA-Z0-9]{16}/(.*)" /$1 break;

        # maximum upload size for mail attachments
        client_max_body_size 30M;

        # enable php
        location ~ .php$ {
            include fastcgi_params;
            fastcgi_param HTTPS on;
            fastcgi_split_path_info ^(.+.php)(/.*)$;
            fastcgi_pass unix:/var/run/php-fpm/kolab.example.org_roundcubemail.sock;
            fastcgi_param SCRIPT_FILENAME $request_filename;
        }
    }

    ##
    ## Kolab Web Administration Panel (WAP) and API
    ##
    location /kolab-webadmin {
        index index.php;
        alias /usr/share/kolab-webadmin/public_html;
        try_files $uri $uri/ @kolab-wapapi;

        # enable php
        location ~ .php$ {
            include fastcgi_params;
            fastcgi_param HTTPS on;
            fastcgi_pass unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock;
            fastcgi_param SCRIPT_FILENAME $request_filename;
            # Without this, PHPSESSION is replaced by webadmin-api X-Session-Token
            fastcgi_param PHP_VALUE "session.auto_start=0
                session.use_cookies=0";
            fastcgi_pass_header X-Session-Token;
        }
    }
    # kolab-webadmin api
    location @kolab-wapapi {
        rewrite ^/kolab-webadmin/api/([^.]*).([^.]*)$ /kolab-webadmin/api/index.php?service=$1&method=$2;
    }

    ##
    ## Kolab syncroton ActiveSync
    ##
    location /Microsoft-Server-ActiveSync {
        alias  /usr/share/kolab-syncroton/index.php;

        client_max_body_size 30M; # maximum upload size for mail attachments

        include fastcgi_params;
        fastcgi_param HTTPS on;
        fastcgi_read_timeout 1200;
        fastcgi_index index.php;
        fastcgi_pass unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock;
        fastcgi_param SCRIPT_FILENAME /usr/share/kolab-syncroton/index.php;
    }

    ##
    ## Kolab Free/Busy
    ##
    location /freebusy {
        alias  /usr/share/kolab-freebusy/public_html/index.php;

        include fastcgi_params;
        fastcgi_param HTTPS on;
        fastcgi_index index.php;
        fastcgi_pass unix:/var/www/vhosts/system/kolab.domain.de/php-fpm.sock;
        fastcgi_param SCRIPT_FILENAME /usr/share/kolab-freebusy/public_html/index.php;
    }
    # End common Kolab config

Pls. make sure, to add the depending locations

/usr/share/chwala
/usr/share/iRony
/usr/share/roundcubemail
/usr/share/kolab-webadmin
/usr/share/kolab-syncroton
/usr/share/kolab-freebusy

... to your domain specific "include_path" and "open_basedir"

Example to use at "Home > Subscriptions > domain.de > Websites & Domains > PHP Settings for kolab.domain.de":

Code:
For "include_path"

.:/tmp:/var/tmp:/bin:/usr/bin:/usr/local/bin:/usr/share/php:/usr/share/php5:/opt/plesk/php:/usr/share/perl:/usr/share/perl5:/usr/bin/python:/usr/bin/python3:/usr/share/psa-pear:/usr/share/psa-horde:/usr/share/psa-roundcube:/usr/share/chwala:/usr/share/iRony:/usr/share/roundcubemail:/usr/share/kolab-webadmin:/usr/share/kolab-syncroton:/usr/share/kolab-freebusy

For "open_basedir"

{WEBSPACEROOT}{/}{:}{TMP}{/}:/bin:/usr/bin:/usr/local/bin:/usr/share/php:/usr/share/php5:/opt/plesk/php:/usr/share/perl:/usr/share/perl5:/usr/bin/python:/usr/bin/python3:/usr/share/psa-pear:/usr/share/psa-roundcube:/usr/share/chwala:/usr/share/iRony:/usr/share/roundcubemail:/usr/share/kolab-webadmin:/usr/share/kolab-syncroton:/usr/share/kolab-freebusy



Make sure to notice:
# If Nginx was built with http_dav_module:
dav_methods PUT DELETE MKCOL COPY MOVE;
# Required Nginx to be built with nginx-dav-ext-module:
# dav_ext_methods PROPFIND OPTIONS;
You have to check the nginx built with the command:

nginx -V

... if nginx was built with "http_dav_module" and/or "nginx-dav-ext-module" to use this directive!!!



If you need further help, pls. include errors/issues/problems from the corresponding log - files ( remember the domain - specific log - files as well ) and don't forget to include the depending configuration files for decent investigations.

 
Hi Uwe,
thanks for the input, i think i will have time to try it tomorrow.

Regarding the nginx configuration provided by Kolab documentation:
I tried that first, but it is not working.
I could not verify it for sure but i think it is written for an older version of nginx or php-fpm or it is not working because it is written for "pure" nginx without apache.
Thats why i made my modified version which is working so far but the login produces which causes the PHP Fatal error: PHP Error: Login failed. Unable to decode response (POST).

Well, as already said i will have time to test your answer tomorrow and will let you know.
 
Back
Top