01 - Installing CyberPanel

Install goes well until this point
Could use some help.

[08.09.2023_13-51-21] #########################################################################

[08.09.2023_13-51-21] Setup MariaDB so it can support Cyberpanel’s needs

[08.09.2023_13-51-21] #########################################################################

Traceback (most recent call last):
File “/root/cyberpanel/install/install.py”, line 2593, in
main()
File “/root/cyberpanel/install/install.py”, line 2473, in main
installCyberPanel.Main(cwd, mysql, distro, ent, None, port, args.ftp, args.powerdns, args.publicip, remotemysql,
File “/root/cyberpanel/install/installCyberPanel.py”, line 706, in Main
installer.fixMariaDB()
File “/root/cyberpanel/install/installCyberPanel.py”, line 336, in fixMariaDB
conn = mariadb.connect(user=‘root’, passwd=self.mysql_Root_password)
File “/usr/local/CyberPanel/lib/python3.10/site-packages/MySQLdb/init.py”, line 130, in Connect
return Connection(*args, **kwargs)
File “/usr/local/CyberPanel/lib/python3.10/site-packages/MySQLdb/connections.py”, line 185, in init
super().init(*args, **kwargs2)
MySQLdb._exceptions.OperationalError: (1045, “Access denied for user ‘root’@‘localhost’ (using password: YES)”)
Oops, something went wrong…

1 Like

I am using ubuntu 23.04 and the “sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)” command is showing that this version is not supported. why? this the latest version

@pllv89 this the supported versions Server with a fresh install of Centos 7.x (Not recommended for new installs),
fresh install supported versions
Centos 8.x, Ubuntu 18.04, Ubuntu 20.04, AlmaLinux 8, Ubuntu 22.04

Not able to install on OS: Ubuntu 22.04 x86_64, server become not reachable . Tried 4 - 5 times after reinstalling the node but facing same issue

Selecting previously unselected package gir1.2-nm-1.0:amd64.

(Reading database … 170196 files and directories currently installed.)

Preparing to unpack …/0-gir1.2-nm-1.0_1.36.6-0ubuntu2_amd64.deb …

Unpacking gir1.2-nm-1.0:amd64 (1.36.6-0ubuntu2) …

Selecting previously unselected package python3-nftables.

Preparing to unpack …/1-python3-nftables_1.0.2-1ubuntu3_amd64.deb …

Unpacking python3-nftables (1.0.2-1ubuntu3) …

Selecting previously unselected package python3-firewall.

Preparing to unpack …/2-python3-firewall_1.1.1-1ubuntu1_all.deb …

Unpacking python3-firewall (1.1.1-1ubuntu1) …

Selecting previously unselected package firewalld.

Preparing to unpack …/3-firewalld_1.1.1-1ubuntu1_all.deb …

Unpacking firewalld (1.1.1-1ubuntu1) …

Selecting previously unselected package libipset13:amd64.

Preparing to unpack …/4-libipset13_7.15-1build1_amd64.deb …

Unpacking libipset13:amd64 (7.15-1build1) …

Selecting previously unselected package python3-cap-ng.

Preparing to unpack …/5-python3-cap-ng_0.7.9-2.2build3_amd64.deb …

Unpacking python3-cap-ng (0.7.9-2.2build3) …

Selecting previously unselected package ipset.

Preparing to unpack …/6-ipset_7.15-1build1_amd64.deb …

Unpacking ipset (7.15-1build1) …

Setting up python3-cap-ng (0.7.9-2.2build3) …

Setting up python3-firewall (1.1.1-1ubuntu1) …

Setting up libipset13:amd64 (7.15-1build1) …

Setting up gir1.2-nm-1.0:amd64 (1.36.6-0ubuntu2) …

Setting up ipset (7.15-1build1) …

Setting up python3-nftables (1.0.2-1ubuntu3) …

Setting up firewalld (1.1.1-1ubuntu1) …

update-alternatives: using /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.server.policy.choice to provide /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.policy (org.fedoraproject.FirewallD1.policy) in auto mode

Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /lib/systemd/system/firewalld.service.

Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /lib/systemd/system/firewalld.service.

Processing triggers for man-db (2.10.2-1) …

Processing triggers for dbus (1.12.20-2ubuntu4.1) …

Processing triggers for libc-bin (2.35-0ubuntu3.1) …

NEEDRESTART-VER: 3.5

client_loop: send disconnect: Broken pipe

Fails on Ubuntu 22.04.3 LTS



Fails on Ubuntu 20.04.6 LTS

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

Fails to detect the OS

sudo su - -c "sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)"

Runs but forces the firewall to be uninstalled and forces a restart which breaks the install process and prevents it from being run again.



Works on Alma Linux 8.8

https://cyberpanel.net/install.sh fails to detect the OS but actually can be installed.

Steps:
sudo curl https://cyberpanel.net/install.sh > install.sh - To save the file locally.
sudo nano install.sh - Change $SERVER_OS to CentOS8 and save
sudo sh install.sh or su - -c install.sh it will download cyberpanel.sh for CentOS8
sudo sh cyberpanel.sh - To install

To my amazement this one actually installs and completes. While really happy that it’s working I have to say for any new user who wants to try or see what this software is about this is not a great experience and gives me 0 confidence that it will survive any future updates.

installed Ubuntu for the WM I created on my own server and completed the installation process. It works stably. However, I want to install on localhost. Cyberpanel operates directly via my external IP address. The interesting thing is that I can access the cyberpanel admin panel from my local IP address. However, when I create a web page, it does not launch on localhost. Because it requires a domain address. Can I use cyberpanel on localhost by creating a local domain?

Just installed new fresh Ubuntu 22.04.3 LTS on UpCloud.

After hit save button on PHP configuration, then error:

Tried Almalinux 8 too, and the same error.

I have looked at this install guide a few times over the last year or so. I have also attempted to install CyberPanel following the instructions provided on Ubuntu 22.04 and each time there are errors. More than a few people have indicated this is an issue. Why is the script not working and why hasn’t it been resolved? This guide was updated to say we could use Ubuntu 22.04 and yet it never successfully installs. Saying things like it can’t find PHP and giving errors when trying to set up a site. It seems silly to have a script that still doesn’t work with Ubuntu 22.04 when there is already a Ubuntu 23 out… when will this be resolved? Before or after they drop support for Ubuntu 20.04?

is it possible if we just using local machine via vmware ?

Yes! You just need to forward the required ports to public internet. Example for wehsites to work you need to forward ports 80 and 443. Similarly for emails


Oops, something went wrong... [404]

Starting installation..,1

Initialization completed..,2

Setting up repositories...,1

Installing necessary components..,3

Installing required virtual environment,3

Installing requirments..,3

Getting CyberPanel code..,4

Necessary components installed..,5

Setting up system tweak...,20

Starting main installation..,30
[05.28.2024_23-59-42] Starting CyberPanel installation..,10
[05.28.2024_23-59-42] Running: adduser --disabled-login --gecos "" cyberpanel,10
[05.28.2024_23-59-43] [ERROR] We are not able to run adduser --disabled-login --gecos "" cyberpanel return code: 1.  Fatal error, see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-44] [ERROR] We are not able to run adduser --disabled-login --gecos "" cyberpanel return code: 1.  Fatal error, see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-44] [ERROR] setup_account_cyberpanel. 71, see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-45] Running: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh, see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-46] Successfully ran: wget http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh., see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-46] Running: ./enable_lst_debain_repo.sh, see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-58] Successfully ran: ./enable_lst_debain_repo.sh., see /var/log/installLogs.txt for full details.
[05.28.2024_23-59-59] Running: , see /var/log/installLogs.txt for full details.
[05.29.2024_00-00-00] Successfully ran: ., see /var/log/installLogs.txt for full details.
[05.29.2024_00-00-00] Running: , see /var/log/installLogs.txt for full details.
[05.29.2024_00-00-01] Successfully ran: ., see /var/log/installLogs.txt for full details.
[05.29.2024_00-00-01] Installing LiteSpeed Web server,40
[05.29.2024_00-00-03] Running: DEBIAN_FRONTEND=noninteractive apt-get -y install openlitespeed,40
[05.29.2024_00-00-07] [ERROR] We are not able to run DEBIAN_FRONTEND=noninteractive apt-get -y install openlitespeed return code: 100.  Fatal error, see /var/log/installLogs.txt for>
[05.29.2024_00-00-11] [ERROR] We are not able to run DEBIAN_FRONTEND=noninteractive apt-get -y install openlitespeed return code: 100.  Fatal error, see /var/log/installLogs.txt for>


Almalinux 8 install error

Me too…
Where is the Quality Contol team?
Thanks

Not working too with Ubuntu 24.04 LTS :cry:

In the installation documentation, the availability of installation on Ubuntu 24 does not count in requirements, this is at your own risk. While you may be able to resolve some errors like this manually, I strongly recommend that you only use the currently supported and tested operating system options. :slight_smile:

https://community.cyberpanel.net/docs?topic=82

1 Like

Thank you. I didn’t read carefully.

Is anyone here running cyberpanel on a virgin alma9 (now supported OS) without manual fixing of package-dependencies?

I tried to install cyberpanel on alma9, but still I got this error:

Traceback (most recent call last):
File “/root/cyberpanel/install/install.py”, line 2626, in
main()
File “/root/cyberpanel/install/install.py”, line 2506, in main
installCyberPanel.Main(cwd, mysql, distro, ent, None, port, args.ftp, args.powerdns, args.publicip, remotemysql,
File “/root/cyberpanel/install/installCyberPanel.py”, line 808, in Main
installer.installMySQL(mysql)
File “/root/cyberpanel/install/installCyberPanel.py”, line 371, in installMySQL
type = clAPVersion.split(‘-’)[0]
AttributeError: ‘NoneType’ object has no attribute ‘split’
Oops, something went wrong…

That’s the same issue as I had triying to run the install.sh-script using SERVER_OS=“CentOS8”.

In the new version of the install script SERVER_OS is still set to CentOS8 for detected Alma9 as OS?
Is this correct?

It seems like cyberpanel does not work with python 3.9 (standard in alma9).

Successfully installed Cyberpanel, but when I visited the site, <my_ip>:8090 it can’t be reached. By the way, I’m using a Virtual Machine. Can you please help me? Thanks

Check if the port 8090 is allowed by your vps provider firewall.

Make sure you are also visiting the https not http