Compare commits

...

17 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
e87bce1542 Update CHANGELOG.md (#8415)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-17 00:13:02 +00:00
community-scripts-pr-app[bot]
730b16af72 Update versions.json (#8414)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-17 02:12:34 +02:00
community-scripts-pr-app[bot]
554ea0d65e Update CHANGELOG.md (#8408)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 18:01:24 +00:00
Tobias
6ee5c9eab4 fix: changedetection: dirty fix for tsc and esbuild not found (#8407) 2025-10-16 20:00:56 +02:00
community-scripts-pr-app[bot]
bd38e7bdf4 Update CHANGELOG.md (#8405)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 15:03:57 +00:00
CanbiZ
78c8933855 Disable 'pve-enterprise' and 'ceph enterprise' repositories using 'Enabled: false' instead of commenting out lines; add 'Enabled: false' to new repository entries. (#8399) 2025-10-16 17:03:35 +02:00
community-scripts-pr-app[bot]
c16e187f36 Update CHANGELOG.md (#8404)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 15:02:36 +00:00
CanbiZ
ac89626832 Enhance nginx proxy manager install script (#8400) 2025-10-16 17:02:04 +02:00
CanbiZ
72ecf11324 fix bookworm 2025-10-16 15:27:38 +02:00
CanbiZ
98f2bd9783 Update ImageMagick policy modification for multiple versions 2025-10-16 15:05:14 +02:00
community-scripts-pr-app[bot]
ca2c708ad6 Update CHANGELOG.md (#8398)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 12:45:52 +00:00
CanbiZ
b46820966e paperless-ngx: remove unneeded deps, use static ghostscript (#8397) 2025-10-16 14:45:27 +02:00
community-scripts-pr-app[bot]
d0cee74371 Update versions.json (#8395)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 14:05:51 +02:00
community-scripts-pr-app[bot]
8f09a1c8e7 Update CHANGELOG.md (#8393)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-16 10:12:32 +00:00
Slaviša Arežina
f9a51de384 Update Microsoft package source for Debian version (#8392) 2025-10-16 12:12:09 +02:00
CanbiZ
67cff5e18a fix deps 2025-10-16 11:21:30 +02:00
CanbiZ
4625dc58cb Trixie; Mime-Support removal 2025-10-16 09:23:41 +02:00
9 changed files with 230 additions and 206 deletions

View File

@@ -10,8 +10,24 @@
> [!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-10-17
## 2025-10-16 ## 2025-10-16
### 🚀 Updated Scripts
- post-pve/post-pbs: Disable 'pve-enterprise' and 'ceph enterprise' repositories [@MickLesk](https://github.com/MickLesk) ([#8399](https://github.com/community-scripts/ProxmoxVE/pull/8399))
- #### 🐞 Bug Fixes
- fix: changedetection: fix for tsc and esbuild not found [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8407](https://github.com/community-scripts/ProxmoxVE/pull/8407))
- paperless-ngx: remove unneeded deps, use static ghostscript [@MickLesk](https://github.com/MickLesk) ([#8397](https://github.com/community-scripts/ProxmoxVE/pull/8397))
- UmlautAdaptarr: Revert back to bookworm repo [@tremor021](https://github.com/tremor021) ([#8392](https://github.com/community-scripts/ProxmoxVE/pull/8392))
- #### 🔧 Refactor
- Enhance nginx proxy manager install script [@MickLesk](https://github.com/MickLesk) ([#8400](https://github.com/community-scripts/ProxmoxVE/pull/8400))
## 2025-10-15 ## 2025-10-15
### 🆕 New Scripts ### 🆕 New Scripts

View File

@@ -57,6 +57,7 @@ function update_script() {
$STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome $STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome
$STD /opt/browserless/node_modules/playwright-core/cli.js install --force msedge $STD /opt/browserless/node_modules/playwright-core/cli.js install --force msedge
$STD /opt/browserless/node_modules/playwright-core/cli.js install chromium firefox webkit $STD /opt/browserless/node_modules/playwright-core/cli.js install chromium firefox webkit
$STD npm install --prefix /opt/browserless esbuild typescript ts-node @types/node
$STD npm run build --prefix /opt/browserless $STD npm run build --prefix /opt/browserless
$STD npm run build:function --prefix /opt/browserless $STD npm run build:function --prefix /opt/browserless
$STD npm prune production --prefix /opt/browserless $STD npm prune production --prefix /opt/browserless

View File

@@ -1,24 +1,134 @@
[ [
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v1.5.0",
"date": "2025-10-16T23:14:45Z"
},
{
"name": "chrisbenincasa/tunarr",
"version": "v0.23.0-alpha.11",
"date": "2025-10-16T22:42:05Z"
},
{
"name": "openhab/openhab-core",
"version": "5.0.2",
"date": "2025-10-16T21:27:35Z"
},
{ {
"name": "ollama/ollama", "name": "ollama/ollama",
"version": "v0.12.5", "version": "v0.12.6-rc1",
"date": "2025-10-10T16:30:53Z" "date": "2025-10-16T16:36:25Z"
},
{
"name": "runtipi/runtipi",
"version": "v4.5.0",
"date": "2025-10-16T16:28:57Z"
},
{
"name": "minio/minio",
"version": "RELEASE.2025-10-15T17-29-55Z",
"date": "2025-10-16T19:33:51Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.98.0-rc.1",
"date": "2025-10-16T17:49:50Z"
},
{
"name": "open-webui/open-webui",
"version": "v0.6.34",
"date": "2025-10-16T16:55:58Z"
},
{
"name": "dgtlmoon/changedetection.io",
"version": "0.50.25",
"date": "2025-10-16T15:00:16Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.2.8",
"date": "2025-10-16T14:21:48Z"
},
{
"name": "forgejo/forgejo",
"version": "v13.0.0",
"date": "2025-10-16T13:48:56Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w42-4.14.0",
"date": "2025-10-16T12:13:42Z"
},
{
"name": "esphome/esphome",
"version": "2025.10.1",
"date": "2025-10-16T10:00:10Z"
},
{
"name": "mattermost/mattermost",
"version": "server/public/v0.1.21",
"date": "2025-10-16T09:46:16Z"
},
{
"name": "rcourtman/Pulse",
"version": "v4.24.0",
"date": "2025-10-16T09:08:47Z"
},
{
"name": "keycloak/keycloak",
"version": "26.4.1",
"date": "2025-10-16T07:21:53Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.4.0",
"date": "2025-10-16T07:20:34Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3",
"date": "2025-09-20T12:12:33Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.141",
"date": "2025-10-16T05:53:40Z"
},
{
"name": "cloudreve/cloudreve",
"version": "4.9.2",
"date": "2025-10-16T03:24:44Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.78.2-nightly",
"date": "2025-10-16T01:47:06Z"
},
{
"name": "outline/outline",
"version": "v1.0.0-test8",
"date": "2025-10-16T01:32:14Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-16T00:27:07Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{
"name": "coder/code-server",
"version": "v4.104.3",
"date": "2025-10-07T17:42:11Z"
}, },
{ {
"name": "inventree/InvenTree", "name": "inventree/InvenTree",
"version": "1.0.6", "version": "1.0.6",
"date": "2025-10-15T22:10:17Z" "date": "2025-10-15T22:10:17Z"
}, },
{
"name": "openhab/openhab-core",
"version": "4.3.8",
"date": "2025-10-15T20:28:39Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2025-10-14T19:51:52Z"
},
{ {
"name": "Ombi-app/Ombi", "name": "Ombi-app/Ombi",
"version": "v4.47.1", "version": "v4.47.1",
@@ -49,11 +159,6 @@
"version": "v0.30.3", "version": "v0.30.3",
"date": "2025-10-15T18:25:36Z" "date": "2025-10-15T18:25:36Z"
}, },
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{ {
"name": "msgbyte/tianji", "name": "msgbyte/tianji",
"version": "v1.28.0", "version": "v1.28.0",
@@ -64,11 +169,6 @@
"version": "v11.5.0", "version": "v11.5.0",
"date": "2025-10-15T16:00:17Z" "date": "2025-10-15T16:00:17Z"
}, },
{
"name": "chrisbenincasa/tunarr",
"version": "v0.22.7",
"date": "2025-10-15T13:30:47Z"
},
{ {
"name": "linkwarden/linkwarden", "name": "linkwarden/linkwarden",
"version": "v2.13.1", "version": "v2.13.1",
@@ -89,11 +189,6 @@
"version": "jenkins-2.528.1", "version": "jenkins-2.528.1",
"date": "2025-10-15T12:51:20Z" "date": "2025-10-15T12:51:20Z"
}, },
{
"name": "keycloak/keycloak",
"version": "26.2.10",
"date": "2025-10-15T12:48:06Z"
},
{ {
"name": "Graylog2/graylog2-server", "name": "Graylog2/graylog2-server",
"version": "7.0.0-beta.5", "version": "7.0.0-beta.5",
@@ -116,13 +211,8 @@
}, },
{ {
"name": "crowdsecurity/crowdsec", "name": "crowdsecurity/crowdsec",
"version": "v1.7.0", "version": "v1.7.1",
"date": "2025-09-01T10:10:34Z" "date": "2025-10-15T10:44:03Z"
},
{
"name": "mattermost/mattermost",
"version": "v10.12.1",
"date": "2025-10-15T08:15:09Z"
}, },
{ {
"name": "openobserve/openobserve", "name": "openobserve/openobserve",
@@ -139,31 +229,11 @@
"version": "4.9.1.80", "version": "4.9.1.80",
"date": "2025-09-30T20:25:16Z" "date": "2025-09-30T20:25:16Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.24.134",
"date": "2025-10-15T05:52:51Z"
},
{
"name": "esphome/esphome",
"version": "2025.10.0",
"date": "2025-10-15T04:30:41Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-10-15T00:27:08Z"
},
{ {
"name": "seerr-team/seerr", "name": "seerr-team/seerr",
"version": "preview-seerr", "version": "preview-seerr",
"date": "2025-10-14T22:21:33Z" "date": "2025-10-14T22:21:33Z"
}, },
{
"name": "BerriAI/litellm",
"version": "v1.78.0.rc.3",
"date": "2025-10-14T21:41:36Z"
},
{ {
"name": "apache/cassandra", "name": "apache/cassandra",
"version": "5.0.6-tentative", "version": "5.0.6-tentative",
@@ -189,11 +259,6 @@
"version": "v1.88.4", "version": "v1.88.4",
"date": "2025-10-14T17:57:52Z" "date": "2025-10-14T17:57:52Z"
}, },
{
"name": "rcourtman/Pulse",
"version": "issue-551",
"date": "2025-10-14T17:44:44Z"
},
{ {
"name": "plankanban/planka", "name": "plankanban/planka",
"version": "planka-1.1.0", "version": "planka-1.1.0",
@@ -219,21 +284,6 @@
"version": "n8n@1.115.3", "version": "n8n@1.115.3",
"date": "2025-10-14T14:40:17Z" "date": "2025-10-14T14:40:17Z"
}, },
{
"name": "dgtlmoon/changedetection.io",
"version": "0.50.24",
"date": "2025-10-14T09:04:27Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3",
"date": "2025-09-20T12:12:33Z"
},
{
"name": "cloudreve/cloudreve",
"version": "4.9.1",
"date": "2025-10-14T02:56:21Z"
},
{ {
"name": "Prowlarr/Prowlarr", "name": "Prowlarr/Prowlarr",
"version": "v2.0.5.5160", "version": "v2.0.5.5160",
@@ -249,11 +299,6 @@
"version": "v10.10.7", "version": "v10.10.7",
"date": "2025-04-05T19:14:59Z" "date": "2025-04-05T19:14:59Z"
}, },
{
"name": "outline/outline",
"version": "v1.0.0-2",
"date": "2025-10-13T20:23:43Z"
},
{ {
"name": "hargata/lubelog", "name": "hargata/lubelog",
"version": "v1.5.3", "version": "v1.5.3",
@@ -284,16 +329,6 @@
"version": "v0.29.0-rc.0", "version": "v0.29.0-rc.0",
"date": "2025-10-10T01:13:27Z" "date": "2025-10-10T01:13:27Z"
}, },
{
"name": "SigNoz/signoz",
"version": "v0.97.1",
"date": "2025-10-13T07:42:50Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.3.3",
"date": "2025-10-13T07:17:02Z"
},
{ {
"name": "moghtech/komodo", "name": "moghtech/komodo",
"version": "v1.19.5", "version": "v1.19.5",
@@ -344,11 +379,6 @@
"version": "v0.10.4", "version": "v0.10.4",
"date": "2025-10-11T19:53:39Z" "date": "2025-10-11T19:53:39Z"
}, },
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v1.4.0",
"date": "2025-10-11T18:16:32Z"
},
{ {
"name": "duplicati/duplicati", "name": "duplicati/duplicati",
"version": "v2.1.2.3-2.1.2.3_beta_2025-10-11", "version": "v2.1.2.3-2.1.2.3_beta_2025-10-11",
@@ -434,21 +464,11 @@
"version": "v25.7.1", "version": "v25.7.1",
"date": "2025-10-09T15:42:11Z" "date": "2025-10-09T15:42:11Z"
}, },
{
"name": "wazuh/wazuh",
"version": "coverity-w41-4.14.0",
"date": "2025-10-03T18:56:57Z"
},
{ {
"name": "silverbulletmd/silverbullet", "name": "silverbulletmd/silverbullet",
"version": "2.1.9", "version": "2.1.9",
"date": "2025-10-09T13:57:14Z" "date": "2025-10-09T13:57:14Z"
}, },
{
"name": "tobychui/zoraxy",
"version": "v3.2.7",
"date": "2025-10-09T12:50:53Z"
},
{ {
"name": "glpi-project/glpi", "name": "glpi-project/glpi",
"version": "11.0.1", "version": "11.0.1",
@@ -519,11 +539,6 @@
"version": "1.23.5", "version": "1.23.5",
"date": "2025-10-08T07:31:37Z" "date": "2025-10-08T07:31:37Z"
}, },
{
"name": "open-webui/open-webui",
"version": "v0.6.33",
"date": "2025-10-07T21:20:37Z"
},
{ {
"name": "pelican-dev/wings", "name": "pelican-dev/wings",
"version": "v1.0.0-beta18", "version": "v1.0.0-beta18",
@@ -534,11 +549,6 @@
"version": "v0.15.1", "version": "v0.15.1",
"date": "2025-10-07T20:30:56Z" "date": "2025-10-07T20:30:56Z"
}, },
{
"name": "coder/code-server",
"version": "v4.104.3",
"date": "2025-10-07T17:42:11Z"
},
{ {
"name": "VictoriaMetrics/VictoriaMetrics", "name": "VictoriaMetrics/VictoriaMetrics",
"version": "pmm-6401-v1.127.0", "version": "pmm-6401-v1.127.0",
@@ -799,11 +809,6 @@
"version": "1.2.39", "version": "1.2.39",
"date": "2025-09-25T15:57:02Z" "date": "2025-09-25T15:57:02Z"
}, },
{
"name": "forgejo/forgejo",
"version": "v14.0.0-dev",
"date": "2025-09-25T13:19:45Z"
},
{ {
"name": "rclone/rclone", "name": "rclone/rclone",
"version": "v1.71.1", "version": "v1.71.1",
@@ -984,11 +989,6 @@
"version": "v2.18.4", "version": "v2.18.4",
"date": "2025-09-07T23:57:32Z" "date": "2025-09-07T23:57:32Z"
}, },
{
"name": "minio/minio",
"version": "RELEASE.2025-09-07T16-13-09Z",
"date": "2025-09-07T18:53:04Z"
},
{ {
"name": "CrazyWolf13/streamlink-webui", "name": "CrazyWolf13/streamlink-webui",
"version": "0.6", "version": "0.6",

View File

@@ -13,6 +13,8 @@ setting_up_container
network_check network_check
update_os update_os
setup_go
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt update $STD apt update
$STD apt -y install \ $STD apt -y install \
@@ -33,48 +35,38 @@ $STD apt install -y \
python3-certbot \ python3-certbot \
python3-certbot-dns-cloudflare python3-certbot-dns-cloudflare
$STD pip3 install --break-system-packages certbot-dns-multi $STD pip3 install --break-system-packages certbot-dns-multi
$STD python3 -m venv /opt/certbot/
msg_ok "Installed Python Dependencies" msg_ok "Installed Python Dependencies"
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)" VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
msg_info "Installing Openresty" msg_info "Installing Openresty"
curl -fsSL "https://openresty.org/package/pubkey.gpg" | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg curl -fsSL "https://openresty.org/package/pubkey.gpg" | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg
echo -e "deb http://openresty.org/package/debian bullseye openresty" >/etc/apt/sources.list.d/openresty.list case "$VERSION" in
trixie)
echo -e "deb http://openresty.org/package/debian bookworm openresty" >/etc/apt/sources.list.d/openresty.list
;;
*)
echo -e "deb http://openresty.org/package/debian $VERSION openresty" >/etc/apt/sources.list.d/openresty.list
;;
esac
$STD apt update $STD apt update
$STD apt -y install openresty $STD apt -y install openresty
msg_ok "Installed Openresty" msg_ok "Installed Openresty"
msg_info "Installing Node.js" NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)
source ~/.bashrc
$STD nvm install 16.20.2
ln -sf /root/.nvm/versions/node/v16.20.2/bin/node /usr/bin/node
msg_ok "Installed Node.js"
msg_info "Installing pnpm"
$STD npm install -g pnpm@8.15
msg_ok "Installed pnpm"
RELEASE=$(curl -fsSL https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest | RELEASE=$(curl -fsSL https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
grep "tag_name" | grep "tag_name" |
awk '{print substr($2, 3, length($2)-4) }') awk '{print substr($2, 3, length($2)-4) }')
read -r -p "${TAB3}Would you like to install an older version (v2.10.4)? <y/N> " prompt msg_info "Downloading Nginx Proxy Manager v${RELEASE}"
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then curl -fsSL "https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v${RELEASE}" | tar -xz
msg_info "Downloading Nginx Proxy Manager v2.10.4" cd ./nginx-proxy-manager-"${RELEASE}"
curl -fsSL "https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v2.10.4" | tar -xz msg_ok "Downloaded Nginx Proxy Manager v${RELEASE}"
cd ./nginx-proxy-manager-2.10.4
msg_ok "Downloaded Nginx Proxy Manager v2.10.4"
else
msg_info "Downloading Nginx Proxy Manager v${RELEASE}"
curl -fsSL "https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v${RELEASE}" | tar -xz
cd ./nginx-proxy-manager-"${RELEASE}"
msg_ok "Downloaded Nginx Proxy Manager v${RELEASE}"
fi
msg_info "Setting up Environment" msg_info "Setting up Environment"
ln -sf /usr/bin/python3 /usr/bin/python ln -sf /usr/bin/python3 /usr/bin/python
ln -sf /usr/bin/certbot /opt/certbot/bin/certbot ln -sf /usr/bin/certbot /usr/local/bin/certbot
ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx
ln -sf /usr/local/openresty/nginx/ /etc/nginx ln -sf /usr/local/openresty/nginx/ /etc/nginx
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
@@ -185,7 +177,6 @@ customize
msg_info "Starting Services" msg_info "Starting Services"
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
systemctl enable -q --now openresty systemctl enable -q --now openresty
systemctl enable -q --now npm systemctl enable -q --now npm
msg_ok "Started Services" msg_ok "Started Services"

View File

@@ -22,8 +22,7 @@ $STD apt install -y \
optipng \ optipng \
libpq-dev \ libpq-dev \
libmagic-dev \ libmagic-dev \
mime-support \ libzbar0t64 \
libzbar0 \
poppler-utils \ poppler-utils \
default-libmysqlclient-dev \ default-libmysqlclient-dev \
automake \ automake \
@@ -31,37 +30,22 @@ $STD apt install -y \
pkg-config \ pkg-config \
libtiff-dev \ libtiff-dev \
libpng-dev \ libpng-dev \
libleptonica-dev libleptonica-dev \
unpaper \
icc-profiles-free \
qpdf \
libleptonica6 \
libxml2 \
pngquant \
zlib1g \
tesseract-ocr \
tesseract-ocr-eng \
ghostscript
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
PG_VERSION="16" setup_postgresql PG_VERSION="16" setup_postgresql
PYTHON_VERSION="3.13" setup_uv PYTHON_VERSION="3.13" setup_uv
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"
fetch_and_deploy_gh_release "jbig2enc" "ie13/jbig2enc" "tarball" "latest" "/opt/jbig2enc"
setup_gs
msg_info "Installing OCR Dependencies (Patience)"
$STD apt install -y \
unpaper \
icc-profiles-free \
qpdf \
liblept5 \
libxml2 \
pngquant \
zlib1g \
tesseract-ocr \
tesseract-ocr-eng
msg_ok "Installed OCR Dependencies"
msg_info "Setup JBIG2"
cd /opt/jbig2enc
$STD bash ./autogen.sh
$STD bash ./configure
$STD make
$STD make install
cd /
rm -rf /opt/jbig2enc
msg_ok "Installed JBIG2"
msg_info "Setting up PostgreSQL database" msg_info "Setting up PostgreSQL database"
DB_NAME=paperlessdb DB_NAME=paperlessdb
@@ -126,7 +110,11 @@ $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 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_tab || \
$STD uv run python -m nltk.downloader -d /usr/share/nltk_data punkt $STD uv run python -m nltk.downloader -d /usr/share/nltk_data punkt
sed -i -e 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml for policy_file in /etc/ImageMagick-6/policy.xml /etc/ImageMagick-7/policy.xml; do
if [[ -f "$policy_file" ]]; then
sed -i -e 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' "$policy_file"
fi
done
msg_ok "Installed Natural Language Toolkit" msg_ok "Installed Natural Language Toolkit"
msg_info "Creating Services" msg_info "Creating Services"

View File

@@ -14,9 +14,9 @@ network_check
update_os update_os
msg_info "Installing Proxmox Backup Server" msg_info "Installing Proxmox Backup Server"
curl -fsSL "https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg" -o "/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg" curl -fsSL "https://enterprise.proxmox.com/debian/proxmox-release-trixie.gpg" -o "/etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg"
cat <<EOF >>/etc/apt/sources.list cat <<EOF >>/etc/apt/sources.list
deb http://download.proxmox.com/debian/pbs bookworm pbs-no-subscription deb http://download.proxmox.com/debian/pbs trixie pbs-no-subscription
EOF EOF
$STD apt update $STD apt update
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive

View File

@@ -17,8 +17,8 @@ msg_info "Installing Dependencies"
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
cat <<EOF | sudo tee /etc/apt/sources.list.d/microsoft-prod.sources >/dev/null cat <<EOF | sudo tee /etc/apt/sources.list.d/microsoft-prod.sources >/dev/null
Types: deb Types: deb
URIs: https://packages.microsoft.com/debian/13/prod/ URIs: https://packages.microsoft.com/debian/12/prod/
Suites: trixie Suites: bookworm
Components: main Components: main
Signed-By: /usr/share/keyrings/microsoft-prod.gpg Signed-By: /usr/share/keyrings/microsoft-prod.gpg
EOF EOF

View File

@@ -204,7 +204,13 @@ You normally need a valid subscription for this.
Disable it (recommended)?" 14 58 2 "yes" " " "no" " " 3>&2 2>&1 1>&3) Disable it (recommended)?" 14 58 2 "yes" " " "no" " " 3>&2 2>&1 1>&3)
case $CHOICE in case $CHOICE in
yes) yes)
sed -i '/pbs-enterprise/ s/^/# /' /etc/apt/sources.list.d/pbs-enterprise.sources msg_info "Disabling 'pbs-enterprise' repository"
# Use Enabled: false instead of commenting to avoid malformed entry
if grep -q "^Enabled:" /etc/apt/sources.list.d/pbs-enterprise.sources 2>/dev/null; then
sed -i 's/^Enabled:.*/Enabled: false/' /etc/apt/sources.list.d/pbs-enterprise.sources
else
echo "Enabled: false" >>/etc/apt/sources.list.d/pbs-enterprise.sources
fi
msg_ok "Disabled 'pbs-enterprise' repository" msg_ok "Disabled 'pbs-enterprise' repository"
;; ;;
no) no)
@@ -213,11 +219,12 @@ Disable it (recommended)?" 14 58 2 "yes" " " "no" " " 3>&2 2>&1 1>&3)
esac esac
else else
cat >/etc/apt/sources.list.d/pbs-enterprise.sources <<EOF cat >/etc/apt/sources.list.d/pbs-enterprise.sources <<EOF
# Types: deb Types: deb
# URIs: https://enterprise.proxmox.com/debian/pbs URIs: https://enterprise.proxmox.com/debian/pbs
# Suites: trixie Suites: trixie
# Components: pbs-enterprise Components: pbs-enterprise
# Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: false
EOF EOF
msg_ok "Added 'pbs-enterprise' repository (disabled)" msg_ok "Added 'pbs-enterprise' repository (disabled)"
fi fi
@@ -239,11 +246,12 @@ EOF
# --- Test repo (pbs-test, renamed) --- # --- Test repo (pbs-test, renamed) ---
if ! component_exists_in_sources "pbs-test"; then if ! component_exists_in_sources "pbs-test"; then
cat >/etc/apt/sources.list.d/pbs-test.sources <<EOF cat >/etc/apt/sources.list.d/pbs-test.sources <<EOF
# Types: deb Types: deb
# URIs: http://download.proxmox.com/debian/pbs URIs: http://download.proxmox.com/debian/pbs
# Suites: trixie Suites: trixie
# Components: pbs-test Components: pbs-test
# Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: false
EOF EOF
msg_ok "Added 'pbs-test' repository (disabled)" msg_ok "Added 'pbs-test' repository (disabled)"
else else

View File

@@ -197,7 +197,7 @@ start_routines_9() {
# Check sources.list # Check sources.list
if [[ -f "$listfile" ]] && grep -qE '^\s*deb ' "$listfile"; then if [[ -f "$listfile" ]] && grep -qE '^\s*deb ' "$listfile"; then
(( ++LEGACY_COUNT )) ((++LEGACY_COUNT))
fi fi
# Check .list files # Check .list files
@@ -289,11 +289,15 @@ EOF
msg_ok "Kept 'pve-enterprise' repository" msg_ok "Kept 'pve-enterprise' repository"
;; ;;
disable) disable)
msg_info "Disabling (commenting) 'pve-enterprise' repository" msg_info "Disabling 'pve-enterprise' repository"
# Comment out every non-comment line in the file that has 'pve-enterprise' in Components # Use Enabled: false instead of commenting to avoid malformed entry
for file in /etc/apt/sources.list.d/*.sources; do for file in /etc/apt/sources.list.d/*.sources; do
if grep -q "Components:.*pve-enterprise" "$file"; then if grep -q "Components:.*pve-enterprise" "$file"; then
sed -i '/^\s*Types:/,/^$/s/^\([^#].*\)$/# \1/' "$file" if grep -q "^Enabled:" "$file"; then
sed -i 's/^Enabled:.*/Enabled: false/' "$file"
else
echo "Enabled: false" >>"$file"
fi
fi fi
done done
msg_ok "Disabled 'pve-enterprise' repository" msg_ok "Disabled 'pve-enterprise' repository"
@@ -346,10 +350,15 @@ EOF
msg_ok "Kept 'ceph enterprise' repository" msg_ok "Kept 'ceph enterprise' repository"
;; ;;
disable) disable)
msg_info "Disabling (commenting) 'ceph enterprise' repository" msg_info "Disabling 'ceph enterprise' repository"
# Use Enabled: false instead of commenting to avoid malformed entry
for file in /etc/apt/sources.list.d/*.sources; do for file in /etc/apt/sources.list.d/*.sources; do
if grep -q "enterprise.proxmox.com.*ceph" "$file"; then if grep -q "enterprise.proxmox.com.*ceph" "$file"; then
sed -i '/^\s*Types:/,/^$/s/^\([^#].*\)$/# \1/' "$file" if grep -q "^Enabled:" "$file"; then
sed -i 's/^Enabled:.*/Enabled: false/' "$file"
else
echo "Enabled: false" >>"$file"
fi
fi fi
done done
msg_ok "Disabled 'ceph enterprise' repository" msg_ok "Disabled 'ceph enterprise' repository"
@@ -472,7 +481,17 @@ EOF
;; ;;
no) no)
msg_error "Selected no to Adding 'ceph package repositories'" msg_error "Selected no to Adding 'ceph package repositories'"
find /etc/apt/sources.list.d/ -type f \( -name "*.sources" -o -name "*.list" \) \ # Use Enabled: false for .sources files, comment for .list files
for file in /etc/apt/sources.list.d/*.sources; do
if grep -q "enterprise.proxmox.com.*ceph" "$file" 2>/dev/null; then
if grep -q "^Enabled:" "$file"; then
sed -i 's/^Enabled:.*/Enabled: false/' "$file"
else
echo "Enabled: false" >>"$file"
fi
fi
done
find /etc/apt/sources.list.d/ -type f -name "*.list" \
-exec sed -i '/enterprise.proxmox.com.*ceph/s/^/# /' {} \; -exec sed -i '/enterprise.proxmox.com.*ceph/s/^/# /' {} \;
msg_ok "Disabled all Ceph Enterprise repositories" msg_ok "Disabled all Ceph Enterprise repositories"
;; ;;
@@ -491,11 +510,12 @@ EOF
yes) yes)
msg_info "Adding 'pve-test' repository (deb822, disabled)" msg_info "Adding 'pve-test' repository (deb822, disabled)"
cat >/etc/apt/sources.list.d/pve-test.sources <<EOF cat >/etc/apt/sources.list.d/pve-test.sources <<EOF
# Types: deb Types: deb
# URIs: http://download.proxmox.com/debian/pve URIs: http://download.proxmox.com/debian/pve
# Suites: trixie Suites: trixie
# Components: pve-test Components: pve-test
# Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: false
EOF EOF
msg_ok "Added 'pve-test' repository" msg_ok "Added 'pve-test' repository"
;; ;;