mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-27 16:22:53 +02:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b09bbcff03 | |||
| cfaed33534 | |||
| fccd4d568f | |||
| 4804aaedf7 | |||
| e7e6456cfa | |||
| 631f56b29e | |||
| a5a77dcd99 | |||
| 2b2e026928 |
+8
-1
@@ -512,7 +512,9 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Discourse ([#16024](https://github.com/community-scripts/ProxmoxVE/pull/16024))
|
||||
- Unpackerr ([#16034](https://github.com/community-scripts/ProxmoxVE/pull/16034))
|
||||
- CookCLI ([#16028](https://github.com/community-scripts/ProxmoxVE/pull/16028))
|
||||
- Discourse ([#16024](https://github.com/community-scripts/ProxmoxVE/pull/16024))
|
||||
- Mastodon ([#16029](https://github.com/community-scripts/ProxmoxVE/pull/16029))
|
||||
- Docspell ([#16033](https://github.com/community-scripts/ProxmoxVE/pull/16033))
|
||||
- Poznote ([#16030](https://github.com/community-scripts/ProxmoxVE/pull/16030))
|
||||
@@ -524,8 +526,13 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Mylar3 & Medusa: use trixie non-free for unrar, not bookworm [@angusmaul](https://github.com/angusmaul) ([#16072](https://github.com/community-scripts/ProxmoxVE/pull/16072))
|
||||
- Vikunja: pin install/update to v2.3.0 due upstream issues [@MickLesk](https://github.com/MickLesk) ([#16059](https://github.com/community-scripts/ProxmoxVE/pull/16059))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- OpenThread-BR: Add runtime configuration options [@tomfrenzel](https://github.com/tomfrenzel) ([#16038](https://github.com/community-scripts/ProxmoxVE/pull/16038))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/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/cooklang/cookcli
|
||||
|
||||
APP="CookCLI"
|
||||
var_tags="${var_tags:-recipes;cooking;food}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
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 [[ ! -f /opt/cookcli/cook ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "cook" "cooklang/cookcli"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop cookcli
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
create_backup /opt/cookcli/recipes
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cook" "cooklang/cookcli" "prebuild" "latest" "/opt/cookcli" "cook-$(arch_resolve "x86_64-unknown-linux-gnu" "aarch64-unknown-linux-musl").tar.gz"
|
||||
chmod +x /opt/cookcli/cook
|
||||
|
||||
restore_backup
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start cookcli
|
||||
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}:9080${CL}"
|
||||
@@ -0,0 +1,6 @@
|
||||
______ __ ________ ____
|
||||
/ ____/___ ____ / /__/ ____/ / / _/
|
||||
/ / / __ \/ __ \/ //_/ / / / / /
|
||||
/ /___/ /_/ / /_/ / ,< / /___/ /____/ /
|
||||
\____/\____/\____/_/|_|\____/_____/___/
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
__ __ __
|
||||
/ / / /___ ____ ____ ______/ /_____ __________
|
||||
/ / / / __ \/ __ \/ __ `/ ___/ //_/ _ \/ ___/ ___/
|
||||
/ /_/ / / / / /_/ / /_/ / /__/ ,< / __/ / / /
|
||||
\____/_/ /_/ .___/\__,_/\___/_/|_|\___/_/ /_/
|
||||
/_/
|
||||
@@ -70,7 +70,9 @@ function update_script() {
|
||||
-DOTBR_BACKBONE_ROUTER=ON \
|
||||
-DOTBR_SYSTEMD_UNIT_DIR=/etc/systemd/system \
|
||||
-DOT_FIREWALL=ON \
|
||||
-DOTBR_NAT64=ON \
|
||||
-DOT_POSIX_NAT64_CIDR="192.168.255.0/24" \
|
||||
-DOTBR_DNS_UPSTREAM_QUERY=ON \
|
||||
..
|
||||
$STD ninja
|
||||
$STD ninja install
|
||||
@@ -101,6 +103,31 @@ EOF
|
||||
mv /etc/default/otbr-agent.bak /etc/default/otbr-agent
|
||||
msg_ok "Restored Configuration"
|
||||
|
||||
if [[ ! -f /etc/systemd/system/otbr-agent.service.d/10-otbr-post-start.conf ]]; then
|
||||
msg_info "Configuring OpenThread Border Router post-start service"
|
||||
cat <<'EOF' >/usr/local/bin/otbr-post-start.sh
|
||||
#!/bin/sh
|
||||
|
||||
# OpenThread Border Router post-start script
|
||||
# Run custom commands for runtime configuration options
|
||||
|
||||
# Wait for the otbr-agent service to be initialized
|
||||
#sleep 3
|
||||
|
||||
# Configure routing and translation features
|
||||
#ot-ctl nat64 enable
|
||||
#ot-ctl dns server upstream enable
|
||||
EOF
|
||||
chmod +x /usr/local/bin/otbr-post-start.sh
|
||||
mkdir -p /etc/systemd/system/otbr-agent.service.d
|
||||
cat <<'EOF' >/etc/systemd/system/otbr-agent.service.d/10-otbr-post-start.conf
|
||||
[Service]
|
||||
ExecStartPost=/usr/local/bin/otbr-post-start.sh
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
msg_ok "Configured OpenThread Border Router post-start service"
|
||||
fi
|
||||
|
||||
msg_info "Starting Services"
|
||||
systemctl start otbr-agent
|
||||
systemctl start otbr-web
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/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://unpackerr.zip/
|
||||
|
||||
APP="Unpackerr"
|
||||
var_tags="${var_tags:-downloads;arr;automation;extraction}"
|
||||
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:-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 [[ ! -f /etc/unpackerr/unpackerr.conf ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "unpackerr" "Unpackerr/unpackerr"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop unpackerr
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
create_backup /etc/unpackerr/unpackerr.conf
|
||||
|
||||
DPKG_FORCE_CONFOLD=1 fetch_and_deploy_gh_release "unpackerr" "Unpackerr/unpackerr" "binary" "latest" "/opt/unpackerr" "unpackerr_*_$(arch_resolve).deb"
|
||||
|
||||
restore_backup
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start unpackerr
|
||||
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}Configure integrations in:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}/etc/unpackerr/unpackerr.conf${CL}"
|
||||
@@ -0,0 +1,47 @@
|
||||
#!/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/cooklang/cookcli
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
fetch_and_deploy_gh_release "cook" "cooklang/cookcli" "prebuild" "latest" "/opt/cookcli" "cook-$(arch_resolve "x86_64-unknown-linux-gnu" "aarch64-unknown-linux-musl").tar.gz"
|
||||
|
||||
msg_info "Configuring CookCLI"
|
||||
chmod +x /opt/cookcli/cook
|
||||
mkdir -p /opt/cookcli/recipes
|
||||
cd /opt/cookcli/recipes
|
||||
$STD /opt/cookcli/cook seed
|
||||
msg_ok "Configured CookCLI"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/cookcli.service
|
||||
[Unit]
|
||||
Description=CookCLI Recipe Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/cookcli/recipes
|
||||
ExecStart=/opt/cookcli/cook server --host 0.0.0.0 --port 9080
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now cookcli
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -20,7 +20,7 @@ $STD apt install -y \
|
||||
mediainfo
|
||||
|
||||
cat <<EOF >/etc/apt/sources.list.d/non-free.list
|
||||
deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||
deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
|
||||
EOF
|
||||
$STD apt update
|
||||
$STD apt install -y unrar
|
||||
|
||||
@@ -17,8 +17,9 @@ msg_info "Installing Dependencies"
|
||||
cat <<EOF >/etc/apt/sources.list.d/non-free.sources
|
||||
Types: deb
|
||||
URIs: http://deb.debian.org/debian
|
||||
Suites: bookworm
|
||||
Suites: trixie
|
||||
Components: non-free non-free-firmware
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
EOF
|
||||
$STD apt update
|
||||
$STD apt install -y unrar
|
||||
|
||||
@@ -66,7 +66,9 @@ $STD cmake -GNinja \
|
||||
-DOTBR_BACKBONE_ROUTER=ON \
|
||||
-DOTBR_SYSTEMD_UNIT_DIR=/etc/systemd/system \
|
||||
-DOT_FIREWALL=ON \
|
||||
-DOTBR_NAT64=ON \
|
||||
-DOT_POSIX_NAT64_CIDR="192.168.255.0/24" \
|
||||
-DOTBR_DNS_UPSTREAM_QUERY=ON \
|
||||
..
|
||||
$STD ninja
|
||||
$STD ninja install
|
||||
@@ -103,6 +105,25 @@ EOF
|
||||
cat <<'EOF' >/etc/default/otbr-web
|
||||
OTBR_WEB_OPTS="-I wpan0 -a 0.0.0.0 -p 80"
|
||||
EOF
|
||||
cat <<'EOF' >/usr/local/bin/otbr-post-start.sh
|
||||
#!/bin/sh
|
||||
|
||||
# OpenThread Border Router post-start script
|
||||
# Run custom commands for runtime configuration options
|
||||
|
||||
# Wait for the otbr-agent service to be initialized
|
||||
#sleep 3
|
||||
|
||||
# Configure routing and translation features
|
||||
#ot-ctl nat64 enable
|
||||
#ot-ctl dns server upstream enable
|
||||
EOF
|
||||
chmod +x /usr/local/bin/otbr-post-start.sh
|
||||
mkdir -p /etc/systemd/system/otbr-agent.service.d
|
||||
cat <<'EOF' >/etc/systemd/system/otbr-agent.service.d/10-otbr-post-start.conf
|
||||
[Service]
|
||||
ExecStartPost=/usr/local/bin/otbr-post-start.sh
|
||||
EOF
|
||||
systemctl enable -q dbus rsyslog otbr-agent otbr-web
|
||||
systemctl enable -q bind9 2>/dev/null || systemctl enable -q named 2>/dev/null || true
|
||||
systemctl start -q dbus rsyslog bind9
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
#!/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://unpackerr.zip/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
fetch_and_deploy_gh_release "unpackerr" "Unpackerr/unpackerr" "binary" "latest" "/opt/unpackerr" "unpackerr_*_$(arch_resolve).deb"
|
||||
|
||||
msg_info "Configuring Unpackerr"
|
||||
mkdir -p /etc/unpackerr
|
||||
cat <<EOF >/etc/unpackerr/unpackerr.conf
|
||||
debug = false
|
||||
quiet = false
|
||||
activity = false
|
||||
interval = "2m"
|
||||
parallel = 1
|
||||
file_mode = "0644"
|
||||
dir_mode = "0755"
|
||||
|
||||
[webserver]
|
||||
metrics = false
|
||||
listen_addr = "0.0.0.0:5656"
|
||||
|
||||
[folders]
|
||||
interval = "0s"
|
||||
EOF
|
||||
chmod 640 /etc/unpackerr/unpackerr.conf
|
||||
msg_ok "Configured Unpackerr"
|
||||
|
||||
msg_info "Creating Service"
|
||||
systemctl enable -q --now unpackerr
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
Reference in New Issue
Block a user