mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-25 15:02:53 +01:00
Compare commits
40
Commits
No files matched your search
@@ -587,8 +587,56 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-11-23
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Anubis [@opastorello](https://github.com/opastorello) ([#18926](https://github.com/community-scripts/ProxmoxVE/pull/18926))
|
||||
- Oracle Linux [@MickLesk](https://github.com/MickLesk) ([#18945](https://github.com/community-scripts/ProxmoxVE/pull/18945))
|
||||
- Kali Linux [@MickLesk](https://github.com/MickLesk) ([#18946](https://github.com/community-scripts/ProxmoxVE/pull/18946))
|
||||
- Linux Mint [@MickLesk](https://github.com/MickLesk) ([#18948](https://github.com/community-scripts/ProxmoxVE/pull/18948))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- airconnect: fix disabled service restart, static binary cleanup, and flag overrides [@cwmoriarty](https://github.com/cwmoriarty) ([#18955](https://github.com/community-scripts/ProxmoxVE/pull/18955))
|
||||
- bulwark: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18957](https://github.com/community-scripts/ProxmoxVE/pull/18957))
|
||||
|
||||
## 2026-11-22
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Subwave [@MickLesk](https://github.com/MickLesk) ([#18929](https://github.com/community-scripts/ProxmoxVE/pull/18929))
|
||||
- Gopeed [@MickLesk](https://github.com/MickLesk) ([#18921](https://github.com/community-scripts/ProxmoxVE/pull/18921))
|
||||
- NoteMark [@MickLesk](https://github.com/MickLesk) ([#18920](https://github.com/community-scripts/ProxmoxVE/pull/18920))
|
||||
- Bytechef [@MickLesk](https://github.com/MickLesk) ([#18919](https://github.com/community-scripts/ProxmoxVE/pull/18919))
|
||||
- Lidify [@angusmaul](https://github.com/angusmaul) ([#18918](https://github.com/community-scripts/ProxmoxVE/pull/18918))
|
||||
- Ideon [@MickLesk](https://github.com/MickLesk) ([#18915](https://github.com/community-scripts/ProxmoxVE/pull/18915))
|
||||
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Keeper: set the build identity and tz data the services now require [@MickLesk](https://github.com/MickLesk) ([#18933](https://github.com/community-scripts/ProxmoxVE/pull/18933))
|
||||
- Firecrawl: pin nodesig to the commit that matches the 2.11 release [@MickLesk](https://github.com/MickLesk) ([#18934](https://github.com/community-scripts/ProxmoxVE/pull/18934))
|
||||
- Update authentik to 2026.8.6 [@thieneret](https://github.com/thieneret) ([#18912](https://github.com/community-scripts/ProxmoxVE/pull/18912))
|
||||
- FIX: Add flag to Grimmory install script to mitigate CVE-2026-114938 [@zekaptain](https://github.com/zekaptain) ([#18923](https://github.com/community-scripts/ProxmoxVE/pull/18923))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- several scripts: update prompts - take the default or skip when nobody can answer [@MickLesk](https://github.com/MickLesk) ([#18931](https://github.com/community-scripts/ProxmoxVE/pull/18931))
|
||||
- splunk, immich: let var_* answer the last install prompts [@MickLesk](https://github.com/MickLesk) ([#18932](https://github.com/community-scripts/ProxmoxVE/pull/18932))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- incus: install what a Proxmox template ships into Incus containers too [@MickLesk](https://github.com/MickLesk) ([core#293](https://github.com/community-scripts/core/pull/293))
|
||||
- pve/incus: give ct scripts host-side helpers that work on both backends [@MickLesk](https://github.com/MickLesk) ([core#294](https://github.com/community-scripts/core/pull/294))
|
||||
- Reload systemd units after a .deb install [@MickLesk](https://github.com/MickLesk) ([core#291](https://github.com/community-scripts/core/pull/291))
|
||||
- Read github.com when the update check hits the API rate limit [@MickLesk](https://github.com/MickLesk) ([core#292](https://github.com/community-scripts/core/pull/292))
|
||||
- Resume a VM image download that broke off [@MickLesk](https://github.com/MickLesk) ([core#290](https://github.com/community-scripts/core/pull/290))
|
||||
|
||||
## 2026-11-21
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
+9
-6
@@ -34,20 +34,23 @@ function update_script() {
|
||||
|
||||
if check_for_gh_release "airconnect" "philippe44/AirConnect"; then
|
||||
msg_info "Stopping AirConnect"
|
||||
systemctl stop airupnp aircast
|
||||
if systemctl is-active --quiet airupnp; then systemctl stop airupnp; fi
|
||||
if systemctl is-active --quiet aircast; then systemctl stop aircast; fi
|
||||
msg_ok "Stopped AirConnect"
|
||||
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="airupnp.xml aircast.xml" fetch_and_deploy_gh_release "airconnect" "philippe44/AirConnect" "prebuild" "latest" "/opt/airconnect" "AirConnect-*.zip"
|
||||
|
||||
msg_info "Configuring AirConnect"
|
||||
chmod +x /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64)
|
||||
ln -sf /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/airupnp
|
||||
ln -sf /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast
|
||||
find /opt/airconnect -maxdepth 1 -type f ! -name "air*linux-$(arch_resolve x86_64 aarch64)*" ! -name "airupnp" ! -name "aircast" ! -name "*.xml" -delete
|
||||
ARCH=$(arch_resolve x86_64 aarch64)
|
||||
chmod +x "/opt/airconnect/airupnp-linux-${ARCH}" "/opt/airconnect/aircast-linux-${ARCH}"
|
||||
ln -sf "/opt/airconnect/airupnp-linux-${ARCH}" /opt/airconnect/airupnp
|
||||
ln -sf "/opt/airconnect/aircast-linux-${ARCH}" /opt/airconnect/aircast
|
||||
find /opt/airconnect -maxdepth 1 -type f ! -name "airupnp-linux-${ARCH}" ! -name "aircast-linux-${ARCH}" ! -name "*.xml" -delete
|
||||
msg_ok "Configured AirConnect"
|
||||
|
||||
msg_info "Starting AirConnect"
|
||||
systemctl start airupnp aircast
|
||||
if systemctl is-enabled --quiet airupnp; then systemctl start airupnp; fi
|
||||
if systemctl is-enabled --quiet aircast; then systemctl start aircast; fi
|
||||
msg_ok "Started AirConnect"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
|
||||
+1
-2
@@ -34,8 +34,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_warn "⚠️ Komodo v2 uses :2 image tags. The :latest tag is deprecated and will not receive v2 updates."
|
||||
msg_warn "Please migrate to the addon script to receive Komodo v2."
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Nicolas Pastorello (opastorello)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://anubis.techaro.lol/
|
||||
|
||||
APP="Anubis"
|
||||
var_tags="${var_tags:-proxy;security}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
|
||||
export var_anubis_target="${var_anubis_target:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /etc/anubis/main.env ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "anubis" "TecharoHQ/anubis"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop anubis@main
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
fetch_and_deploy_gh_release "anubis" "TecharoHQ/anubis" "binary"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start anubis@main
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8923${CL}"
|
||||
+3
-3
@@ -47,9 +47,9 @@ function update_script() {
|
||||
RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
|
||||
setup_yq
|
||||
|
||||
AUTHENTIK_VERSION="version/2026.8.5"
|
||||
AUTHENTIK_VERSION="version/2026.8.6"
|
||||
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L26
|
||||
XMLSEC_VERSION="1.3.12"
|
||||
XMLSEC_VERSION="1.3.13"
|
||||
|
||||
if check_for_gh_release "geoipupdate" "maxmind/geoipupdate"; then
|
||||
fetch_and_deploy_gh_release "geoipupdate" "maxmind/geoipupdate" "binary"
|
||||
@@ -93,7 +93,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
|
||||
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.7" UV_PROJECT_DIR="/opt/authentik" setup_uv
|
||||
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.10" UV_PROJECT_DIR="/opt/authentik" setup_uv
|
||||
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
|
||||
|
||||
msg_info "Configuring rust"
|
||||
|
||||
@@ -50,6 +50,10 @@ function update_script() {
|
||||
if [[ -n "$STORAGE_KB" && -n "$FREE_KB" && "$FREE_KB" -lt "$STORAGE_KB" ]]; then
|
||||
echo -e "\n${RD}Warning: migration needs about $((STORAGE_KB / 1024))MB, only $((FREE_KB / 1024))MB free.${CL}"
|
||||
echo -e "${RD}The new bichon-blob store is written alongside the existing fjall data.${CL}"
|
||||
if is_unattended; then
|
||||
msg_warn "Not enough free space for the migration - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
read -r -p "Are you sure you want to proceed with the update? (y/N): " proceed
|
||||
if [[ ! $proceed =~ ^[Yy]$ ]]; then
|
||||
msg_error "Update cancelled by user."
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ function update_script() {
|
||||
systemctl stop bulwark
|
||||
msg_ok "Stopped Bulwark"
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
NODE_VERSION="26" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bulwark" "bulwarkmail/webmail" "prebuild" "latest" "/opt/bulwark" "bulwark-standalone-*-linux-$(arch_resolve).tar.gz"
|
||||
|
||||
msg_info "Starting Bulwark"
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/bytechefhq/bytechef
|
||||
|
||||
APP="ByteChef"
|
||||
var_tags="${var_tags:-automation;workflow;integration}"
|
||||
var_cpu="${var_cpu:-4}"
|
||||
var_ram="${var_ram:-6144}"
|
||||
var_disk="${var_disk:-16}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/bytechef ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "bytechef" "bytechefhq/bytechef"; then
|
||||
msg_info "Stopping ByteChef"
|
||||
systemctl stop bytechef
|
||||
msg_ok "Stopped ByteChef"
|
||||
|
||||
JAVA_VERSION="25" setup_java
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
|
||||
|
||||
msg_info "Building ByteChef (Patience)"
|
||||
mv /opt/bytechef /opt/bytechef-build
|
||||
cd /opt/bytechef-build/client
|
||||
$STD npm ci
|
||||
$STD npm run build
|
||||
cd /opt/bytechef-build
|
||||
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod -Pkotlin.compiler.execution.strategy=in-process
|
||||
mkdir -p /opt/bytechef/server
|
||||
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
|
||||
mv /opt/bytechef-build/client/dist /opt/bytechef/client
|
||||
rm -rf /opt/bytechef-build
|
||||
msg_ok "Built ByteChef"
|
||||
|
||||
msg_info "Starting ByteChef"
|
||||
systemctl start bytechef
|
||||
msg_ok "Started ByteChef"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
+1
-2
@@ -36,8 +36,7 @@ function update_script() {
|
||||
msg_ok "Updated ${APP} LXC"
|
||||
|
||||
if [[ ! -f /etc/apt/sources.list.d/45drives.sources ]]; then
|
||||
[[ "$(arch_resolve)" == "arm64" ]] || read -r -p "Would you like to install 45Drives' cockpit-file-sharing, cockpit-identities, and cockpit-navigator now? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
if [[ "$(arch_resolve)" != "arm64" ]] && prompt_confirm "Would you like to install 45Drives' cockpit-file-sharing, cockpit-identities, and cockpit-navigator now?" "n"; then
|
||||
msg_info "Installing 45Drives' cockpit extensions"
|
||||
setup_deb822_repo "45drives" \
|
||||
"https://repo.45drives.com/key/gpg.asc" \
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_dockge${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_info "Updating ${APP} (legacy)"
|
||||
cd /opt/dockge
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_dokploy${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_info "Updating ${APP} (legacy)"
|
||||
curl -sSL https://dokploy.com/install.sh | $STD bash -s update
|
||||
|
||||
@@ -64,6 +64,7 @@ function update_script() {
|
||||
msg_info "Building Firecrawl API"
|
||||
source "$HOME/.cargo/env"
|
||||
cd /opt/firecrawl/apps/api
|
||||
grep -q '^kuchikiki = "0.8.2"' native/Cargo.toml && sed -i 's|^nodesig = { git = "https://github.com/firecrawl/nodesig" }|nodesig = { git = "https://github.com/firecrawl/nodesig", rev = "b8ebc4a71081" }|' native/Cargo.toml
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm build
|
||||
CI=true $STD pnpm prune --prod --ignore-scripts
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ function update_script() {
|
||||
|
||||
APP_VERSION=$(grep -o '"version": *"[^"]*"' /opt/gitea-mirror/package.json | cut -d'"' -f4)
|
||||
if [[ $APP_VERSION =~ ^2\. ]]; then
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Version $APP_VERSION detected. Major version upgrade requires interactive confirmation, skipping."
|
||||
exit 75
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/GopeedLab/gopeed
|
||||
|
||||
APP="Gopeed"
|
||||
var_tags="${var_tags:-downloader;torrent}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-1024}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/gopeed ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "gopeed" "GopeedLab/gopeed"; then
|
||||
msg_info "Stopping Gopeed"
|
||||
systemctl stop gopeed
|
||||
msg_ok "Stopped Gopeed"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gopeed" "GopeedLab/gopeed" "prebuild" "latest" "/opt/gopeed" "gopeed-web-v*-linux-$(arch_resolve "amd64" "arm64").zip"
|
||||
|
||||
msg_info "Starting Gopeed"
|
||||
systemctl start gopeed
|
||||
msg_ok "Started Gopeed"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:9999${CL}"
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/3xpyth0n/ideon
|
||||
|
||||
APP="Ideon"
|
||||
var_tags="${var_tags:-notes;canvas;collaboration}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-4096}"
|
||||
var_disk="${var_disk:-10}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/ideon ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
|
||||
|
||||
if check_for_gh_release "ideon" "3xpyth0n/ideon"; then
|
||||
msg_info "Stopping Ideon"
|
||||
systemctl stop ideon
|
||||
msg_ok "Stopped Ideon"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
|
||||
|
||||
msg_info "Building Ideon"
|
||||
cd /opt/ideon
|
||||
$STD npm ci
|
||||
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
|
||||
$STD npm prune --omit=dev
|
||||
rm -rf /opt/ideon/.next/cache ~/.npm
|
||||
ln -s /opt/ideon_data/storage /opt/ideon/storage
|
||||
msg_ok "Built Ideon"
|
||||
|
||||
msg_info "Starting Ideon"
|
||||
systemctl start ideon
|
||||
msg_ok "Started Ideon"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
||||
+1
-1
@@ -39,7 +39,7 @@ function update_script() {
|
||||
echo "Seerr is the new unified Jellyseerr and Overseerr."
|
||||
echo "More info: https://docs.seerr.dev/blog/seerr-release"
|
||||
echo
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Seerr migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://www.kali.org/
|
||||
|
||||
APP="Kali Linux"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-kali}"
|
||||
var_version="${var_version:-current}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD apt update
|
||||
$STD apt upgrade -y
|
||||
msg_ok "Updated $APP LXC"
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!"
|
||||
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
|
||||
@@ -51,6 +51,13 @@ function update_script() {
|
||||
$STD bun run --cwd applications/web build
|
||||
msg_ok "Built Keeper"
|
||||
|
||||
sed -i -e '/^COMMIT_SHA=/d' -e '/^VERSION=/d' -e '/^ICU_TIMEZONE_FILES_DIR=/d' /opt/keeper_data/.env
|
||||
cat <<EOF >>/opt/keeper_data/.env
|
||||
COMMIT_SHA=v$(cat ~/.keeper)
|
||||
VERSION=$(cat ~/.keeper)
|
||||
ICU_TIMEZONE_FILES_DIR=/opt/keeper/docker/icu-timezone
|
||||
EOF
|
||||
|
||||
msg_info "Migrating Keeper Database"
|
||||
$STD bun --env-file=/opt/keeper_data/.env packages/database/scripts/migrate.ts
|
||||
msg_ok "Migrated Keeper Database"
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
msg_custom "ℹ️" "${YW}" "This is a one-time migration. After this, you can update ${APP} anytime with:"
|
||||
echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_warn "⚠️ Komodo v2 uses :2 image tags. The :latest tag is deprecated and will not receive v2 updates."
|
||||
msg_warn "Please migrate to the addon script to receive Komodo v2."
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Tim Moore (angusmaul)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/TheWicklowWolf/Lidify
|
||||
|
||||
APP="Lidify"
|
||||
var_tags="${var_tags:-arr;music}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-1024}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/lidify ]]; then
|
||||
msg_error "No Lidify Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "lidify" "TheWicklowWolf/Lidify"; then
|
||||
msg_info "Stopping Lidify"
|
||||
systemctl stop lidify
|
||||
msg_ok "Stopped Lidify"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="config" fetch_and_deploy_gh_release "lidify" "TheWicklowWolf/Lidify" "tarball"
|
||||
|
||||
msg_info "Updating Lidify"
|
||||
$STD uv venv --python 3.12 /opt/lidify/.venv
|
||||
$STD uv pip install --python /opt/lidify/.venv/bin/python -r /opt/lidify/requirements.txt
|
||||
cat <<EOF >/opt/lidify/.env
|
||||
RELEASE_VERSION=$(cat ~/.lidify)
|
||||
EOF
|
||||
msg_ok "Updated Lidify"
|
||||
|
||||
msg_info "Starting Lidify"
|
||||
systemctl start lidify
|
||||
msg_ok "Started Lidify"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:5000${CL}"
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://linuxmint.com/
|
||||
|
||||
APP="Linux Mint"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-mint}"
|
||||
var_version="${var_version:-zena}"
|
||||
var_arm64="${var_arm64:-no}" # linuxcontainers publishes this one for amd64 only
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD apt update
|
||||
$STD apt upgrade -y
|
||||
msg_ok "Updated $APP LXC"
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!"
|
||||
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
|
||||
@@ -0,0 +1,67 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/mathesar-foundation/mathesar
|
||||
|
||||
APP="Mathesar"
|
||||
var_tags="${var_tags:-database;postgresql;spreadsheet}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/mathesar ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "mathesar" "mathesar-foundation/mathesar"; then
|
||||
msg_info "Stopping Mathesar"
|
||||
systemctl stop mathesar
|
||||
msg_ok "Stopped Mathesar"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="sso.yml file_storage.yml login_page.yml" fetch_and_deploy_gh_release "mathesar" "mathesar-foundation/mathesar" "prebuild" "latest" "/opt/mathesar" "mathesar.tar.gz"
|
||||
|
||||
msg_info "Updating Mathesar"
|
||||
cd /opt/mathesar
|
||||
$STD uv venv --python 3.12 /opt/mathesar/.venv
|
||||
$STD uv pip install --python /opt/mathesar/.venv/bin/python -r requirements.txt
|
||||
set -a
|
||||
source /opt/mathesar_data/.env
|
||||
set +a
|
||||
$STD /opt/mathesar/.venv/bin/python -m mathesar.install
|
||||
msg_ok "Updated Mathesar"
|
||||
|
||||
msg_info "Starting Mathesar"
|
||||
systemctl start mathesar
|
||||
msg_ok "Started Mathesar"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8000${CL}"
|
||||
Executable
+55
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env bash
|
||||
# Engine comes from community-scripts/core; this repo only ships the scripts.
|
||||
# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core),
|
||||
# so a fork or branch of core can be tested without editing this file.
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Nick Berardi (nberardi)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://nextdns.io | https://github.com/nextdns/nextdns
|
||||
|
||||
APP="NextDNS"
|
||||
var_tags="${var_tags:-dns;adblock;network}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-2}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
export var_nextdns_profile="${var_nextdns_profile:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -x /usr/bin/nextdns ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Updating ${APP}"
|
||||
$STD apt update
|
||||
$STD apt install -y nextdns
|
||||
msg_ok "Updated ${APP}"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}NextDNS is configured and serving DNS on:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}${IP}:53${CL} ${YW}(TCP/UDP)${CL}"
|
||||
echo -e "${INFO}${YW}Profiles are managed at: https://my.nextdns.io${CL}"
|
||||
echo -e "${INFO}${YW}Point DHCP clients or your router upstream DNS at the container IP.${CL}"
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/enchant97/note-mark
|
||||
|
||||
APP="Note Mark"
|
||||
var_tags="${var_tags:-notes;markdown}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/notemark ]]; then
|
||||
msg_error "No Note Mark Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "notemark" "enchant97/note-mark"; then
|
||||
msg_info "Stopping Note Mark"
|
||||
systemctl stop notemark
|
||||
msg_ok "Stopped Note Mark"
|
||||
|
||||
setup_go
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm@11" setup_nodejs
|
||||
RUST_PROFILE="minimal" setup_rust
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "notemark" "enchant97/note-mark" "tarball"
|
||||
|
||||
msg_info "Building Note Mark"
|
||||
$STD rustup target add wasm32-unknown-unknown
|
||||
cd /opt/notemark/frontend
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm run wasm
|
||||
$STD pnpm run build
|
||||
cd /opt/notemark/backend
|
||||
$STD go tool sqlc generate
|
||||
CGO_ENABLED=0 $STD go build -ldflags "-X main.Version=$(cat ~/.notemark)" -o /opt/notemark/note-mark
|
||||
rm -rf /opt/notemark/frontend/node_modules /opt/notemark/frontend/renderer/target
|
||||
$STD go clean -cache -modcache
|
||||
msg_ok "Built Note Mark"
|
||||
|
||||
msg_info "Starting Note Mark"
|
||||
systemctl start notemark
|
||||
msg_ok "Started Note Mark"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://www.oracle.com/linux/
|
||||
|
||||
APP="Oracle Linux"
|
||||
var_tags="${var_tags:-os}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-oracle}"
|
||||
var_version="${var_version:-9}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
msg_info "Updating $APP LXC"
|
||||
$STD dnf -y upgrade
|
||||
msg_ok "Updated $APP LXC"
|
||||
cleanup_lxc
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed successfully!"
|
||||
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
|
||||
+1
-1
@@ -38,7 +38,7 @@ function update_script() {
|
||||
echo "Seerr is the new unified Jellyseerr and Overseerr."
|
||||
echo "More info: https://docs.seerr.dev/blog/seerr-release"
|
||||
echo
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Seerr migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
|
||||
+2
-2
@@ -63,7 +63,7 @@ function update_script() {
|
||||
echo -e "${GATEWAY}${BGN}https://docs.paperless-ngx.com/migration-v3/#encryption-support${CL}"
|
||||
msg_warn "Before continuing make sure that you do not use encryption or have decrypted all documents."
|
||||
echo ""
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Paperless-ngx v3 migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
@@ -75,7 +75,7 @@ function update_script() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]] && ! grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
||||
if is_unattended && ! grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
||||
msg_warn "Paperless-ngx uv migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
|
||||
+1
-2
@@ -38,8 +38,7 @@ function update_script() {
|
||||
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
|
||||
echo -e "${TAB}${TAB}${GN}update_runtipi${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
|
||||
echo ""
|
||||
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
|
||||
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
|
||||
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
|
||||
msg_warn "Migration skipped. The old update will continue to work for now."
|
||||
msg_info "Updating ${APP} (legacy)"
|
||||
cd /opt/runtipi && ./runtipi-cli update latest
|
||||
|
||||
@@ -38,6 +38,10 @@ function update_script() {
|
||||
msg_warn "WARNING: Due to bugs with BoltDB database, update script will move your application"
|
||||
msg_warn "to use SQLite database instead. Make sure you have a backup of your data!"
|
||||
echo ""
|
||||
if is_unattended; then
|
||||
msg_warn "BoltDB to SQLite migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
read -r -p "${TAB3}Do you want to continue? (y/N): " CONFIRM
|
||||
if [[ ! "$CONFIRM" =~ ^[Yy]$ ]]; then
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/perminder-klair/subwave
|
||||
|
||||
APP="Subwave"
|
||||
var_tags="${var_tags:-radio;music;ai}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-4096}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_admin_user="${var_admin_user:-}"
|
||||
export var_admin_pass="${var_admin_pass:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/subwave ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "subwave" "perminder-klair/subwave"; then
|
||||
msg_info "Stopping Subwave"
|
||||
systemctl stop subwave-web subwave-controller subwave-broadcast
|
||||
msg_ok "Stopped Subwave"
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "subwave" "perminder-klair/subwave" "tarball"
|
||||
fetch_and_deploy_gh_release "liquidsoap" "savonet/liquidsoap" "binary" "$(grep -oP 'savonet/liquidsoap:\Kv[0-9.]+' /opt/subwave/docker/Dockerfile.broadcast)" "" "liquidsoap_*-debian-trixie-ocaml4.14.2-*_$(arch_resolve).deb"
|
||||
|
||||
msg_info "Updating Analyzer and Kokoro"
|
||||
$STD uv pip install --python /opt/analyzer/venv/bin/python librosa==0.11.0 soundfile==0.14.0 pyloudnorm==0.2.0
|
||||
$STD uv pip install --python /opt/kokoro/venv/bin/python kokoro-onnx==0.5.0 soundfile==0.12.1 misaki==0.9.4 pyopenjtalk-plus==0.4.1.post10 cn2an==0.5.24 jieba==0.42.1 ordered-set==4.1.0 pypinyin==0.55.0 pypinyin-dict==0.9.0
|
||||
msg_ok "Updated Analyzer and Kokoro"
|
||||
|
||||
msg_info "Building Subwave"
|
||||
cd /opt/subwave/controller
|
||||
$STD npm ci --omit=dev
|
||||
cd /opt/subwave/web
|
||||
$STD npm ci
|
||||
NEXT_TELEMETRY_DISABLED=1 $STD npm run build
|
||||
cp -r public content .next/standalone/
|
||||
cp -r .next/static .next/standalone/.next/
|
||||
rm -rf node_modules .next/cache ~/.npm
|
||||
cp /opt/subwave/docker/icecast.xml.template /etc/icecast2/icecast.xml.template
|
||||
cp /opt/subwave/liquidsoap/radio.liq /etc/liquidsoap/radio.liq
|
||||
sed -i 's/^settings.server.telnet.bind_addr := .*/settings.server.telnet.bind_addr := "127.0.0.1"/' /etc/liquidsoap/radio.liq
|
||||
cp /opt/subwave/docker/aio/Caddyfile /etc/caddy/Caddyfile
|
||||
msg_ok "Built Subwave"
|
||||
|
||||
msg_info "Starting Subwave"
|
||||
systemctl reload caddy
|
||||
systemctl start subwave-broadcast subwave-controller subwave-web
|
||||
msg_ok "Started Subwave"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}/onboarding${CL}"
|
||||
echo -e "${INFO}${YW}Admin credentials: ~/subwave.creds (inside the container)${CL}"
|
||||
+2
-2
@@ -224,8 +224,8 @@ EOF
|
||||
msg_custom "💾" "Your current config will be backed up to nginx.conf.bak"
|
||||
msg_custom "⚠️ " "Note: Custom modifications (reverse proxy, SSL) will be overwritten!"
|
||||
echo ""
|
||||
read -rp "${TAB3}Update Nginx configuration? [Y/n]: " REPLY
|
||||
if [[ "${REPLY,,}" =~ ^(y|yes|)$ ]]; then
|
||||
# Unattended keeps the current file: the new one drops reverse-proxy and SSL edits.
|
||||
if ! is_unattended && prompt_confirm "${TAB3}Update Nginx configuration?" "y"; then
|
||||
msg_info "Updating Nginx Configuration"
|
||||
cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak
|
||||
curl -fsSL "https://raw.githubusercontent.com/Termix-SSH/Termix/main/docker/nginx.conf" -o /etc/nginx/nginx.conf
|
||||
|
||||
+2
-2
@@ -36,7 +36,7 @@ function update_script() {
|
||||
msg_warn "This requires MANUAL config changes in /etc/vikunja/config.yml."
|
||||
msg_warn "See: https://vikunja.io/changelog/whats-new-in-vikunja-1.0.0/#config-changes"
|
||||
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
msg_warn "Vikunja 1.0 config migration detected - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
fi
|
||||
@@ -64,7 +64,7 @@ function update_script() {
|
||||
echo -e "${TAB}${YW}How do you want to handle /etc/vikunja/config.yml?${CL}"
|
||||
echo -e "${TAB} 1) Keep your current config"
|
||||
echo -e "${TAB} 2) Install the new package maintainer's config"
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
CONFIG_CHOICE="1"
|
||||
else
|
||||
read -rp " Choose [1/2] (default: 1): " -t 60 CONFIG_CHOICE || CONFIG_CHOICE="1"
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ function update_script() {
|
||||
ZABBIX_SERIES="$(dpkg-query -W -f='${Version}' zabbix-release 2>/dev/null || true)"
|
||||
ZABBIX_SERIES="${ZABBIX_SERIES#*:}"
|
||||
ZABBIX_SERIES="${ZABBIX_SERIES%%[!0-9.]*}"
|
||||
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||
if is_unattended; then
|
||||
if [[ ! "$ZABBIX_SERIES" =~ ^[0-9]+\.[0-9]+$ ]]; then
|
||||
msg_warn "Could not detect the installed Zabbix series - skipping update, requires an interactive run"
|
||||
exit 75
|
||||
|
||||
@@ -16,10 +16,15 @@ update_os
|
||||
fetch_and_deploy_gh_release "airconnect" "philippe44/AirConnect" "prebuild" "latest" "/opt/airconnect" "AirConnect-*.zip"
|
||||
|
||||
msg_info "Configuring AirConnect"
|
||||
chmod +x /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64)
|
||||
ln -sf /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/airupnp
|
||||
ln -sf /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast
|
||||
find /opt/airconnect -maxdepth 1 -type f ! -name "air*linux-$(arch_resolve x86_64 aarch64)*" ! -name "airupnp" ! -name "aircast" ! -name "*.xml" -delete
|
||||
ARCH=$(arch_resolve x86_64 aarch64)
|
||||
chmod +x "/opt/airconnect/airupnp-linux-${ARCH}" "/opt/airconnect/aircast-linux-${ARCH}"
|
||||
ln -sf "/opt/airconnect/airupnp-linux-${ARCH}" /opt/airconnect/airupnp
|
||||
ln -sf "/opt/airconnect/aircast-linux-${ARCH}" /opt/airconnect/aircast
|
||||
find /opt/airconnect -maxdepth 1 -type f ! -name "airupnp-linux-${ARCH}" ! -name "aircast-linux-${ARCH}" ! -name "*.xml" -delete
|
||||
cat <<EOF >/etc/default/airconnect
|
||||
AIRUPNP_OPTS="-l 1000:2000"
|
||||
AIRCAST_OPTS=""
|
||||
EOF
|
||||
msg_ok "Configured AirConnect"
|
||||
|
||||
msg_info "Creating Services"
|
||||
@@ -33,7 +38,8 @@ Wants=network-online.target
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/airconnect
|
||||
ExecStart=/opt/airconnect/airupnp -l 1000:2000 -Z -x /opt/airconnect/airupnp.xml
|
||||
EnvironmentFile=-/etc/default/airconnect
|
||||
ExecStart=/opt/airconnect/airupnp -Z -x /opt/airconnect/airupnp.xml \$AIRUPNP_OPTS
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
@@ -52,7 +58,8 @@ Wants=network-online.target
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/airconnect
|
||||
ExecStart=/opt/airconnect/aircast -Z -x /opt/airconnect/aircast.xml
|
||||
EnvironmentFile=-/etc/default/airconnect
|
||||
ExecStart=/opt/airconnect/aircast -Z -x /opt/airconnect/aircast.xml \$AIRCAST_OPTS
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Nicolas Pastorello (opastorello)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://anubis.techaro.lol/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
fetch_and_deploy_gh_release "anubis" "TecharoHQ/anubis" "binary"
|
||||
|
||||
msg_info "Configuring Anubis"
|
||||
cp /usr/share/doc/anubis/botPolicies.yaml /etc/anubis/main.botPolicies.yaml
|
||||
cat <<EOF >/etc/anubis/main.env
|
||||
BIND=:8923
|
||||
BIND_NETWORK=tcp
|
||||
METRICS_BIND=:9090
|
||||
METRICS_BIND_NETWORK=tcp
|
||||
DIFFICULTY=4
|
||||
SERVE_ROBOTS_TXT=0
|
||||
COOKIE_SECURE=false
|
||||
USE_REMOTE_ADDRESS=true
|
||||
POLICY_FNAME=/etc/anubis/main.botPolicies.yaml
|
||||
ED25519_PRIVATE_KEY_HEX=$(openssl rand -hex 32)
|
||||
TARGET=${var_anubis_target:-http://localhost:3000}
|
||||
EOF
|
||||
systemctl enable -q --now anubis@main
|
||||
msg_ok "Configured Anubis"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -56,13 +56,13 @@ RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PG_DB_NAME="authentik" PG_DB_USER="authentik" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
|
||||
|
||||
XMLSEC_VERSION="1.3.12"
|
||||
AUTHENTIK_VERSION="version/2026.8.5"
|
||||
XMLSEC_VERSION="1.3.13"
|
||||
AUTHENTIK_VERSION="version/2026.8.6"
|
||||
fetch_and_deploy_gh_release "xmlsec" "lsh123/xmlsec" "tarball" "${XMLSEC_VERSION}" "/opt/xmlsec"
|
||||
fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
|
||||
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
|
||||
fetch_and_deploy_gh_release "geoipupdate" "maxmind/geoipupdate" "binary"
|
||||
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.7" UV_PROJECT_DIR="/opt/authentik" setup_uv
|
||||
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.10" UV_PROJECT_DIR="/opt/authentik" setup_uv
|
||||
|
||||
msg_info "Setting up xmlsec"
|
||||
cd /opt/xmlsec
|
||||
|
||||
@@ -13,7 +13,7 @@ setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
NODE_VERSION="26" setup_nodejs
|
||||
|
||||
fetch_and_deploy_gh_release "bulwark" "bulwarkmail/webmail" "prebuild" "latest" "/opt/bulwark" "bulwark-standalone-*-linux-$(arch_resolve).tar.gz"
|
||||
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/bytechefhq/bytechef
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
JAVA_VERSION="25" setup_java
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
PG_VERSION="16" setup_postgresql
|
||||
PG_DB_NAME="bytechef" PG_DB_USER="bytechef" setup_postgresql_db
|
||||
|
||||
fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
|
||||
|
||||
msg_info "Building ByteChef (Patience)"
|
||||
mv /opt/bytechef /opt/bytechef-build
|
||||
cd /opt/bytechef-build/client
|
||||
$STD npm ci
|
||||
$STD npm run build
|
||||
cd /opt/bytechef-build
|
||||
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod -Pkotlin.compiler.execution.strategy=in-process
|
||||
mkdir -p /opt/bytechef/server
|
||||
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
|
||||
mv /opt/bytechef-build/client/dist /opt/bytechef/client
|
||||
rm -rf /opt/bytechef-build
|
||||
msg_ok "Built ByteChef"
|
||||
|
||||
msg_info "Configuring ByteChef"
|
||||
mkdir -p /opt/bytechef_data/file-storage
|
||||
cat <<EOF >/opt/bytechef_data/.env
|
||||
BYTECHEF_DATASOURCE_URL=jdbc:postgresql://localhost:5432/bytechef
|
||||
BYTECHEF_DATASOURCE_USERNAME=bytechef
|
||||
BYTECHEF_DATASOURCE_PASSWORD=${PG_DB_PASS}
|
||||
BYTECHEF_PUBLIC_URL=http://${LOCAL_IP}:8080
|
||||
BYTECHEF_ANALYTICS_ENABLED=false
|
||||
BYTECHEF_ENCRYPTION_PROVIDER=property
|
||||
BYTECHEF_ENCRYPTION_PROPERTY_KEY=$(openssl rand -base64 32)
|
||||
BYTECHEF_SECURITY_REMEMBER_ME_KEY=$(openssl rand -base64 32)
|
||||
BYTECHEF_FILE_STORAGE_FILESYSTEM_BASEDIR=/opt/bytechef_data/file-storage
|
||||
LOGGING_LEVEL_ROOT=INFO
|
||||
LOGGING_LEVEL_COM_BYTECHEF=INFO
|
||||
EOF
|
||||
chmod 600 /opt/bytechef_data/.env
|
||||
msg_ok "Configured ByteChef"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/bytechef.service
|
||||
[Unit]
|
||||
Description=ByteChef
|
||||
After=network.target postgresql.service
|
||||
Requires=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/bytechef
|
||||
EnvironmentFile=/opt/bytechef_data/.env
|
||||
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -Duser.timezone=GMT -jar /opt/bytechef/server/server-app.jar
|
||||
SuccessExitStatus=143
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now bytechef
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -134,6 +134,7 @@ msg_ok "Built Go Library"
|
||||
|
||||
msg_info "Building Firecrawl API"
|
||||
cd /opt/firecrawl/apps/api
|
||||
grep -q '^kuchikiki = "0.8.2"' native/Cargo.toml && sed -i 's|^nodesig = { git = "https://github.com/firecrawl/nodesig" }|nodesig = { git = "https://github.com/firecrawl/nodesig", rev = "b8ebc4a71081" }|' native/Cargo.toml
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm build
|
||||
CI=true $STD pnpm prune --prod --ignore-scripts
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/GopeedLab/gopeed
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
fetch_and_deploy_gh_release "gopeed" "GopeedLab/gopeed" "prebuild" "latest" "/opt/gopeed" "gopeed-web-v*-linux-$(arch_resolve "amd64" "arm64").zip"
|
||||
|
||||
msg_info "Configuring Gopeed"
|
||||
mkdir -p /opt/gopeed_data/{storage,downloads}
|
||||
cat <<EOF >/opt/gopeed_data/config.json
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 9999,
|
||||
"username": "gopeed",
|
||||
"password": "$(random_password)",
|
||||
"apiToken": "$(openssl rand -hex 32)",
|
||||
"storageDir": "/opt/gopeed_data/storage",
|
||||
"downloadConfig": {
|
||||
"downloadDir": "/opt/gopeed_data/downloads"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
chmod 600 /opt/gopeed_data/config.json
|
||||
msg_ok "Configured Gopeed"
|
||||
|
||||
msg_info "Creating Gopeed Service"
|
||||
cat <<EOF >/etc/systemd/system/gopeed.service
|
||||
[Unit]
|
||||
Description=Gopeed
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/gopeed
|
||||
ExecStart=/opt/gopeed/gopeed -c /opt/gopeed_data/config.json
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now gopeed
|
||||
msg_ok "Created Gopeed Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -45,7 +45,7 @@ Requires=mariadb.service
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/grimmory_data
|
||||
EnvironmentFile=/opt/grimmory_data/.env
|
||||
ExecStart=/usr/bin/java -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=60.0 -XX:+ExitOnOutOfMemoryError --enable-native-access=ALL-UNNAMED --enable-preview -jar /opt/grimmory/grimmory.jar
|
||||
ExecStart=/usr/bin/java -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=60.0 -XX:+ExitOnOutOfMemoryError -XX:-UseBASE64Intrinsics --enable-native-access=ALL-UNNAMED --enable-preview -jar /opt/grimmory/grimmory.jar
|
||||
SuccessExitStatus=143
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/3xpyth0n/ideon
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y build-essential
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
PG_VERSION="18" setup_postgresql
|
||||
PG_DB_NAME="ideon" PG_DB_USER="ideon" setup_postgresql_db
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
|
||||
|
||||
fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
|
||||
|
||||
msg_info "Building Ideon"
|
||||
cd /opt/ideon
|
||||
$STD npm ci
|
||||
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
|
||||
$STD npm prune --omit=dev
|
||||
rm -rf /opt/ideon/.next/cache ~/.npm
|
||||
msg_ok "Built Ideon"
|
||||
|
||||
msg_info "Configuring Ideon"
|
||||
mkdir -p /opt/ideon_data/storage/{avatars,uploads,yjs}
|
||||
cat <<EOF >/opt/ideon_data/.env
|
||||
NODE_ENV=production
|
||||
APP_PORT=3000
|
||||
APP_URL=http://${LOCAL_IP}:3000
|
||||
AUTH_TRUST_HOST=true
|
||||
TIMEZONE=UTC
|
||||
LOG_LEVEL=info
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_NAME=ideon
|
||||
DB_USER=ideon
|
||||
DB_PASS=${PG_DB_PASS}
|
||||
SECRET_KEY=$(openssl rand -hex 32)
|
||||
SMTP_FROM_EMAIL=
|
||||
SMTP_FROM_NAME=
|
||||
SMTP_HOST=
|
||||
SMTP_USER=
|
||||
SMTP_PASSWORD=
|
||||
SMTP_PORT=
|
||||
SMTP_USE_TLS=true
|
||||
EOF
|
||||
chmod 600 /opt/ideon_data/.env
|
||||
msg_ok "Configured Ideon"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/ideon.service
|
||||
[Unit]
|
||||
Description=Ideon
|
||||
After=network.target postgresql.service
|
||||
Requires=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/ideon
|
||||
EnvironmentFile=/opt/ideon_data/.env
|
||||
ExecStart=/usr/bin/node dist/server.cjs
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now ideon
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
+13
-10
@@ -25,17 +25,20 @@ fi
|
||||
|
||||
RELEASE="v3.4.1"
|
||||
if lscpu | grep -q 'GenuineIntel'; then
|
||||
echo ""
|
||||
echo ""
|
||||
echo -e "🤖 ${BL}Immich Machine-Learning Options${CL}"
|
||||
echo "─────────────────────────────────────────"
|
||||
echo "Please choose your machine-learning type:"
|
||||
echo ""
|
||||
echo " 1) CPU only (default)"
|
||||
echo " 2) **NEW** Intel OpenVINO CPU or iGPU"
|
||||
echo ""
|
||||
ML_TYPE="${var_immich_ml_type:-}"
|
||||
if [[ -z "$ML_TYPE" ]]; then
|
||||
echo ""
|
||||
echo ""
|
||||
echo -e "🤖 ${BL}Immich Machine-Learning Options${CL}"
|
||||
echo "─────────────────────────────────────────"
|
||||
echo "Please choose your machine-learning type:"
|
||||
echo ""
|
||||
echo " 1) CPU only (default)"
|
||||
echo " 2) **NEW** Intel OpenVINO CPU or iGPU"
|
||||
echo ""
|
||||
|
||||
read -r -p "${TAB3}Select machine-learning type [1]: " ML_TYPE || true
|
||||
read -r -p "${TAB3}Select machine-learning type [1]: " ML_TYPE || true
|
||||
fi
|
||||
ML_TYPE="${ML_TYPE:-1}"
|
||||
if [[ "$ML_TYPE" == "2" ]]; then
|
||||
touch ~/.openvino
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://www.kali.org/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Base Dependencies"
|
||||
$STD apt install -y curl wget ca-certificates procps
|
||||
msg_ok "Installed Base Dependencies"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -59,6 +59,9 @@ GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
MICROSOFT_CLIENT_ID=
|
||||
MICROSOFT_CLIENT_SECRET=
|
||||
COMMIT_SHA=v$(cat ~/.keeper)
|
||||
VERSION=$(cat ~/.keeper)
|
||||
ICU_TIMEZONE_FILES_DIR=/opt/keeper/docker/icu-timezone
|
||||
EOF
|
||||
chmod 600 /opt/keeper_data/.env
|
||||
msg_ok "Configured Keeper"
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Tim Moore (angusmaul)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/TheWicklowWolf/Lidify
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
fetch_and_deploy_gh_release "lidify" "TheWicklowWolf/Lidify" "tarball"
|
||||
|
||||
msg_info "Setting up Lidify"
|
||||
$STD uv venv --python 3.12 /opt/lidify/.venv
|
||||
$STD uv pip install --python /opt/lidify/.venv/bin/python -r /opt/lidify/requirements.txt
|
||||
install -d -m 700 /opt/lidify/config
|
||||
cat <<EOF >/opt/lidify/.env
|
||||
RELEASE_VERSION=$(cat ~/.lidify)
|
||||
EOF
|
||||
msg_ok "Set up Lidify"
|
||||
|
||||
msg_info "Creating Lidify Service"
|
||||
cat <<EOF >/etc/systemd/system/lidify.service
|
||||
[Unit]
|
||||
Description=Lidify
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/lidify
|
||||
EnvironmentFile=/opt/lidify/.env
|
||||
ExecStart=/opt/lidify/.venv/bin/gunicorn src.Lidify:app -c gunicorn_config.py
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now lidify
|
||||
msg_ok "Created Lidify Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://linuxmint.com/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Base Dependencies"
|
||||
$STD apt install -y curl wget ca-certificates
|
||||
msg_ok "Installed Base Dependencies"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,74 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/mathesar-foundation/mathesar
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y libcairo2
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PG_DB_NAME="mathesar_django" PG_DB_USER="mathesar" PG_DB_SCHEMA_PERMS="true" setup_postgresql_db
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
fetch_and_deploy_gh_release "mathesar" "mathesar-foundation/mathesar" "prebuild" "latest" "/opt/mathesar" "mathesar.tar.gz"
|
||||
|
||||
msg_info "Installing Mathesar"
|
||||
cd /opt/mathesar
|
||||
$STD uv venv --python 3.12 /opt/mathesar/.venv
|
||||
$STD uv pip install --python /opt/mathesar/.venv/bin/python -r requirements.txt
|
||||
msg_ok "Installed Mathesar"
|
||||
|
||||
msg_info "Configuring Mathesar"
|
||||
mkdir -p /opt/mathesar_data/media
|
||||
cat <<EOF >/opt/mathesar_data/.env
|
||||
SECRET_KEY=$(random_password 50)
|
||||
ALLOWED_HOSTS=*
|
||||
WEB_CONCURRENCY=3
|
||||
MEDIA_ROOT=/opt/mathesar_data/media/
|
||||
POSTGRES_HOST=127.0.0.1
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=mathesar_django
|
||||
POSTGRES_USER=mathesar
|
||||
POSTGRES_PASSWORD=${PG_DB_PASS}
|
||||
EOF
|
||||
chmod 600 /opt/mathesar_data/.env
|
||||
set -a
|
||||
source /opt/mathesar_data/.env
|
||||
set +a
|
||||
$STD /opt/mathesar/.venv/bin/python -m mathesar.install
|
||||
msg_ok "Configured Mathesar"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/mathesar.service
|
||||
[Unit]
|
||||
Description=Mathesar
|
||||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/mathesar
|
||||
EnvironmentFile=/opt/mathesar_data/.env
|
||||
ExecStart=/opt/mathesar/.venv/bin/gunicorn config.wsgi -b 0.0.0.0:8000 --timeout 180
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now mathesar
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
Executable
+53
@@ -0,0 +1,53 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Nick Berardi (nberardi)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://nextdns.io | https://github.com/nextdns/nextdns
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
setup_deb822_repo \
|
||||
"nextdns" \
|
||||
"https://repo.nextdns.io/nextdns.gpg" \
|
||||
"https://repo.nextdns.io/deb" \
|
||||
"stable" \
|
||||
"main"
|
||||
|
||||
msg_info "Installing NextDNS"
|
||||
$STD apt install -y nextdns
|
||||
msg_ok "Installed NextDNS"
|
||||
|
||||
if [[ -z "${var_nextdns_profile:-}" ]]; then
|
||||
echo -e "${INFO}${YW}Get your profile ID from: https://my.nextdns.io${CL}"
|
||||
read -r -p "${TAB3}NextDNS Profile ID: " var_nextdns_profile || true
|
||||
fi
|
||||
var_nextdns_profile="${var_nextdns_profile//[[:space:]]/}"
|
||||
if [[ -z "${var_nextdns_profile}" ]]; then
|
||||
msg_error "NextDNS Profile ID is required (set var_nextdns_profile or enter it when prompted)"
|
||||
exit 64
|
||||
fi
|
||||
|
||||
msg_info "Configuring NextDNS"
|
||||
nextdns install \
|
||||
-profile "${var_nextdns_profile}" \
|
||||
-report-client-info \
|
||||
-setup-router
|
||||
mkdir -p /etc/systemd/system/nextdns.service.d
|
||||
cat <<EOF >/etc/systemd/system/nextdns.service.d/network-online.conf
|
||||
[Unit]
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
msg_ok "Configured NextDNS (profile ${var_nextdns_profile})"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,76 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/enchant97/note-mark
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y build-essential
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
setup_go
|
||||
NODE_VERSION="24" NODE_MODULE="pnpm@11" setup_nodejs
|
||||
RUST_PROFILE="minimal" setup_rust
|
||||
|
||||
fetch_and_deploy_gh_release "notemark" "enchant97/note-mark" "tarball"
|
||||
|
||||
msg_info "Building Note Mark"
|
||||
$STD rustup target add wasm32-unknown-unknown
|
||||
cd /opt/notemark/frontend
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm run wasm
|
||||
$STD pnpm run build
|
||||
cd /opt/notemark/backend
|
||||
$STD go tool sqlc generate
|
||||
CGO_ENABLED=0 $STD go build -ldflags "-X main.Version=$(cat ~/.notemark)" -o /opt/notemark/note-mark
|
||||
rm -rf /opt/notemark/frontend/node_modules /opt/notemark/frontend/renderer/target
|
||||
$STD go clean -cache -modcache
|
||||
msg_ok "Built Note Mark"
|
||||
|
||||
msg_info "Configuring Note Mark"
|
||||
mkdir -p /opt/notemark_data
|
||||
cat <<EOF >/opt/notemark_data/.env
|
||||
BIND__HOST=0.0.0.0
|
||||
BIND__PORT=8080
|
||||
DATA_PATH=/opt/notemark_data
|
||||
STATIC_PATH=/opt/notemark/frontend/dist
|
||||
PUBLIC_URL=http://${LOCAL_IP}:8080
|
||||
AUTH_TOKEN__SECRET=$(openssl rand -base64 32)
|
||||
ENABLE_INTERNAL_SIGNUP=true
|
||||
EOF
|
||||
chmod 600 /opt/notemark_data/.env
|
||||
msg_ok "Configured Note Mark"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/notemark.service
|
||||
[Unit]
|
||||
Description=Note Mark
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/notemark_data
|
||||
EnvironmentFile=/opt/notemark_data/.env
|
||||
ExecStart=/opt/notemark/note-mark serve
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now notemark
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://www.oracle.com/linux/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Base Dependencies"
|
||||
$STD dnf install -y curl ca-certificates hostname
|
||||
msg_ok "Installed Base Dependencies"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -23,9 +23,16 @@ echo -e "${TAB3}Please review the terms at:"
|
||||
echo -e "${TAB3}${GATEWAY}${BGN}https://www.splunk.com/en_us/legal/splunk-general-terms.html${CL}"
|
||||
echo ""
|
||||
|
||||
response="${var_splunk_accept_terms:-}"
|
||||
while true; do
|
||||
echo -e "${TAB3}Do you accept the Splunk General Terms? (y/N): \c"
|
||||
read -r response
|
||||
if [[ -z "$response" ]]; then
|
||||
echo -e "${TAB3}Do you accept the Splunk General Terms? (y/N): \c"
|
||||
if ! read -r response; then
|
||||
echo ""
|
||||
msg_error "No terminal to accept the terms on. Set var_splunk_accept_terms=yes to install unattended."
|
||||
exit 254
|
||||
fi
|
||||
fi
|
||||
case $response in
|
||||
[Yy] | [Yy][Ee][Ss])
|
||||
msg_ok "Terms accepted. Proceeding with installation..."
|
||||
@@ -38,6 +45,7 @@ while true; do
|
||||
;;
|
||||
*)
|
||||
msg_error "Invalid response. Please enter 'y' for yes or 'n' for no."
|
||||
response=""
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/perminder-klair/subwave
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
var_admin_user="${var_admin_user:-admin}"
|
||||
var_admin_pass="${var_admin_pass:-$(random_password)}"
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y \
|
||||
caddy \
|
||||
espeak-ng \
|
||||
libsndfile1
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
setup_ffmpeg
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
|
||||
# Upstream's broadcast image runs Icecast-KH from deb-multimedia (trusted-proxy list, listener auth); the pin keeps every other package on Debian's build
|
||||
cat <<EOF >/etc/apt/preferences.d/deb-multimedia
|
||||
Package: *
|
||||
Pin: origin www.deb-multimedia.org
|
||||
Pin-Priority: 100
|
||||
|
||||
Package: icecast2
|
||||
Pin: origin www.deb-multimedia.org
|
||||
Pin-Priority: 990
|
||||
EOF
|
||||
setup_deb822_repo "deb-multimedia" "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA401FF99368FA1F98152DE755C808C2B65558117" "https://www.deb-multimedia.org" "trixie" "main"
|
||||
|
||||
msg_info "Installing Icecast-KH"
|
||||
$STD apt install -y icecast2
|
||||
systemctl disable -q --now icecast2
|
||||
msg_ok "Installed Icecast-KH"
|
||||
|
||||
fetch_and_deploy_gh_release "subwave" "perminder-klair/subwave" "tarball"
|
||||
fetch_and_deploy_gh_release "liquidsoap" "savonet/liquidsoap" "binary" "$(grep -oP 'savonet/liquidsoap:\Kv[0-9.]+' /opt/subwave/docker/Dockerfile.broadcast)" "" "liquidsoap_*-debian-trixie-ocaml4.14.2-*_$(arch_resolve).deb"
|
||||
fetch_and_deploy_gh_release "piper" "rhasspy/piper" "prebuild" "latest" "/opt/piper" "piper_linux_$(arch_resolve "x86_64" "aarch64").tar.gz"
|
||||
|
||||
msg_info "Downloading Voice Models"
|
||||
mkdir -p /opt/piper/voices /opt/kokoro/models
|
||||
curl_with_retry "https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_GB/alan/medium/en_GB-alan-medium.onnx" "/opt/piper/voices/en_GB-alan-medium.onnx"
|
||||
curl_with_retry "https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_GB/alan/medium/en_GB-alan-medium.onnx.json" "/opt/piper/voices/en_GB-alan-medium.onnx.json"
|
||||
# model-files-v1.0, not v1.1: same weights, but v1.1 renders ~3.7 dB quieter (upstream Dockerfile.aio)
|
||||
curl_with_retry "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/kokoro-v1.0.onnx" "/opt/kokoro/models/kokoro-v1.0.onnx"
|
||||
curl_with_retry "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/voices-v1.0.bin" "/opt/kokoro/models/voices-v1.0.bin"
|
||||
msg_ok "Downloaded Voice Models"
|
||||
|
||||
msg_info "Setting up Analyzer and Kokoro"
|
||||
$STD uv venv --python 3.12 /opt/analyzer/venv
|
||||
$STD uv pip install --python /opt/analyzer/venv/bin/python librosa==0.11.0 soundfile==0.14.0 pyloudnorm==0.2.0
|
||||
$STD uv venv --python 3.12 /opt/kokoro/venv
|
||||
$STD uv pip install --python /opt/kokoro/venv/bin/python kokoro-onnx==0.5.0 soundfile==0.12.1 misaki==0.9.4 pyopenjtalk-plus==0.4.1.post10 cn2an==0.5.24 jieba==0.42.1 ordered-set==4.1.0 pypinyin==0.55.0 pypinyin-dict==0.9.0
|
||||
msg_ok "Set up Analyzer and Kokoro"
|
||||
|
||||
msg_info "Building Subwave"
|
||||
cd /opt/subwave/controller
|
||||
$STD npm ci --omit=dev
|
||||
cd /opt/subwave/web
|
||||
$STD npm ci
|
||||
NEXT_TELEMETRY_DISABLED=1 $STD npm run build
|
||||
cp -r public content .next/standalone/
|
||||
cp -r .next/static .next/standalone/.next/
|
||||
rm -rf node_modules .next/cache ~/.npm
|
||||
msg_ok "Built Subwave"
|
||||
|
||||
msg_info "Configuring Subwave"
|
||||
mkdir -p /opt/subwave_data/state /etc/liquidsoap
|
||||
# Upstream hardcodes its container paths: /app (controller, cwd of the tagger/analyzer), /sounds and /var/sub-wave (state)
|
||||
ln -sfn /opt/subwave/controller /app
|
||||
ln -sfn /opt/subwave/sounds /sounds
|
||||
ln -sfn /opt/subwave_data/state /var/sub-wave
|
||||
mkdir -p /var/sub-wave/logs
|
||||
rm -rf /var/log/liquidsoap
|
||||
ln -sfn /var/sub-wave/logs /var/log/liquidsoap
|
||||
cp /opt/subwave/docker/icecast.xml.template /etc/icecast2/icecast.xml.template
|
||||
cp /opt/subwave/liquidsoap/radio.liq /etc/liquidsoap/radio.liq
|
||||
# Liquidsoap's telnet control has no auth; the containers never publish it, here it would face the LAN
|
||||
sed -i 's/^settings.server.telnet.bind_addr := .*/settings.server.telnet.bind_addr := "127.0.0.1"/' /etc/liquidsoap/radio.liq
|
||||
cp /opt/subwave/docker/aio/Caddyfile /etc/caddy/Caddyfile
|
||||
cat <<EOF >/opt/subwave_data/.env
|
||||
NODE_ENV=production
|
||||
ADMIN_USER=${var_admin_user}
|
||||
ADMIN_PASS=${var_admin_pass}
|
||||
SITE_URL=http://${LOCAL_IP}
|
||||
STATE_DIR=/var/sub-wave
|
||||
SOUNDS_DIR=/sounds
|
||||
HF_HOME=/var/sub-wave/hf-cache
|
||||
LIQUIDSOAP_HOST=127.0.0.1
|
||||
ICECAST_STATUS_URL=http://127.0.0.1:7702/status-json.xsl
|
||||
ICECAST_ADMIN_URL=http://127.0.0.1:7702/admin/listclients
|
||||
ICECAST_TRUSTED_PROXY_IPS=127.0.0.1
|
||||
LISTENER_AUTH_URL=http://127.0.0.1:7701/listener-auth
|
||||
CONTROLLER_INTERNAL_URL=http://127.0.0.1:7701
|
||||
PIPER_BIN=/opt/piper/piper
|
||||
ANALYZE_PYTHON=/opt/analyzer/venv/bin/python
|
||||
EOF
|
||||
chmod 600 /opt/subwave_data/.env
|
||||
cat <<EOF >~/subwave.creds
|
||||
Subwave Admin
|
||||
Username: ${var_admin_user}
|
||||
Password: ${var_admin_pass}
|
||||
EOF
|
||||
chmod 600 ~/subwave.creds
|
||||
systemctl restart caddy
|
||||
msg_ok "Configured Subwave"
|
||||
|
||||
msg_info "Creating Services"
|
||||
cat <<EOF >/etc/systemd/system/subwave-broadcast.service
|
||||
[Unit]
|
||||
Description=Subwave Broadcast (Icecast + Liquidsoap)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/opt/subwave_data/.env
|
||||
ExecStart=/usr/bin/bash /opt/subwave/docker/broadcast-entrypoint.sh
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
cat <<EOF >/etc/systemd/system/subwave-controller.service
|
||||
[Unit]
|
||||
Description=Subwave Controller
|
||||
After=network-online.target subwave-broadcast.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/subwave/controller
|
||||
EnvironmentFile=/opt/subwave_data/.env
|
||||
ExecStart=/opt/subwave/controller/node_modules/.bin/tsx src/server.ts
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
cat <<EOF >/etc/systemd/system/subwave-web.service
|
||||
[Unit]
|
||||
Description=Subwave Web
|
||||
After=network-online.target subwave-controller.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/subwave/web/.next/standalone
|
||||
EnvironmentFile=/opt/subwave_data/.env
|
||||
Environment=PORT=7700
|
||||
Environment=HOSTNAME=127.0.0.1
|
||||
ExecStart=/usr/bin/node server.js
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now subwave-broadcast subwave-controller subwave-web
|
||||
msg_ok "Created Services"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
Reference in new issue
Block a user