mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-10 13:22:50 +00:00
Compare commits
5 Commits
update_ver
...
github-act
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8db587e95 | ||
|
|
8b30ed74df | ||
|
|
53e6422ee3 | ||
|
|
257e89cc5c | ||
|
|
26090bad32 |
@@ -12,6 +12,13 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
## 2025-11-10
|
## 2025-11-10
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- core: update message for no available updates scenario (if pinned) [@MickLesk](https://github.com/MickLesk) ([#9021](https://github.com/community-scripts/ProxmoxVE/pull/9021))
|
||||||
|
- Migrate Open WebUI to uv-based installation [@MickLesk](https://github.com/MickLesk) ([#9019](https://github.com/community-scripts/ProxmoxVE/pull/9019))
|
||||||
|
|
||||||
## 2025-11-09
|
## 2025-11-09
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
@@ -23,6 +23,62 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
|
|
||||||
|
if [[ -d /opt/open-webui ]]; then
|
||||||
|
msg_warn "Legacy installation detected — migrating to uv based install..."
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop open-webui
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
msg_info "Creating Backup"
|
||||||
|
mkdir -p /opt/open-webui-backup
|
||||||
|
cp -a /opt/open-webui/backend/data /opt/open-webui-backup/data || true
|
||||||
|
msg_ok "Created Backup"
|
||||||
|
|
||||||
|
msg_info "Removing legacy installation"
|
||||||
|
rm -rf /opt/open-webui
|
||||||
|
rm -rf /root/.open-webui || true
|
||||||
|
msg_ok "Removed legacy installation"
|
||||||
|
|
||||||
|
msg_info "Installing uv-based Open-WebUI"
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
|
$STD uv tool install --python $PYTHON_VERSION open-webui[all]
|
||||||
|
msg_ok "Installed uv-based Open-WebUI"
|
||||||
|
|
||||||
|
msg_info "Restoring data"
|
||||||
|
mkdir -p /root/.open-webui
|
||||||
|
cp -a /opt/open-webui-backup/data/* /root/.open-webui/ || true
|
||||||
|
rm -rf /opt/open-webui-backup || true
|
||||||
|
msg_ok "Restored data"
|
||||||
|
|
||||||
|
msg_info "Recreating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/open-webui.service
|
||||||
|
[Unit]
|
||||||
|
Description=Open WebUI Service
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Environment=DATA_DIR=/root/.open-webui
|
||||||
|
EnvironmentFile=-/root/.env
|
||||||
|
ExecStart=/root/.local/bin/open-webui serve
|
||||||
|
WorkingDirectory=/root
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
User=root
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
|
||||||
|
$STD systemctl daemon-reload
|
||||||
|
systemctl enable -q --now open-webui
|
||||||
|
msg_ok "Recreated Service"
|
||||||
|
|
||||||
|
msg_ok "Migration completed"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -d /root/.open-webui ]]; then
|
if [[ ! -d /root/.open-webui ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
@@ -50,8 +106,11 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Restarting Open WebUI to initiate update"
|
msg_info "Updating Open WebUI via uv"
|
||||||
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
|
$STD uv tool install --python 3.12 open-webui[all]
|
||||||
systemctl restart open-webui
|
systemctl restart open-webui
|
||||||
|
msg_ok "Updated Open WebUI"
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated successfully!"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,49 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "dgtlmoon/changedetection.io",
|
||||||
|
"version": "0.50.41",
|
||||||
|
"date": "2025-11-10T11:00:46Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "emqx/emqx",
|
||||||
|
"version": "e5.10.2",
|
||||||
|
"date": "2025-11-10T10:58:21Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "autobrr/autobrr",
|
||||||
|
"version": "v1.69.0",
|
||||||
|
"date": "2025-11-10T10:57:40Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "documenso/documenso",
|
||||||
|
"version": "v2.0.6",
|
||||||
|
"date": "2025-11-10T08:08:43Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mattermost/mattermost",
|
||||||
|
"version": "v10.11.6",
|
||||||
|
"date": "2025-11-04T09:43:16Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Jackett/Jackett",
|
||||||
|
"version": "v0.24.270",
|
||||||
|
"date": "2025-11-10T05:57:22Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "firefly-iii/firefly-iii",
|
||||||
|
"version": "v6.4.6",
|
||||||
|
"date": "2025-11-08T22:45:35Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jeedom/core",
|
||||||
|
"version": "4.4.20",
|
||||||
|
"date": "2025-11-10T00:27:05Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "steveiliop56/tinyauth",
|
||||||
|
"version": "v4.0.1",
|
||||||
|
"date": "2025-10-15T16:53:55Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "navidrome/navidrome",
|
"name": "navidrome/navidrome",
|
||||||
"version": "v0.58.5",
|
"version": "v0.58.5",
|
||||||
@@ -55,20 +100,15 @@
|
|||||||
"date": "2025-11-09T11:56:25Z"
|
"date": "2025-11-09T11:56:25Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "firefly-iii/firefly-iii",
|
"name": "keycloak/keycloak",
|
||||||
"version": "v6.4.6",
|
"version": "26.4.4",
|
||||||
"date": "2025-11-08T22:45:35Z"
|
"date": "2025-11-07T08:55:27Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "authelia/authelia",
|
"name": "authelia/authelia",
|
||||||
"version": "v4.39.14",
|
"version": "v4.39.14",
|
||||||
"date": "2025-11-09T07:18:40Z"
|
"date": "2025-11-09T07:18:40Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.24.268",
|
|
||||||
"date": "2025-11-09T05:56:26Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "apache/couchdb",
|
"name": "apache/couchdb",
|
||||||
"version": "3.5.1",
|
"version": "3.5.1",
|
||||||
@@ -84,16 +124,6 @@
|
|||||||
"version": "1.1.3",
|
"version": "1.1.3",
|
||||||
"date": "2025-11-09T00:28:21Z"
|
"date": "2025-11-09T00:28:21Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "jeedom/core",
|
|
||||||
"version": "4.4.20",
|
|
||||||
"date": "2025-11-09T00:27:05Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "steveiliop56/tinyauth",
|
|
||||||
"version": "v4.0.1",
|
|
||||||
"date": "2025-10-15T16:53:55Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "raydak-labs/configarr",
|
"name": "raydak-labs/configarr",
|
||||||
"version": "v1.17.2",
|
"version": "v1.17.2",
|
||||||
@@ -149,16 +179,6 @@
|
|||||||
"version": "v0.85.1",
|
"version": "v0.85.1",
|
||||||
"date": "2025-10-31T10:45:26Z"
|
"date": "2025-10-31T10:45:26Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "documenso/documenso",
|
|
||||||
"version": "v2.0.5",
|
|
||||||
"date": "2025-11-08T05:03:59Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "keycloak/keycloak",
|
|
||||||
"version": "26.4.4",
|
|
||||||
"date": "2025-11-07T08:55:27Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "home-assistant/core",
|
"name": "home-assistant/core",
|
||||||
"version": "2025.11.1",
|
"version": "2025.11.1",
|
||||||
@@ -204,11 +224,6 @@
|
|||||||
"version": "v1.0.0",
|
"version": "v1.0.0",
|
||||||
"date": "2025-11-07T12:52:42Z"
|
"date": "2025-11-07T12:52:42Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "dgtlmoon/changedetection.io",
|
|
||||||
"version": "0.50.40",
|
|
||||||
"date": "2025-11-07T12:22:58Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "element-hq/synapse",
|
"name": "element-hq/synapse",
|
||||||
"version": "v1.142.0rc2",
|
"version": "v1.142.0rc2",
|
||||||
@@ -224,11 +239,6 @@
|
|||||||
"version": "coverity-w45-4.14.1",
|
"version": "coverity-w45-4.14.1",
|
||||||
"date": "2025-11-05T16:56:57Z"
|
"date": "2025-11-05T16:56:57Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "mattermost/mattermost",
|
|
||||||
"version": "v10.11.6",
|
|
||||||
"date": "2025-11-04T09:43:16Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "umami-software/umami",
|
"name": "umami-software/umami",
|
||||||
"version": "v3.0.0",
|
"version": "v3.0.0",
|
||||||
@@ -337,7 +347,7 @@
|
|||||||
{
|
{
|
||||||
"name": "javedh-dev/tracktor",
|
"name": "javedh-dev/tracktor",
|
||||||
"version": "0.5.1",
|
"version": "0.5.1",
|
||||||
"date": "2025-11-05T16:14:37Z"
|
"date": "2025-11-05T15:51:02Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zitadel/zitadel",
|
"name": "zitadel/zitadel",
|
||||||
@@ -364,11 +374,6 @@
|
|||||||
"version": "1.5.0",
|
"version": "1.5.0",
|
||||||
"date": "2025-11-05T11:10:20Z"
|
"date": "2025-11-05T11:10:20Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "emqx/emqx",
|
|
||||||
"version": "e5.10.2-alpha.1",
|
|
||||||
"date": "2025-11-05T09:55:26Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "glpi-project/glpi",
|
"name": "glpi-project/glpi",
|
||||||
"version": "11.0.2",
|
"version": "11.0.2",
|
||||||
@@ -934,11 +939,6 @@
|
|||||||
"version": "r1945",
|
"version": "r1945",
|
||||||
"date": "2025-10-10T02:30:05Z"
|
"date": "2025-10-10T02:30:05Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "autobrr/autobrr",
|
|
||||||
"version": "v1.68.0",
|
|
||||||
"date": "2025-10-08T18:33:12Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "advplyr/audiobookshelf",
|
"name": "advplyr/audiobookshelf",
|
||||||
"version": "v2.30.0",
|
"version": "v2.30.0",
|
||||||
|
|||||||
@@ -17,7 +17,11 @@ msg_info "Installing Dependencies"
|
|||||||
$STD apt install -y ffmpeg
|
$STD apt install -y ffmpeg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
USE_UVX="YES" PYTHON_VERSION="3.12" setup_uv
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
|
|
||||||
|
msg_info "Installing Open WebUI"
|
||||||
|
$STD uv tool install --python 3.12 open-webui[all]
|
||||||
|
msg_ok "Installed Open WebUI"
|
||||||
|
|
||||||
read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt
|
read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt
|
||||||
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
||||||
@@ -56,7 +60,7 @@ After=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
EnvironmentFile=-/root/.env
|
EnvironmentFile=-/root/.env
|
||||||
Environment=DATA_DIR=/root/.open-webui
|
Environment=DATA_DIR=/root/.open-webui
|
||||||
ExecStart=/usr/local/bin/uvx --python 3.12 open-webui@latest serve
|
ExecStart=/root/.local/bin/open-webui serve
|
||||||
WorkingDirectory=/root
|
WorkingDirectory=/root
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
@@ -70,9 +74,4 @@ msg_ok "Created Service"
|
|||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
cleanup_lxc
|
||||||
msg_info "Cleaning up"
|
|
||||||
$STD apt -y autoremove
|
|
||||||
$STD apt -y autoclean
|
|
||||||
$STD apt -y clean
|
|
||||||
msg_ok "Cleaned"
|
|
||||||
|
|||||||
@@ -1399,7 +1399,7 @@ verify_gpg_fingerprint() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# EXISTING FUNCTIONS
|
# INSTALL FUNCTIONS
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
@@ -1501,7 +1501,7 @@ check_for_gh_release() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_error "No update available: ${app} is not installed!"
|
msg_ok "No update available: ${app} is already on pinned version (${current})"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user