mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-20 01:53:38 +01:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd6f6109b6 | ||
|
|
a62b0e1203 | ||
|
|
d0b2a0a972 | ||
|
|
8f0d8d465b | ||
|
|
c3d5a1d2e5 | ||
|
|
748020f828 | ||
|
|
1ae5527b99 |
No files matched your search
@@ -584,6 +584,15 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-11-19
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Frigate: bump to v0.18.3 [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#18841](https://github.com/community-scripts/ProxmoxVE/pull/18841))
|
||||
- Nginx Proxy Manager: patch nginx HTTP/2 CVE-2026-123007 / CVE-2026-123633 [@valentingoulier](https://github.com/valentingoulier) ([#18835](https://github.com/community-scripts/ProxmoxVE/pull/18835))
|
||||
|
||||
## 2026-11-18
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
@@ -61,11 +61,17 @@ function update_script() {
|
||||
fi
|
||||
$STD apt install -y build-essential "$pcre_pkg" libssl-dev zlib1g-dev
|
||||
|
||||
OPENRESTY_VERSION="1.29.2.5"
|
||||
OPENRESTY_VERSION="1.31.8.1"
|
||||
if [[ "$(cat ~/.openresty 2>/dev/null)" != "$OPENRESTY_VERSION" ]]; then
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty" ||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://distfiles.alpinelinux.org/distfiles/edge/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty"
|
||||
|
||||
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
|
||||
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
|
||||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "-" | patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s
|
||||
done
|
||||
msg_ok "Patched nginx HTTP/2"
|
||||
|
||||
msg_info "Building OpenResty"
|
||||
cd /opt/openresty
|
||||
$STD ./configure \
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
#!/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: lukdz
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/pingdotgg/t3code
|
||||
|
||||
APP="T3Code"
|
||||
var_tags="${var_tags:-ai;dev-tools}"
|
||||
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 ! command -v t3 >/dev/null 2>&1; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop t3code
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Updating T3 Code"
|
||||
$STD npm install -g t3@latest
|
||||
msg_ok "Updated T3 Code"
|
||||
|
||||
msg_info "Configuring T3 Code Service"
|
||||
mkdir -p /etc/systemd/system/t3code.service.d
|
||||
cat <<EOF >/etc/systemd/system/t3code.service.d/claude.conf
|
||||
[Service]
|
||||
# Allow Claude Full access mode as root inside the LXC.
|
||||
Environment=IS_SANDBOX=1
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
msg_ok "Configured T3 Code Service"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start t3code
|
||||
msg_ok "Started Service"
|
||||
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}"
|
||||
@@ -110,7 +110,7 @@ export AUTOGRAPH_VERBOSITY=0
|
||||
export GLOG_minloglevel=3
|
||||
export GLOG_logtostderr=0
|
||||
|
||||
fetch_and_deploy_gh_release "frigate" "blakeblackshear/frigate" "tarball" "v0.18.2" "/opt/frigate"
|
||||
fetch_and_deploy_gh_release "frigate" "blakeblackshear/frigate" "tarball" "v0.18.3" "/opt/frigate"
|
||||
|
||||
msg_info "Building Nginx"
|
||||
$STD bash /opt/frigate/docker/main/build_nginx.sh
|
||||
|
||||
@@ -36,10 +36,16 @@ $STD /opt/certbot/bin/pip install certbot certbot-dns-cloudflare
|
||||
ln -sf /opt/certbot/bin/certbot /usr/local/bin/certbot
|
||||
msg_ok "Set up Certbot"
|
||||
|
||||
OPENRESTY_VERSION="1.29.2.5"
|
||||
OPENRESTY_VERSION="1.31.8.1"
|
||||
fetch_and_deploy_from_url "https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty" ||
|
||||
fetch_and_deploy_from_url "https://distfiles.alpinelinux.org/distfiles/edge/openresty-${OPENRESTY_VERSION}.tar.gz" "/opt/openresty"
|
||||
|
||||
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
|
||||
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
|
||||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "-" | patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s
|
||||
done
|
||||
msg_ok "Patched nginx HTTP/2"
|
||||
|
||||
msg_info "Building OpenResty"
|
||||
cd /opt/openresty
|
||||
$STD ./configure \
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: lukdz
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/pingdotgg/t3code
|
||||
|
||||
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 \
|
||||
git \
|
||||
build-essential \
|
||||
bubblewrap
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
|
||||
msg_info "Installing T3 Code and Provider CLIs"
|
||||
$STD npm install -g \
|
||||
t3 \
|
||||
@openai/codex \
|
||||
@anthropic-ai/claude-code \
|
||||
@xai-official/grok \
|
||||
opencode-ai
|
||||
msg_ok "Installed T3 Code and Provider CLIs"
|
||||
|
||||
fetch_and_deploy_gh_release "gh" "cli/cli" "binary"
|
||||
|
||||
msg_info "Creating Service"
|
||||
mkdir -p /opt/t3code
|
||||
cat <<EOF >/etc/systemd/system/t3code.service
|
||||
[Unit]
|
||||
Description=T3 Code Server
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Environment=PATH=/usr/local/bin:/usr/bin:/bin
|
||||
Environment=T3CODE_TELEMETRY_ENABLED=false
|
||||
# Allow Claude Full access mode as root inside the LXC.
|
||||
Environment=IS_SANDBOX=1
|
||||
WorkingDirectory=/opt/t3code
|
||||
ExecStart=/usr/bin/t3 serve --host 0.0.0.0 --base-dir /opt/t3code
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now t3code
|
||||
sleep 5
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
Reference in new issue
Block a user