stefan thanks for your reply,
I've tried your solution but it seems to have another issue, as long as the "--retry" flag doesn't exists (as you can see), instead i've used the "--repair" and the "--debug" ones so you can have all the things you may need to help me out (all with the same results):
root@Debian-bookworm-latest-amd64-base ~ # bash <(curl -sSL https://openpanel.org)
No currently installed hosting control panels or webservers found. Starting the installation process.
Starting the installation of OpenPanel. This process will take approximately 3-5 minutes.
During this time, we will:
- Install necessary services and tools: CSF, Docker, MySQL, SQLite, Python3, PIP..
- Create an admin account with random username and strong password for you.
- Set up ConfigServer Firewall for enhanced security.
- Install needed Docker images.
- Set up 2 hosting plans (Nginx and Apache) so you can start right away.
Thank you for your patience. We're setting everything up for your seamless OpenPanel experience!
[ OK ] DETECTED OPERATING SYSTEM: DEBIAN GNU/LINUX 12
[ OK ] PACKAGE MANAGEMENT SYSTEM: APT-GET
[ OK ] INSTALLED PYTHON VERSION: 311
[PASS] BACKING FILESYSTEM TYPE: EXT4
[ OK ] PUBLIC IPV4 ADDRESS: myserverip
Updating apt-get package manager..
Installing required services..
Updating certificates..
Installing services..
Installing docker.io
Installing default-mysql-client
Installing python3-pip
Installing pip
Installing gunicorn
Installing jc
Installing sqlite3
Installing geoip-bin
Installing xfsprogs
Downloading configuration files to /etc/openpanel/
[ OK ] Configuration created successfully.
Setting DNS service..
Failed to restart systemd-resolved.service: Unit systemd-resolved.service not found.
Generating rndc.key for DNS zone management.
Setting up OpenAdmin panel..
Cloning into '/usr/local/admin'...
Testing if OpenAdmin service is available on default port '2087':
[ OK ] OpenAdmin service is running.
Downloading OpenCLI and adding to path..
Testing 'opencli' commands:
[ OK ] opencli commands are available.
Setting 'overlay2' as the default storage driver for Docker..
Overlay2 docker storage driver requires backing filesystem to use XFS.
Creating a storage file of 205GB (50% of available disk) to be used for Docker - this can take a few minutes..
220117073920 bytes (220 GB, 205 GiB) copied, 496 s, 444 MB/s
205+0 records in
205+0 records out
220117073920 bytes (220 GB, 205 GiB) copied, 496.08 s, 444 MB/s
Creating the XFS filesystem..
Stopping Docker service..
Mounting the /var/lib/docker directory..
Adding entry to /etc/fstab for persistence across reboots..
[ OK ] XFS filesystem created and /var/lib/docker is mounted successfully.
Starting Docker and checking status..
[ OK ] Docker is configured.
Started downloading docker images in the background..
Setting the remote API service 'http://screenshots-api.openpanel.com/screenshot' for website screenshots..
Setting Nginx configuration..
Setting docker-compose..
MYSQL_ROOT_PASSWORD = 71894b548934870d92
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
Error: ERROR: MySQL container is not running. Please retry installation with '--retry' flag.
root@Debian-bookworm-latest-amd64-base ~ # bash <(curl -sSL https://openpanel.org) --retry
Unknown option: --retry
Available options:
--key=<key_here> Set the license key for OpenPanel Enterprise edition.
--hostname=<hostname> Set the hostname - must be FQDN, example: server.example.net.
--username=<username> Set Admin username - random generated if not provided.
--password=<password> Set Admin Password - random generated if not provided.
--version=<version> Set a custom OpenPanel version to be installed.
--email=stefan@example.net Set email address to receive email with admin credentials and future notifications.
--skip-requirements Skip the requirements check.
--skip-panel-check Skip checking if existing panels are installed.
--skip-apt-update Skip the APT update.
--skip-firewall Skip installing UFW or CSF - Only do this if you will set another external firewall!
--csf Install and setup ConfigServer Firewall (default from >0.2.3)
--ufw Install and setup Uncomplicated Firewall (was default in <0.2.3)
--skip-images Skip installing openpanel/nginx and openpanel/apache docker images.
--skip-blacklists Do not set up IP sets and blacklists.
--skip-ssl Skip SSL setup.
--with_modsec Enable ModSecurity for Nginx.
--no-ssh Disable port 22 and whitelist the IP address of user installing the panel.
--post_install=<path> Specify the post install script path.
--screenshots=<url> Set the screenshots API URL.
--swap=<2> Set space in GB to be allocated for SWAP.
--docker-space=<2> Set space in GB to be allocated for Docker containers (default 50% of available storage).
--debug Display debug information during installation.
--repair Retry and overwrite everything.
-h, --help Show this help message and exit.
root@Debian-bookworm-latest-amd64-base ~ # bash <(curl -sSL https://openpanel.org) --repair
rm: cannot remove '/root/openpanel.lock': No such file or directory
OpenPanel installation started at: Sat Nov 2 03:12:15 PM CET 2024
Starting the installation of OpenPanel. This process will take approximately 3-5 minutes.
During this time, we will:
- Install necessary services and tools: CSF, Docker, MySQL, SQLite, Python3, PIP..
- Create an admin account with random username and strong password for you.
- Set up ConfigServer Firewall for enhanced security.
- Install needed Docker images.
- Set up 2 hosting plans (Nginx and Apache) so you can start right away.
Thank you for your patience. We're setting everything up for your seamless OpenPanel experience!
[ OK ] DETECTED OPERATING SYSTEM: DEBIAN GNU/LINUX 12
[ OK ] PACKAGE MANAGEMENT SYSTEM: APT-GET
[ OK ] INSTALLED PYTHON VERSION: 311
[PASS] BACKING FILESYSTEM TYPE: EXT4
[ OK ] PUBLIC IPV4 ADDRESS: myserverip
Updating apt-get package manager..
Installing required services..
Updating certificates..
Installing services..
Installing docker.io
Installing default-mysql-client
Installing python3-pip
Installing pip
Installing gunicorn
Installing jc
Installing sqlite3
Installing geoip-bin
Installing xfsprogs
Downloading configuration files to /etc/openpanel/
[ OK ] Configuration created successfully.
Setting DNS service..
Failed to restart systemd-resolved.service: Unit systemd-resolved.service not found.
Generating rndc.key for DNS zone management.
Setting up OpenAdmin panel..
Cloning into '/usr/local/admin'...
Testing if OpenAdmin service is available on default port '2087':
[ OK ] OpenAdmin service is running.
Downloading OpenCLI and adding to path..
Testing 'opencli' commands:
[ OK ] opencli commands are available.
Setting 'overlay2' as the default storage driver for Docker..
Overlay2 docker storage driver requires backing filesystem to use XFS.
/var/lib/docker.img already exists. Skipping creation.
Creating the XFS filesystem..
Stopping Docker service..
Mounting the /var/lib/docker directory..
[ OK ] XFS filesystem created and /var/lib/docker is mounted successfully.
Starting Docker and checking status..
[ OK ] Docker is configured.
Started downloading docker images in the background..
Setting the remote API service 'http://screenshots-api.openpanel.com/screenshot' for website screenshots..
Setting Nginx configuration..
ln: failed to create symbolic link '/etc/letsencrypt/options-ssl-nginx.conf': File exists
ln: failed to create symbolic link '/etc/nginx/nginx.conf': File exists
ln: failed to create symbolic link '/etc/nginx/snippets/error_pages.conf': File exists
ln: failed to create symbolic link '/etc/nginx/snippets/error_pages_content.conf': File exists
Setting docker-compose..
MYSQL_ROOT_PASSWORD = e523a4ed36f9072f13
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
Error: ERROR: MySQL container is not running. Please retry installation with '--retry' flag.
root@Debian-bookworm-latest-amd64-base ~ # bash <(curl -sSL https://openpanel.org) --debug
No currently installed hosting control panels or webservers found. Starting the installation process.
Starting the installation of OpenPanel. This process will take approximately 3-5 minutes.
During this time, we will:
- Install necessary services and tools: CSF, Docker, MySQL, SQLite, Python3, PIP..
- Create an admin account with random username and strong password for you.
- Set up ConfigServer Firewall for enhanced security.
- Install needed Docker images.
- Set up 2 hosting plans (Nginx and Apache) so you can start right away.
Thank you for your patience. We're setting everything up for your seamless OpenPanel experience!
[ OK ] DETECTED OPERATING SYSTEM: DEBIAN GNU/LINUX 12
[ OK ] PACKAGE MANAGEMENT SYSTEM: APT-GET
[ OK ] INSTALLED PYTHON VERSION: 311
[PASS] BACKING FILESYSTEM TYPE: EXT4
[ OK ] PUBLIC IPV4 ADDRESS: myserverip
Updating apt-get package manager..
[2024-11-02 15:17:10]
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Hit:4 http://mirror.hetzner.com/debian/packages bookworm InRelease
Hit:5 http://mirror.hetzner.com/debian/packages bookworm-updates InRelease
Hit:6 http://mirror.hetzner.com/debian/security bookworm-security InRelease
Reading package lists...
Installing required services..
[2024-11-02 15:17:11]
sed: can't read /etc/needrestart/needrestart.conf: No such file or directory
[2024-11-02 15:17:11]
Updating certificates..
[2024-11-02 15:17:11]
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Installing services..
Installing docker.io
[2024-11-02 15:17:11]
Installing default-mysql-client
[2024-11-02 15:17:12]
Installing python3-pip
[2024-11-02 15:17:12]
Installing pip
[2024-11-02 15:17:12]
Installing gunicorn
[2024-11-02 15:17:12]
Installing jc
[2024-11-02 15:17:13]
Installing sqlite3
[2024-11-02 15:17:13]
Installing geoip-bin
[2024-11-02 15:17:13]
Installing xfsprogs
[2024-11-02 15:17:13]
E: Invalid operation list
Updating apt-get package manager..
docker.io is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
default-mysql-client is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
python3-pip is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
pip is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
gunicorn is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
jc is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
sqlite3 is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
geoip-bin is already installed. Skipping.
E: Invalid operation list
Updating apt-get package manager..
xfsprogs is already installed. Skipping.
Downloading configuration files to /etc/openpanel/
[ OK ] Configuration created successfully.
Setting DNS service..
Failed to restart systemd-resolved.service: Unit systemd-resolved.service not found.
Generating rndc.key for DNS zone management.
[2024-11-02 15:17:15]
docker: Error response from daemon: AppArmor enabled on system but the docker-default profile could not be loaded: running apparmor_parser apparmor_parser --version
failed with output:
error: exec: "apparmor_parser": executable file not found in $PATH.
Setting up OpenAdmin panel..
[2024-11-02 15:17:15]
Downloading OpenAdmin files for OS and Python version 311
fatal: destination path '/usr/local/admin' already exists and is not an empty directory.
Testing if OpenAdmin service is available on default port '2087':
[ OK ] OpenAdmin service is running.
Downloading OpenCLI and adding to path..
Testing 'opencli' commands:
[ OK ] opencli commands are available.
Setting 'overlay2' as the default storage driver for Docker..
Overlay2 docker storage driver requires backing filesystem to use XFS.
/var/lib/docker.img already exists. Skipping creation.
Creating the XFS filesystem..
[2024-11-02 15:17:20]
mkfs.xfs: /var/lib/docker.img appears to contain an existing filesystem (xfs).
mkfs.xfs: Use the -f option to force overwrite.
Stopping Docker service..
[2024-11-02 15:17:20]
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
Mounting the /var/lib/docker directory..
[2024-11-02 15:17:20]
mount: /var/lib/docker: /var/lib/docker.img is already mounted.
[ OK ] XFS filesystem created and /var/lib/docker is mounted successfully.
Starting Docker and checking status..
[ OK ] Docker is configured.
Started downloading docker images in the background..
Setting the remote API service 'http://screenshots-api.openpanel.com/screenshot' for website screenshots..
Setting Nginx configuration..
ln: failed to create symbolic link '/etc/letsencrypt/options-ssl-nginx.conf': File exists
ln: failed to create symbolic link '/etc/nginx/nginx.conf': File exists
ln: failed to create symbolic link '/srv/http/default/error_pages': File exists
ln: failed to create symbolic link '/etc/nginx/snippets/error_pages.conf': File exists
ln: failed to create symbolic link '/etc/nginx/snippets/error_pages_content.conf': File exists
Setting docker-compose..
MYSQL_ROOT_PASSWORD = 12d8c9ab0f76d702ea
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
Error: ERROR: MySQL container is not running. Please retry installation with '--retry' flag.