Installation script issues (on Ubuntu 20.04) — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

Installation script issues (on Ubuntu 20.04)

I have been trying to install CyberPanel on an Ubuntu 20.04 host, with OLS already installed.

This resulted in a lot of errors with a corruption of the /tmp directory. I understand the installation script may fail because it's not expecting OLS to already be installed. But it should not wreck the system when it fails.

Here are some issues I found in the installation script:

1) There seems to be a typo somewhere related to debconf as it cites something called 'Noninteracitve' (which has an obvious typo):

debconf: unable to initialize frontend: Noninteracitve

2) The script uses the following command:
mkfs.ext4 -F /usr/.tempdisk

but the Ubuntu manual states that -F needs to appear twice on the cmd line when used.

3) The adduser command for docker is missing the '-ingroup docker' option. Without it, it will fail if the docker group already exists.

4) The script writes to /etc/fstab but does not clean after itself if it fails.

5) The script keeps going despite numerous errors and does not give a chance for the user to review them.

6) It's not clear what the script means by installation memcached/redis and their extensions. What happens if they are both already installed? Will it overwrite them? There should be an option to install just the extensions?

7) There are no clear requirements stated. What happens if OLS, memcached, Redis, mariadb server... are already installed?

What if I have mariadb 10.15 installed? what will happen?

8) The script fails eventually on:

The following packages have unmet dependencies:
libmariadbclient-dev : Depends: libmariadb-dev (= 1:10.3.22-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have not seen any proper resolution anywhere to this issue.

9) If I work around the issue #8, the script fails on:

apt-get -y install openlitespeed

[09.29.2020_23-29-40] [ERROR] We are not able to run apt-get -y install openlitespeed return code: 100. Fatal error, see /var/log/installLogs.txt for full details.

And installLogs.txt has no additional details.

10) I would be nice to know if it is possible to install CyberPanel on an existing OLS install. If so, what process should I follow? If not, what is the alternative/better to transition from OLS alone to using OLS with CyberPanel.

Thank you!

Comments

  • It would be great if the installation script detected the presence of OLS/memcached/redis/mariadb/... and shut down the appropriate daemons and executables to ensure the most reliable installation possible.
  • I read the instructions on this page:
    https://cyberpanel.net/docs/installing-cyberpanel/

    I cannot see any mention of a "clean minimal OS", unless I missed that part. Are there different instructions somewhere? Please kindly point me to them. Thank you.

    PS: Still not sure how #2 cannot work based on mkfs.ext4 manual page.

    -F Force mke2fs to create a filesystem, even if the specified device is not a partition on a block special device, or if other parameters do not make sense.
    In order to force mke2fs to create a filesystem even if the filesystem appears to be in use or is mounted (a truly dangerous thing to do), this option
    must be specified twice.
  • Additionally it would be great to provide instructions on how to migrate from OLS to CyberPanel, even the instructions say that there is no easy way, it's not supported, and it's better to start over with a new clean install and then re-do the website setup through CyberPanel.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion