Install fails

Provider: Web24 (Australia, Melbourne)

Virtualization Type: VPS (1CPU, 1GB RAM, 16GB SSD)

System: Ubuntu 18.04 LTS

Installation option: Install everything

OLS or Enterprise? OLS

Installing from official server or mirror server?official

Replace JS/CSS files to JS Delivr? - wasnt asked this question

Install Memcached extension for PHP? Yes

Install LiteSpeed Memcached? yes

Install Memcached? Yes

Install Redis extension for PHP? Yes

Install Redis? yes

Problem:

Run this script as root (not sudo) sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

I get this error: Traceback (most recent call last):
File “install.py”, line 2343, in
main()
File “install.py”, line 2267, in main
installCyberPanel.Main(cwd, mysql, distro, ent, None, port, args.ftp, args.powerdns)
File “/root/cyberpanel/install/installCyberPanel.py”, line 594, in Main
installer.fixMariaDB()
File “/root/cyberpanel/install/installCyberPanel.py”, line 307, in fixMariaDB
conn = mariadb.connect(user=‘root’, passwd=self.mysql_Root_password)
File “/usr/local/CyberPanel/local/lib/python2.7/site-packages/MySQLdb/init.py”, line 81, in Connect
return Connection(*args, **kwargs)
File “/usr/local/CyberPanel/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 193, in init
super(Connection, self).init(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, “Access denied for user ‘root’@‘localhost’ (using password: YES)”)
Oops, something went wrong…

As this is a VPS dev box I can provide access for testing if required. OLS was previously installed via the OLS build script after full update of OS then installing SSL cert and importing Wordpress site. I can rebuild the entire site in around 30 minutes if needed.

never mind, turns out I misunderstand how this works and I had installed Litespeed and SSL first then tried to run it.

Yes, you need a fresh (minimal Centos) to install CyberPanel.