An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
show errors in install script
Andras Bacsaie08dc777df0e
diff --git a/scripts/install.sh b/scripts/install.shindex 6e7d016a57..a3ce1dd999 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -6,7 +6,7 @@ set -e # Exit immediately if a command exits with a non-zero status#set -u # Treat unset variables as an error and exitset -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status-VERSION="1.3.2"+VERSION="1.3.3"DOCKER_VERSION="26.0"CDN="https://cdn.coollabs.io/coolify"@@ -35,7 +35,7 @@ fi# Install xargs on Amazon Linux 2023 - lolif [ "$OS_TYPE" = 'amzn' ]; then- dnf install -y findutils >/dev/null 2>&1+ dnf install -y findutils >/dev/nullfiLATEST_VERSION=$(curl --silent $CDN/versions.json | grep -i version | xargs | awk '{print $2}' | tr -d ',')@@ -75,28 +75,28 @@ echo "Installing required packages..."case "$OS_TYPE" inarch)- pacman -Sy >/dev/null 2>&1 || true- if ! pacman -Q curl wget git jq >/dev/null 2>&1; then- pacman -S --noconfirm curl wget git jq >/dev/null 2>&1 || true+ pacman -Sy >/dev/null || true+ if ! pacman -Q curl wget git jq >/dev/null; then+ pacman -S --noconfirm curl wget git jq >/dev/null || truefi;;ubuntu | debian | raspbian)- apt update -y >/dev/null 2>&1- apt install -y curl wget git jq >/dev/null 2>&1+ apt update -y >/dev/null+ apt install -y curl wget git jq >/dev/null;;centos | fedora | rhel | ol | rocky | almalinux | amzn)if [ "$OS_TYPE" = "amzn" ]; then- dnf install -y wget git jq >/dev/null 2>&1+ dnf install -y wget git jq >/dev/nullelse- if ! command -v dnf >/dev/null 2>&1; then- yum install -y dnf >/dev/null 2>&1+ if ! command -v dnf >/dev/null; then+ yum install -y dnf >/dev/nullfi- dnf install -y curl wget git jq >/dev/null 2>&1+ dnf install -y curl wget git jq >/dev/nullfi;;sles | opensuse-leap | opensuse-tumbleweed)- zypper refresh >/dev/null 2>&1- zypper install -y curl wget git jq >/dev/null 2>&1+ zypper refresh >/dev/null+ zypper install -y curl wget git jq >/dev/null;;*)echo "This script only supports Debian, Redhat, Arch Linux, or SLES based operating systems for now."