×


Blog


Install CloudPanel on Ubuntu 20.04 - Step by Step Process ?

This article covers the Installation procedure of CloudPanel on Ubuntu 20.04. Basically, CloudPanel, an open source, PHP-based host control software built for the cloud helps to manage hosted services.

CloudPanel is a server management control panel designed to be fast, easy to use and customizable. This piece of software supports management of Domains, Linux services, Cron jobs, FTP services, System security through IP and Bots blocking, User management, Cloud platforms support, among many others.


Main features of CloudPanel Includes:

1. Free to use and open source

2. Provides powerful intuitive interface for management

3. Designed for high Performance with minimal resource usage

4. It is secure – provision of free SSL/TLS certificates

5. It supports all major clouds – AWS, Digital Ocean, GCP, e.t.c

6. CloudPanel is available in more than ten languages, making it easy to install in any region

7. One-Click Let's Encrypt Certificates

8. NGINX Support

9. Multiple PHP Versions


To fix failed CloudPanel installation:

$ sudo apt -f install


Plesk error FPM initialization failed - Fix it Now ?

This article covers methods to fix Plesk error, FPM initialization failed.

Basically, the error "FPM initialization failed" triggers in Plesk mainly in different formats. The is as a result of Incorrect PHP configuration file was generated during subdomain creation via XML API.


To fix this Plesk error:

i. Log in to Plesk server via SSH.

ii. Remove the excessive configuration file:

rm -f  /etc/php-fpm.d/subdomain.example.com.conf


DirectAdmin PhpMyAdmin error 500 - Fix it Now ?

This article covers methods to resolve DirectAdmin PhpMyAdmin error 500. This error happens as a result of a number of reasons that include PHP settings, modsecurity rules and so on.


To resolve this error, In the library is /usr/share/phpmyadmin/libraries/sql.lib.php,

You need to modify the file:

From && ($analyzed_sql_results['select_expr'][0] == '*')))

to && ($analyzed_sql_results['select_expr'][0] == '*'))


The plesk-php7x-fpm service crashes during the reload after domain name change - Fix it Now ?

This article covers how to resolve Plesk error, The plesk-php7x-fpm service crashes during the reload after domain name change. 


To fix this error, you need to update Plesk via a command-line interface:

1. Connect to a Plesk server via SSH (Linux) / RDP (Windows Server).

2. Run Plesk Installer Update (on Windows Server, start a command prompt as an Administrator):

plesk installer update


Drupal SMTP error "could not connect to smtp host" - Fix it Now ?

This article covers methods to resolve Drupal SMTP error "could not connect to smtp host".

Basically, this error happens as a result of improper Drupal SMTP settings such as wrong SMTP server name, wrong port settings, and so on. 


To resolve this SMTP error, follow the steps given below:

1. Login into myaccount.google.com.

2. Click on the link connected apps & sites.

3. Allow less secure apps" to "ON" (near the bottom of the page).


Also, you can try the following to fix this SMTP error,

1. System access configuration

Need to allow access for firewall or network to send mail for linux, windows and mac.

Following command set permission for linux.

i.  iptables -I OUTPUT -p tcp --dport 465 -j ACCEPT

ii.  iptables -I OUTPUT -p tcp --dport 587 -j ACCEPT


2.  SMTP Authentication Support

Set your gmail and google app information.

If you want to use Gmail as SMTP server,

SMTP server: smtp.gmail.com

SMTP port: 465

Use encrypted protocol: Use SSL 

SMTP Authentication

Username : youremail@gmail.com or ouremail@yourGoogleAppsDomainName.com(google app)

Password : yourpassword

Note : Remove leading and trailing space from "SMTP Authenitcation Username" if is there otherwise it's not authenticate your request to gmail.


Plesk error Unable to import the dump - Fix it Now ?

This article covers methods to fix database error in Plesk. 


To fix this Plesk database issue:

1. Start by Checking the version of your SQL server with:

# plesk db -Ne "select version()"

2. Make sure that collation mentioned in the error message is not available in MySQL server:

# plesk db -e "show collation" | grep uft8_general_ci

3. So you have to upgrade MariaDB to version 10.1 or 10.2 on the destination server.


How to upgrade Plesk MySQL 5.5 to 5.6/5.7 or MariaDB 5.5 to 10.X on Linux?

By default, Ubuntu 20.04 is shipped with MariaDB 10.3.

1. For security reasons, create a database dump of all databases with the following command:

MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin --verbose --all-databases --routines --triggers > /tmp/all-databases.sql

2. Stop MariaDB:

$ service mariadb stop

3. Install repositories from Setting up MariaDB Repositories page:

# apt-get install software-properties-common
# apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
# add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirror.truenetwork.ru/mariadb/repo/10.4/ubuntu focal main'

4. Create a backup of all MySQL data:

$ cp -v -a /var/lib/mysql/ /var/lib/mysql_backup

5. Start an upgrade with the following command. Leave all fields empty when asked for a 'root' user password:

$ apt-get update
$ apt-get install mariadb-server

6. Start the MariaDB service:

# service mariadb start

7. Upgrade MySQL databases:

MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql_upgrade -uadmin

8. Restart mysql service:

$ service mariadb restart

9. Execute the following commands to update package version inside Plesk:

# plesk bin service_node --update local
# plesk sbin packagemng -sdf