upgrade old Scriptcalls to new tools.func calls (#5242)

* Upgraded Function Names related to #5241

* change gh calls

* add 2 missing
This commit is contained in:
CanbiZ
2025-06-18 12:03:00 +02:00
committed by GitHub
parent c11636562c
commit 003422934a
116 changed files with 185 additions and 190 deletions

View File

@ -29,7 +29,7 @@ function update_script() {
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/Bubka/2FAuth/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ "${RELEASE}" != "$(cat /opt/2fauth_version.txt)" ]] || [[ ! -f /opt/2fauth_version.txt ]]; then
if [[ "${RELEASE}" != "$(cat ~/.2fauth 2>/dev/null || cat /opt/2fauth_version.txt 2>/dev/null)" ]]; then
msg_info "Updating $APP to ${RELEASE}"
$STD apt-get update
$STD apt-get -y upgrade
@ -45,10 +45,10 @@ function update_script() {
$STD apt-get install -y \
lsb-release \
gnupg2
PHP_VERSION="8.3" PHP_MODULE="common,ctype,fileinfo,fpm,mysql,cli" install_php
PHP_VERSION="8.3" PHP_MODULE="common,ctype,fileinfo,fpm,mysql,cli" setup_php
sed -i 's/php8.2/php8.3/g' /etc/nginx/conf.d/2fauth.conf
fi
fetch_and_deploy_gh_release "Bubka/2FAuth"
fetch_and_deploy_gh_release "2fauth" "Bubka/2FAuth"
mv "/opt/2fauth-backup/.env" "/opt/2fauth/.env"
mv "/opt/2fauth-backup/storage" "/opt/2fauth/storage"
cd "/opt/2fauth" || return

View File

@ -29,7 +29,7 @@ function update_script() {
exit
fi
NODE_VERSION="22"
install_node_and_modules
setup_nodejs
RELEASE=$(curl -fsSL https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ -f /opt/actualbudget-data/config.json ]]; then
if [[ ! -f /opt/actualbudget_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/actualbudget_version.txt)" ]]; then

View File

@ -28,7 +28,7 @@ function update_script() {
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/raydak-labs/configarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ "${RELEASE}" != "$(cat /opt/configarr_version.txt)" ]] || [[ ! -f /opt/configarr_version.txt ]]; then
if [[ "${RELEASE}" != "$(cat ~/.configarr 2>/dev/null || cat /opt/configarr_version.txt 2>/dev/null)" ]]; then
msg_info "Stopping $APP"
systemctl stop configarr-task.timer
msg_ok "Stopped $APP"
@ -37,7 +37,7 @@ function update_script() {
mkdir -p /opt/backup/
mv /opt/configarr/{config.yml,secrets.yml,.env} "/opt/backup/"
rm -rf /opt/configarr
fetch_and_deploy_gh_release "raydak-labs/configarr"
fetch_and_deploy_gh_release "configarr" "raydak-labs/configarr"
mv /opt/backup/* /opt/configarr/
cd /opt/configarr
$STD pnpm install

View File

@ -34,7 +34,7 @@ function update_script() {
exit 1
fi
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
PROJECT_NAME=$(</opt/fumadocs/.projectname)
PROJECT_DIR="/opt/fumadocs/${PROJECT_NAME}"
SERVICE_NAME="fumadocs_${PROJECT_NAME}.service"

View File

@ -29,7 +29,7 @@ function update_script() {
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/arunavo4/gitea-mirror/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
if [[ "${RELEASE}" != "$(cat ~/.${APP} 2>/dev/null || cat /opt/${APP}_version.txt 2>/dev/null)" ]]; then
msg_info "Stopping Services"
systemctl stop gitea-mirror
@ -48,15 +48,15 @@ function update_script() {
msg_ok "Installed Bun"
rm -rf /opt/gitea-mirror
fetch_and_deploy_gh_release "arunavo4/gitea-mirror"
msg_info "Updating and rebuilding ${APP} to v${RELEASE}"
fetch_and_deploy_gh_release "gitea-mirror" "arunavo4/gitea-mirror"
msg_info "Updating and rebuilding ${APP} to v${RELEASE}"
cd /opt/gitea-mirror
$STD bun run setup
$STD bun run build
APP_VERSION=$(grep -o '"version": *"[^"]*"' package.json | cut -d'"' -f4)
sudo sed -i.bak "s|^Environment=npm_package_version=.*|Environment=npm_package_version=${APP_VERSION}|" /etc/systemd/system/gitea-mirror.service
msg_ok "Updated and rebuilt ${APP} to v${RELEASE}"
msg_ok "Updated and rebuilt ${APP} to v${RELEASE}"
msg_info "Restoring Data"
cp /opt/gitea-mirror-backup/data/* /opt/gitea-mirror/data

View File

@ -81,7 +81,7 @@ EOF
systemctl daemon-reload
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/homarr-labs/homarr/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
if [[ "${RELEASE}" != "$(cat ~/.${APP} 2>/dev/null || cat /opt/${APP}_version.txt 2>/dev/null)" ]]; then
msg_info "Stopping Services (Patience)"
systemctl stop homarr
@ -100,10 +100,10 @@ EOF
$STD command -v jq || $STD apt-get update && $STD apt-get install -y jq
NODE_VERSION=$(curl -s https://raw.githubusercontent.com/homarr-labs/homarr/dev/package.json | jq -r '.engines.node | split(">=")[1] | split(".")[0]')
NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/homarr-labs/homarr/dev/package.json | jq -r '.packageManager | split("@")[1]')"
install_node_and_modules
setup_nodejs
rm -rf /opt/homarr
fetch_and_deploy_gh_release "homarr-labs/homarr"
fetch_and_deploy_gh_release "homarr" "homarr-labs/homarr"
msg_info "Updating and rebuilding ${APP} to v${RELEASE} (Patience)"
rm /opt/run_homarr.sh

View File

@ -53,10 +53,10 @@ function update_script() {
if [ -z "$pnpm_current" ]; then
msg_error "pnpm not found. Installing version $pnpm_desired..."
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs
elif ! node -e "const semver = require('semver'); process.exit(semver.satisfies('$pnpm_current', '$pnpm_desired') ? 0 : 1)"; then
msg_error "Updating pnpm from version $pnpm_current to $pnpm_desired..."
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs
else
msg_ok "pnpm is already installed and satisfies version $pnpm_desired."
fi

View File

@ -28,17 +28,17 @@ function update_script() {
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/linkwarden/linkwarden/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ "${RELEASE}" != "$(cat /opt/linkwarden_version.txt)" ]] || [[ ! -f /opt/linkwarden_version.txt ]]; then
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Stopping ${APP}"
systemctl stop linkwarden
msg_ok "Stopped ${APP}"
RUST_CRATES="monolith" install_rust_and_crates
RUST_CRATES="monolith" setup_rust
msg_info "Updating ${APP} to ${RELEASE}"
mv /opt/linkwarden/.env /opt/.env
rm -rf /opt/linkwarden
fetch_and_deploy_gh_release "linkwarden/linkwarden"
fetch_and_deploy_gh_release "linkwarden" "linkwarden/linkwarden"
cd /opt/linkwarden
$STD yarn
$STD npx playwright install-deps

View File

@ -20,19 +20,17 @@ color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /root/Matterbridge ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
$STD apt-get update
$STD apt-get upgrade -y
NODE_VERSION="22"
NODE_MODULE="matterbridge"
install_node_and_modules
header_info
check_container_storage
check_container_resources
if [[ ! -d /root/Matterbridge ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
$STD apt-get update
$STD apt-get upgrade -y
NODE_VERSION="22" NODE_MODULE="matterbridge" setup_nodejs
exit
}
start

View File

@ -28,7 +28,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
if fetch_and_deploy_gh_release "YuukanOO/seelf"; then
if fetch_and_deploy_gh_release "seelf" "YuukanOO/seelf"; then
msg_ok "$APP already at the latest version. No update required."
else
msg_info "Stopping $APP"

View File

@ -30,9 +30,9 @@ function update_script() {
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/CrazyWolf13/streamlink-webui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
if [[ "${RELEASE}" != "$(cat ~/.${APP} 2>/dev/null || cat /opt/${APP}_version.txt 2>/dev/null)" ]]; then
msg_info "Starting Update"
msg_info "Stopping $APP"
systemctl stop ${APP}
msg_ok "Stopped $APP"
@ -40,9 +40,9 @@ function update_script() {
rm -rf /opt/${APP}
NODE_VERSION="22"
NODE_MODULE="npm,yarn"
install_node_and_modules
setup_nodejs
setup_uv
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
fetch_and_deploy_gh_release "streamlink-webui" "CrazyWolf13/streamlink-webui"
msg_info "Updating $APP to v${RELEASE}"
$STD uv venv /opt/"${APP}"/backend/src/.venv

View File

@ -31,7 +31,7 @@ function update_script() {
if dpkg -l | grep -q "openjdk-17-jre"; then
$STD apt-get remove -y openjdk-17-jre
fi
JAVA_VERSION=21 install_java
JAVA_VERSION=21 setup_java
RELEASE=$(curl -fsSL https://api.github.com/repos/Suwayomi/Suwayomi-Server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ "${RELEASE}" != "$(cat /opt/suwayomi-server_version.txt)" ]] || [[ ! -f /opt/suwayomi-server_version.txt ]]; then
msg_info "Updating $APP"

View File

@ -19,9 +19,9 @@ $STD apt-get install -y \
nginx
msg_ok "Installed Dependencies"
PHP_VERSION="8.3" PHP_MODULE="common,ctype,fileinfo,fpm,mysql,cli" install_php
install_composer
install_mariadb
PHP_VERSION="8.3" PHP_MODULE="common,ctype,fileinfo,fpm,mysql,cli" setup_php
setup_composer
setup_mariadb
msg_info "Setting up Database"
DB_NAME=2fauth_db
@ -38,7 +38,7 @@ $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUS
} >>~/2FAuth.creds
msg_ok "Set up Database"
fetch_and_deploy_gh_release "Bubka/2FAuth"
fetch_and_deploy_gh_release "2fauth" "Bubka/2FAuth"
msg_info "Setup 2FAuth"
cd /opt/2fauth

View File

@ -22,7 +22,7 @@ msg_info "Installing Actual Budget"
cd /opt
RELEASE=$(curl -fsSL https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
NODE_VERSION="22"
install_node_and_modules
setup_nodejs
mkdir -p /opt/actualbudget-data/{server-files,upload,migrate,user-files,migrations,config}
chown -R root:root /opt/actualbudget-data
chmod -R 755 /opt/actualbudget-data

View File

@ -23,8 +23,8 @@ $STD apt-get install -y \
python3-pip
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
PG_VERSION="16" PG_MODULES="postgis" install_postgresql
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
PG_VERSION="16" PG_MODULES="postgis" setup_postgresql
msg_info "Set up PostgreSQL Database"
DB_NAME="adventurelog_db"

View File

@ -38,7 +38,7 @@ $STD apt-get install -y \
default-jdk
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setup Apache Tomcat"
RELEASE=$(curl -fsSL https://dlcdn.apache.org/tomcat/tomcat-9/ | grep -oP '(?<=href=")v[^"/]+(?=/")' | sed 's/^v//' | sort -V | tail -n1)

View File

@ -33,7 +33,7 @@ $STD apt-get install -y \
python3-regex
msg_ok "Installed Python Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing Playwright"
$STD pip install playwright

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
php-{pgsql,dom}
msg_ok "Installed Dependencies"
PG_VERSION="16" install_postgresql
PG_VERSION="16" setup_postgresql
msg_info "Setting up PostgreSQL Database"
DB_NAME=baikal

View File

@ -20,8 +20,8 @@ $STD apt-get install -y \
musl-dev
msg_ok "Installed Dependencies"
PG_VERSION="16" install_postgresql
install_go
PG_VERSION="16" setup_postgresql
setup_go
RELEASE=$(curl -fsSL https://api.github.com/repos/bitmagnet-io/bitmagnet/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Installing bitmagnet v${RELEASE}"

View File

@ -22,7 +22,7 @@ $STD apt-get install -y \
make
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up Database"
DB_NAME=bookstack

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing ByteStash"
JWT_SECRET=$(openssl rand -base64 32 | tr -d '/+=')

View File

@ -29,7 +29,7 @@ msg_ok "Installed Caddy"
read -r -p "${TAB3}Would you like to install xCaddy Addon? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
install_go
setup_go
msg_info "Setup xCaddy"
$STD apt-get install -y git
cd /opt

View File

@ -51,7 +51,7 @@ $STD apt-get install -y \
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Setup Python3"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing Change Detection"
mkdir /opt/changedetection

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
install_go
setup_go
msg_info "Configure Application"
var_cf_api_token="default"

View File

@ -18,8 +18,8 @@ $STD apt-get install -y \
git
msg_ok "Installed Dependencies"
NODE_MODULE="pnpm@latest" install_node_and_modules
fetch_and_deploy_gh_release "raydak-labs/configarr"
NODE_MODULE="pnpm@latest" setup_nodejs
fetch_and_deploy_gh_release "configarr" "raydak-labs/configarr"
msg_info "Setup ${APPLICATION}"
cat <<EOF >/opt/configarr/.env

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing Cronicle Primary Server"
LATEST=$(curl -fsSL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Setup Cross-Seed"
$STD npm install cross-seed@latest -g

View File

@ -18,7 +18,7 @@ $STD apt-get install -y \
git
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
read -p "${TAB3}Install OnlyOffice components instead of CKEditor? (Y/N): " onlyoffice

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
RELEASE=$(curl -fsSL https://api.github.com/repos/Lissy93/dashy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
msg_info "Installing Dashy ${RELEASE} (Patience)"

View File

@ -20,8 +20,8 @@ $STD apt-get install -y \
make
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/docmost/docmost/main/package.json | jq -r '.packageManager | split("@")[1]')" install_node_and_modules
PG_VERSION="16" install_postgresql
NODE_VERSION="22" NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/docmost/docmost/main/package.json | jq -r '.packageManager | split("@")[1]')" setup_nodejs
PG_VERSION="16" setup_postgresql
msg_info "Setting up PostgreSQL"
DB_NAME="docmost_db"

View File

@ -28,8 +28,8 @@ $STD apt-get install -y \
python3-bcrypt
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="turbo@1.9.3" install_node_and_modules
PG_VERSION="16" install_postgresql
NODE_VERSION="22" NODE_MODULE="turbo@1.9.3" setup_nodejs
PG_VERSION="16" setup_postgresql
msg_info "Setting up PostgreSQL"
DB_NAME="documenso_db"

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
debconf-utils
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up Database"
ROOT_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
debconf-utils
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
read -p "${TAB3}Please enter the name for your server: " servername
@ -57,8 +57,8 @@ cd /opt/synapse-admin
$STD yarn global add serve
$STD yarn install --ignore-engines
$STD yarn build
mv ./dist ../ && \
rm -rf * && \
mv ./dist ../ &&
rm -rf * &&
mv ../dist ./
msg_ok "Installed Element Synapse"

View File

@ -18,7 +18,7 @@ $STD apt-get install -y \
xdg-utils
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Setup Excalidraw"
temp_file=$(mktemp)

View File

@ -24,7 +24,7 @@ $STD apt-get install -y \
composer
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up database"
DB_NAME=firefly

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="20" install_node_and_modules
NODE_VERSION="20" setup_nodejs
msg_info "Installing FlowiseAI (Patience)"
$STD npm install -g flowise \

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
libapache2-mod-php
msg_ok "Installed Dependencies"
PG_VERSION="16" install_postgresql
PG_VERSION="16" setup_postgresql
msg_info "Setting up PostgreSQL"
DB_NAME=freshrss

View File

@ -23,7 +23,7 @@ $STD apt-get install -y {python3,python3-dev,python3-setuptools,python3-distutil
$STD pip install --upgrade pip
msg_ok "Setup Python3"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing go2rtc"
mkdir -p /usr/local/go2rtc/bin

View File

@ -17,7 +17,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
msg_info "Installing Fumadocs"
mkdir -p /opt/fumadocs

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
libcap2-bin
msg_ok "Installed Dependencies"
install_go
setup_go
RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Setting up gatus v${RELEASE}"

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Configuring Database"
DB_NAME=ghost
@ -37,7 +37,7 @@ $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUS
} >>~/ghost.creds
msg_ok "Configured MySQL"
NODE_VERSION="20" install_node_and_modules
NODE_VERSION="20" setup_nodejs
msg_info "Installing Ghost CLI"
$STD npm install ghost-cli@latest -g

View File

@ -28,7 +28,7 @@ ln -sf /opt/bun/bin/bun /usr/local/bin/bun
ln -sf /opt/bun/bin/bun /usr/local/bin/bunx
msg_ok "Installed Bun"
fetch_and_deploy_gh_release "arunavo4/gitea-mirror"
fetch_and_deploy_gh_release "gitea-mirror" "arunavo4/gitea-mirror"
msg_info "Installing gitea-mirror"
cd /opt/gitea-mirror

View File

@ -22,7 +22,7 @@ $STD apt-get install -y \
libapache2-mod-php
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up database"
DB_NAME=glpi_db

View File

@ -22,8 +22,8 @@ $STD apt-get install -y \
build-essential
msg_ok "Installed Dependencies"
install_go
NODE_VERSION="22" install_node_and_modules
setup_go
NODE_VERSION="22" setup_nodejs
msg_info "Setup ${APPLICATION} (Patience)"
temp_file=$(mktemp)

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
MONGO_VERSION="7.0" install_mongodb
MONGO_VERSION="7.0" setup_mongodb
msg_info "Setup Graylog Data Node"
PASSWORD_SECRET=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16)

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
python3.11-venv
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Installing Grist"
RELEASE=$(curl -fsSL https://api.github.com/repos/gristlabs/grist-core/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')

View File

@ -22,7 +22,7 @@ curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1
$STD dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
msg_ok "Installed Dependencies"
NODE_VERSION="20" install_node_and_modules
NODE_VERSION="20" setup_nodejs
msg_info "Setup ${APPLICATION}"
temp_file=$(mktemp)

View File

@ -28,8 +28,8 @@ msg_ok "Installed Dependencies"
NODE_VERSION=$(curl -s https://raw.githubusercontent.com/homarr-labs/homarr/dev/package.json | jq -r '.engines.node | split(">=")[1] | split(".")[0]')
NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/homarr-labs/homarr/dev/package.json | jq -r '.packageManager | split("@")[1]')"
install_node_and_modules
fetch_and_deploy_gh_release "homarr-labs/homarr"
setup_nodejs
fetch_and_deploy_gh_release "homarr" "homarr-labs/homarr"
msg_info "Installing Homarr (Patience)"
cd /opt

View File

@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y jq
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
LOCAL_IP=$(hostname -I | awk '{print $1}')
RELEASE=$(curl -fsSL https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')

View File

@ -84,8 +84,8 @@ ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
msg_ok "Dependencies Installed"
NODE_VERSION="22" install_node_and_modules
PG_VERSION="16" install_postgresql
NODE_VERSION="22" setup_nodejs
PG_VERSION="16" setup_postgresql
read -r -p "${TAB3}Install OpenVINO dependencies for Intel HW-accelerated machine-learning? " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then

View File

@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing ioBroker (Patience)"
$STD bash <(curl -fsSL https://iobroker.net/install.sh)

View File

@ -19,14 +19,12 @@ $STD apt-get install -y \
build-essential
msg_ok "Installed Dependencies"
git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr
cd /opt/jellyseerr
$STD git checkout main
pnpm_desired=$(grep -Po '"pnpm":\s*"\K[^"]+' /opt/jellyseerr/package.json)
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs
msg_info "Installing Jellyseerr (Patience)"
export CYPRESS_INSTALL_BINARY=0

View File

@ -48,7 +48,7 @@ sed -i \
/etc/meilisearch.toml
msg_ok "Installed Meilisearch"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
$STD npm install -g corepack@0.31.0
msg_info "Installing karakeep"

View File

@ -23,7 +23,7 @@ $STD apt-get install -y \
lsb-release
msg_ok "Installed Dependencies"
install_mysql
setup_mysql
msg_info "Adding PHP8.4 Repository"
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb

View File

@ -19,8 +19,8 @@ $STD apt-get install -y \
lsb-release
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
PG_VERSION="16" install_postgresql
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
PG_VERSION="16" setup_postgresql
msg_info "Setup PHP8.4 Repository"
$STD curl -fsSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb

View File

@ -29,7 +29,7 @@ $STD apt-get install -y \
msg_ok "Setup Python3"
setup_uv
fetch_and_deploy_gh_release "LibreTranslate/LibreTranslate"
fetch_and_deploy_gh_release "LibreTranslate" "LibreTranslate/LibreTranslate"
msg_info "Setup LibreTranslate (Patience)"
cd /opt/libretranslate

View File

@ -19,9 +19,9 @@ $STD apt-get install -y \
build-essential
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
PG_VERSION="16" install_postgresql
RUST_CRATES="monolith" install_rust_and_crates
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
PG_VERSION="16" setup_postgresql
RUST_CRATES="monolith" setup_rust
msg_info "Setting up PostgreSQL DB"
DB_NAME=linkwardendb
@ -48,7 +48,7 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
fi
msg_info "Installing Linkwarden (Patience)"
fetch_and_deploy_gh_release "linkwarden/linkwarden"
fetch_and_deploy_gh_release "linkwarden" "linkwarden/linkwarden"
cd /opt/linkwarden
$STD yarn
$STD npx playwright install-deps

View File

@ -20,7 +20,7 @@ $STD apt-get install -y gcc
$STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
RELEASE=$(curl -fsSL https://api.github.com/repos/hywax/mafl/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
msg_info "Installing Mafl v${RELEASE}"

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Setup MagicMirror"
temp_file=$(mktemp)

View File

@ -13,8 +13,8 @@ setting_up_container
network_check
update_os
NODE_VERSION="20" install_node_and_modules
MYSQL_VERSION="8.0" install_mysql
NODE_VERSION="20" setup_nodejs
MYSQL_VERSION="8.0" setup_mysql
msg_info "Setting up Database"
DB_NAME="mmdl"

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
install_mariadb
setup_mariadb
msg_info "Setup MariaDB"
sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf

View File

@ -17,7 +17,7 @@ msg_info "Install Matterbridge"
mkdir -p /root/Matterbridge
NODE_VERSION="22"
NODE_MODULE="matterbridge"
install_node_and_modules
setup_nodejs
msg_ok "Installed Matterbridge"
msg_info "Creating Service"

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
PG_VERSION="16" install_postgresql
PG_VERSION="16" setup_postgresql
msg_info "Setting up PostgreSQL"
DB_NAME=mattermost

View File

@ -35,7 +35,7 @@ msg_ok "Setup ${APPLICATION}"
read -r -p "${TAB3}Do you want add meilisearch-ui? [y/n]: " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
msg_info "Setup ${APPLICATION}-ui"
tmp_file=$(mktemp)

View File

@ -21,8 +21,8 @@ $STD apt-get install -y \
tzdata
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
install_go
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
setup_go
msg_info "Installing Memos (Patience)"
mkdir -p /opt/memos_data

View File

@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing MeshCentral"
mkdir /opt/meshcentral

View File

@ -36,7 +36,7 @@ $STD apt-get install -y \
python3-venv
msg_ok "Setup Python3"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing MeTube"
$STD git clone https://github.com/alexta69/metube /opt/metube

View File

@ -21,8 +21,8 @@ $STD apt-get install -y \
composer
msg_ok "Installed Dependencies"
install_mariadb
NODE_VERSION="20" NODE_MODULE="yarn@latest" install_node_and_modules
setup_mariadb
NODE_VERSION="20" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Setting up MariaDB"
DB_NAME=monica

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing MySpeed"
RELEASE=$(curl -fsSL https://github.com/gnmyt/myspeed/releases/latest | grep "title>Release" | cut -d " " -f 5)

View File

@ -18,7 +18,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing n8n (Patience)"
$STD npm install --global patch-package

View File

@ -26,7 +26,7 @@ $STD apt-get install -y \
zlib1g-dev
msg_ok "Installed Dependencies"
PG_VERSION="16" install_postgresql
PG_VERSION="16" setup_postgresql
msg_info "Installing Python"
$STD apt-get install -y \

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing Node-Red"
$STD npm install -g --unsafe-perm node-red

View File

@ -21,8 +21,8 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
install_mongodb
NODE_VERSION="22" install_node_and_modules
setup_mongodb
NODE_VERSION="22" setup_nodejs
msg_info "Configure MongoDB"
MONGO_ADMIN_USER="admin"

View File

@ -26,7 +26,7 @@ $STD apt-get install -y --no-install-recommends \
python3-pip
msg_ok "Setup Python3"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing Open WebUI (Patience)"
$STD git clone https://github.com/open-webui/open-webui.git /opt/open-webui

View File

@ -20,8 +20,8 @@ $STD apt-get install -y \
redis
msg_ok "Installed Dependencies"
NODE_VERSION="20" NODE_MODULE="yarn@latest" install_node_and_modules
PG_VERSION="16" install_postgresql
NODE_VERSION="20" NODE_MODULE="yarn@latest" setup_nodejs
PG_VERSION="16" setup_postgresql
msg_info "Set up PostgreSQL Database"
DB_NAME="outline"

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
msg_info "Installing Overseerr (Patience)"
git clone -q https://github.com/sct/overseerr.git /opt/overseerr

View File

@ -18,7 +18,7 @@ $STD apt-get install -y \
git
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing PairDrop"
git clone -q https://github.com/schlagmichdoch/PairDrop.git /opt/pairdrop

View File

@ -23,7 +23,7 @@ $STD apt-get install -y \
python3-pip
msg_ok "Installed Python3"
install_node_and_modules
setup_nodejs
msg_info "Setup Paperless-AI"
cd /opt

View File

@ -23,8 +23,8 @@ $STD apt-get install -y \
musl-tools
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
install_go
NODE_VERSION="22" setup_nodejs
setup_go
msg_info "Setup Paperless-GPT"
temp_file=$(mktemp)

View File

@ -35,7 +35,7 @@ $STD apt-get install -y \
libleptonica-dev
msg_ok "Installed Dependencies"
PG_VERSION="16" install_postgresql
PG_VERSION="16" setup_postgresql
msg_info "Setup Python3"
$STD apt-get install -y \

View File

@ -24,8 +24,8 @@ $STD apt-get install -y \
composer
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="yarn@latest" install_node_and_modules
PG_VERSION="16" install_postgresql
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
PG_VERSION="16" setup_postgresql
msg_info "Setting up PHP"
PHPVER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION . "\n";')

View File

@ -23,7 +23,7 @@ $STD apt-get install -y \
redis-server
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Adding PHP Repository"
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb

View File

@ -14,7 +14,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Installing NUT"
$STD apt-get install -y nut-client

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
composer
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Adding PHP8.4 Repository"
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
git
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Setup Pf2eTools"
cd /opt

View File

@ -21,7 +21,7 @@ $STD apt-get install -y \
php-pear
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up MariaDB"
DB_NAME=phpipam

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
git
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pm2" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="pm2" setup_nodejs
msg_info "Installing Pingvin Share (Patience)"
cd /opt

View File

@ -15,11 +15,11 @@ update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
redis \
nginx
redis \
nginx
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up Adoptium Repository"
mkdir -p /etc/apt/keyrings
@ -41,10 +41,10 @@ $STD mariadb -u root -e "CREATE DATABASE $DB_NAME;"
$STD mariadb -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';"
$STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
{
echo "Plant-it Credentials"
echo "Plant-it Database User: $DB_USER"
echo "Plant-it Database Password: $DB_PASS"
echo "Plant-it Database Name: $DB_NAME"
echo "Plant-it Credentials"
echo "Plant-it Database User: $DB_USER"
echo "Plant-it Database Password: $DB_PASS"
echo "Plant-it Database Name: $DB_NAME"
} >>~/plant-it.creds
msg_ok "Set up MariaDB"

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
PG_VERSION="17" install_postgresql
PG_VERSION="17" setup_postgresql
cat <<EOF >/etc/postgresql/17/main/pg_hba.conf
# PostgreSQL Client Authentication Configuration File

View File

@ -20,7 +20,7 @@ $STD apt-get install -y \
php8.2-{pdo,mysql,mbstring,gettext,fileinfo,gd,xml,zip}
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up MariaDB"
DB_NAME=projectsend

View File

@ -19,7 +19,7 @@ $STD apt-get install -y \
ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="playactor" install_node_and_modules
NODE_VERSION="22" NODE_MODULE="playactor" setup_nodejs
msg_info "Installing PS5-MQTT"
RELEASE=$(curl -fsSL https://api.github.com/repos/FunkeyFlo/ps5-mqtt/releases/latest | jq -r '.tag_name')

View File

@ -21,7 +21,7 @@ $STD apt-get install -y \
composer
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Adding PHP8.4 Repository"
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb

View File

@ -28,7 +28,7 @@ else
exit 1
fi
NODE_VERSION="20" install_node_and_modules
NODE_VERSION="20" setup_nodejs
msg_info "Setup Pulse"
RELEASE=$(curl -fsSL https://api.github.com/repos/rcourtman/Pulse/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
@ -41,7 +41,6 @@ chown pulse:pulse /opt/pulse/.env
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Pulse"
msg_info "Setting permissions for /opt/pulse..."
chown -R pulse:pulse "/opt/pulse"
find "/opt/pulse" -type d -exec chmod 755 {} \;

View File

@ -19,8 +19,8 @@ curl -fsSL https://dl.min.io/server/minio/release/linux-amd64/minio.deb -o minio
$STD dpkg -i minio.deb
msg_ok "Installed Dependencies"
PG_VERSION="16" PG_MODULES="common" install_postgresql
NODE_VERSION="22" NODE_MODULE="pnpm@latest" install_node_and_modules
PG_VERSION="16" PG_MODULES="common" setup_postgresql
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
msg_info "Setting up Database"
DB_USER="rxresume"

View File

@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="22" install_node_and_modules
NODE_VERSION="22" setup_nodejs
msg_info "Setup ${APPLICATION}"
temp_file=$(mktemp)

View File

@ -19,9 +19,9 @@ $STD apt-get install -y \
gcc
msg_ok "Installed Dependencies"
install_go
NODE_VERSION="22" install_node_and_modules
fetch_and_deploy_gh_release "YuukanOO/seelf"
setup_go
NODE_VERSION="22" setup_nodejs
fetch_and_deploy_gh_release "seelf" "YuukanOO/seelf"
msg_info "Setting up seelf. Patience"
cd /opt/seelf

View File

@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y sqlite3
msg_ok "Installed Dependencies"
install_go
setup_go
msg_info "Installing SFTPGo"
curl -fsSL https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key | gpg --dearmor -o /usr/share/keyrings/sftpgo-archive-keyring.gpg

View File

@ -19,8 +19,8 @@ $STD apt-get install -y gcc g++ cmake
$STD apt-get install -y ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" install_node_and_modules
install_mariadb
NODE_VERSION="22" setup_nodejs
setup_mariadb
msg_info "Installing FFMPEG"
$STD apt-get install -y ffmpeg

View File

@ -21,7 +21,7 @@ $STD apt-get install -y \
php8.2-{bcmath,common,ctype,curl,fileinfo,fpm,gd,iconv,intl,mbstring,mysql,soap,xml,xsl,zip,cli}
msg_ok "Installed Dependencies"
install_mariadb
setup_mariadb
msg_info "Setting up database"
DB_NAME=snipeit_db

View File

@ -16,9 +16,9 @@ update_os
NODE_VERSION="22"
NODE_MODULE="npm@latest,yarn@latest"
install_node_and_modules
setup_nodejs
setup_uv
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
fetch_and_deploy_gh_release "streamlink-webui" "CrazyWolf13/streamlink-webui"
msg_info "Setup ${APPLICATION}"
mkdir -p "/opt/${APPLICATION}-download"

Some files were not shown because too many files have changed in this diff Show More