When running the installation in the ubuntu 24.04 environment for raspberry pi 5, the script freezes when installing phpMyAdmin.
Adding required repositories to proceed with installation:
[ * ] NGINX
[ * ] PHP
[ * ] MariaDB 11.4
[ * ] Hestia Control Panel
Updating currently installed packages, please wait...|
The installer is now downloading and installing all required packages.
NOTE: This process may take 10 to 15 minutes to complete, please wait...
========================================================================
[ * ] Configuring system settings...
info: Adding user `hestiamail' to group `hestia-users' ...
[ * ] Configuring Hestia Control Panel...
[ * ] Configuring OpenSSL to improve TLS performance...
[ * ] Generating default self-signed SSL certificate...
[ * ] Adding SSL certificate to Hestia Control Panel...
[ * ] Enabling SFTP jail...
[ * ] Enabling SSH jail...
[ * ] Creating default admin account...
[ * ] Configuring NGINX...
[ * ] Updating Cloudflare IP Ranges for Nginx...
[ * ] Configuring Apache Web Server...
[ * ] Installing PHP 8.3...
[ * ] Configuring PHP-FPM 8.3...
[ * ] Configuring PHP...
[ * ] Configuring Vsftpd server...
[ * ] Configuring MariaDB database server...
[ * ] Installing phpMyAdmin version v5.2.2...
I waited for the script to finish for about an hour. When installing HestiaCP without MariaDB, the process completes successfully, but then I cannot add MariaDB from the panel.
The wget download takes place normally. The installation script freezes at the phpMyAdmin stage.
I have been using raspberry-pi for several years now as a home web server and a web development server in conjunction with HestiaCP. It is very comfortable. But now it was necessary to deploy another server and it failed.
I don’t have a Raspberry Pi available right now to run tests, but as I mentioned before, I imagine it’s failing while executing the pma.sh script, which is the one that creates the database and tables for phpMyAdmin. However, if that were the case, it doesn’t make much sense for it to get stuck. It should throw an error. That’s why I asked you to try the wget command, because in that case it is “normal” for it to hang for a long time before reaching a timeout.
Sorry, without a Raspberry Pi I can’t debug this properly. Ubuntu 24.04 in a VirtualBox VM doesn’t give me this problem when using en as the language. I’ll try changing the language. Could you try using the en locale instead of ru and see if there’s any change?
Those errors occur because debian-start expects to access MariaDB using the root user without a password via the Unix socket. The problem is that Hestia modifies the database root user to use a password instead of unix socket. To fix this issue, you should add the password generated by Hestia to the /etc/mysql/debian.cnf file.
[client]
host = localhost
user = root
password='HereThePassword'
[mysql_upgrade]
host = localhost
user = root
password='HereThePassword'
Note: You can see the password in this file /root/.my.cnf.
After that, I tried to install HestiaCP on an Oracle VirtualBox ubuntu-server 24.04 AMD64 VM.
This situation repeats itself. Above, I have provided a listing on a virtual machine. I just forgot to change the url of the panel.
I’ve tried again in an Oracle VirtualBox Ubuntu 24.04, locale ru_RU.UTF-8 and exactly the same command you posted to install Hestia and I had no issues.
I see you are using sudo -s, could you please try the same installation but using sudo -i instead of sudo -s?
I’m installing the panel now, it freezes at the [ * ] stage of Installing phpMyAdmin version v5.2.2… I don’t understand how to fix it. How did you solve this problem? I do not know and do not use 3-letter words.
I made a version of the boot script to bypass the phpMyAdmin lock.
I uploaded the phpMyAdmin archives to my website and changed the download links in the script code.
Your message cannot be read! You’ve probably revealed a big secret! I did the following. If you can’t download a specific version, download any one. For example, phpMyAdmin 4.9.11 and rename it to the desired one, exactly as the panel installer shows, we throw it into the ROOT directory and a miracle happens!
Now I decided to check the functionality of the solution, it doesn’t work. This means that problems were intentionally created. So that the fix doesn’t work. Why do this? Who needs it? Guys, how do I solve the installation problem? Renaming the file and locating it in the root directory does not work.
————————-
[ * ] Installing phpMyAdmin version v5.2.2…
cp: не удалось выполнить stat для ‘phpMyAdmin-5.2.2-all-languages/*’: Нет такого файла или каталога
sed: невозможно прочитать /usr/share/phpmyadmin/libraries/vendor_config.php: Нет такого файла или каталога
[ * ] Configuring Bind DNS server…
[ * ] Configuring Exim mail server…
[ * ] Configuring Dovecot POP/IMAP mail server…
Job for dovecot.service failed because the control process exited with error code.
See “systemctl status dovecot.service” and “journalctl -xeu dovecot.service” for details.
Error: dovecot start failed
root@root:~#
We are not hosting or distributing phpMyAdmin ourselves - the installer downloads it directly from the official phpMyAdmin source.
If the download fails or files are missing, this is almost certainly related to network restrictions or geo-blocking on the phpMyAdmin download servers. We have no control over that.
Please verify from your server that you can directly download the archive from files.phpmyadmin.net. If the source is blocked in your region, the installer cannot complete successfully.