mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
CloudPanel couldn't be installed #406
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Chlitzxer on 4/28/2023
CloudPanel version(s) affected
2.2.2
Description
I ran the following command on a NEW Dedicated server with "Ubuntu 22.04 LTS" updated and ailed at the end.
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh;
echo "3874fff99744cf3afe6f533013282e87c95640e128d1d3998666e2929dc12978 install.sh" |
sha256sum -c && sudo DB_ENGINE=MARIADB_10.11 bash install.sh
After the run this is what happened at the end.
Errors were encountered while processing:
cloudpanel
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: CloudPanel couldn't be installed. Check the log above for errors that occurred in the install process.
And after that message I tried
sudo dpkg --configure -a
Setting up cloudpanel (2.2.2-2+clp-jammy) ...
Generating locales (this might take a while)...
en_US.ISO-8859-1... done
en_US.UTF-8... done
Generation complete.
Restarting ssh (via systemctl): ssh.service.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)'
Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists!
dpkg: error processing package cloudpanel (--configure):
installed cloudpanel package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
cloudpanel
Once a gain this was a clean installation with nothing installed under "Ubuntu 22.04 LTS" I really appreciate if you guys can help me out.
How to reproduce
Run curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh;
echo "3874fff99744cf3afe6f533013282e87c95640e128d1d3998666e2929dc12978 install.sh" |
sha256sum -c && sudo DB_ENGINE=MARIADB_10.11 bash install.sh
Possible Solution
Unknown
Additional Context
No response