Control Web Panel

WebPanel => Information => Topic started by: Starburst on August 07, 2020, 07:33:30 PM

Title: CentOS 8 Support - When or Never???
Post by: Starburst on August 07, 2020, 07:33:30 PM
CentOS 7 stops Full updates Q4 2020, which starts next month.

cPanel and Plesk both are supporting CentOS 8 now since all required packages are available.
Even ISPConfig 3.2 is going to have CentOS 8 support.

When is CWP going to follow suit, and support CentOS 8?
Or is CWP development dead?
Title: Re: CentOS 8 Support - When or Never???
Post by: x1705 on August 08, 2020, 03:52:14 AM
My guess, as CWP has been several years to take it this far.. and it just under 100version" to reach Vers.1.0xxx.
current uptodate version of CWP is: Vers: 0.9.8.1000,  (why they use "1000", and not update to 0.9.9.0, i dont knwo ;)

my Guess, and only a guess..

is ....  A Long time from now..

But thats just a guess.

X
Title: Re: CentOS 8 Support - When or Never???
Post by: studio4host on August 08, 2020, 10:53:36 AM
centos 8 will be available soon, it's currently under detailed testing for possible issues.
Title: Re: CentOS 8 Support - When or Never???
Post by: x1705 on August 08, 2020, 03:32:24 PM
Right. ;)
Title: Re: CentOS 8 Support - When or Never???
Post by: Starburst on August 09, 2020, 11:54:58 AM
It would be nice to hear from @Sandeep real quick.

I brought up a test server, and followed some of the directions out there to upgrade from CentOS 7 to 8, and it failed. Miserably...

Hopefully they will have it released before the end of the year.
Title: Re: CentOS 8 Support - When or Never???
Post by: Igor S. on August 10, 2020, 11:10:07 AM
CWP in the alfa-testing and development for el8. I believe the release will be very soon.
Title: Re: CentOS 8 Support - When or Never???
Post by: henrique791 on September 22, 2020, 12:05:38 AM
https://prnt.sc/ulga5s

install perfect, but, in test here...
Title: Re: CentOS 8 Support - When or Never???
Post by: Starburst on September 22, 2020, 06:57:52 PM
Also have CWPpro version: 0.9.8.1008 running on CentOS 8 with Kernel 5.8.10 and MariaDB 10.5.5

Only issues is GoAccess doesn't work, and the PHP Switched doesn't still have 7.3.22 listed to update.

Slave DNS Manager is running on one of these servers.
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: henrique791 on September 22, 2020, 10:13:48 PM
how did you install it, like this?
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: Starburst on September 22, 2020, 10:21:52 PM
how did you install it, like this?
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest

Yes, those are the instructions at https://control-webpanel.com/installation-instructions#step4

No errors following them so far.
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: henrique791 on September 22, 2020, 10:40:28 PM
here also no error, i'm thinking of migrating my sites to this version.
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: Starburst on September 22, 2020, 10:45:59 PM
here also no error, i'm thinking of migrating my sites to this version.

As long as you don't need the website stats from Go Access.
Also for some reason with the same CWP Version, 7.3.22 doesn't show as an option like it does on CentOS 7.
Which is weird, same CWP version.

But we migrated already, only thing that had a problem was the mailboxes didn't recreate using the CWP to CWP Migrate.
Title: Re: CentOS 8 Support - When or Never???
Post by: ekgrad on September 23, 2020, 06:28:38 AM
It would be nice to hear from @Sandeep real quick.

I brought up a test server, and followed some of the directions out there to upgrade from CentOS 7 to 8, and it failed. Miserably...

Hopefully they will have it released before the end of the year.

Try this https://www.tecmint.com/upgrade-centos-7-to-centos-8/
Title: Re: CentOS 8 Support - When or Never???
Post by: Starburst on September 23, 2020, 06:59:57 AM

Try this https://www.tecmint.com/upgrade-centos-7-to-centos-8/

That was one of the guides I tried and it didn't work for me.

Did it work for you??
Title: Re: CentOS 8 Support - When or Never???
Post by: Igor S. on September 24, 2020, 08:43:10 AM
I would not recommend you upgrade 7=>8. The best way to reinstall OS.
Title: Re: CentOS 8 Support - When or Never???
Post by: Starburst on September 24, 2020, 04:27:33 PM
I would not recommend you upgrade 7=>8. The best way to reinstall OS.

+1

We brought up new CentOS 8 servers then used the CWP to CWP Migrate tool.

Every doc I found on upgrading CentOS 7 to 8 did not work at all.
Title: Re: CentOS 8 Support - When or Never???
Post by: studio4host on September 24, 2020, 10:01:10 PM
you can't upgrade centos 7 to centos 8...you should always use the new install.
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: henrique791 on September 25, 2020, 11:20:29 PM
bug?
https://prnt.sc/uo16cm
I can't create email accounts
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: Starburst on October 02, 2020, 03:17:26 AM
bug?
https://prnt.sc/uo16cm
I can't create email accounts

Have you tried to create a mailbox with another name, like jsmith@ to see if that works?
Title: Re: Suporte ao CentOS 8 - Quando ou Nunca???
Post by: henrique791 on October 03, 2020, 03:47:32 PM
bug?
https://prnt.sc/uo16cm
I can't create email accounts

Have you tried to create a mailbox with another name, like jsmith@ to see if that works?

hi bro...

any other account same error, i back to centos 7 :(
Title: Re: CentOS 8 Support - When or Never???
Post by: Starburst on October 03, 2020, 04:23:51 PM
We are moving the last server over to CentOS 8 next week.

If you want try this:

Create /etc/yum.repos.d/dovecot.repo

[dovecot-2.3-latest]
name=Dovecot 2.3 CentOS $releasever - $basearch
baseurl=http://repo.dovecot.org/ce-2.3-latest/centos/$releasever/RPMS/$basearch
gpgkey=https://repo.dovecot.org/DOVECOT-REPO-GPG
gpgcheck=1
enabled=1

Then

dnf makecache
dnf update


This will install the latest Dovecot.

If that still doesn't work, not sure what tell you if you are using CentOS 8, unless it's the Stream version.
Title: Re: CentOS 8 Support - When or Never???
Post by: slimtim on October 28, 2020, 10:08:00 PM
Hi,
I'm thinking about migration from CentOS 7 to CentOS 8 so I did precheck of possible ways how to do it.

I'm using multiple ips on my vps so I need to install CentOS 8 on same vps to preserve same ip adresses. I'm not sure if is better to do CPW7->CPW(tmp)->CWP8 migration (slowest/hardest way probably) or do new (or classic old) backup download and restore. New backup probably did not backup user/domain ip adresses and nginx+apache templates, will CWP Migration do transfer domain ips values and vhost templates?

For same server migration looks better to do new backup download/restore and vhost templates and domain ip adresses assign and add to domains manually. So I would like to know if will be some feature for same server CWP7-CWP8 migration release this year or not? Will be CWPPro work on same ip after reinstall? I'm using nginx+php-fpm and vps is with public sites so I have to do it in 1-2 hours (or do snapshot restore to cwp7). Thank you.
Title: Re: CentOS 8 Support - When or Never???
Post by: slimtim on October 29, 2020, 05:37:55 AM
I tried to migrate to CentOS8 with new backup and only problem was forgotten home test of adding additional ips before reinstall so I’m not sure how to add main ip and gateway from dhcp and another ips on same network device as static in ifcfg-ens3 so I temporary add all ips v4+v6 and gateway as static. Second problem was not starting nginx on boot (99: Cannot assign requested address) but it started ok from play button. It takes me lot of time but It’s possible to solve it with adding two rows to sysctl.conf.

Code: [Select]
net.ipv4.ip_nonlocal_bind = 1
net.ipv6.ip_nonlocal_bind = 1

Part of time saves me backup of few conf files, templates and backup sh files which I have customized and copy of rclone and gpg configs from root folder.
Title: Re: CentOS 8 Support - When or Never???
Post by: slimtim on October 31, 2020, 03:56:38 PM
I don't know where to post it so i paste it to this thread. Main reason to upgrade to CentOS 8 is security in most cases so things which where ok with CentOS 7 are not acceptable on CentOS 8. So reinstalling and upgrading cwppro to CentOS 8 bring enhanced requirement for security to my working table and i will must to look for another solution for vps control panel.

My feeling from cwp(pro) from more than year of using on about 4 instalation

good:
nginx + apache
modsec (but actual owasp rules are 3.0.3 and not 3.0.0). so i have custom install of 3.0.3 rules on cwp and 3.0.0 on cpwpro. Iím not sure if is not fail2ban for public websites inside.
vhosts templates - but i upload my customized from sftp not from admin (better usability with sftp not from admin)
postfix+dkim

poor:
old backup canít restore users on new installation.
new backup did one of my backup without sql (empty granted.sql in mysql folder only)
so itís better do custom shell with sql export, tar, gpg encrypting and rclone remote upload

php-fpm - biggest security threat of cwppro. Iím afraid that it can not do automatically server downgrade/rebuild from php-fpm. iím using nginx+apache and iím scary when I see you are not using cwppro notice so must do downgrade to classic php. Poor cwppro verification based on ip address without mail notice and php-fpm shut down date.

php-fpm have not long time customizable php.ini from admin. itís rewritten after complete new php compile and custom php.ini in public_html folder is not acceptable,  it must be placed in home/account folder not in public_html. Iím using cwp admin backend only not user administration.

new installation of cwppro on centos8 install have wrong repository and install nginx 1.14. I donít know why? Security reason or fail?




Iím still hanging on cwp because iím using nginx+apache but cwppro is more like donate and not paying for valuable features. I can pay up to 1/3 of vps price for working control panel but It is based on linux so I would like to pay for saving my time because everything is working and canít pay and do custom shells for reimbursement not working functions.

Iím not using:
dovecot, clamav, emails (postfix+dkim for sending mail from php only)
netdata - too large with poor usability for monitoring iddle vps with nginx+apache


Iím missing:
100% working user/cwp backup/restore function
up to date components/cwp parts which are not updating by yum update (i don't know which but i have not up to date feeling from cwp)
ipv6 support from user config (for passing ipv6 to vhost template)
cpu monitoring graphs like rrdtool


I need nginx+apache and i donít want do custom modification for working this combination but iím afraid that cwp has poor progress for last year (there are beta/new menu item for one year) so it is good to start thinking about another control panel. It is results of updating cwppro to centos 8.
Title: Re: CentOS 8 Support - When or Never???
Post by: tastebud on October 31, 2020, 04:21:49 PM
I installed the same version of CWP but the database seems to be different. I am not able to import data from CWP running on Centos 7 to Centos 8.

I am not sure if this is a required change. it looks to be a bug.

CentOS 8
https://ibb.co/mDqVgmX

Centos 7
https://ibb.co/FzTMTkW
Title: Re: CentOS 8 Support - When or Never???
Post by: abracadabra on November 08, 2020, 10:54:27 AM
i start instaling CentOS8 packages but during installation it is downloading centos7 package

Code: [Select]
11:05:35 root@rev137: ~ # cd /usr/local/src/
11:06:40 root@rev137: /usr/local/src # wget http://centos-webpanel.com/cwp-el8-latest
--2020-11-08 11:07:03--  http://centos-webpanel.com/cwp-el8-latest
Resolving centos-webpanel.com (centos-webpanel.com)... 37.187.72.216
Connecting to centos-webpanel.com (centos-webpanel.com)|37.187.72.216|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://dl1.centos-webpanel.com/files/cwp-el8-latest [following]
--2020-11-08 11:07:03--  http://dl1.centos-webpanel.com/files/cwp-el8-latest
Resolving dl1.centos-webpanel.com (dl1.centos-webpanel.com)... 37.187.72.216
Reusing existing connection to centos-webpanel.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 45611 (45K)
Saving to: ‘cwp-el8-latest’

cwp-el8-latest                                    100%[============================================================================================================>]  44.54K  --.-KB/s    in 0.03s   

2020-11-08 11:07:03 (1.24 MB/s) - ‘cwp-el8-latest’ saved [45611/45611]

11:07:03 root@rev137: /usr/local/src # sh cwp-el8-latest
CentOS Web Panel repo for Linux 8 - x86_64                                                                                                                             1.2 MB/s | 231 kB     00:00   
MariaDB                                                                                                                                                                577 kB/s | 519 kB     00:00   
Package epel-release-8-8.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:00:10 ago on Sun 08 Nov 2020 11:08:53 AM CET.
Package wget-1.19.5-8.el8_1.1.x86_64 is already installed.

then...after installed a  lot of stuff...surprise!

Code: [Select]
Installing CWP Files
#######################
--2020-11-08 11:45:40--  http://static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.1021.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 137.74.148.116, 198.27.104.40, 167.114.21.226, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|137.74.148.116|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48186134 (46M) [application/zip]
Saving to: ‘cwp-el7-0.9.8.1021.zip’

cwp-el7-0.9.8.1021.zip                            100%[============================================================================================================>]  45.95M  10.8MB/s    in 4.4s   

2020-11-08 11:45:44 (10.4 MB/s) - ‘cwp-el7-0.9.8.1021.zip’ saved [48186134/48186134]

--2020-11-08 11:45:47--  http://static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 198.27.104.40, 167.114.21.226, 151.80.90.199, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|198.27.104.40|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25213930 (24M) [application/zip]
Saving to: ‘cwp-services.zip’

cwp-services.zip                                  100%[============================================================================================================>]  24.04M  3.96MB/s    in 6.0s   

2020-11-08 11:45:53 (4.00 MB/s) - ‘cwp-services.zip’ saved [25213930/25213930]

Installing phpMyAdmin
#######################
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8967  100  8967    0     0   116k      0 --:--:-- --:--:-- --:--:--  116k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3987  100  3987    0     0  16965      0 --:--:-- --:--:-- --:--:-- 16965
Created symlink /etc/systemd/system/multi-user.target.wants/named.service → /usr/lib/systemd/system/named.service.
63 files removed
#########################################################
          CentOS Web Panel MailServer Installer         
#########################################################

visit for help: www.centos-webpanel.com

Password OK!!
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9593  100  9593    0     0  94049      0 --:--:-- --:--:-- --:--:-- 94049
ERROR 1071 (42000) at line 270: Specified key was too long; max key length is 1000 bytes
CentOS Web Panel repo for Linux 8 - x86_64                                                                                                                             342 kB/s | 231 kB     00:00
CentOS-8 - AppStream                                                                                                                                                   6.6 MB/s | 5.8 MB     00:00
CentOS-8 - Base                                                                                                                                                        3.3 MB/s | 2.2 MB     00:00
CentOS-8 - Extras                                                                                                                                                       30 kB/s | 8.1 kB     00:00
CentOS-8 - PowerTools                                                                                                                                                  8.1 MB/s | 1.9 MB     00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                                                 119 kB/s |  97 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                         6.0 MB/s | 8.3 MB     00:01
MariaDB                                                                                                                                                                568 kB/s | 519 kB     00:00
Package perl-TimeDate-1:2.30-13.el8.noarch is already installed.
Dependencies resolved.
=======================================================================================================================================================================================================
 Package                                               Architecture                              Version                                           Repository                                     Size
=======================================================================================================================================================================================================
Installing:
 perl-MIME-EncWords                                    noarch                                    1.014.3-15.el8                                    epel                                           61 k
 perl-MailTools                                        noarch                                    2.20-2.el8                                        AppStream                                     113 k
Installing dependencies:
 perl-MIME-Charset                                     noarch                                    1.012.2-4.el8                                     PowerTools                                     52 k
 perl-Net-SMTP-SSL                                     noarch                                    1.04-5.el8                                        AppStream                                      15 k

Transaction Summary
=======================================================================================================================================================================================================
Install  4 Packages

Total download size: 241 k
Installed size: 425 k
Downloading Packages:
(1/4): perl-MIME-Charset-1.012.2-4.el8.noarch.rpm                                                                                                                      969 kB/s |  52 kB     00:00
(2/4): perl-Net-SMTP-SSL-1.04-5.el8.noarch.rpm                                                                                                                         132 kB/s |  15 kB     00:00
(3/4): perl-MailTools-2.20-2.el8.noarch.rpm                                                                                                                            904 kB/s | 113 kB     00:00
(4/4): perl-MIME-EncWords-1.014.3-15.el8.noarch.rpm                                                                                                                    585 kB/s |  61 kB     00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                  764 kB/s | 241 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                               1/1
  Installing       : perl-MIME-Charset-1.012.2-4.el8.noarch                                                                                                                                        1/4
  Installing       : perl-Net-SMTP-SSL-1.04-5.el8.noarch                                                                                                                                           2/4
  Installing       : perl-MailTools-2.20-2.el8.noarch                                                                                                                                              3/4

Title: Re: CentOS 8 Support - When or Never???
Post by: studio4host on November 08, 2020, 07:16:31 PM
centos 7/8 are similar and share several things.
Title: Re: CentOS 8 Support - When or Never???
Post by: Starburst on December 08, 2020, 03:48:09 AM
We've been running CentOS 8 on the servers for a couple months.

So far, no problems.
Just some minor problems using the migration tool due to the firewall.
Title: Re: CentOS 8 Support - When or Never???
Post by: meek2100 on January 22, 2021, 08:36:37 PM
Good news for those with 16 or less servers in production.  RHEL 8 will be available for free on update 16 servers!

https://arstechnica.com/gadgets/2021/01/centos-is-gone-but-rhel-is-now-free-for-up-to-16-production-servers/
Title: Re: CentOS 8 Support - When or Never???
Post by: hostingreview on January 25, 2021, 10:59:36 PM
What I am trying to do now is migrate from centos 7 to centos 8. Sadly, the only best way to do it is setup new server with CentOS 8 and start to transfer by hand manually.