mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-09 21:02:49 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0e56d319c |
19
CHANGELOG.md
19
CHANGELOG.md
@@ -10,20 +10,6 @@
|
|||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
||||||
|
|
||||||
## 2025-11-09
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- core: improve log cleaning [@MickLesk](https://github.com/MickLesk) ([#8999](https://github.com/community-scripts/ProxmoxVE/pull/8999))
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Add wkhtmltopdf to Odoo installation dependencies [@akileos](https://github.com/akileos) ([#9010](https://github.com/community-scripts/ProxmoxVE/pull/9010))
|
|
||||||
- fix(jotty): Comments removed from variables, as they are interpreted. [@schneider-de-com](https://github.com/schneider-de-com) ([#9002](https://github.com/community-scripts/ProxmoxVE/pull/9002))
|
|
||||||
- fix(n8n): Add python3-setuptools dependency for Debian 13 [@chrikodo](https://github.com/chrikodo) ([#9007](https://github.com/community-scripts/ProxmoxVE/pull/9007))
|
|
||||||
- Paperless-ngx: hotfix config path [@vhsdream](https://github.com/vhsdream) ([#9003](https://github.com/community-scripts/ProxmoxVE/pull/9003))
|
|
||||||
- Paperless-NGX: Move config backup outside of app folder [@vhsdream](https://github.com/vhsdream) ([#8996](https://github.com/community-scripts/ProxmoxVE/pull/8996))
|
|
||||||
|
|
||||||
## 2025-11-08
|
## 2025-11-08
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
@@ -36,11 +22,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
- MongoDB: Remove unused message [@tremor021](https://github.com/tremor021) ([#8969](https://github.com/community-scripts/ProxmoxVE/pull/8969))
|
- MongoDB: Remove unused message [@tremor021](https://github.com/tremor021) ([#8969](https://github.com/community-scripts/ProxmoxVE/pull/8969))
|
||||||
- Set TZ=Etc/UTC in Ghostfolio installation script [@LuloDev](https://github.com/LuloDev) ([#8961](https://github.com/community-scripts/ProxmoxVE/pull/8961))
|
- Set TZ=Etc/UTC in Ghostfolio installation script [@LuloDev](https://github.com/LuloDev) ([#8961](https://github.com/community-scripts/ProxmoxVE/pull/8961))
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- paperless: refactor - remove backup after update and enable clean install [@MickLesk](https://github.com/MickLesk) ([#8988](https://github.com/community-scripts/ProxmoxVE/pull/8988))
|
|
||||||
- Refactor setup_deb822_repo for optional architectures [@MickLesk](https://github.com/MickLesk) ([#8983](https://github.com/community-scripts/ProxmoxVE/pull/8983))
|
|
||||||
|
|
||||||
## 2025-11-07
|
## 2025-11-07
|
||||||
|
|
||||||
### 🆕 New Scripts
|
### 🆕 New Scripts
|
||||||
|
|||||||
@@ -35,35 +35,24 @@ function update_script() {
|
|||||||
if grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
if grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
|
||||||
|
|
||||||
msg_info "Backing up data"
|
msg_info "Backing up data"
|
||||||
mkdir -p /opt/paperless_backup
|
mkdir -p /opt/paperless/backup
|
||||||
cp -r /opt/paperless/data /opt/paperless_backup/
|
cp -r /opt/paperless/data /opt/paperless/backup/
|
||||||
cp -r /opt/paperless/media /opt/paperless_backup/
|
cp -r /opt/paperless/media /opt/paperless/backup/
|
||||||
cp -r /opt/paperless/paperless.conf /opt/paperless_backup/
|
cp -r /opt/paperless/paperless.conf /opt/paperless/backup/
|
||||||
msg_ok "Backup completed"
|
msg_ok "Backup completed"
|
||||||
|
|
||||||
PYTHON_VERSION="3.13" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "jbig2enc" "ie13/jbig2enc" "tarball" "latest" "/opt/jbig2enc"
|
fetch_and_deploy_gh_release "jbig2enc" "ie13/jbig2enc" "tarball" "latest" "/opt/jbig2enc"
|
||||||
|
setup_gs
|
||||||
. /etc/os-release
|
|
||||||
if [ "$VERSION_CODENAME" = "bookworm" ]; then
|
|
||||||
setup_gs
|
|
||||||
else
|
|
||||||
$STD apt install -y ghostscript
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Updating Paperless-ngx"
|
msg_info "Updating Paperless-ngx"
|
||||||
cp -r /opt/paperless_backup/* /opt/paperless/
|
cp -r /opt/paperless/backup/* /opt/paperless/
|
||||||
CONSUME_DIR="$(sed -n '/^PAPERLESS_CONSUMPTION/s/[^=]=*//p' /opt/paperless/paperless.conf)"
|
|
||||||
mkdir -p "${CONSUME_DIR:-/opt/paperless/consume}"
|
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
$STD uv sync --all-extras
|
$STD uv sync --all-extras
|
||||||
cd /opt/paperless/src
|
cd /opt/paperless/src
|
||||||
$STD uv run -- python manage.py migrate
|
$STD uv run -- python manage.py migrate
|
||||||
msg_ok "Updated Paperless-ngx"
|
msg_ok "Updated Paperless-ngx"
|
||||||
|
|
||||||
rm -rf /opt/paperless_backup
|
|
||||||
|
|
||||||
else
|
else
|
||||||
msg_warn "You are about to migrate your Paperless-ngx installation to uv!"
|
msg_warn "You are about to migrate your Paperless-ngx installation to uv!"
|
||||||
msg_custom "🔒" "It is strongly recommended to take a Proxmox snapshot first:"
|
msg_custom "🔒" "It is strongly recommended to take a Proxmox snapshot first:"
|
||||||
@@ -107,40 +96,24 @@ function update_script() {
|
|||||||
|
|
||||||
$STD systemctl daemon-reload
|
$STD systemctl daemon-reload
|
||||||
msg_info "Backing up data"
|
msg_info "Backing up data"
|
||||||
mkdir -p /opt/paperless_backup
|
mkdir -p /opt/paperless/backup
|
||||||
cp -r /opt/paperless/data /opt/paperless_backup/
|
cp -r /opt/paperless/data /opt/paperless/backup/
|
||||||
cp -r /opt/paperless/media /opt/paperless_backup/
|
cp -r /opt/paperless/media /opt/paperless/backup/
|
||||||
cp -r /opt/paperless/paperless.conf /opt/paperless_backup/
|
cp -r /opt/paperless/paperless.conf /opt/paperless/backup/
|
||||||
msg_ok "Backup completed"
|
msg_ok "Backup completed"
|
||||||
|
|
||||||
PYTHON_VERSION="3.13" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
fetch_and_deploy_gh_release "paperless" "paperless-ngx/paperless-ngx" "prebuild" "latest" "/opt/paperless" "paperless*tar.xz"
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "jbig2enc" "ie13/jbig2enc" "tarball" "latest" "/opt/jbig2enc"
|
fetch_and_deploy_gh_release "jbig2enc" "ie13/jbig2enc" "tarball" "latest" "/opt/jbig2enc"
|
||||||
|
setup_gs
|
||||||
. /etc/os-release
|
|
||||||
if [ "$VERSION_CODENAME" = "bookworm" ]; then
|
|
||||||
setup_gs
|
|
||||||
else
|
|
||||||
msg_info "Installing Ghostscript"
|
|
||||||
$STD apt install -y ghostscript
|
|
||||||
msg_ok "Installed Ghostscript"
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Updating Paperless-ngx"
|
msg_info "Updating Paperless-ngx"
|
||||||
cp -r /opt/paperless_backup/* /opt/paperless/
|
cp -r /opt/paperless/backup/* /opt/paperless/
|
||||||
CONSUME_DIR="$(sed -n '/^PAPERLESS_CONSUMPTION/s/[^=]=*//p' /opt/paperless/paperless.conf)"
|
|
||||||
mkdir -p "${CONSUME_DIR:-/opt/paperless/consume}"
|
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
$STD uv sync --all-extras
|
$STD uv sync --all-extras
|
||||||
cd /opt/paperless/src
|
cd /opt/paperless/src
|
||||||
$STD uv run -- python manage.py migrate
|
$STD uv run -- python manage.py migrate
|
||||||
msg_ok "Paperless-ngx migration and update completed"
|
msg_ok "Paperless-ngx migration and update completed"
|
||||||
|
|
||||||
rm -rf /opt/paperless_backup
|
|
||||||
if [[ -d /opt/paperless/backup ]]; then
|
|
||||||
rm -rf /opt/paperless/backup
|
|
||||||
msg_ok "Removed old backup directory"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Starting all Paperless-ngx Services"
|
msg_info "Starting all Paperless-ngx Services"
|
||||||
|
|||||||
@@ -1,94 +1,14 @@
|
|||||||
[
|
[
|
||||||
{
|
|
||||||
"name": "firefly-iii/firefly-iii",
|
|
||||||
"version": "v6.4.6",
|
|
||||||
"date": "2025-11-08T22:45:35Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "authelia/authelia",
|
|
||||||
"version": "v4.39.14",
|
|
||||||
"date": "2025-11-09T07:18:40Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.24.268",
|
|
||||||
"date": "2025-11-09T05:56:26Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "apache/couchdb",
|
|
||||||
"version": "3.5.1",
|
|
||||||
"date": "2025-11-09T05:09:28Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "BerriAI/litellm",
|
|
||||||
"version": "v1.79.3.rc.1",
|
|
||||||
"date": "2025-11-09T02:52:13Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "rcourtman/Pulse",
|
|
||||||
"version": "v4.27.1",
|
|
||||||
"date": "2025-11-09T00:44:44Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "inventree/InvenTree",
|
|
||||||
"version": "1.1.3",
|
|
||||||
"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",
|
|
||||||
"version": "v1.17.2",
|
|
||||||
"date": "2025-11-08T22:47:58Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "TwiN/gatus",
|
|
||||||
"version": "v5.31.0",
|
|
||||||
"date": "2025-11-08T22:18:46Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "karakeep-app/karakeep",
|
|
||||||
"version": "ios/v1.8.1-0",
|
|
||||||
"date": "2025-11-08T21:29:59Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "hargata/lubelog",
|
|
||||||
"version": "v1.5.4",
|
|
||||||
"date": "2025-11-08T16:26:45Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Luligu/matterbridge",
|
|
||||||
"version": "3.3.7",
|
|
||||||
"date": "2025-11-08T15:47:24Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "heiher/hev-socks5-server",
|
|
||||||
"version": "2.11.1",
|
|
||||||
"date": "2025-11-08T14:27:27Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "oauth2-proxy/oauth2-proxy",
|
|
||||||
"version": "v7.13.0",
|
|
||||||
"date": "2025-11-08T13:36:25Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pommee/goaway",
|
|
||||||
"version": "v0.62.16",
|
|
||||||
"date": "2025-11-08T12:15:30Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "TechnitiumSoftware/DnsServer",
|
"name": "TechnitiumSoftware/DnsServer",
|
||||||
"version": "v14.0.0",
|
"version": "v14.0.0",
|
||||||
"date": "2025-11-08T10:34:10Z"
|
"date": "2025-11-08T10:34:10Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "firefly-iii/firefly-iii",
|
||||||
|
"version": "v6.4.5",
|
||||||
|
"date": "2025-11-08T10:24:28Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "runtipi/runtipi",
|
"name": "runtipi/runtipi",
|
||||||
"version": "v4.6.3",
|
"version": "v4.6.3",
|
||||||
@@ -99,6 +19,11 @@
|
|||||||
"version": "fumadocs-openapi@10.0.2",
|
"version": "fumadocs-openapi@10.0.2",
|
||||||
"date": "2025-11-08T09:58:09Z"
|
"date": "2025-11-08T09:58:09Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pommee/goaway",
|
||||||
|
"version": "v0.62.14",
|
||||||
|
"date": "2025-11-08T09:46:33Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "pocketbase/pocketbase",
|
"name": "pocketbase/pocketbase",
|
||||||
"version": "v0.32.0",
|
"version": "v0.32.0",
|
||||||
@@ -109,11 +34,26 @@
|
|||||||
"version": "v0.85.1",
|
"version": "v0.85.1",
|
||||||
"date": "2025-10-31T10:45:26Z"
|
"date": "2025-10-31T10:45:26Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Jackett/Jackett",
|
||||||
|
"version": "v0.24.262",
|
||||||
|
"date": "2025-11-08T05:54:55Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "documenso/documenso",
|
"name": "documenso/documenso",
|
||||||
"version": "v2.0.5",
|
"version": "v2.0.5",
|
||||||
"date": "2025-11-08T05:03:59Z"
|
"date": "2025-11-08T05:03:59Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "jeedom/core",
|
||||||
|
"version": "4.4.20",
|
||||||
|
"date": "2025-11-08T00:27:05Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "steveiliop56/tinyauth",
|
||||||
|
"version": "v4.0.1",
|
||||||
|
"date": "2025-10-15T16:53:55Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "keycloak/keycloak",
|
"name": "keycloak/keycloak",
|
||||||
"version": "26.4.4",
|
"version": "26.4.4",
|
||||||
@@ -134,6 +74,11 @@
|
|||||||
"version": "v2.16.45",
|
"version": "v2.16.45",
|
||||||
"date": "2025-11-07T19:08:05Z"
|
"date": "2025-11-07T19:08:05Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "rcourtman/Pulse",
|
||||||
|
"version": "v4.26.5",
|
||||||
|
"date": "2025-11-07T18:05:58Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "cloudflare/cloudflared",
|
"name": "cloudflare/cloudflared",
|
||||||
"version": "2025.11.1",
|
"version": "2025.11.1",
|
||||||
@@ -269,6 +214,11 @@
|
|||||||
"version": "v3.5.8",
|
"version": "v3.5.8",
|
||||||
"date": "2025-11-06T05:32:51Z"
|
"date": "2025-11-06T05:32:51Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "apache/couchdb",
|
||||||
|
"version": "3.5.1-RC1",
|
||||||
|
"date": "2025-11-06T03:23:20Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Notifiarr/notifiarr",
|
"name": "Notifiarr/notifiarr",
|
||||||
"version": "v0.9.1",
|
"version": "v0.9.1",
|
||||||
@@ -284,6 +234,11 @@
|
|||||||
"version": "5.26.16",
|
"version": "5.26.16",
|
||||||
"date": "2025-11-05T20:41:40Z"
|
"date": "2025-11-05T20:41:40Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "BerriAI/litellm",
|
||||||
|
"version": "v1.79.1.dev6",
|
||||||
|
"date": "2025-11-05T19:25:05Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "leiweibau/Pi.Alert",
|
"name": "leiweibau/Pi.Alert",
|
||||||
"version": "v2025-11-05",
|
"version": "v2025-11-05",
|
||||||
@@ -454,6 +409,11 @@
|
|||||||
"version": "v25.11.0",
|
"version": "v25.11.0",
|
||||||
"date": "2025-11-04T00:32:21Z"
|
"date": "2025-11-04T00:32:21Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "inventree/InvenTree",
|
||||||
|
"version": "1.1.2",
|
||||||
|
"date": "2025-11-03T23:16:29Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "gtsteffaniak/filebrowser",
|
"name": "gtsteffaniak/filebrowser",
|
||||||
"version": "v1.0.0-stable",
|
"version": "v1.0.0-stable",
|
||||||
@@ -519,6 +479,11 @@
|
|||||||
"version": "0.42.1",
|
"version": "0.42.1",
|
||||||
"date": "2020-06-07T07:27:04Z"
|
"date": "2020-06-07T07:27:04Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Luligu/matterbridge",
|
||||||
|
"version": "3.3.6",
|
||||||
|
"date": "2025-11-01T10:41:15Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "tailscale/tailscale",
|
"name": "tailscale/tailscale",
|
||||||
"version": "v1.90.6",
|
"version": "v1.90.6",
|
||||||
@@ -564,6 +529,11 @@
|
|||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"date": "2025-10-30T18:23:23Z"
|
"date": "2025-10-30T18:23:23Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "TwiN/gatus",
|
||||||
|
"version": "v5.30.0",
|
||||||
|
"date": "2025-10-30T16:52:58Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "AdguardTeam/AdGuardHome",
|
"name": "AdguardTeam/AdGuardHome",
|
||||||
"version": "v0.107.69",
|
"version": "v0.107.69",
|
||||||
@@ -619,6 +589,11 @@
|
|||||||
"version": "server-v3.4.4",
|
"version": "server-v3.4.4",
|
||||||
"date": "2025-09-25T13:19:26Z"
|
"date": "2025-09-25T13:19:26Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "heiher/hev-socks5-server",
|
||||||
|
"version": "2.11.0",
|
||||||
|
"date": "2025-10-29T14:26:23Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "cockpit-project/cockpit",
|
"name": "cockpit-project/cockpit",
|
||||||
"version": "350",
|
"version": "350",
|
||||||
@@ -889,6 +864,11 @@
|
|||||||
"version": "v2.0.119",
|
"version": "v2.0.119",
|
||||||
"date": "2025-10-13T23:15:11Z"
|
"date": "2025-10-13T23:15:11Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "hargata/lubelog",
|
||||||
|
"version": "v1.5.3",
|
||||||
|
"date": "2025-10-13T19:59:30Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "node-red/node-red",
|
"name": "node-red/node-red",
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
@@ -899,6 +879,11 @@
|
|||||||
"version": "v5.0.85",
|
"version": "v5.0.85",
|
||||||
"date": "2025-10-12T19:55:18Z"
|
"date": "2025-10-12T19:55:18Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "authelia/authelia",
|
||||||
|
"version": "v4.39.13",
|
||||||
|
"date": "2025-10-12T05:45:48Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "gelbphoenix/autocaliweb",
|
"name": "gelbphoenix/autocaliweb",
|
||||||
"version": "v0.10.4",
|
"version": "v0.10.4",
|
||||||
@@ -914,6 +899,11 @@
|
|||||||
"version": "v5.16.0",
|
"version": "v5.16.0",
|
||||||
"date": "2025-10-10T16:17:02Z"
|
"date": "2025-10-10T16:17:02Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "raydak-labs/configarr",
|
||||||
|
"version": "v1.17.1",
|
||||||
|
"date": "2025-10-10T16:12:41Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "projectsend/projectsend",
|
"name": "projectsend/projectsend",
|
||||||
"version": "r1945",
|
"version": "r1945",
|
||||||
@@ -1099,6 +1089,11 @@
|
|||||||
"version": "v2.7.6",
|
"version": "v2.7.6",
|
||||||
"date": "2025-09-15T15:50:44Z"
|
"date": "2025-09-15T15:50:44Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "karakeep-app/karakeep",
|
||||||
|
"version": "cli/v0.27.1",
|
||||||
|
"date": "2025-09-14T14:48:48Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "intri-in/manage-my-damn-life-nextjs",
|
"name": "intri-in/manage-my-damn-life-nextjs",
|
||||||
"version": "v0.8.1",
|
"version": "v0.8.1",
|
||||||
@@ -1174,6 +1169,11 @@
|
|||||||
"version": "v2.10.2",
|
"version": "v2.10.2",
|
||||||
"date": "2025-08-23T03:10:31Z"
|
"date": "2025-08-23T03:10:31Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "oauth2-proxy/oauth2-proxy",
|
||||||
|
"version": "v7.12.0",
|
||||||
|
"date": "2025-08-19T06:57:20Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ventoy/Ventoy",
|
"name": "ventoy/Ventoy",
|
||||||
"version": "v1.1.07",
|
"version": "v1.1.07",
|
||||||
|
|||||||
@@ -40,9 +40,9 @@ NODE_ENV=production
|
|||||||
# OIDC_ISSUER=<your-oidc-issuer-url>
|
# OIDC_ISSUER=<your-oidc-issuer-url>
|
||||||
# OIDC_CLIENT_ID=<oidc-client-id>
|
# OIDC_CLIENT_ID=<oidc-client-id>
|
||||||
# APP_URL=<https://app.domain.tld>
|
# APP_URL=<https://app.domain.tld>
|
||||||
# SSO_FALLBACK_LOCAL=yes
|
# SSO_FALLBACK_LOCAL=yes # Allow both SSO and normal login
|
||||||
# OIDC_CLIENT_SECRET=your_client_secret
|
# OIDC_CLIENT_SECRET=your_client_secret # Enable confidential client mode with client authentication
|
||||||
# OIDC_ADMIN_GROUPS=admins
|
# OIDC_ADMIN_GROUPS=admins # Map provider groups to admin role
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Installed ${APPLICATION}"
|
msg_ok "Installed ${APPLICATION}"
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,7 @@ update_os
|
|||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y \
|
$STD apt install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
build-essential \
|
build-essential
|
||||||
python3 \
|
|
||||||
python3-setuptools
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="22" setup_nodejs
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y python3-lxml wkhtmltopdf
|
$STD apt install -y python3-lxml
|
||||||
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
|
curl -fsSL "http://archive.ubuntu.com/ubuntu/pool/universe/l/lxml-html-clean/python3-lxml-html-clean_0.1.1-1_all.deb" -o /opt/python3-lxml-html-clean.deb
|
||||||
$STD dpkg -i /opt/python3-lxml-html-clean.deb
|
$STD dpkg -i /opt/python3-lxml-html-clean.deb
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -370,7 +370,6 @@ run_container_safe() {
|
|||||||
|
|
||||||
cleanup_lxc() {
|
cleanup_lxc() {
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
|
|
||||||
if is_alpine; then
|
if is_alpine; then
|
||||||
$STD apk cache clean || true
|
$STD apk cache clean || true
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
@@ -380,15 +379,13 @@ cleanup_lxc() {
|
|||||||
$STD apt -y clean || true
|
$STD apt -y clean || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clear temp artifacts (keep sockets/FIFOs; ignore errors)
|
rm -rf /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
# Remove temp files created by mktemp/tempfile
|
||||||
find /tmp /var/tmp -type f -name 'tmp*' -delete 2>/dev/null || true
|
find /tmp /var/tmp -type f -name 'tmp*' -delete 2>/dev/null || true
|
||||||
find /tmp /var/tmp -type f -name 'tempfile*' -delete 2>/dev/null || true
|
find /tmp /var/tmp -type f -name 'tempfile*' -delete 2>/dev/null || true
|
||||||
|
|
||||||
# Truncate writable log files silently (permission errors ignored)
|
find /var/log -type f -exec truncate -s 0 {} +
|
||||||
if command -v truncate >/dev/null 2>&1; then
|
|
||||||
find /var/log -type f -writable -print0 2>/dev/null | \
|
|
||||||
xargs -0 -n1 truncate -s 0 2>/dev/null || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Python pip
|
# Python pip
|
||||||
if command -v pip &>/dev/null; then pip cache purge || true; fi
|
if command -v pip &>/dev/null; then pip cache purge || true; fi
|
||||||
@@ -410,8 +407,8 @@ cleanup_lxc() {
|
|||||||
if command -v composer &>/dev/null; then composer clear-cache || true; fi
|
if command -v composer &>/dev/null; then composer clear-cache || true; fi
|
||||||
|
|
||||||
if command -v journalctl &>/dev/null; then
|
if command -v journalctl &>/dev/null; then
|
||||||
$STD journalctl --rotate || true
|
$STD journalctl --rotate
|
||||||
$STD journalctl --vacuum-time=10m || true
|
$STD journalctl --vacuum-time=10m
|
||||||
fi
|
fi
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1198,8 +1198,8 @@ ensure_apt_working() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Standardized deb822 repository setup (with optional Architectures)
|
# Standardized deb822 repository setup
|
||||||
# Always runs apt update after repo creation to ensure package availability
|
# Validates all parameters and fails safely if any are empty
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
setup_deb822_repo() {
|
setup_deb822_repo() {
|
||||||
local name="$1"
|
local name="$1"
|
||||||
@@ -1207,40 +1207,56 @@ setup_deb822_repo() {
|
|||||||
local repo_url="$3"
|
local repo_url="$3"
|
||||||
local suite="$4"
|
local suite="$4"
|
||||||
local component="${5:-main}"
|
local component="${5:-main}"
|
||||||
local architectures="${6-}" # optional
|
local architectures="${6:-$(dpkg --print-architecture)}"
|
||||||
|
|
||||||
# Validate required parameters
|
# Validate required parameters
|
||||||
if [[ -z "$name" || -z "$gpg_url" || -z "$repo_url" || -z "$suite" ]]; then
|
if [[ -z "$name" || -z "$gpg_url" || -z "$repo_url" || -z "$suite" ]]; then
|
||||||
msg_error "setup_deb822_repo: missing required parameters (name=$name repo=$repo_url suite=$suite)"
|
msg_error "setup_deb822_repo: missing required parameters (name=$name, gpg=$gpg_url, repo=$repo_url, suite=$suite)"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup old configs for this app
|
||||||
cleanup_old_repo_files "$name"
|
cleanup_old_repo_files "$name"
|
||||||
|
|
||||||
|
# Cleanup any orphaned .sources files from other apps
|
||||||
cleanup_orphaned_sources
|
cleanup_orphaned_sources
|
||||||
|
|
||||||
|
# Ensure keyring directory exists
|
||||||
mkdir -p /etc/apt/keyrings || {
|
mkdir -p /etc/apt/keyrings || {
|
||||||
msg_error "Failed to create /etc/apt/keyrings"
|
msg_error "Failed to create /etc/apt/keyrings directory"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Import GPG
|
# Download GPG key (with --yes to avoid interactive prompts)
|
||||||
curl -fsSL "$gpg_url" | gpg --dearmor --yes -o "/etc/apt/keyrings/${name}.gpg" || {
|
curl -fsSL "$gpg_url" | gpg --dearmor --yes -o "/etc/apt/keyrings/${name}.gpg" 2>/dev/null || {
|
||||||
msg_error "Failed to import GPG key for ${name}"
|
msg_error "Failed to download or import GPG key for ${name} from $gpg_url"
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Write deb822
|
# Create deb822 sources file
|
||||||
{
|
cat <<EOF >/etc/apt/sources.list.d/${name}.sources
|
||||||
echo "Types: deb"
|
Types: deb
|
||||||
echo "URIs: $repo_url"
|
URIs: $repo_url
|
||||||
echo "Suites: $suite"
|
Suites: $suite
|
||||||
echo "Components: $component"
|
Components: $component
|
||||||
[[ -n "$architectures" ]] && echo "Architectures: $architectures"
|
Architectures: $architectures
|
||||||
echo "Signed-By: /etc/apt/keyrings/${name}.gpg"
|
Signed-By: /etc/apt/keyrings/${name}.gpg
|
||||||
} >/etc/apt/sources.list.d/${name}.sources
|
EOF
|
||||||
|
|
||||||
$STD apt update
|
# Use cached apt update
|
||||||
|
local apt_cache_file="/var/cache/apt-update-timestamp"
|
||||||
|
local current_time=$(date +%s)
|
||||||
|
local last_update=0
|
||||||
|
|
||||||
|
if [[ -f "$apt_cache_file" ]]; then
|
||||||
|
last_update=$(cat "$apt_cache_file" 2>/dev/null || echo 0)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For repo changes, always update but respect short-term cache (30s)
|
||||||
|
if ((current_time - last_update > 30)); then
|
||||||
|
$STD apt update
|
||||||
|
echo "$current_time" >"$apt_cache_file"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user