Please help - update i-MSCP to run on new system

  • Hi

    I updated my branch so the installation also runs on Devuan 2, 3 and 4 (ascii, beowulf and chimaera). The php versions are not changed (ascii+stretch <= php 7.4, the others including also php 8.0).

    Important: the installer changes some code in the install folder if needed... not very elegant but at the moment the only way to deal with the changes in the versions...

    Still not ok: installing roundcube.

    I always use a second SSH login to change the file

    /var/www/imscp/gui/vendor/imscp/roundcube/roundcubemail/bin/install-jsdeps.sh

    as soon as it's downloaded (after entering IP/password and mail address it starts)

    Change line 128: add a "-L " after the first %s - so it looks like this:

    Code
    1. exec(sprintf('%s -L -s %s -o %s', $CURL, escapeshellarg($package['url']), $cache_file), $out, $retval);

    on my vm I have enough time to do this... then the installation finishes smoothly.


    I think it's time to add newer PHP versions to the 6 distributions.

    If someone is here doing the job for ubuntu (xenial?, bionic, focal, and maybe already jammy)... pleas go ahead!


    cheers J


    ***


    Update: now also PHP 8.1 is included in the Debian/Devuan package lists.

    /Joxi

    Edited once, last by joximu ().

  • Hi guys

    the problem with roundcube/codemirror is solved now (thanx Nuxwin ) - I just made a new test installation....


    So the installation runs fine on the platforms mentioned above.


    On my side the next steps are testing and creating patches for the plugins...


    Have a good weekend

    J

  • Hola,


    got phpswithcher quick & dirty running on bullseye.


    comment out /var/www/imscp/gui/plugins/PhpSwitcher/backend/PhpSwitcher.pm +1018


    Code
    1. # $rs == 0 or die( $stderr || 'Unknown error' );


    /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl from line 73


    Code
    1. '7.4' => '7.4.28', # End of life: 06 December 2031
    2. '8.0' => '8.0.20', # End of life: 06 December 2031
    3. '8.1' => '8.1.7', # End of life: 06 December 2031
    4. );


    chmod 777 /etc/bind/rndc.key

    service named restart


    perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged --packaged-only

  • plz change


    engine/PerlLib/Servers/ftpd/proftpd/installer.pm +492


    TLSProtocol TLSv1.2

    with recommended cyphersuite it should look like this:


    Code
    1. <IfModule mod_tls.c>
    2. TLSProtocol TLSv1.2
    3. TLSCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
    4. TLSServerCipherPreference on
    5. TLSSessionTickets off
    6. </IfModule>