Posts by fulltilt

    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

    Quote

    Note that versions of CBC::Crypt prior to 2.36 could also allow you to set the blocksie, but this was never supported by any ciphers and has been removed.

    I think i will keep it like this with blocksize disabled in Crypt.pm part ...

    everything works as expected, I don't see any other errors so far

    I guess there are still new files & folders which should be removed ...


    which perl

    /usr/bin/perl

    (ok)


    This new folder is still available

    /usr/local/share/perl/5.26.1

    (delete)


    and many new files under

    /usr/local/bin

    on other installation there is only clamav-unofficial-sigs.sh available in /usr/local/bin

    (delete)


    and I have a backup of:

    /etc/perl

    /root/.cpan/build

    /root/.cpan/build/Metadata

    (delete restore)

    +++ maybe the /root cpan stuff could cause the issues +++


    Can I delete them safely?


    after unset -f cpan only /usr/bin/cpan is shown now:

    type -a cpan

    cpan is /usr/bin/cpan

    hmm, if i disable that part then it works

    nano /var/www/imscp/engine/PerlLib/iMSCP/Crypt.pm

    line 502

    # -blocksize => length $iv,


    Does the encryption still work afterwards and can I use it that way?

    seems to be caused in that part -> Crypt::CBC->new(