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