Compare commits

...
Author SHA1 Message Date
CrazyWolf13 eb14082b61 fix: freshrss: install php-xml and php-intl for automatic feed updates 2026-11-25 20:58:38 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 51cc78bf79 Update CHANGELOG.md (#19040)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-25 17:25:49 +00:00
CanbiZ (MickLesk) 30591681a4 Monitor-All: ping the container's net0 address (#19030) 2026-11-25 18:25:22 +01:00
4 changed files with 29 additions and 4 deletions

No files matched your search

+8
View File
@@ -606,11 +606,19 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- ERPNext: install PDFKiln instead of the archived wkhtmltox build [@Jamalofski](https://github.com/Jamalofski) ([#19025](https://github.com/community-scripts/ProxmoxVE/pull/19025))
### 💾 Core
- core: back up and restore around a mount below the path [@MickLesk](https://github.com/MickLesk) ([core#295](https://github.com/community-scripts/core/pull/295))
### 🧰 Tools
- Immich Power Tools ([#19023](https://github.com/community-scripts/ProxmoxVE/pull/19023))
- VueTorrent ([#19024](https://github.com/community-scripts/ProxmoxVE/pull/19024))
- #### 🐞 Bug Fixes
- Monitor-All: ping the container's net0 address [@MickLesk](https://github.com/MickLesk) ([#19030](https://github.com/community-scripts/ProxmoxVE/pull/19030))
## 2026-11-24
### 🆕 New Scripts
+8
View File
@@ -37,6 +37,14 @@ function update_script() {
msg_ok "Fixed wrong permissions"
fi
if ! php -r 'exit((extension_loaded("intl") && extension_loaded("xml")) ? 0 : 1);' 2>/dev/null; then
msg_info "Installing missing PHP extensions"
apt_update_safe
$STD apt install -y php-xml php-intl
systemctl reload apache2
msg_ok "Installed missing PHP extensions"
fi
if check_for_gh_release "freshrss" "FreshRSS/FreshRSS"; then
msg_info "Stopping Apache2"
systemctl stop apache2
+1 -1
View File
@@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
PHP_VERSION="8.4" PHP_APACHE="YES" setup_php
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xml,intl" setup_php
PG_VERSION="16" setup_postgresql
PG_DB_NAME="freshrss" PG_DB_USER="freshrss_usr" setup_postgresql_db
+12 -3
View File
@@ -111,9 +111,18 @@ while true; do
continue
fi
# Read the IP from the host side; pct exec depends on tools inside the
# guest, which minimal/OCI images may lack.
IP=$(lxc-info -n "$instance" -iH 2>/dev/null | awk '/^[0-9.]+$/ && !/^(127|169\.254)\./ {print; exit}')
if [ -z "$IP" ] || ! ping -c 1 -W 2 "$IP" >/dev/null 2>&1; then
# guest, which minimal/OCI images may lack. net0's address comes first:
# lxc-info lists Docker bridges and VPN tunnels too, often before it.
net0=$(value_of net0)
IP=$(grep -oP '(^|,)ip=\K[0-9.]+(?=/)' <<<"$net0" || true)
if [ -z "$IP" ]; then
iface=$(grep -oP '(^|,)name=\K[^,]+' <<<"$net0" || true)
pid=$(lxc-info -n "$instance" -pH 2>/dev/null)
[ -n "$pid" ] && IP=$(nsenter -t "$pid" -n ip -4 -o addr show dev "${iface:-eth0}" scope global 2>/dev/null | awk '{sub(/\/.*/, "", $4); print $4; exit}')
fi
[ -z "$IP" ] && IP=$(lxc-info -n "$instance" -iH 2>/dev/null | awk '/^[0-9.]+$/ && !/^(127|169\.254)\./ {print; exit}')
# Two rounds of three pings, so one lost packet does not restart it.
if [ -z "$IP" ] || ! { ping -c 3 -W 2 "$IP" >/dev/null 2>&1 || { sleep 5 && ping -c 3 -W 2 "$IP" >/dev/null 2>&1; }; }; then
echo "$(date): CT $instance is not responding, restarting..."
pct stop "$instance" >/dev/null 2>&1
sleep 5