mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-03 07:25:59 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 252cc71cc9 | |||
| 0dbee93410 | |||
| 1a7d1da029 | |||
| f6ccf8be5e | |||
| ec81640d67 | |||
| 03a301d736 | |||
| be81d6255e | |||
| c9da2daec2 | |||
| 9015023e8c | |||
| e2a51d4941 |
@@ -448,6 +448,19 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
## 2026-05-01
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- paperless-ngx: refresh NLTK data on update [@kurtislanderson](https://github.com/kurtislanderson) ([#14144](https://github.com/community-scripts/ProxmoxVE/pull/14144))
|
||||||
|
- [Pelican Panel] stop deleting the public storage [@LetterN](https://github.com/LetterN) ([#14145](https://github.com/community-scripts/ProxmoxVE/pull/14145))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Mail-Archiver: update dependencies [@tremor021](https://github.com/tremor021) ([#14152](https://github.com/community-scripts/ProxmoxVE/pull/14152))
|
||||||
|
|
||||||
## 2026-04-30
|
## 2026-04-30
|
||||||
|
|
||||||
### 🆕 New Scripts
|
### 🆕 New Scripts
|
||||||
@@ -455,6 +468,13 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
- Nagios ([#14126](https://github.com/community-scripts/ProxmoxVE/pull/14126))
|
- Nagios ([#14126](https://github.com/community-scripts/ProxmoxVE/pull/14126))
|
||||||
- Neko ([#14121](https://github.com/community-scripts/ProxmoxVE/pull/14121))
|
- Neko ([#14121](https://github.com/community-scripts/ProxmoxVE/pull/14121))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- alpine-docker: install openssl as core dependency | alpine-komodo: check & install openssl if missing [@MickLesk](https://github.com/MickLesk) ([#14134](https://github.com/community-scripts/ProxmoxVE/pull/14134))
|
||||||
|
- endurain: update source references to Codeberg [@MickLesk](https://github.com/MickLesk) ([#14128](https://github.com/community-scripts/ProxmoxVE/pull/14128))
|
||||||
|
|
||||||
### 💾 Core
|
### 💾 Core
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
- #### 🔧 Refactor
|
||||||
|
|||||||
+3
-3
@@ -3,7 +3,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
|
|||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: johanngrobe
|
# Author: johanngrobe
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://github.com/joaovitoriasilva/endurain
|
# Source: https://codeberg.org/endurain-project/endurain
|
||||||
|
|
||||||
APP="Endurain"
|
APP="Endurain"
|
||||||
var_tags="${var_tags:-sport;social-media}"
|
var_tags="${var_tags:-sport;social-media}"
|
||||||
@@ -28,7 +28,7 @@ function update_script() {
|
|||||||
msg_error "No ${APP} installation found!"
|
msg_error "No ${APP} installation found!"
|
||||||
exit 233
|
exit 233
|
||||||
fi
|
fi
|
||||||
if check_for_gh_release "endurain" "endurain-project/endurain"; then
|
if check_for_codeberg_release "endurain" "endurain-project/endurain"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop endurain
|
systemctl stop endurain
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
@@ -38,7 +38,7 @@ function update_script() {
|
|||||||
cp /opt/endurain/frontend/app/dist/env.js /opt/endurain.env.js
|
cp /opt/endurain/frontend/app/dist/env.js /opt/endurain.env.js
|
||||||
msg_ok "Created Backup"
|
msg_ok "Created Backup"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain"
|
CLEAN_INSTALL=1 fetch_and_deploy_codeberg_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain"
|
||||||
|
|
||||||
msg_info "Preparing Update"
|
msg_info "Preparing Update"
|
||||||
cd /opt/endurain
|
cd /opt/endurain
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ensure_dependencies libgssapi-krb5-2
|
||||||
|
|
||||||
if check_for_gh_release "mail-archiver" "s1t5/mail-archiver"; then
|
if check_for_gh_release "mail-archiver" "s1t5/mail-archiver"; then
|
||||||
msg_info "Stopping Mail-Archiver"
|
msg_info "Stopping Mail-Archiver"
|
||||||
systemctl stop mail-archiver
|
systemctl stop mail-archiver
|
||||||
|
|||||||
@@ -164,6 +164,14 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
msg_info "Updating NLTK Data"
|
||||||
|
cd /opt/paperless
|
||||||
|
$STD uv run python -m nltk.downloader -d /usr/share/nltk_data snowball_data
|
||||||
|
$STD uv run python -m nltk.downloader -d /usr/share/nltk_data stopwords
|
||||||
|
$STD uv run python -m nltk.downloader -d /usr/share/nltk_data punkt_tab ||
|
||||||
|
$STD uv run python -m nltk.downloader -d /usr/share/nltk_data punkt
|
||||||
|
msg_ok "Updated NLTK Data"
|
||||||
|
|
||||||
msg_info "Starting all Paperless-ngx Services"
|
msg_info "Starting all Paperless-ngx Services"
|
||||||
systemctl start paperless-consumer paperless-webserver paperless-scheduler paperless-task-queue
|
systemctl start paperless-consumer paperless-webserver paperless-scheduler paperless-task-queue
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|||||||
+11
-5
@@ -45,15 +45,21 @@ function update_script() {
|
|||||||
$STD php artisan down
|
$STD php artisan down
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
cp -r /opt/pelican-panel/.env /opt/
|
cp -a /opt/pelican-panel/.env /opt/backup
|
||||||
|
cp -a /opt/pelican-panel/storage/app/public /opt/backup/storage/app/
|
||||||
|
|
||||||
SQLITE_INSTALL=$(ls /opt/pelican-panel/database/*.sqlite 1>/dev/null 2>&1 && echo "true" || echo "false")
|
SQLITE_INSTALL=$(ls /opt/pelican-panel/database/*.sqlite 1>/dev/null 2>&1 && echo "true" || echo "false")
|
||||||
$SQLITE_INSTALL && cp -r /opt/pelican-panel/database/*.sqlite /opt/
|
$SQLITE_INSTALL && cp -r /opt/pelican-panel/database/*.sqlite /opt/backup
|
||||||
rm -rf * .*
|
|
||||||
|
find /opt/pelican-panel -mindepth 1 -maxdepth 1 ! -name 'backup' ! -name 'plugins' -exec rm -rf {} +
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "pelican-panel" "pelican-dev/panel" "prebuild" "latest" "/opt/pelican-panel" "panel.tar.gz"
|
fetch_and_deploy_gh_release "pelican-panel" "pelican-dev/panel" "prebuild" "latest" "/opt/pelican-panel" "panel.tar.gz"
|
||||||
|
|
||||||
msg_info "Updating Pelican Panel"
|
msg_info "Updating Pelican Panel"
|
||||||
mv /opt/.env /opt/pelican-panel/
|
cp -a /opt/backup/.env /opt/pelican-panel/
|
||||||
$SQLITE_INSTALL && mv /opt/*.sqlite /opt/pelican-panel/database/
|
$SQLITE_INSTALL && mv /opt/backup/*.sqlite /opt/pelican-panel/database/
|
||||||
|
cp -a /opt/backup/storage/app/public /opt/pelican-panel/storage/app/
|
||||||
|
|
||||||
$STD composer install --no-dev --optimize-autoloader --no-interaction
|
$STD composer install --no-dev --optimize-autoloader --no-interaction
|
||||||
$STD php artisan p:environment:setup
|
$STD php artisan p:environment:setup
|
||||||
$STD php artisan view:clear
|
$STD php artisan view:clear
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apk add tzdata
|
$STD apk add tzdata openssl
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Docker"
|
msg_info "Installing Docker"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: johanngrobe
|
# Author: johanngrobe
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://github.com/joaovitoriasilva/endurain
|
# Source: https://codeberg.org/endurain-project/endurain
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
color
|
color
|
||||||
@@ -21,7 +21,7 @@ PYTHON_VERSION="3.13" setup_uv
|
|||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="24" setup_nodejs
|
||||||
PG_VERSION="17" PG_MODULES="postgis" setup_postgresql
|
PG_VERSION="17" PG_MODULES="postgis" setup_postgresql
|
||||||
PG_DB_NAME="enduraindb" PG_DB_USER="endurain" setup_postgresql_db
|
PG_DB_NAME="enduraindb" PG_DB_USER="endurain" setup_postgresql_db
|
||||||
fetch_and_deploy_gh_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain"
|
fetch_and_deploy_codeberg_release "endurain" "endurain-project/endurain" "tarball" "latest" "/opt/endurain"
|
||||||
|
|
||||||
msg_info "Setting up Endurain"
|
msg_info "Setting up Endurain"
|
||||||
cd /opt/endurain
|
cd /opt/endurain
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ setup_deb822_repo \
|
|||||||
"main"
|
"main"
|
||||||
$STD apt install -y \
|
$STD apt install -y \
|
||||||
dotnet-sdk-10.0 \
|
dotnet-sdk-10.0 \
|
||||||
aspnetcore-runtime-8.0
|
aspnetcore-runtime-8.0 \
|
||||||
|
libgssapi-krb5-2
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
PG_VERSION="17" setup_postgresql
|
PG_VERSION="17" setup_postgresql
|
||||||
|
|||||||
@@ -3504,6 +3504,52 @@ msg_menu() {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# run_addon_updates()
|
||||||
|
#
|
||||||
|
# - Scans /usr/local/bin/update_* for addon update scripts installed alongside
|
||||||
|
# the main application (e.g. by tools/addon/*.sh)
|
||||||
|
# - For each found addon, prompts the user (60s timeout, default no) whether
|
||||||
|
# it should be updated as well
|
||||||
|
# - Skipped entirely when PHS_SILENT=1 to keep unattended updates predictable
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
run_addon_updates() {
|
||||||
|
shopt -s nullglob
|
||||||
|
local addons=(/usr/local/bin/update_*)
|
||||||
|
shopt -u nullglob
|
||||||
|
|
||||||
|
((${#addons[@]} == 0)) && return 0
|
||||||
|
|
||||||
|
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
|
||||||
|
msg_info "Detected ${#addons[@]} addon update script(s) - skipping (PHS_SILENT)"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo -e "${INFO}${YW} Detected installed addon update script(s):${CL}"
|
||||||
|
local a name
|
||||||
|
for a in "${addons[@]}"; do
|
||||||
|
echo -e "${TAB}- ${a##*/update_}"
|
||||||
|
done
|
||||||
|
echo
|
||||||
|
|
||||||
|
local ans
|
||||||
|
for a in "${addons[@]}"; do
|
||||||
|
name="${a##*/update_}"
|
||||||
|
printf 'Do you also want to update addon "%s"? (y/N) [60s]: ' "$name"
|
||||||
|
ans=""
|
||||||
|
if read -r -t 60 ans; then :; else echo; fi
|
||||||
|
case "${ans,,}" in
|
||||||
|
y | yes)
|
||||||
|
bash "$a" || msg_warn "Addon update for $name failed (rc=$?)"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
msg_info "Skipped addon: $name"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# start()
|
# start()
|
||||||
#
|
#
|
||||||
@@ -3523,6 +3569,7 @@ start() {
|
|||||||
ensure_profile_loaded
|
ensure_profile_loaded
|
||||||
get_lxc_ip
|
get_lxc_ip
|
||||||
update_script
|
update_script
|
||||||
|
run_addon_updates
|
||||||
update_motd_ip
|
update_motd_ip
|
||||||
cleanup_lxc
|
cleanup_lxc
|
||||||
else
|
else
|
||||||
@@ -3551,6 +3598,7 @@ start() {
|
|||||||
ensure_profile_loaded
|
ensure_profile_loaded
|
||||||
get_lxc_ip
|
get_lxc_ip
|
||||||
update_script
|
update_script
|
||||||
|
run_addon_updates
|
||||||
update_motd_ip
|
update_motd_ip
|
||||||
cleanup_lxc
|
cleanup_lxc
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -151,6 +151,23 @@ function check_proxmox_host() {
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# CHECK / INSTALL DOCKER
|
# CHECK / INSTALL DOCKER
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
function ensure_openssl() {
|
||||||
|
if command -v openssl &>/dev/null; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
msg_info "Installing openssl"
|
||||||
|
if [[ -f /etc/alpine-release ]]; then
|
||||||
|
$STD apk add openssl
|
||||||
|
elif command -v apt-get &>/dev/null; then
|
||||||
|
$STD apt-get update
|
||||||
|
$STD apt-get install -y openssl
|
||||||
|
else
|
||||||
|
msg_error "openssl is required but could not be installed automatically."
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
msg_ok "Installed openssl"
|
||||||
|
}
|
||||||
|
|
||||||
function check_or_install_docker() {
|
function check_or_install_docker() {
|
||||||
if command -v docker &>/dev/null; then
|
if command -v docker &>/dev/null; then
|
||||||
msg_ok "Docker $(docker --version | cut -d' ' -f3 | tr -d ',') is available"
|
msg_ok "Docker $(docker --version | cut -d' ' -f3 | tr -d ',') is available"
|
||||||
@@ -160,6 +177,7 @@ function check_or_install_docker() {
|
|||||||
msg_error "Docker Compose plugin is not available. Please install it."
|
msg_error "Docker Compose plugin is not available. Please install it."
|
||||||
exit 10
|
exit 10
|
||||||
fi
|
fi
|
||||||
|
ensure_openssl
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -183,6 +201,8 @@ function check_or_install_docker() {
|
|||||||
$STD sh <(curl -fsSL https://get.docker.com)
|
$STD sh <(curl -fsSL https://get.docker.com)
|
||||||
fi
|
fi
|
||||||
msg_ok "Installed Docker"
|
msg_ok "Installed Docker"
|
||||||
|
|
||||||
|
ensure_openssl
|
||||||
}
|
}
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user