Posts by siggi

    You can install these versions on a Debian system, then manually add them with PhpSwitcher, pointing to the system pool, php-fpm.conf etc. Before you add them you need to hack the _checkPhpVersionData in backend/PhpSwitcher.pm and change the regular expression so it accepts your binary versions.


    Code
    1. if ( $rs || $stdout !~ /PHP\s+(\d+)\.(\d+)\.(\d+)\s+\(cgi-fcgi\)/ ) {
    2. error( sprintf( "`%s' doesn't looks like a PHP FastCGI binary", $cgiBinaryPath ));
    3. return;
    4. }

    to

    Code
    1. if ( $rs || $stdout !~ /PHP\s+(\d+)\.(\d+)\.(\d+).*\s+\(cgi-fcgi\)/ ) {
    2. error( sprintf( "`%s' doesn't looks like a PHP FastCGI binary", $cgiBinaryPath ));
    3. return;
    4. }


    and


    Code
    1. if ( $rs || $stdout !~ /PHP\s+(\d+)\.(\d+)\.(\d+)\s+\(fpm-fcgi\)/ ) {
    2. error( sprintf( "`%s' doesn't looks like a PHP-FPM binary", $fpmBinaryPath ));
    3. return;
    4. }

    to

    Code
    1. if ( $rs || $stdout !~ /PHP\s+(\d+)\.(\d+)\.(\d+).*\s+\(fpm-fcgi\)/ ) {
    2. error( sprintf( "`%s' doesn't looks like a PHP-FPM binary", $fpmBinaryPath ));
    3. return;
    4. }


    You can also just change your default version under /etc/imscp/php/php.data

    I have started using the sftp module for proftpd and it works like charm.


    In /etc/proftpd/modules.conf make sure LoadModule mod_sftp.c is commented out


    Create the following file /etc/proftpd/conf.d/sftp.conf and copy the following config into it.


    Get the same credentials that imscp is using to authenticate users for ftp cat /etc/proftpd/proftpd.conf|grep SQLConnectInfo and user the credentials in the sftp.conf file under SQLConnectInfo.



    Make sure tcp port 2222 is allowed in your firewall.


    Restart proftpd.

    Thanks both of you, I will give it a try. Still I might disable shutting down services while rebuilding some config files, at least until the end of the update progress.


    Best


    Siggi

    Hi,


    I have 1.2.1 running on about 100 servers. About half of them were running ispcp before and when I migrated to imscp I had to do it manually for each and everyone of them. Now I would really like to update to 1.2.15 and I would like to do it in a bulk without any service disruption, like skip all the rebuilding of php-fpm pools, rebuilding of mailboxes etc. What I would like to do is just rsync the new version to /var/www/imscp run an SQL update, do a config upgrade where needed and restart the panel. I know the plugin part has been rewritten so I would have to disable plugins and enable them a again. But is there anything else. Could you the developers who know every corner of the system tell me what I need to keep in mind when doing an update like this. I have played a bit with the preseed option, disabled the unwanted rebuilding to try to achieve this, but somewhere also I read that the preseed option was not intended for an update. Any tips and pointers would be really appreciated.


    Best


    Siggi