Compare commits

..
73 changed files with 98 additions and 102 deletions
+3 -2
View File
@@ -54,8 +54,9 @@ function update_script() {
$STD uv venv --clear .venv
$STD .venv/bin/python -m ensurepip --upgrade
fi
$STD uv pip install --python .venv/bin/python -r requirements.txt
$STD uv pip install --python .venv/bin/python 'djangorestframework<3.15'
$STD .venv/bin/python -m pip install --upgrade pip
$STD .venv/bin/python -m pip install -r requirements.txt
$STD .venv/bin/python -m pip install 'djangorestframework<3.15'
$STD .venv/bin/python -m manage collectstatic --noinput
$STD .venv/bin/python -m manage migrate
+1 -1
View File
@@ -31,7 +31,7 @@ function update_script() {
fi
msg_info "Updating Apache CouchDB"
apt_update_safe
$STD apt-get install -y --only-upgrade couchdb
$STD apt install -y --only-upgrade couchdb
msg_ok "Updated Apache CouchDB"
msg_ok "Updated successfully!"
exit
+1 -1
View File
@@ -31,7 +31,7 @@ function update_script() {
fi
msg_info "Updating ${APP} LXC"
apt_update_safe
$STD apt-get -y upgrade
$STD apt -y upgrade
msg_ok "Updated ${APP} LXC"
msg_ok "Updated successfully!"
exit
+3 -2
View File
@@ -56,11 +56,12 @@ function update_script() {
rm -rf "$VENV_PATH"
$STD uv venv --clear "$VENV_PATH"
$STD "$VENV_PATH/bin/python" -m ensurepip --upgrade
$STD uv pip install --python "$VENV_PATH/bin/python" changedetection.io playwright
$STD "$VENV_PATH/bin/python" -m pip install --upgrade pip
$STD "$VENV_PATH/bin/python" -m pip install changedetection.io playwright
msg_ok "Migrated to uv/venv"
else
msg_info "Updating ${APP}"
$STD uv pip install --python "$VENV_PATH/bin/python" --upgrade changedetection.io playwright
$STD "$VENV_PATH/bin/python" -m pip install --upgrade changedetection.io playwright
msg_ok "Updated ${APP}"
fi
+1 -1
View File
@@ -31,7 +31,7 @@ function update_script() {
fi
msg_info "Updating ${APP} LXC"
apt_update_safe
$STD apt-get -y upgrade
$STD apt -y upgrade
msg_ok "Updated successfully!"
exit
}
+1 -1
View File
@@ -47,7 +47,7 @@ function update_script() {
msg_ok "Backup created"
msg_info "Installing Dependencies"
$STD apt-get install -y pkg-config
$STD apt install -y pkg-config
$STD sudo -u frappe bash -c 'export PATH="$HOME/.local/bin:/usr/local/bin:$PATH"; cd /opt/frappe-bench && uv python install 3.14'
msg_ok "Installed Dependencies"
+3 -2
View File
@@ -48,12 +48,13 @@ function update_script() {
cd /opt/esphome
$STD uv venv --clear "$VENV_PATH"
$STD "$VENV_PATH/bin/python" -m ensurepip --upgrade
$STD uv pip install --python "$VENV_PATH/bin/python" esphome esphome-device-builder esptool
$STD "$VENV_PATH/bin/python" -m pip install --upgrade pip
$STD "$VENV_PATH/bin/python" -m pip install esphome esphome-device-builder esptool
msg_ok "Migrated to uv/venv"
else
msg_info "Updating ESPHome Device Builder"
PYTHON_VERSION="3.12" setup_uv
$STD uv pip install --python "$VENV_PATH/bin/python" --upgrade esphome esphome-device-builder esptool
$STD "$VENV_PATH/bin/python" -m pip install --upgrade esphome esphome-device-builder esptool
msg_ok "Updated ESPHome Device Builder"
fi
+2 -1
View File
@@ -56,7 +56,8 @@ function update_script() {
cd /opt/fireshare
$STD uv venv --clear
$STD .venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python .venv/bin/python --no-cache --reinstall app/server
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
$STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ignore-installed app/server
cp .venv/bin/fireshare /usr/local/bin/fireshare
set -a
source /opt/fireshare/fireshare.env
+1 -1
View File
@@ -62,7 +62,7 @@ function update_script() {
GRAMPS_VERSION=$(/opt/gramps-web/venv/bin/python3 -c "import gramps.version; print('%s%s' % (gramps.version.VERSION_TUPLE[0], gramps.version.VERSION_TUPLE[1]))" 2>/dev/null || echo "60")
GRAMPS_PLUGINS_DIR="/opt/gramps-web/data/gramps/gramps${GRAMPS_VERSION}/plugins"
mkdir -p "$GRAMPS_PLUGINS_DIR"
$STD wget -q https://github.com/gramps-project/addons/archive/refs/heads/master.zip -O /tmp/gramps-addons.zip
curl -fsSL -o /tmp/gramps-addons.zip https://github.com/gramps-project/addons/archive/refs/heads/master.zip
for addon in FilterRules JSON; do
unzip -p /tmp/gramps-addons.zip "addons-master/gramps${GRAMPS_VERSION}/download/${addon}.addon.tgz" |
tar -xz -C "$GRAMPS_PLUGINS_DIR"
+4 -3
View File
@@ -38,12 +38,13 @@ function update_script() {
cd "$INSTALL_DIR"
$STD uv venv --clear .venv
$STD "$VENV_PYTHON" -m ensurepip --upgrade
$STD uv pip install --python "$VENV_PYTHON" jupyter
$STD "$VENV_PYTHON" -m pip install --upgrade pip
$STD "$VENV_PYTHON" -m pip install jupyter
msg_ok "Migrated to uv and installed Jupyter"
else
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating Jupyter"
$STD uv pip install --python "$VENV_PYTHON" --upgrade jupyter
$STD "$VENV_PYTHON" -m pip install --upgrade pip
$STD "$VENV_PYTHON" -m pip install --upgrade jupyter
msg_ok "Jupyter updated"
fi
+1 -1
View File
@@ -44,7 +44,7 @@ function update_script() {
msg_info "Updating packages"
apt_update_safe
$STD apt-get -y upgrade
$STD apt -y upgrade
msg_ok "Updated packages"
msg_info "Backup old Keycloak"
+1 -1
View File
@@ -39,7 +39,7 @@ function update_script() {
msg_info "Updating packages"
apt_update_safe
$STD apt-get dist-upgrade -y
$STD apt dist-upgrade -y
ensure_dependencies "inotify-tools"
msg_ok "Updated packages"
+3 -2
View File
@@ -45,12 +45,13 @@ function update_script() {
cd /opt/prometheus-pve-exporter
$STD uv venv --clear "$PVE_VENV_PATH"
$STD "$PVE_VENV_PATH/bin/python" -m ensurepip --upgrade
$STD uv pip install --python "$PVE_VENV_PATH/bin/python" prometheus-pve-exporter
$STD "$PVE_VENV_PATH/bin/python" -m pip install --upgrade pip
$STD "$PVE_VENV_PATH/bin/python" -m pip install prometheus-pve-exporter
msg_ok "Migrated to uv/venv"
else
msg_info "Updating Prometheus Proxmox VE Exporter"
PYTHON_VERSION="3.12" setup_uv
$STD uv pip install --python "$PVE_VENV_PATH/bin/python" --upgrade prometheus-pve-exporter
$STD "$PVE_VENV_PATH/bin/python" -m pip install --upgrade prometheus-pve-exporter
msg_ok "Updated Prometheus Proxmox VE Exporter"
fi
local service_file="/etc/systemd/system/prometheus-pve-exporter.service"
+2 -2
View File
@@ -44,8 +44,8 @@ function update_script() {
msg_info "Migrating to v4: Removing RabbitMQ"
systemctl stop rabbitmq-server
systemctl disable rabbitmq-server
$STD apt-get purge -y rabbitmq-server erlang-base
$STD apt-get autoremove -y
$STD apt purge -y rabbitmq-server erlang-base
$STD apt autoremove -y
msg_ok "Removed RabbitMQ"
fi
+1 -1
View File
@@ -109,7 +109,7 @@ function update_script() {
if [[ -f /etc/angie/http.d/romm.conf ]]; then
if ! grep -q "js_content decode.decodeBase64" /etc/angie/http.d/romm.conf; then
msg_info "Adding missing /decode and /cache locations to Angie config"
dpkg -l angie-module-njs &>/dev/null || $STD apt-get install -y angie-module-njs
dpkg -l angie-module-njs &>/dev/null || $STD apt install -y angie-module-njs
grep -q "ngx_http_js_module.so" /etc/angie/angie.conf || sed -i '1i load_module modules/ngx_http_js_module.so;' /etc/angie/angie.conf
mkdir -p /etc/angie/js "${ROMM_BASE}/cache"
cat <<'JSEOF' >/etc/angie/js/decode.js
+2 -1
View File
@@ -42,7 +42,8 @@ function update_script() {
cd /opt/scraparr
$STD uv venv --clear /opt/scraparr/.venv
$STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/scraparr/.venv/bin/python -r /opt/scraparr/src/scraparr/requirements.txt
$STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip
$STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt
chmod -R 755 /opt/scraparr
msg_ok "Updated Scraparr"
+1 -1
View File
@@ -31,7 +31,7 @@ function update_script() {
fi
msg_info "Updating ${APP} LXC"
apt_update_safe
$STD apt-get -y upgrade
$STD apt -y upgrade
msg_ok "Updated ${APP} LXC"
msg_ok "Updated successfully!"
exit
+1 -1
View File
@@ -42,7 +42,7 @@ function update_script() {
msg_info "Updating UHF Server"
if dpkg -l ffmpeg 2>&1 | grep -q "ii"; then
apt remove ffmpeg -y && apt autoremove -y
$STD apt remove -y ffmpeg && $STD apt autoremove -y
fi
setup_ffmpeg
fetch_and_deploy_gh_release "comskip" "swapplications/comskip" "prebuild" "latest" "/opt/comskip" "comskip-$(arch_resolve "x64" "arm64")-*.zip"
+1 -1
View File
@@ -31,7 +31,7 @@ function update_script() {
fi
msg_info "Updating OS"
apt_update_safe
$STD apt-get -y upgrade
$STD apt -y upgrade
msg_ok "Updated OS"
msg_info "Updating $APP LXC"
+3 -2
View File
@@ -60,8 +60,9 @@ cd /opt/adventurelog/backend/server
mkdir -p /opt/adventurelog/backend/server/media
$STD uv venv --clear /opt/adventurelog/backend/server/.venv
$STD /opt/adventurelog/backend/server/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/adventurelog/backend/server/.venv/bin/python -r requirements.txt
$STD uv pip install --python /opt/adventurelog/backend/server/.venv/bin/python 'djangorestframework<3.15'
$STD /opt/adventurelog/backend/server/.venv/bin/python -m pip install --upgrade pip
$STD /opt/adventurelog/backend/server/.venv/bin/python -m pip install -r requirements.txt
$STD /opt/adventurelog/backend/server/.venv/bin/python -m pip install 'djangorestframework<3.15'
$STD /opt/adventurelog/backend/server/.venv/bin/python -m manage collectstatic --noinput
$STD /opt/adventurelog/backend/server/.venv/bin/python -m manage migrate
$STD /opt/adventurelog/backend/server/.venv/bin/python -m manage download-countries
+1
View File
@@ -19,3 +19,4 @@ msg_ok "Installed Dependencies"
motd_ssh
customize
cleanup_lxc
+1 -3
View File
@@ -45,8 +45,6 @@ msg_ok "Installed IT-Tools"
motd_ssh
customize
msg_info "Cleaning up"
rm -rf /tmp/dist
rm -f it-tools.zip
$STD apk cache clean
msg_ok "Cleaned"
cleanup_lxc
+1
View File
@@ -194,3 +194,4 @@ msg_ok "Finished Nextcloud Setup-Wizard"
motd_ssh
customize
cleanup_lxc
+1 -3
View File
@@ -93,6 +93,4 @@ msg_ok "Started Redlib Service"
motd_ssh
customize
msg_info "Cleaning up"
$STD apk cache clean
msg_ok "Cleaned"
cleanup_lxc
+1
View File
@@ -55,3 +55,4 @@ msg_ok "Started Wakapi"
motd_ssh
customize
cleanup_lxc
+2 -2
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
gdal-bin \
tesseract-ocr \
tesseract-ocr-eng \
@@ -24,7 +24,7 @@ $STD apt-get install -y \
tesseract-ocr-deu
$STD echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
$STD apt-get install -y \
$STD apt install -y \
xfonts-utils \
fonts-freefont-ttf \
fonts-liberation \
+2 -2
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
git \
expect \
libssl-dev \
@@ -27,7 +27,7 @@ $STD apt-get install -y \
msg_ok "Installed Dependencies"
msg_info "Installing Python Dependencies"
$STD apt-get install -y \
$STD apt install -y \
python3-ldap \
python3-msgpack \
python3-regex
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
uwsgi \
uwsgi-plugin-python3 \
libopenjp2-7-dev \
+6 -5
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y \
$STD apt install -y \
git \
build-essential \
dumb-init \
@@ -60,7 +60,8 @@ msg_info "Installing Change Detection"
mkdir -p /opt/changedetection
$STD uv venv --clear /opt/changedetection/.venv
$STD /opt/changedetection/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/changedetection/.venv/bin/python changedetection.io
$STD /opt/changedetection/.venv/bin/python -m pip install --upgrade pip
$STD /opt/changedetection/.venv/bin/python -m pip install changedetection.io
cat <<EOF >/opt/changedetection/.env
WEBDRIVER_URL=http://127.0.0.1:4444/wd/hub
PLAYWRIGHT_DRIVER_URL=ws://localhost:3000/chrome?launch=eyJkZWZhdWx0Vmlld3BvcnQiOnsiaGVpZ2h0Ijo3MjAsIndpZHRoIjoxMjgwfSwiaGVhZGxlc3MiOmZhbHNlLCJzdGVhbHRoIjp0cnVlfQ==&blockAds=true
@@ -70,7 +71,7 @@ msg_ok "Installed Change Detection"
msg_info "Installing Browserless & Playwright"
mkdir /opt/browserless
$STD uv pip install --python /opt/changedetection/.venv/bin/python playwright
$STD /opt/changedetection/.venv/bin/python -m pip install playwright
$STD git clone https://github.com/browserless/chrome /opt/browserless
$STD npm ci --include=optional --include=dev --prefix /opt/browserless
$STD npm install --save-exact playwright-core@1.62.1 --prefix /opt/browserless
@@ -84,7 +85,7 @@ $STD npm prune production --prefix /opt/browserless
msg_ok "Installed Browserless & Playwright"
msg_info "Installing Font Packages"
$STD apt-get install -y \
$STD apt install -y \
fontconfig \
libfontconfig1 \
fonts-freefont-ttf \
@@ -99,7 +100,7 @@ $STD apt-get install -y \
msg_ok "Installed Font Packages"
msg_info "Installing X11 Packages"
$STD apt-get install -y \
$STD apt install -y \
libx11-6 \
libx11-xcb1 \
libxcb1 \
-1
View File
@@ -159,7 +159,6 @@ StandardError=journal
[Install]
WantedBy=multi-user.target
EOF
$STD systemctl daemon-reload
$STD systemctl enable -q --now databasus
msg_ok "Created Databasus Service"
+1 -1
View File
@@ -30,7 +30,7 @@ setup_deb_based() {
if [[ -n "$socket" ]]; then
msg_info "Enabling Docker TCP socket on $socket"
$STD apt-get install -y jq
$STD apt install -y jq
tmpfile=$(mktemp)
jq --arg sock "$socket" '. + { "hosts": ["unix:///var/run/docker.sock", $sock] }' /etc/docker/daemon.json >"$tmpfile" && mv "$tmpfile" /etc/docker/daemon.json
+2 -2
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
php-imap \
debconf-utils
msg_ok "Installed Dependencies"
@@ -36,7 +36,7 @@ RELEASE=$(curl -fsSL "$BASE" | grep -oP '(?<=/Dolibarr%20installer%20for%20Debia
FILE=$(curl -fsSL "${BASE}${RELEASE}/" | grep -oP 'dolibarr_[^"]+_all.deb' | head -n1)
curl -fsSL "https://altushost-swe.dl.sourceforge.net/project/dolibarr/Dolibarr%20installer%20for%20Debian-Ubuntu%20(DoliDeb)/${RELEASE}/${FILE}?viasf=1" -o ""$FILE""
echo "dolibarr dolibarr/reconfigure-webserver multiselect apache2" | debconf-set-selections
$STD apt-get install ./$FILE -y
$STD apt install ./$FILE -y
$STD apt install -f
rm -rf ~/$FILE
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
+2 -2
View File
@@ -15,12 +15,12 @@ update_os
msg_info "Installing Dependencies"
apt_update_safe
$STD apt-get install -y \
$STD apt install -y \
ssh \
software-properties-common
$STD add-apt-repository -y ppa:dotnet/backports
$STD apt-get install -y \
$STD apt install -y \
dotnet-sdk-9.0 \
vsftpd \
nginx
+2 -1
View File
@@ -26,7 +26,8 @@ mkdir -p /root/config
cd /opt/esphome
$STD uv venv --clear /opt/esphome/.venv
$STD /opt/esphome/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/esphome/.venv/bin/python esphome esphome-device-builder esptool
$STD /opt/esphome/.venv/bin/python -m pip install --upgrade pip
$STD /opt/esphome/.venv/bin/python -m pip install esphome esphome-device-builder esptool
msg_ok "Setup and Installed ESPHome Device Builder"
msg_info "Linking esphome to /usr/local/bin"
+2 -1
View File
@@ -98,6 +98,7 @@ mkdir -p /opt/fireshare-{data,videos,images,processed}
cd /opt/fireshare
$STD uv venv
$STD .venv/bin/python -m ensurepip --upgrade
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
ln -sf /usr/local/bin/ffmpeg /usr/bin/ffmpeg
ln -sf /usr/local/bin/ffprobe /usr/bin/ffprobe
echo "/usr/local/lib" >/etc/ld.so.conf.d/usr-local.conf
@@ -105,7 +106,7 @@ echo "/usr/local/cuda/lib64" >>/etc/ld.so.conf.d/usr-local.conf
echo "/usr/local/nvidia/lib" >>/etc/ld.so.conf.d/nvidia.conf
echo "/usr/local/nvidia/lib64" >>/etc/ld.so.conf.d/nvidia.conf
ldconfig
$STD uv pip install --python .venv/bin/python --no-cache --reinstall app/server
$STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ignore-installed app/server
cp .venv/bin/fireshare /usr/local/bin/fireshare
export FLASK_APP="/opt/fireshare/app/server/fireshare:create_app()"
export DATA_DIRECTORY=/opt/fireshare-data
+1 -1
View File
@@ -15,7 +15,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
apt-transport-https \
xvfb
msg_ok "Installed Dependencies"
+1 -1
View File
@@ -82,7 +82,7 @@ GRAMPS_PLUGINS_DIR="/opt/gramps-web/data/gramps/gramps${GRAMPS_VERSION}/plugins"
mkdir -p "$GRAMPS_PLUGINS_DIR"
msg_info "Installing Gramps Addons (gramps${GRAMPS_VERSION})"
$STD wget -q https://github.com/gramps-project/addons/archive/refs/heads/master.zip -O /tmp/gramps-addons.zip
curl -fsSL -o /tmp/gramps-addons.zip https://github.com/gramps-project/addons/archive/refs/heads/master.zip
for addon in FilterRules JSON; do
unzip -p /tmp/gramps-addons.zip "addons-master/gramps${GRAMPS_VERSION}/download/${addon}.addon.tgz" | \
tar -xz -C "$GRAMPS_PLUGINS_DIR"
+2 -2
View File
@@ -20,13 +20,13 @@ PASSWORD_SECRET=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16)
curl -fsSL "https://packages.graylog2.org/repo/packages/graylog-7.0-repository_latest.deb" -o "graylog-7.0-repository_latest.deb"
$STD dpkg -i graylog-7.0-repository_latest.deb
apt_update_safe
$STD apt-get install graylog-datanode -y
$STD apt install graylog-datanode -y
sed -i "s/password_secret =/password_secret = $PASSWORD_SECRET/g" /etc/graylog/datanode/datanode.conf
systemctl enable -q --now graylog-datanode
msg_ok "Setup Graylog Data Node"
msg_info "Setup ${APPLICATION}"
$STD apt-get install graylog-server
$STD apt install graylog-server
ROOT_PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c16)
cat <<EOF >~/graylog.creds
${APPLICATION} Credentials
-1
View File
@@ -79,7 +79,6 @@ ExecStart=/opt/homarr/run.sh
WantedBy=multi-user.target
EOF
chmod +x /opt/homarr/run.sh
systemctl daemon-reload
systemctl enable -q --now redis-server
systemctl enable -q --now homarr
systemctl disable -q --now nginx
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y jq
$STD apt install -y jq
msg_ok "Installed Dependencies"
NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
+1 -3
View File
@@ -111,9 +111,7 @@ server {
}
}
EOF
ln -sf /etc/nginx/sites-available/ignis.conf /etc/nginx/sites-enabled/ignis.conf
rm -f /etc/nginx/sites-enabled/default
systemctl restart nginx
nginx_enable_site ignis.conf
msg_ok "Configured Nginx"
motd_ssh
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y libicu-dev
$STD apt install -y libicu-dev
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "jackett" "Jackett/Jackett" "prebuild" "latest" "/opt/Jackett" "Jackett.Binaries.Linux$(arch_resolve "AMDx64" "ARM64").tar.gz"
+1 -2
View File
@@ -34,7 +34,7 @@ msg_ok "Installed GUI Dependencies"
msg_info "Downloading JDownloader"
mkdir -p /opt/jdownloader
$STD wget -O /opt/jdownloader/JDownloader.jar https://installer.jdownloader.org/JDownloader.jar
curl -fsSL -o /opt/jdownloader/JDownloader.jar https://installer.jdownloader.org/JDownloader.jar
msg_ok "Downloaded JDownloader"
msg_info "Installing JDownloader (Patience)"
@@ -194,7 +194,6 @@ EOF
msg_ok "Created Services"
msg_info "Starting Services"
systemctl daemon-reload
systemctl enable -q --now xvfb
sleep 2
systemctl enable -q --now openbox
+2 -1
View File
@@ -20,7 +20,8 @@ mkdir -p /opt/jupyter
cd /opt/jupyter
$STD uv venv --clear /opt/jupyter/.venv
$STD /opt/jupyter/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/jupyter/.venv/bin/python jupyter
$STD /opt/jupyter/.venv/bin/python -m pip install --upgrade pip
$STD /opt/jupyter/.venv/bin/python -m pip install jupyter
ln -s /opt/jupyter/.venv/bin/jupyter /usr/local/bin/jupyter
ln -s /opt/jupyter/.venv/bin/jupyter-lab /usr/local/bin/jupyter-lab
ln -s /opt/jupyter/.venv/bin/jupyter-notebook /usr/local/bin/jupyter-notebook
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y libicu-dev
$STD apt install -y libicu-dev
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "Kavita" "Kareadita/Kavita" "prebuild" "latest" "/opt/Kavita" "kavita-linux-$(arch_resolve "x64" "arm64").tar.gz"
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
build-essential \
git \
openssl \
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
build-essential \
ca-certificates \
cmake \
+1 -4
View File
@@ -148,7 +148,4 @@ msg_ok "Created Services"
motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"
cleanup_lxc
+2 -1
View File
@@ -32,7 +32,8 @@ msg_info "Installing Mylar3"
mkdir -p /opt/mylar3-data
$STD uv venv --clear /opt/mylar3/.venv
$STD /opt/mylar3/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/mylar3/.venv/bin/python --no-cache -r /opt/mylar3/requirements.txt
$STD /opt/mylar3/.venv/bin/python -m pip install --upgrade pip
$STD /opt/mylar3/.venv/bin/python -m pip install --no-cache-dir -r /opt/mylar3/requirements.txt
msg_ok "Installed Mylar3"
msg_info "Creating Service"
-1
View File
@@ -111,7 +111,6 @@ systemctl restart apache2
mv /opt/netbox/contrib/gunicorn.py /opt/netbox/gunicorn.py
mv /opt/netbox/contrib/*.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable -q --now netbox netbox-rq
echo -e "Netbox Secret: \e[32m$SECRET_KEY\e[0m" >>~/netbox.creds
msg_ok "Configured NetBox"
-1
View File
@@ -65,7 +65,6 @@ KillMode=mixed
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
msg_ok "Created Service"
msg_info "Starting Service"
+1
View File
@@ -86,3 +86,4 @@ msg_ok "Builded and started NPMplus"
motd_ssh
customize
cleanup_lxc
+1 -1
View File
@@ -37,7 +37,7 @@ couchdb couchdb/adminpass seen true
couchdb couchdb/adminpass_again password ${COUCHDB_PASSWORD}
couchdb couchdb/adminpass_again seen true
EOF
DEBIAN_FRONTEND=noninteractive $STD apt-get install -y couchdb
DEBIAN_FRONTEND=noninteractive $STD apt install -y couchdb
cat <<EOF >/root/.couchdb.credentials
COUCHDB_ADMIN_USER="${COUCHDB_ADMIN_USER}"
+1 -1
View File
@@ -51,7 +51,7 @@ Suites: ./
Signed-By: /etc/apt/keyrings/collaboraonline-release-keyring.gpg
EOF
apt_update_safe
$STD apt-get install -y coolwsd code-brand
$STD apt install -y coolwsd code-brand
systemctl stop coolwsd
mkdir -p /etc/systemd/system/coolwsd.service.d
cat <<EOF >/etc/systemd/system/coolwsd.service.d/override.conf
-1
View File
@@ -33,7 +33,6 @@ chown -R openhab:openhab /var/lib/openhab /etc/openhab /var/log/openhab
msg_ok "Initialized openHAB directories"
msg_info "Starting Service"
systemctl daemon-reload
systemctl enable -q --now openhab
msg_ok "Started Service"
-1
View File
@@ -268,7 +268,6 @@ RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable -q --now plane-api plane-worker plane-beat plane-live plane-space
cat <<EOF >~/plane.creds
RabbitMQ User: plane
+2 -1
View File
@@ -21,7 +21,8 @@ cd /opt/prometheus-pve-exporter
$STD uv venv --clear /opt/prometheus-pve-exporter/.venv
$STD /opt/prometheus-pve-exporter/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/prometheus-pve-exporter/.venv/bin/python prometheus-pve-exporter
$STD /opt/prometheus-pve-exporter/.venv/bin/python -m pip install --upgrade pip
$STD /opt/prometheus-pve-exporter/.venv/bin/python -m pip install prometheus-pve-exporter
cat <<EOF >/opt/prometheus-pve-exporter/pve.yml
default:
user: prometheus@pve
-1
View File
@@ -115,7 +115,6 @@ RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable -q --now chromium-printer.service reactive-resume.service
msg_ok "Created Services"
+1 -1
View File
@@ -49,7 +49,7 @@ setup_deb822_repo \
"https://download.angie.software/angie/debian/$(get_os_info version_id)" \
"$(get_os_info codename)" \
"main"
$STD apt-get install -y angie angie-module-zip angie-module-njs
$STD apt install -y angie angie-module-zip angie-module-njs
sed -i '1i load_module modules/ngx_http_zip_module.so;\nload_module modules/ngx_http_js_module.so;' /etc/angie/angie.conf
mkdir -p /etc/angie/js
cat <<'EOF' >/etc/angie/js/decode.js
-1
View File
@@ -55,7 +55,6 @@ EOF
cat <<EOF >>/etc/php/${PHP_VER}/fpm/pool.d/www.conf
env[CURL_IMPERSONATE] = chrome142
EOF
$STD systemctl daemon-reload
safe_service_restart php${PHP_VER}-fpm
msg_ok "Enabled curl-impersonate for PHP-FPM"
fi
+2 -1
View File
@@ -20,7 +20,8 @@ msg_info "Installing Scraparr"
cd /opt/scraparr
$STD uv venv --clear /opt/scraparr/.venv
$STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade
$STD uv pip install --python /opt/scraparr/.venv/bin/python -r /opt/scraparr/src/scraparr/requirements.txt
$STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip
$STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt
chmod -R 755 /opt/scraparr
mkdir -p /scraparr/config
mv /opt/scraparr/config.yaml /scraparr/config/config.yaml
+4 -4
View File
@@ -16,16 +16,16 @@ update_os
setup_hwaccel
msg_info "Installing Dependencies"
$STD apt-get install -y make zip net-tools git
$STD apt-get install -y gcc g++ cmake
$STD apt-get install -y ca-certificates
$STD apt install -y make zip net-tools git
$STD apt install -y gcc g++ cmake
$STD apt install -y ca-certificates
msg_ok "Installed Dependencies"
NODE_VERSION="22" setup_nodejs
setup_mariadb
msg_info "Installing FFMPEG"
$STD apt-get install -y ffmpeg
$STD apt install -y ffmpeg
msg_ok "Installed FFMPEG"
msg_info "Cloning Shinobi"
-1
View File
@@ -122,7 +122,6 @@ RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable -q --now snapotter
msg_ok "Created Service"
+1 -1
View File
@@ -39,7 +39,7 @@ setup_deb822_repo \
"https://packages.microsoft.com/ubuntu/22.04/prod" \
"jammy" \
"main"
$STD apt-get install -y \
$STD apt install -y \
mssql-tools18 \
unixodbc-dev
echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >>~/.bash_profile
+1 -1
View File
@@ -39,7 +39,7 @@ setup_deb822_repo \
"https://packages.microsoft.com/ubuntu/24.04/prod" \
"noble" \
"main"
$STD apt-get install -y \
$STD apt install -y \
mssql-tools18 \
unixodbc-dev
echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >>~/.bash_profile
+1 -3
View File
@@ -51,9 +51,7 @@ server {
}
}
EOF
ln -sf /etc/nginx/sites-available/super-productivity.conf /etc/nginx/sites-enabled/super-productivity.conf
rm -f /etc/nginx/sites-enabled/default
systemctl reload nginx
nginx_enable_site super-productivity.conf
msg_ok "Configured Nginx"
motd_ssh
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies. Patience"
$STD apt-get install -y \
$STD apt install -y \
git \
python3-venv
msg_ok "Installed Dependencies"
-1
View File
@@ -35,7 +35,6 @@ export SPRING_DATASOURCE_PASSWORD=${PG_DB_PASS}
# Specify partitioning size for timestamp key-value storage. Allowed values: DAYS, MONTHS, YEARS, INDEFINITE.
export SQL_POSTGRES_TS_KV_PARTITIONING=MONTHS
EOF
systemctl daemon-reload
msg_ok "Configured ThingsBoard"
msg_info "Running ThingsBoard Installation Script"
+1 -1
View File
@@ -34,7 +34,7 @@ apt_update_safe
msg_ok "Setup Twingate Repository"
msg_info "Setup Twingate Connector"
$STD apt-get install -y twingate-connector
$STD apt install -y twingate-connector
msg_ok "Setup Twingate Connector"
msg_info "Configure Twingate-Connector"
+1 -1
View File
@@ -44,7 +44,7 @@ $STD sudo -u www-data php /opt/wallos/endpoints/db/migrate.php
msg_ok "Installed Wallos"
msg_info "Setting up Crontabs"
$STD apt-get install -y cron
$STD apt install -y cron
mkdir -p /var/log/cron
cat <<EOF >/opt/wallos.cron
0 1 * * * php /opt/wallos/endpoints/cronjobs/updatenextpayment.php >> /var/log/cron/updatenextpayment.log 2>&1
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
$STD apt install -y \
apt-transport-https \
lsb-release \
ca-certificates
+1 -1
View File
@@ -15,7 +15,7 @@ update_os
msg_info "Installing Dependencies"
echo "davfs2 davfs2/suid_file boolean false" | debconf-set-selections
$STD apt-get install -y \
$STD apt install -y \
bzip2 \
fuse3 \
git \
+1 -2
View File
@@ -37,7 +37,7 @@ msg_ok "Setup Zerotier-One"
msg_info "Setting up UI"
if [[ "$(arch_resolve)" == "arm64" ]]; then
$STD apt-get install -y build-essential python3 openssl
$STD apt install -y build-essential python3 openssl
NODE_VERSION="20" setup_nodejs
curl -fsSL "https://github.com/key-networks/ztncui/archive/refs/heads/master.tar.gz" -o /tmp/ztncui.tar.gz
$STD tar -xzf /tmp/ztncui.tar.gz -C /tmp
@@ -68,7 +68,6 @@ Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable -q ztncui
else
curl -O https://s3-us-west-1.amazonaws.com/key-networks/deb/ztncui/1/x86_64/ztncui_0.8.14_amd64.deb