Compare commits

...

17 Commits

Author SHA1 Message Date
Tobias
d1e1104211 add apt-clean 2025-10-29 11:03:09 +01:00
Tobias
4d0227fbfd add apt clean 2025-10-29 11:02:26 +01:00
CanbiZ
8d2e0cdc7d Kimai / Ghost / ManageMyDamnLife: Switch to MariaDB 2025-10-29 10:52:36 +01:00
community-scripts-pr-app[bot]
9f565d3914 Update CHANGELOG.md (#8704)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-29 00:14:29 +00:00
community-scripts-pr-app[bot]
e702c552c5 Update versions.json (#8703)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-29 01:14:07 +01:00
community-scripts-pr-app[bot]
b853739fdc Update CHANGELOG.md (#8695)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 17:10:44 +00:00
Gerhard Burger
c84c44804f Update SABnzbd. Include par2cmdline-turbo (#8648)
* Fix non-free sources

- Don't delete after use
- Use trixie instead of bookworm
- deb822 style

* Add par2cmdline-turbo to sabnzbd

* Remove duplicate setup_uv

* Remove duplicated msg around setup_uv

* Update sabnzbd to use fetch_and_deploy

* switch fetch_deploy outside of msg

Added virtual environment setup and package installation for SABnzbd.

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-10-28 10:10:19 -07:00
community-scripts-pr-app[bot]
f77c2594c3 Update CHANGELOG.md (#8694)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 16:09:29 +00:00
glopes
b3849dbf2b Update alpine-komodo.sh fixing missing pull images command (#8689) 2025-10-28 17:09:09 +01:00
community-scripts-pr-app[bot]
2cd02870c5 Update CHANGELOG.md (#8693)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 16:09:00 +00:00
Chris
f6da623676 jotty: Add more ENV VARS - commented out (#8688) 2025-10-28 17:08:36 +01:00
community-scripts-pr-app[bot]
a4e1d261af Update CHANGELOG.md (#8687)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 13:20:04 +00:00
Gerhard Burger
909dbc20ce Bump bazarr to Debian 13 (#8677)
* Bump bazarr to Debian 13

- Removes unnecessary python3 install
- Use uv to create proper 3.12 venv (bazarr will give warnings about 3.13)

* Improve bazarr update

- setup_uv now versioned
- graceful update from pre-venv install

* chore: cosmetic

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2025-10-28 14:19:38 +01:00
community-scripts-pr-app[bot]
3a1f1bf813 Update CHANGELOG.md (#8685)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 12:07:39 +00:00
community-scripts-pr-app[bot]
0adc827c69 Update versions.json (#8684)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 13:07:14 +01:00
community-scripts-pr-app[bot]
279d3d391a Update CHANGELOG.md (#8681)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-28 10:30:33 +00:00
Gerhard Burger
15047893bc Update flaresolverr to Debian 13 (#8672)
* Update flaresolverr to Debian 13

* Check Debian version before updating FlareSolverr
2025-10-28 11:30:06 +01:00
17 changed files with 295 additions and 304 deletions

View File

@@ -10,8 +10,23 @@
> [!CAUTION] > [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes. Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-10-29
## 2025-10-28 ## 2025-10-28
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Update alpine-komodo.sh fixing missing pull images command [@glopes](https://github.com/glopes) ([#8689](https://github.com/community-scripts/ProxmoxVE/pull/8689))
- #### ✨ New Features
- Update SABnzbd. Include par2cmdline-turbo [@burgerga](https://github.com/burgerga) ([#8648](https://github.com/community-scripts/ProxmoxVE/pull/8648))
- jotty: Add more ENV VARS (disabled) [@vhsdream](https://github.com/vhsdream) ([#8688](https://github.com/community-scripts/ProxmoxVE/pull/8688))
- Bump bazarr to Debian 13 [@burgerga](https://github.com/burgerga) ([#8677](https://github.com/community-scripts/ProxmoxVE/pull/8677))
- Update flaresolverr to Debian 13 [@burgerga](https://github.com/burgerga) ([#8672](https://github.com/community-scripts/ProxmoxVE/pull/8672))
## 2025-10-27 ## 2025-10-27
### 🆕 New Scripts ### 🆕 New Scripts

View File

@@ -52,6 +52,7 @@ function update_script() {
mv "$BACKUP_FILE" "$COMPOSE_FILE" mv "$BACKUP_FILE" "$COMPOSE_FILE"
exit 1 exit 1
fi fi
$STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull
$STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d
msg_ok "Updated ${APP}" msg_ok "Updated ${APP}"
exit exit

View File

@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}" var_ram="${var_ram:-1024}"
var_disk="${var_disk:-4}" var_disk="${var_disk:-4}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
@@ -28,15 +28,28 @@ function update_script() {
exit exit
fi fi
if check_for_gh_release "bazarr" "morpheus65535/bazarr"; then if check_for_gh_release "bazarr" "morpheus65535/bazarr"; then
PYTHON_VERSION="3.13" setup_uv msg_info "Stopping Service"
systemctl stop bazarr
msg_ok "Stopped Service"
PYTHON_VERSION="3.12" setup_uv
fetch_and_deploy_gh_release "bazarr" "morpheus65535/bazarr" "prebuild" "latest" "/opt/bazarr" "bazarr.zip" fetch_and_deploy_gh_release "bazarr" "morpheus65535/bazarr" "prebuild" "latest" "/opt/bazarr" "bazarr.zip"
msg_info "Setup Bazarr" msg_info "Setup Bazarr"
mkdir -p /var/lib/bazarr/ mkdir -p /var/lib/bazarr/
chmod 775 /opt/bazarr /var/lib/bazarr/ chmod 775 /opt/bazarr /var/lib/bazarr/
if [[ ! -d /opt/bazarr/venv/ ]]; then
$STD uv venv /opt/bazarr/venv --python 3.12
sed -i "s|ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py|ExecStart=/opt/bazarr/venv/bin/python3 /opt/bazarr/bazarr.py|g" /etc/systemd/system/bazarr.service
systemctl daemon-reload
fi
sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt
$STD uv pip install -r /opt/bazarr/requirements.txt --system $STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3
msg_ok "Setup Bazarr" msg_ok "Setup Bazarr"
msg_info "Starting Service"
systemctl start bazarr
msg_ok "Started Service"
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
fi fi
exit exit

View File

@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}" var_ram="${var_ram:-2048}"
var_disk="${var_disk:-4}" var_disk="${var_disk:-4}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
@@ -28,13 +28,18 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
if check_for_gh_release "flaresolverr" "FlareSolverr/FlareSolverr" "3.3.25"; then if [[ $(grep -E '^VERSION_ID=' /etc/os-release) == *"12"* ]]; then
msg_error "Wrong Debian version detected!"
msg_error "You must upgrade your LXC to Debian Trixie before updating."
exit
fi
if check_for_gh_release "flaresolverr" "FlareSolverr/FlareSolverr"; then
msg_info "Stopping service" msg_info "Stopping service"
systemctl stop flaresolverr systemctl stop flaresolverr
msg_ok "Stopped service" msg_ok "Stopped service"
rm -rf /opt/flaresolverr rm -rf /opt/flaresolverr
fetch_and_deploy_gh_release "flaresolverr" "FlareSolverr/FlareSolverr" "prebuild" "v3.3.25" "/opt/flaresolverr" "flaresolverr_linux_x64.tar.gz" fetch_and_deploy_gh_release "flaresolverr" "FlareSolverr/FlareSolverr" "prebuild" "latest" "/opt/flaresolverr" "flaresolverr_linux_x64.tar.gz"
msg_info "Starting service" msg_info "Starting service"
systemctl start flaresolverr systemctl start flaresolverr

View File

@@ -24,12 +24,9 @@ function update_script() {
check_container_storage check_container_storage
check_container_resources check_container_resources
if ! dpkg-query -W -f='${Status}' mariadb-server 2>/dev/null | grep -q "install ok installed"; then
setup_mysql
fi
NODE_VERSION="22" setup_nodejs NODE_VERSION="22" setup_nodejs
msg_info "Updating ${APP} LXC" msg_info "Updating Ghost"
if command -v ghost &>/dev/null; then if command -v ghost &>/dev/null; then
current_version=$(ghost version | grep 'Ghost-CLI version' | awk '{print $3}') current_version=$(ghost version | grep 'Ghost-CLI version' | awk '{print $3}')
latest_version=$(npm show ghost-cli version) latest_version=$(npm show ghost-cli version)

View File

@@ -23,32 +23,21 @@ function update_script() {
header_info header_info
check_container_storage check_container_storage
check_container_resources check_container_resources
if ! command -v lsb_release; then
apt install -y lsb-release
fi
if [[ ! -d /opt/kimai ]]; then if [[ ! -d /opt/kimai ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
CURRENT_PHP=$(php -v 2>/dev/null | awk '/^PHP/{print $2}' | cut -d. -f1,2) CURRENT_PHP=$(php -v 2>/dev/null | awk '/^PHP/{print $2}' | cut -d. -f1,2)
if [[ "$CURRENT_PHP" != "8.4" ]]; then if [[ "$CURRENT_PHP" != "8.4" ]]; then
msg_info "Migrating PHP $CURRENT_PHP to 8.4" msg_info "Migrating PHP $CURRENT_PHP to 8.4"
$STD curl -fsSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb PHP_VERSION="8.4" PHP_MODULE="gd,mysql,mbstring,bcmath,xml,curl,zip,intl,fpm" PHP_APACHE="YES" setup_php
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
$STD apt-get update
$STD apt-get remove -y php"${CURRENT_PHP//./}"*
$STD apt-get install -y \
php8.4 composer \
php8.4-{gd,mysql,mbstring,bcmath,xml,curl,zip,intl,fpm} \
libapache2-mod-php8.4
msg_ok "Migrated PHP $CURRENT_PHP to 8.4" msg_ok "Migrated PHP $CURRENT_PHP to 8.4"
fi fi
RELEASE=$(curl -fsSL https://api.github.com/repos/kimai/kimai/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') if check_for_gh_release "Kimai" "kimai/kimai"; then
BACKUP_DIR="/opt/kimai_backup" BACKUP_DIR="/opt/kimai_backup"
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_info "Stopping Apache2" msg_info "Stopping Apache2"
systemctl stop apache2 systemctl stop apache2
msg_ok "Stopped Apache2" msg_ok "Stopped Apache2"
@@ -60,15 +49,9 @@ function update_script() {
[ -f /opt/kimai/config/packages/local.yaml ] && cp /opt/kimai/config/packages/local.yaml "$BACKUP_DIR/" [ -f /opt/kimai/config/packages/local.yaml ] && cp /opt/kimai/config/packages/local.yaml "$BACKUP_DIR/"
msg_ok "Backup completed" msg_ok "Backup completed"
msg_info "Updating ${APP} to ${RELEASE}" fetch_and_deploy_gh_release "Kimai" "kimai/kimai" "prebuild" "latest" "/opt/kimai" "kimai-release-*.zip"
trap "echo Unable to download release file for version ${RELEASE}; try again later" ERR
set -e msg_info "Updating Kimai"
curl -fsSL "https://github.com/kimai/kimai/archive/refs/tags/${RELEASE}.zip" -o $(basename "https://github.com/kimai/kimai/archive/refs/tags/${RELEASE}.zip")
$STD unzip "${RELEASE}".zip
set +e
trap - ERR
rm -rf /opt/kimai
mv kimai-"${RELEASE}" /opt/kimai
[ -d "$BACKUP_DIR/var" ] && cp -r "$BACKUP_DIR/var" /opt/kimai/ [ -d "$BACKUP_DIR/var" ] && cp -r "$BACKUP_DIR/var" /opt/kimai/
[ -f "$BACKUP_DIR/.env" ] && cp "$BACKUP_DIR/.env" /opt/kimai/ [ -f "$BACKUP_DIR/.env" ] && cp "$BACKUP_DIR/.env" /opt/kimai/
[ -f "$BACKUP_DIR/local.yaml" ] && cp "$BACKUP_DIR/local.yaml" /opt/kimai/config/packages/ [ -f "$BACKUP_DIR/local.yaml" ] && cp "$BACKUP_DIR/local.yaml" /opt/kimai/config/packages/
@@ -76,8 +59,7 @@ function update_script() {
cd /opt/kimai cd /opt/kimai
$STD composer install --no-dev --optimize-autoloader $STD composer install --no-dev --optimize-autoloader
$STD bin/console kimai:update $STD bin/console kimai:update
echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated Kimai"
msg_ok "Updated ${APP} to ${RELEASE}"
msg_info "Starting Apache2" msg_info "Starting Apache2"
systemctl start apache2 systemctl start apache2
@@ -90,14 +72,7 @@ function update_script() {
chown -R www-data:www-data /opt/* chown -R www-data:www-data /opt/*
chmod -R 777 /opt/* chmod -R 777 /opt/*
msg_ok "Setup Permissions" msg_ok "Setup Permissions"
msg_ok "Updated Successfully!"
msg_info "Cleaning Up"
rm -rf "${RELEASE}".zip
rm -rf "$BACKUP_DIR"
msg_ok "Cleaned"
msg_ok "Updated Successfully"
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi fi
exit exit
} }

View File

@@ -24,40 +24,38 @@ function update_script() {
check_container_storage check_container_storage
check_container_resources check_container_resources
if par2 --version | grep -q "par2cmdline-turbo"; then
fetch_and_deploy_gh_release "par2cmdline-turbo" "animetosho/par2cmdline-turbo" "prebuild" "latest" "/usr/bin/" "*-linux-amd64.zip"
fi
if [[ ! -d /opt/sabnzbd ]]; then if [[ ! -d /opt/sabnzbd ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
setup_uv if check_for_gh_release "sabnzbd-org" "sabnzbd/sabnzbd"; then
RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') PYTHON_VERSION="3.13" setup_uv
if [[ -f /opt/${APP}_version.txt ]] && [[ "${RELEASE}" == "$(cat /opt/${APP}_version.txt)" ]]; then systemctl stop sabnzbd
msg_ok "No update required. ${APP} is already at ${RELEASE}" cp -r /opt/sabnzbd /opt/sabnzbd_backup_$(date +%s)
exit fetch_and_deploy_gh_release "sabnzbd-org" "sabnzbd/sabnzbd" "prebuild" "latest" "/opt/sabnzbd" "SABnzbd-*-src.tar.gz"
fi
setup_uv
msg_info "Updating $APP to ${RELEASE}"
systemctl stop sabnzbd
cp -r /opt/sabnzbd /opt/sabnzbd_backup_$(date +%s)
temp_file=$(mktemp)
curl -fsSL "https://github.com/sabnzbd/sabnzbd/releases/download/${RELEASE}/SABnzbd-${RELEASE}-src.tar.gz" -o "$temp_file"
tar -xzf "$temp_file" -C /opt/sabnzbd --strip-components=1
rm -f "$temp_file"
if [[ ! -d /opt/sabnzbd/venv ]]; then
msg_info "Migrating SABnzbd to uv virtual environment"
$STD uv venv /opt/sabnzbd/venv
msg_ok "Created uv venv at /opt/sabnzbd/venv"
if grep -q "ExecStart=python3 SABnzbd.py" /etc/systemd/system/sabnzbd.service; then
sed -i "s|ExecStart=python3 SABnzbd.py|ExecStart=/opt/sabnzbd/venv/bin/python SABnzbd.py|" /etc/systemd/system/sabnzbd.service if [[ ! -d /opt/sabnzbd/venv ]]; then
systemctl daemon-reload msg_info "Migrating SABnzbd to uv virtual environment"
msg_ok "Updated SABnzbd service to use uv venv" $STD uv venv /opt/sabnzbd/venv
msg_ok "Created uv venv at /opt/sabnzbd/venv"
if grep -q "ExecStart=python3 SABnzbd.py" /etc/systemd/system/sabnzbd.service; then
sed -i "s|ExecStart=python3 SABnzbd.py|ExecStart=/opt/sabnzbd/venv/bin/python SABnzbd.py|" /etc/systemd/system/sabnzbd.service
systemctl daemon-reload
msg_ok "Updated SABnzbd service to use uv venv"
fi
fi fi
$STD uv pip install --upgrade pip --python=/opt/sabnzbd/venv/bin/python
$STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python
systemctl start sabnzbd
msg_ok "Updated Successfully"
fi fi
$STD uv pip install --upgrade pip --python=/opt/sabnzbd/venv/bin/python
$STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python
echo "${RELEASE}" >/opt/${APP}_version.txt
systemctl start sabnzbd
msg_ok "Updated ${APP} to ${RELEASE}"
exit exit
} }

View File

@@ -23,7 +23,7 @@
"ram": 1024, "ram": 1024,
"hdd": 4, "hdd": 4,
"os": "debian", "os": "debian",
"version": "12" "version": "13"
} }
} }
], ],

View File

@@ -23,7 +23,7 @@
"ram": 2048, "ram": 2048,
"hdd": 4, "hdd": 4,
"os": "debian", "os": "debian",
"version": "12" "version": "13"
} }
} }
], ],
@@ -31,10 +31,5 @@
"username": null, "username": null,
"password": null "password": null
}, },
"notes": [ "notes": []
{
"text": "Flaresolverr is pinned to Version 3.3.25 because they add an breaking python package which doesn't work with debian 12.`",
"type": "info"
}
]
} }

View File

@@ -1,63 +1,183 @@
[ [
{ {
"name": "chrisbenincasa/tunarr", "name": "runtipi/runtipi",
"version": "v0.23.0-alpha.18", "version": "v4.5.5",
"date": "2025-10-27T23:09:56Z" "date": "2025-10-28T21:53:07Z"
}, },
{ {
"name": "OliveTin/OliveTin", "name": "dgtlmoon/changedetection.io",
"version": "3000.2.1", "version": "0.50.34",
"date": "2025-10-27T21:08:25Z" "date": "2025-10-28T21:08:11Z"
}, },
{ {
"name": "tailscale/tailscale", "name": "tailscale/tailscale",
"version": "v1.90.3", "version": "v1.90.4",
"date": "2025-10-27T20:21:34Z" "date": "2025-10-28T20:08:44Z"
}, },
{ {
"name": "goauthentik/authentik", "name": "moghtech/komodo",
"version": "version/2025.10.0", "version": "v1.19.5",
"date": "2025-10-27T19:58:39Z" "date": "2025-09-27T20:59:46Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.10.0",
"date": "2025-10-28T19:04:35Z"
},
{
"name": "netbox-community/netbox",
"version": "v4.4.5",
"date": "2025-10-28T18:35:47Z"
}, },
{ {
"name": "azukaar/Cosmos-Server", "name": "azukaar/Cosmos-Server",
"version": "v0.18.4", "version": "v0.18.4",
"date": "2025-04-05T19:12:57Z" "date": "2025-04-05T19:12:57Z"
}, },
{
"name": "javedh-dev/tracktor",
"version": "0.4.4",
"date": "2025-10-28T17:39:14Z"
},
{
"name": "pi-hole/pi-hole",
"version": "v6.2.2",
"date": "2025-10-28T17:07:47Z"
},
{
"name": "AdguardTeam/AdGuardHome",
"version": "v0.107.68",
"date": "2025-10-23T14:26:29Z"
},
{
"name": "fuma-nama/fumadocs",
"version": "fumadocs-openapi@9.7.1",
"date": "2025-10-28T16:09:45Z"
},
{
"name": "PrivateBin/PrivateBin",
"version": "2.0.2",
"date": "2025-10-28T15:51:35Z"
},
{
"name": "chrisbenincasa/tunarr",
"version": "v0.22.11",
"date": "2025-10-28T15:48:53Z"
},
{
"name": "mattermost/mattermost",
"version": "v10.5.13",
"date": "2025-10-28T15:48:37Z"
},
{
"name": "traefik/traefik",
"version": "v3.5.4",
"date": "2025-10-28T11:09:25Z"
},
{
"name": "librespeed/speedtest-rust",
"version": "v1.4.0",
"date": "2025-10-28T15:11:12Z"
},
{
"name": "nzbgetcom/nzbget",
"version": "v25.4",
"date": "2025-10-09T10:27:01Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.16.36",
"date": "2025-10-28T13:05:28Z"
},
{
"name": "element-hq/synapse",
"version": "v1.140.0",
"date": "2025-10-14T15:57:12Z"
},
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.534",
"date": "2025-10-28T12:29:12Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.117.3",
"date": "2025-10-28T12:00:42Z"
},
{
"name": "zabbix/zabbix",
"version": "7.2.14",
"date": "2025-10-28T11:41:57Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.32.1",
"date": "2025-10-28T11:37:10Z"
},
{
"name": "FlareSolverr/FlareSolverr",
"version": "v3.4.3",
"date": "2025-10-28T10:21:56Z"
},
{
"name": "thecfu/scraparr",
"version": "v3.0.0-beta.2",
"date": "2025-10-28T10:16:29Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.84.2",
"date": "2025-10-22T17:03:48Z"
},
{
"name": "maxdorninger/MediaManager",
"version": "v1.8.1",
"date": "2025-10-28T08:07:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.200",
"date": "2025-10-28T05:55:30Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v0.8.11-beta",
"date": "2025-10-28T01:15:42Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-28T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{
"name": "OliveTin/OliveTin",
"version": "3000.2.1",
"date": "2025-10-27T21:08:25Z"
},
{
"name": "goauthentik/authentik",
"version": "version/2025.10.0",
"date": "2025-10-27T19:58:39Z"
},
{ {
"name": "BerriAI/litellm", "name": "BerriAI/litellm",
"version": "v1.77.7.dev2", "version": "v1.77.7.dev2",
"date": "2025-10-27T18:50:42Z" "date": "2025-10-27T18:50:42Z"
}, },
{
"name": "runtipi/runtipi",
"version": "v4.5.3",
"date": "2025-10-25T13:27:34Z"
},
{
"name": "dgtlmoon/changedetection.io",
"version": "0.50.33",
"date": "2025-10-27T17:57:24Z"
},
{
"name": "mattermost/mattermost",
"version": "server/public/v0.1.21",
"date": "2025-10-16T09:46:16Z"
},
{ {
"name": "rabbitmq/rabbitmq-server", "name": "rabbitmq/rabbitmq-server",
"version": "v4.1.4", "version": "v4.2.0",
"date": "2025-09-02T14:26:24Z" "date": "2025-10-27T16:56:40Z"
}, },
{ {
"name": "semaphoreui/semaphore", "name": "keycloak/keycloak",
"version": "v2.17.0-beta14", "version": "nightly",
"date": "2025-10-27T14:18:16Z" "date": "2025-10-27T16:45:48Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.117.2",
"date": "2025-10-27T12:23:36Z"
}, },
{ {
"name": "pocket-id/pocket-id", "name": "pocket-id/pocket-id",
@@ -69,11 +189,6 @@
"version": "7.0.0-rc.2", "version": "7.0.0-rc.2",
"date": "2025-10-27T12:19:14Z" "date": "2025-10-27T12:19:14Z"
}, },
{
"name": "fuma-nama/fumadocs",
"version": "create-fumadocs-app@16.0.5",
"date": "2025-10-27T11:34:54Z"
},
{ {
"name": "juanfont/headscale", "name": "juanfont/headscale",
"version": "v0.27.0", "version": "v0.27.0",
@@ -99,16 +214,6 @@
"version": "v2.0.10", "version": "v2.0.10",
"date": "2025-09-24T08:33:37Z" "date": "2025-09-24T08:33:37Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.24.196",
"date": "2025-10-27T05:55:28Z"
},
{
"name": "javedh-dev/tracktor",
"version": "0.4.0",
"date": "2025-10-27T05:49:32Z"
},
{ {
"name": "firefly-iii/firefly-iii", "name": "firefly-iii/firefly-iii",
"version": "v6.4.2", "version": "v6.4.2",
@@ -124,26 +229,11 @@
"version": "1.0.1", "version": "1.0.1",
"date": "2025-10-27T01:35:01Z" "date": "2025-10-27T01:35:01Z"
}, },
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-27T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{ {
"name": "mongodb/mongo", "name": "mongodb/mongo",
"version": "r8.0.16-rc1", "version": "r8.0.16-rc1",
"date": "2025-10-26T23:32:32Z" "date": "2025-10-26T23:32:32Z"
}, },
{
"name": "keycloak/keycloak",
"version": "26.4.2",
"date": "2025-10-23T06:59:32Z"
},
{ {
"name": "Radarr/Radarr", "name": "Radarr/Radarr",
"version": "v5.28.0.10274", "version": "v5.28.0.10274",
@@ -209,11 +299,6 @@
"version": "v5.3", "version": "v5.3",
"date": "2025-10-25T13:50:31Z" "date": "2025-10-25T13:50:31Z"
}, },
{
"name": "pi-hole/pi-hole",
"version": "v6.2.1",
"date": "2025-10-25T10:39:32Z"
},
{ {
"name": "go-gitea/gitea", "name": "go-gitea/gitea",
"version": "v1.24.7", "version": "v1.24.7",
@@ -234,11 +319,6 @@
"version": "v2.7.12", "version": "v2.7.12",
"date": "2025-05-29T17:08:26Z" "date": "2025-05-29T17:08:26Z"
}, },
{
"name": "booklore-app/booklore",
"version": "v1.9.0",
"date": "2025-10-24T17:44:24Z"
},
{ {
"name": "verdaccio/verdaccio", "name": "verdaccio/verdaccio",
"version": "v6.2.1", "version": "v6.2.1",
@@ -314,21 +394,11 @@
"version": "v5.41.5", "version": "v5.41.5",
"date": "2025-10-23T15:12:42Z" "date": "2025-10-23T15:12:42Z"
}, },
{
"name": "AdguardTeam/AdGuardHome",
"version": "v0.107.68",
"date": "2025-10-23T14:26:29Z"
},
{ {
"name": "Kareadita/Kavita", "name": "Kareadita/Kavita",
"version": "v0.8.8.3", "version": "v0.8.8.3",
"date": "2025-10-23T12:31:49Z" "date": "2025-10-23T12:31:49Z"
}, },
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.32",
"date": "2025-10-23T12:30:33Z"
},
{ {
"name": "duplicati/duplicati", "name": "duplicati/duplicati",
"version": "v2.2.0.0_stable_2025-10-23", "version": "v2.2.0.0_stable_2025-10-23",
@@ -339,21 +409,11 @@
"version": "v0.9.99", "version": "v0.9.99",
"date": "2025-10-22T22:20:33Z" "date": "2025-10-22T22:20:33Z"
}, },
{
"name": "moghtech/komodo",
"version": "v1.19.5",
"date": "2025-09-27T20:59:46Z"
},
{ {
"name": "rcourtman/Pulse", "name": "rcourtman/Pulse",
"version": "issue-596", "version": "issue-596",
"date": "2025-10-22T19:48:56Z" "date": "2025-10-22T19:48:56Z"
}, },
{
"name": "gtsteffaniak/filebrowser",
"version": "v0.8.10-beta",
"date": "2025-10-22T18:41:54Z"
},
{ {
"name": "docker/compose", "name": "docker/compose",
"version": "v2.40.2", "version": "v2.40.2",
@@ -364,31 +424,16 @@
"version": "2.0.2", "version": "2.0.2",
"date": "2025-10-22T17:03:54Z" "date": "2025-10-22T17:03:54Z"
}, },
{
"name": "chrisvel/tududi",
"version": "v0.84.2",
"date": "2025-10-22T17:03:48Z"
},
{ {
"name": "prometheus/prometheus", "name": "prometheus/prometheus",
"version": "v0.307.2", "version": "v0.307.2",
"date": "2025-10-22T16:00:08Z" "date": "2025-10-22T16:00:08Z"
}, },
{
"name": "thecfu/scraparr",
"version": "v3.0.0-beta",
"date": "2025-10-22T13:12:10Z"
},
{ {
"name": "NLnetLabs/unbound", "name": "NLnetLabs/unbound",
"version": "release-1.24.1", "version": "release-1.24.1",
"date": "2025-10-22T10:28:00Z" "date": "2025-10-22T10:28:00Z"
}, },
{
"name": "zabbix/zabbix",
"version": "7.4.4rc1",
"date": "2025-10-22T09:20:59Z"
},
{ {
"name": "SigNoz/signoz", "name": "SigNoz/signoz",
"version": "v0.98.0", "version": "v0.98.0",
@@ -404,21 +449,11 @@
"version": "v1.15.3", "version": "v1.15.3",
"date": "2025-10-21T19:56:55Z" "date": "2025-10-21T19:56:55Z"
}, },
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.533",
"date": "2025-10-21T18:26:10Z"
},
{ {
"name": "kyantech/Palmr", "name": "kyantech/Palmr",
"version": "v3.2.5-beta", "version": "v3.2.5-beta",
"date": "2025-10-21T16:49:14Z" "date": "2025-10-21T16:49:14Z"
}, },
{
"name": "element-hq/synapse",
"version": "v1.140.0",
"date": "2025-10-14T15:57:12Z"
},
{ {
"name": "grafana/grafana", "name": "grafana/grafana",
"version": "v12.2.1", "version": "v12.2.1",
@@ -544,11 +579,6 @@
"version": "v13.0.9", "version": "v13.0.9",
"date": "2025-10-18T09:59:25Z" "date": "2025-10-18T09:59:25Z"
}, },
{
"name": "nzbgetcom/nzbget",
"version": "v25.4",
"date": "2025-10-09T10:27:01Z"
},
{ {
"name": "grokability/snipe-it", "name": "grokability/snipe-it",
"version": "v8.3.4", "version": "v8.3.4",
@@ -609,11 +639,6 @@
"version": "v4.47.1", "version": "v4.47.1",
"date": "2025-01-05T21:14:23Z" "date": "2025-01-05T21:14:23Z"
}, },
{
"name": "netbox-community/netbox",
"version": "v4.4.4",
"date": "2025-10-15T19:27:01Z"
},
{ {
"name": "immich-app/immich", "name": "immich-app/immich",
"version": "v2.1.0", "version": "v2.1.0",
@@ -699,11 +724,6 @@
"version": "v5.0.85", "version": "v5.0.85",
"date": "2025-10-12T19:55:18Z" "date": "2025-10-12T19:55:18Z"
}, },
{
"name": "PrivateBin/PrivateBin",
"version": "2.0.1",
"date": "2025-10-12T10:00:52Z"
},
{ {
"name": "authelia/authelia", "name": "authelia/authelia",
"version": "v4.39.13", "version": "v4.39.13",
@@ -749,11 +769,6 @@
"version": "r1945", "version": "r1945",
"date": "2025-10-10T02:30:05Z" "date": "2025-10-10T02:30:05Z"
}, },
{
"name": "FlareSolverr/FlareSolverr",
"version": "v3.4.2",
"date": "2025-10-09T19:05:48Z"
},
{ {
"name": "silverbulletmd/silverbullet", "name": "silverbulletmd/silverbullet",
"version": "2.1.9", "version": "2.1.9",
@@ -914,11 +929,6 @@
"version": "22.0.2", "version": "22.0.2",
"date": "2025-09-27T01:43:20Z" "date": "2025-09-27T01:43:20Z"
}, },
{
"name": "traefik/traefik",
"version": "v3.5.3",
"date": "2025-09-26T09:31:01Z"
},
{ {
"name": "Threadfin/Threadfin", "name": "Threadfin/Threadfin",
"version": "1.2.39", "version": "1.2.39",
@@ -1099,11 +1109,6 @@
"version": "v0.21.0", "version": "v0.21.0",
"date": "2025-08-23T18:33:53Z" "date": "2025-08-23T18:33:53Z"
}, },
{
"name": "maxdorninger/MediaManager",
"version": "1.8.0",
"date": "2025-08-23T16:22:30Z"
},
{ {
"name": "caddyserver/caddy", "name": "caddyserver/caddy",
"version": "v2.10.2", "version": "v2.10.2",
@@ -1254,11 +1259,6 @@
"version": "v29.0", "version": "v29.0",
"date": "2025-06-30T03:52:33Z" "date": "2025-06-30T03:52:33Z"
}, },
{
"name": "librespeed/speedtest-rust",
"version": "v1.3.8",
"date": "2025-06-29T07:41:53Z"
},
{ {
"name": "arunavo4/gitea-mirror", "name": "arunavo4/gitea-mirror",
"version": "v2.18.0", "version": "v2.18.0",

View File

@@ -13,20 +13,15 @@ setting_up_container
network_check network_check
update_os update_os
msg_info "Setup Python3" PYTHON_VERSION="3.12" setup_uv
$STD apt-get install -y \
python3 \
python3-dev
msg_ok "Setup Python3"
PYTHON_VERSION="3.13" setup_uv
fetch_and_deploy_gh_release "bazarr" "morpheus65535/bazarr" "prebuild" "latest" "/opt/bazarr" "bazarr.zip" fetch_and_deploy_gh_release "bazarr" "morpheus65535/bazarr" "prebuild" "latest" "/opt/bazarr" "bazarr.zip"
msg_info "Installing Bazarr" msg_info "Installing Bazarr"
mkdir -p /var/lib/bazarr/ mkdir -p /var/lib/bazarr/
chmod 775 /opt/bazarr /var/lib/bazarr/ chmod 775 /opt/bazarr /var/lib/bazarr/
sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt
$STD uv pip install -r /opt/bazarr/requirements.txt --system $STD uv venv /opt/bazarr/venv --python 3.12
$STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3
msg_ok "Installed Bazarr" msg_ok "Installed Bazarr"
msg_info "Creating Service" msg_info "Creating Service"
@@ -41,7 +36,7 @@ UMask=0002
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
Type=simple Type=simple
ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py ExecStart=/opt/bazarr/venv/bin/python3 /opt/bazarr/bazarr.py
KillSignal=SIGINT KillSignal=SIGINT
TimeoutStopSec=20 TimeoutStopSec=20
SyslogIdentifier=bazarr SyslogIdentifier=bazarr

View File

@@ -21,13 +21,18 @@ $STD apt-get install -y \
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Chrome" msg_info "Installing Chrome"
curl -fsSL "https://dl.google.com/linux/linux_signing_key.pub" | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg setup_deb822_repo \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" >/etc/apt/sources.list.d/google-chrome.list "google-chrome" \
"https://dl.google.com/linux/linux_signing_key.pub" \
"https://dl.google.com/linux/chrome/deb/" \
"stable"
$STD apt update $STD apt update
$STD apt install -y google-chrome-stable $STD apt install -y google-chrome-stable
# remove google-chrome.list added by google-chrome-stable
rm /etc/apt/sources.list.d/google-chrome.list
msg_ok "Installed Chrome" msg_ok "Installed Chrome"
fetch_and_deploy_gh_release "flaresolverr" "FlareSolverr/FlareSolverr" "prebuild" "v3.3.25" "/opt/flaresolverr" "flaresolverr_linux_x64.tar.gz" fetch_and_deploy_gh_release "flaresolverr" "FlareSolverr/FlareSolverr" "prebuild" "latest" "/opt/flaresolverr" "flaresolverr_linux_x64.tar.gz"
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/flaresolverr.service cat <<EOF >/etc/systemd/system/flaresolverr.service

View File

@@ -20,22 +20,22 @@ $STD apt-get install -y \
libjemalloc2 libjemalloc2
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
setup_mysql setup_mariadb
msg_info "Configuring Database" msg_info "Configuring Database"
DB_NAME=ghost DB_NAME=ghost
DB_USER=ghostuser DB_USER=ghostuser
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
$STD mysql -u root -e "CREATE DATABASE $DB_NAME;" $STD mariadb -u root -e "CREATE DATABASE $DB_NAME;"
$STD mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" $STD mariadb -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';"
$STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
{ {
echo "Ghost-Credentials" echo "Ghost-Credentials"
echo "Ghost Database User: $DB_USER" echo "Ghost Database User: $DB_USER"
echo "Ghost Database Password: $DB_PASS" echo "Ghost Database Password: $DB_PASS"
echo "Ghost Database Name: $DB_NAME" echo "Ghost Database Name: $DB_NAME"
} >>~/ghost.creds } >>~/ghost.creds
msg_ok "Configured MySQL" msg_ok "Configured MariaDB"
NODE_VERSION="22" setup_nodejs NODE_VERSION="22" setup_nodejs
@@ -60,4 +60,5 @@ customize
msg_info "Cleaning up" msg_info "Cleaning up"
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
$STD apt-get -y clean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@@ -25,7 +25,15 @@ mkdir -p data/{users,checklists,notes}
cat <<EOF >/opt/jotty/.env cat <<EOF >/opt/jotty/.env
NODE_ENV=production NODE_ENV=production
# --- Uncomment to enable
# HTTPS=true # HTTPS=true
# SERVE_PUBLIC_IMAGES=yes
# SERVE_PUBLIC_FILES=yes
# SERVE_PUBLIC_VIDEOS=yes
# STOP_CHECK_UPDATES=yes
# --- For troubleshooting
# DEBUGGER=true
# --- SSO with OIDC (optional) # --- SSO with OIDC (optional)
# SSO_MODE=oidc # SSO_MODE=oidc

View File

@@ -18,36 +18,21 @@ $STD apt-get install -y \
apt-transport-https \ apt-transport-https \
apache2 \ apache2 \
git \ git \
expect \ expect
composer \
lsb-release
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
setup_mysql setup_mariadb
PHP_VERSION="8.4" PHP_MODULE="gd,mysql,mbstring,bcmath,xml,curl,zip,intl" PHP_APACHE="YES" setup_php
msg_info "Adding PHP8.4 Repository" setup_composer
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
$STD apt-get update
msg_ok "Added PHP8.4 Repository"
msg_info "Installing PHP"
$STD apt-get remove -y php8.2*
$STD apt-get install -y \
php8.4 \
php8.4-{gd,mysql,mbstring,bcmath,xml,curl,zip,intl} \
libapache2-mod-php8.4
msg_ok "Installed PHP"
msg_info "Setting up database" msg_info "Setting up database"
DB_NAME=kimai_db DB_NAME=kimai_db
DB_USER=kimai DB_USER=kimai
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
MYSQL_VERSION=$(mysql --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+') MYSQL_VERSION=$(mariadb --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
$STD mysql -u root -e "CREATE DATABASE $DB_NAME;" $STD mariadb -u root -e "CREATE DATABASE $DB_NAME;"
$STD mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" $STD mariadb -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';"
$STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
{ {
echo "Kimai-Credentials" echo "Kimai-Credentials"
echo "Kimai Database User: $DB_USER" echo "Kimai Database User: $DB_USER"
@@ -56,11 +41,9 @@ $STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH
} >>~/kimai.creds } >>~/kimai.creds
msg_ok "Set up database" msg_ok "Set up database"
msg_info "Installing Kimai (Patience)" fetch_and_deploy_gh_release "Kimai" "kimai/kimai" "prebuild" "latest" "/opt/kimai" "kimai-release-*.zip"
RELEASE=$(curl -fsSL https://api.github.com/repos/kimai/kimai/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
curl -fsSL "https://github.com/kimai/kimai/archive/refs/tags/${RELEASE}.zip" -o "${RELEASE}".zip msg_info "Installing Kimai"
$STD unzip "${RELEASE}".zip
mv kimai-"${RELEASE}" /opt/kimai
cd /opt/kimai cd /opt/kimai
echo "export COMPOSER_ALLOW_SUPERUSER=1" >>~/.bashrc echo "export COMPOSER_ALLOW_SUPERUSER=1" >>~/.bashrc
source ~/.bashrc source ~/.bashrc
@@ -92,8 +75,6 @@ admin_lte:
options: options:
default_avatar: build/apple-touch-icon.png default_avatar: build/apple-touch-icon.png
EOF EOF
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
msg_ok "Installed Kimai" msg_ok "Installed Kimai"
msg_info "Creating Service" msg_info "Creating Service"
@@ -130,7 +111,7 @@ motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf "${RELEASE}".zip $STD apt -y autoremove
$STD apt-get -y autoremove $STD apt -y autoclean
$STD apt-get -y autoclean $STD apt -y clean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@@ -14,19 +14,19 @@ network_check
update_os update_os
msg_info "Installing dependencies" msg_info "Installing dependencies"
$STD apt install --no-install-recommends -y build-essential $STD apt install -y build-essential
msg_ok "Installed dependencies" msg_ok "Installed dependencies"
NODE_VERSION="22" setup_nodejs NODE_VERSION="22" setup_nodejs
MYSQL_VERSION="8.0" setup_mysql setup_mariadb
msg_info "Setting up Database" msg_info "Setting up Database"
DB_NAME="mmdl" DB_NAME="mmdl"
DB_USER="mmdl" DB_USER="mmdl"
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
$STD mysql -u root -e "CREATE DATABASE $DB_NAME;" $STD mariadb -u root -e "CREATE DATABASE $DB_NAME;"
$STD mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED by '$DB_PASS';" $STD mariadb -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED by '$DB_PASS';"
$STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" $STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
{ {
echo "Manage My Damn Life Credentials" echo "Manage My Damn Life Credentials"
echo "Database User: $DB_USER" echo "Database User: $DB_USER"
@@ -59,7 +59,7 @@ msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/mmdl.service cat <<EOF >/etc/systemd/system/mmdl.service
[Unit] [Unit]
Description=${APPLICATION} Service Description=${APPLICATION} Service
After=network.target mysql.service After=network.target mariadb.service
[Service] [Service]
WorkingDirectory=/opt/mmdl WorkingDirectory=/opt/mmdl

View File

@@ -19,30 +19,33 @@ $STD apt install -y \
p7zip-full p7zip-full
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup uv" PYTHON_VERSION="3.13" setup_uv
setup_uv
msg_ok "Setup uv"
msg_info "Setup Unrar" msg_info "Setup Unrar"
cat <<EOF >/etc/apt/sources.list.d/non-free.list cat <<EOF >/etc/apt/sources.list.d/non-free.sources
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware Types: deb
URIs: http://deb.debian.org/debian/
Suites: trixie
Components: non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
EOF EOF
$STD apt update $STD apt update
$STD apt install -y unrar $STD apt install -y unrar
rm /etc/apt/sources.list.d/non-free.list
msg_ok "Setup Unrar" msg_ok "Setup Unrar"
fetch_and_deploy_gh_release "sabnzbd-org" "sabnzbd/sabnzbd" "prebuild" "latest" "/opt/sabnzbd" "SABnzbd-*-src.tar.gz"
msg_info "Installing SABnzbd" msg_info "Installing SABnzbd"
RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
mkdir -p /opt/sabnzbd
$STD uv venv /opt/sabnzbd/venv $STD uv venv /opt/sabnzbd/venv
temp_file=$(mktemp)
curl -fsSL "https://github.com/sabnzbd/sabnzbd/releases/download/${RELEASE}/SABnzbd-${RELEASE}-src.tar.gz" -o "$temp_file"
tar -xzf "$temp_file" -C /opt/sabnzbd --strip-components=1
$STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python $STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed SABnzbd" msg_ok "Installed SABnzbd"
read -r -p "Would you like to install par2cmdline-turbo? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
mv /usr/bin/par2 /usr/bin/par2.old
fetch_and_deploy_gh_release "par2cmdline-turbo" "animetosho/par2cmdline-turbo" "prebuild" "latest" "/usr/bin/" "*-linux-amd64.zip"
fi
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/sabnzbd.service cat <<EOF >/etc/systemd/system/sabnzbd.service
[Unit] [Unit]
@@ -65,7 +68,6 @@ motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -f "$temp_file"
$STD apt -y autoremove $STD apt -y autoremove
$STD apt -y autoclean $STD apt -y autoclean
$STD apt -y clean $STD apt -y clean