fbpx

Read our Facebook announcement related to this feature.

After  v2.1.1 and above we've added an option in the cloud to perform fail-safe upgrade. (This works only if you are on v2.1.1 or above)

This upgrade procedure will only upgrade/change CyberPanel branch and apply any needed migrations and fix permissions.

The whole process is very simple and require few clicks only with no need to open a terminal.

Follow these steps to upgrade your server to the latest version using CyberPanel Cloud.

Note: This is free for everyone.


Login to CyberPanel cloud Using credentials:

Visit https://cloud.cyberpanel.net/ provide username and password to login into your account.

Once you logged in to your CyberPanel Cloud make sure your server that you want to update is connected to the cloud and running.

Connect Your server to CyberPanel Cloud:

To connect your server to the cloud go to the Connect CyberPanel -> Connect in the top menu.

To connect provides all details of your server:

  1. Name (this can be anything)
  2. Ip (Your server IP)
  3. Password (Your CyberPanel admin user password not ssh)
  4. Port/Username (Leave both to use default)

Press connect and you can see a success message in green.

Upgrade Your CyberPanel Now:

To upgrade your cyberpanel:

Go to the Server->List Servers now select the server which you want to upgrade.

Now after selection click on the three dots present on a server

Now on the Manage page go to Settings -> Upgrade

On the Upgrade page just select the version you want to update to and press upgrade.

Note: This article is a work in process, will keep adding more information.

If you have recently upgraded CyberPanel and your email stopped working then follow this guide to debug and possibly fix your email system.

We recommend to upgrade your CyberPanel via CyberPanel cloud to avoid any such issue in the future:

How to upgrade your CyberPanel using CyberPanel Cloud


Step 1: Check and Fix Postfix Service

First thing to do is to check weather postfix services is running:

systemctl status postfix

Run the command above to check if postfix is running, if it is, then you should see something like:

● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2021-04-15 02:00:43 CEST; 1 day 18h ago
 Main PID: 3745676 (master)
   CGroup: /system.slice/postfix.service

If postfix is running and you can't send emails then read our troubleshooting guide to find out why.

If postfix is not running then you can try starting it, but if you can't then check weather it is installed or not

Centos 7 or Centos 8

[[email protected] ~]# yum list installed | grep postfix
postfix3.x86_64                2:3.5.8-1.gf.el7      @gf-plus                   
postfix3-ldap.x86_64           2:3.5.8-1.gf.el7      @gf-plus                   
postfix3-mysql.x86_64          2:3.5.8-1.gf.el7      @gf-plus                   
postfix3-pcre.x86_64           2:3.5.8-1.gf.el7      @gf-plus                   
[[email protected] ~]#

Ubuntu 18 or Ubuntu 20

apt list --installed | grep postfix

If you don't see any postfix packages installed, then postfix is not installed in your system. You can install them, first enable gf repo (for Centos 7 or Centos 8) on your system.

Note: Take backup of your postfix configurations at /etc/postfix and restore them after installation

Centos 7

yum --nogpg install https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm

Centos 8

dnf --nogpg install https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el8.noarch.rpm

now install postfix

Centos 7

yum install --enablerepo=gf-plus -y postfix3 postfix3-ldap postfix3-mysql postfix3-pcre

Centos 8

dnf install --enablerepo=gf-plus postfix3 postfix3-mysql -y

Ubuntu 18 or Ubuntu 20

apt-get -y install postfix postfix-mysql

Once postfix is installed again, you can restore the backup of configurations file and restart postfix and verify that it is working.


Step 2: Check and Fix Dovecot Service

Second thing to do is to check weather dovecot services is running:

systemctl status dovecot

Run the command above to check if dovecot is running, if it is, then you should see something like:

● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-04-15 02:00:44 CEST; 1 day 18h ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Main PID: 3745695 (dovecot)

If dovecot is not running then you can try starting it, but if you can't then check weather it is installed or not

Centos 7 or Centos 8

[[email protected] ~]# yum list installed | grep dovecot
dovecot23.x86_64 1:2.3.11.3-1.gf.el7 @gf-plus 
dovecot23-mysql.x86_64 1:2.3.11.3-1.gf.el7 @gf-plus 
[[email protected] ~]#

Ubuntu 18 or Ubuntu 20

apt list --installed | grep dovecot

If you don't see any dovecot packages installed, then dovecot is not installed in your system. You can install them, first enable gf repo (for Centos 7 or Centos 8) on your system.

Note: Take backup of your dovecot configurations at /etc/dovecot and restore them after installation

Centos 7

yum --nogpg install https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm

Centos 8

dnf --nogpg install https://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el8.noarch.rpm

now install dovecot

Centos 7

yum --enablerepo=gf-plus -y install dovecot23 dovecot23-mysql

Centos 8

dnf install --enablerepo=gf-plus dovecot23 dovecot23-mysql -y

Ubuntu 18 or Ubuntu 20

apt-get -y install dovecot-mysql dovecot-imapd dovecot-pop3d

Once dovecot is installed again, you can restore the backup of configurations file and restart dovecot and verify that it is working.

chevron-down