Articles in this section

Unable to install Plesk with the Mariadb 11.4 repository.

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • The installation failed with the following error:

    PLESK_INFO: Error or message on white/gray background in Plesk

  • Error in logs:

    CONFIG_TEXT: Verifying: galera-4-26.4.21-1.el9.x86_64 [83/83] Done
    Setting system policy to DEFAULT:SHA1
    Note: System-wide crypto policies are applied on application start-up.
    It is recommended to restart the system for the change of policies
    to fully take place.
    Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.

    **** Product prep-install started.
    Create user 'psaadm' and group 'psaadm'
    Trying to add group 'psaadm'... done
    Checking for the user 'psaadm'...
    Trying to add user 'psaadm'... done
    Create group 'swkey-data'
    Trying to add group 'swkey-data'... done
    Trying to add supplementary group 'swkey-data' for user 'psaadm'... done
    Update crypto policy from 'DEFAULT' to 'DEFAULT:SHA1'
    Create group 'psaserv'
    Trying to add group 'psaserv'... done
    Trying to add supplementary group 'psaserv' for user 'psaadm'... done
    Create group 'psacln'
    Trying to add group 'psacln'... done
    Trying to got legacy variables... product conf not exists, nothing to be done
    config updated
    ===> Updated /etc/psa/psa.conf
    Trying to save legacy variables... done
    Checking that /usr/local/psa/bin/chrootsh registered as login shell...

    ===> Performing safe prep-install database actions

    Trying to register service mariadb... Trying to enable automatic respawn for service mariadb.service... done
    done
    Trying to restart service mariadb... inactive
    done
    Trying to define valid mysql credentials... Trying to establish test connection... /usr/local/psa/bootstrapper/pp18.0.67-bootstrapper/bootstrapper.sh: line 5496: /usr/bin/mysql: No such file or directory failed

Cause

Bug recognized PPPM-14817 that is planned to be fixed in one of the future Plesk updates.

Resolution

When a fix is released, it will show up on Change Logs for Plesk Obsidian.

Until a fix is not release, please use the the following workaround:

  • Install maria DB 11.4 before install Plesk.
  • Use the following commands:

    # cd /usr/bin/

    # ln -s mariadb-dump mysqldump

    # ln -s mariadb mysql

  • Then re-run Plesk installer.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.