From ec631a6665d6b2574f8058cd708ca182d5ee5e73 Mon Sep 17 00:00:00 2001 From: DragoQC Date: Fri, 28 Nov 2025 17:36:18 -0500 Subject: [PATCH] Fixed too many messages, Fixed error : [2025-11-28 17:32:33] FATAL: Failed to initialize storage: failed to open database: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub --- install/discopanel-install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install/discopanel-install.sh b/install/discopanel-install.sh index 533a12bc9..ce7afde7d 100644 --- a/install/discopanel-install.sh +++ b/install/discopanel-install.sh @@ -14,6 +14,11 @@ setting_up_container network_check update_os +msg_info "Installing Dependencies" +$STD apt install -y build-essential gcc +msg_ok "Installed Dependencies" + + msg_info "Installing Docker" DOCKER_CONFIG_PATH='/etc/docker/daemon.json' mkdir -p $(dirname $DOCKER_CONFIG_PATH) @@ -21,10 +26,7 @@ echo -e '{\n "log-driver": "journald"\n}' >/etc/docker/daemon.json $STD sh <(curl -fsSL https://get.docker.com) msg_ok "Installed Docker" - -msg_info "Installing DiscoPanel" fetch_and_deploy_gh_release "discopanel" "nickheyer/discopanel" "tarball" "latest" "/opt/discopanel" -msg_ok "Installed DiscoPanel" setup_nodejs @@ -53,6 +55,7 @@ ExecStart=/opt/discopanel/discopanel Restart=always User=root + [Install] WantedBy=multi-user.target EOF