1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Important Plesk Onyx 17.8 Preview

Discussion in 'Official Announcements' started by IgorG, May 16, 2017.

  1. ChristophRo

    ChristophRo New Pleskian

    8
    70%
    Joined:
    Jun 23, 2014
    Messages:
    11
    Likes Received:
    0
    Nope, that's what Im talking about, see attached screenshot
     

    Attached Files:

  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I see. The problem related to modern openssl version from OS vendor (PHP :: Bug #73741 :: Won't compile against OpenSSL 1.1.0). This version doesn't work with PHP5.x, therefore these versions are not supported on Debian 9.
    As possible solution you can downgrade or install additionally version openssl compatible with PHP5.x and add your own custom PHP5.x handler for Plesk - Adding Custom PHP Versions (Linux)
    Or just use Plesk 17.8.8 on Debian 8
     
  3. ChristophRo

    ChristophRo New Pleskian

    8
    70%
    Joined:
    Jun 23, 2014
    Messages:
    11
    Likes Received:
    0
    Thanks for the clarification.
    In that case we will use PHP56 from DEB.SURY.ORG and link it into plesk

    Ok, using the deb.sury.org repository surely messes with Plesk.
    I've only added the repo first, before installing the panel and what it did was to automatically install both PHP 7.0 and 7.1 version from this repository and also mess up the php handlers. (as Plesk seems to be not aware of the possibility of having to deal with multiple PHP binarys from the OS)

    Code:
    root@server1:~# /opt/psa/bin/php_handler --list
                      id:        display name:  full version:  version:    type:                         cgi-bin:                    php-cli:                        php.ini:  custom:  status:
                      cgi  7.1.12 by OS vendor         7.1.12       7.1      cgi                 /usr/bin/php-cgi                /usr/bin/php        /etc/php/7.0/cgi/php.ini    false disabled
                  fastcgi  7.1.12 by OS vendor         7.1.12       7.1  fastcgi                 /usr/bin/php-cgi                /usr/bin/php        /etc/php/7.0/cgi/php.ini    false disabled
                      fpm  7.0.26 by OS vendor         7.0.26       7.0      fpm             /usr/sbin/php-fpm7.0                /usr/bin/php        /etc/php/7.0/fpm/php.ini    false disabled
                   module  7.1.12 by OS vendor         7.1.12       7.1   module                 /usr/bin/php-cgi                /usr/bin/php    /etc/php/7.0/apache2/php.ini    false disabled
          plesk-php70-cgi               7.0.26         7.0.26       7.0      cgi   /opt/plesk/php/7.0/bin/php-cgi  /opt/plesk/php/7.0/bin/php  /opt/plesk/php/7.0/etc/php.ini     true disabled
      plesk-php70-fastcgi               7.0.26         7.0.26       7.0  fastcgi   /opt/plesk/php/7.0/bin/php-cgi  /opt/plesk/php/7.0/bin/php  /opt/plesk/php/7.0/etc/php.ini     true disabled
          plesk-php70-fpm               7.0.26         7.0.26       7.0      fpm  /opt/plesk/php/7.0/sbin/php-fpm  /opt/plesk/php/7.0/bin/php  /opt/plesk/php/7.0/etc/php.ini     true  enabled
          plesk-php71-cgi               7.1.12         7.1.12       7.1      cgi   /opt/plesk/php/7.1/bin/php-cgi  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini     true disabled
      plesk-php71-fastcgi               7.1.12         7.1.12       7.1  fastcgi   /opt/plesk/php/7.1/bin/php-cgi  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini     true disabled
          plesk-php71-fpm               7.1.12         7.1.12       7.1      fpm  /opt/plesk/php/7.1/sbin/php-fpm  /opt/plesk/php/7.1/bin/php  /opt/plesk/php/7.1/etc/php.ini     true  enabled

    I did then manually fix and clear up the naming and paths and will now test if I experience some unforseen problems due to this hickup.
     
    Last edited: Dec 1, 2017
  4. ChristophRo

    ChristophRo New Pleskian

    8
    70%
    Joined:
    Jun 23, 2014
    Messages:
    11
    Likes Received:
    0
    The Plesk Installer seems to delete the mysql root user upon installation, but in case of Debian9 this is a bad idea and will lead to problems and error messages/mails like these:

    Code:
    /etc/cron.daily/logrotate:
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    error: error running shared postrotate script for '/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log '
    run-parts: /etc/cron.daily/logrotate exited with return code 1
    This is due to the fact that on Debian9 the debian-sys-maint user is no longer present/used and got "replaced" with a root user, configured to be authenticated
    using the unix socket.
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Thank you for report. Bug PPP-34190 has been submitted.
     
Loading...