Posts by fulltilt

    plz change


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


    TLSProtocol TLSv1.2

    with recommended ciphersuite 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>

    Nuxwin

    the setup process w/ 1.5.3-maintenance fails due to a replaced link for codemirror.

    see:

    https://codemirror.net/5/


    Version 6 is the current version and Version 5 was placed in a subfolder /5

    https://codemirror.net/5/codemirror-5.21.0.zip


    could you please adjust to the new url:

    https://github.com/i-MSCP/roun…roundcubemail/jsdeps.json


    or allow curl to follow redirects in install-jsdeps.sh:

    https://github.com/i-MSCP/roundcube/pulls


    A new installation works for me, but when I try to upgrade from an existing system then I can't log in afterwards. I guess it has something to do with the plugins or php configuration files, I'll keep investigating the cause.


    The existing system uses PHP-FPM with Apache mpm_event enabled, the error occurs w/ a Debian stretch to stretch panel upgrade ... will do a fresh & clean install now.

    ERROR: Incorrect sha1 sum of /var/www/imscp/gui/vendor/imscp/roundcube/roundcubemail/temp/js_cache/codemirror-5.21.0.zip


    try to remove the package

    Code
    1. rm /var/www/imscp/gui/vendor/imscp/roundcube/roundcubemail/temp/js_cache/codemirror-5.21.0.zip

    or clear the js_cache folder and re-run installer

    but the login problem still persists, I have switched from php7.3-fpm to php7.0-fpm ... it doesn't change anything

    Code
    1. An exception has been thrown in file /var/www/imscp/gui/vendor/zendframework/zendframework1/library/Zend/Navigation/Page.php at line 503:
    2. Invalid argument: $target must be a string or null

    ok I got it, the important thing was the use of --reconfigure option for the install /upgrade e.g.

    Code
    1. perl imscp-autoinstall --debug --reconfigure

    PHPswitcher & Letsencrypt plugin needs to be set enabled

    Code
    1. mysql -u root -p
    2. use imscp;
    3. update plugin set plugin_status = 'disabled';
    4. update plugin set plugin_status = 'enabled' WHERE plugin_name = 'PhpSwitcher';
    5. update plugin set plugin_status = 'enabled' WHERE plugin_name = 'LetsEncrypt';
    6. quit

    afterwards I got following nginx error:

    Code
    1. Package::FrontEnd::startNginx: Couldn't start the nginx service: Job for nginx.service failed because the control process exited with error code.
    2. See "systemctl status nginx.service" and "journalctl -xe" for details. at /usr/local/src/imscp-1.5.3-maintenance-joxi/engine/PerlLib/iMSCP/Service.pm line 187.
    3. at /usr/local/src/imscp-1.5.3-maintenance-joxi/engine/PerlLib/Package/FrontEnd.pm line 637.

    nginx.conf shows a variable for ssl_protocols

    Code
    1. cat /etc/nginx/nginx.conf #shows:
    2. ssl_protocols {HTTPD_SSL_PROTOCOLS};

    should be:

    ssl_protocols TLSv1.2; # for Debian 9

    and

    ssl_protocols TLSv1.2 TLSv1.3; # for Debian 10 & 11

    Quote

    │ Package::WebmailClients::Roundcube::Handler::preinstall: Couldn't install Roundcube Javascript dependencies: ERROR: Failed to download source file from │


    https://download.tiny.cloud/ti…mmunity/tinymce_4.5.8.zip at /var/www/imscp/engine/PerlLib/Package/WebmailClients/Roundcube/Handler.pm line


    Hi kurgans, I don't see this problem here -> Couldn't install Roundcube Javascript dependencies: - that part worked for me


    I'm trying to find out more details of the frontend problem from above, so I have set all the plugins as disabled in database ...

    now when I re-run the installer following error is shown:

    Code
    1. Package::FrontEnd::_setupMasterAdmin: DBD::mysql::db do failed: Duplicate entry '737' for key 'user_id' at /usr/local/src/imscp-1.5.3-maintenance-joxi/engine/PerlLib/Package/FrontEnd.pm line 1641.
    2. autoinstaller::Adapter::DebianAdapter::install: An error occurred while the installation steps.

    maybe it could indicate an issue with the perl module DBD::mysql::db on stretch with PHP 7.3-fpm

    thank you very much for your work!


    upgrade from Debian 9 (i-mscp nginx PHP version 7.0)

    Code
    1. Servers::php::preinstall: Couldn't stop the php8.1-fpm service: Couldn't resolve the php8.1-fpm unit: Couldn't resolve the php8.1-fpm SysVinit script at /usr/local/src/imscp-1.5.3-maintenance-joxi/engine/PerlLib/iMSCP/Service.pm line 205.
    2. at /usr/local/src/imscp-1.5.3-maintenance-joxi/engine/PerlLib/iMSCP/Service.pm line 205.
    3. at /usr/local/src/imscp-1.5.3-maintenance-joxi/engine/PerlLib/Servers/php.pm line 91.

    PHP 8.0 and 8.1 packages missing in stretch packages file e.g.

    php8.0-fpm

    php8.1-fpm

    ...

    etc.


    These are required for an upgrade with a standard stretch system when PHP 8.0 & 8.1 packages are not already installed.



    When PHPswitcher plugin is installed, a few changes must be made to the plugin before upgrading


    After these changes the upgrade process finished successful ...

    However, after the first login as administrator I see an error message (on login page)


    An unexpected error occurred

    An unexpected error occurred. Please contact your administrator.


    ### edit ###

    with debug enabled it shows:

    An exception has been thrown in file /var/www/imscp/gui/vendor/zendframework/zendframework1/library/Zend/Navigation/Page.php at line 503:


    Invalid argument: $target must be a string or null