1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-05-04 23:03:09 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
GitHub Actions[bot]
14c4964967 Update versions.json 2025-04-15 12:07:35 +00:00
community-scripts-pr-app[bot]
d557d01161
Update CHANGELOG.md (#3894)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-15 13:22:15 +02:00
Slaviša Arežina
cabcdc272e
Installation and update fixes (#3895) 2025-04-15 13:03:51 +02:00
Slaviša Arežina
e8e4748c96
Fix update error caused by externaly managed message (#3892) 2025-04-15 11:22:43 +02:00
5 changed files with 204 additions and 189 deletions

View File

@ -14,6 +14,15 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment. All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
## 2025-04-15
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Outline: Installation and update fixes [@tremor021](https://github.com/tremor021) ([#3895](https://github.com/community-scripts/ProxmoxVE/pull/3895))
- SABnzbd: Fix update error caused by externaly managed message [@tremor021](https://github.com/tremor021) ([#3892](https://github.com/community-scripts/ProxmoxVE/pull/3892))
## 2025-04-14 ## 2025-04-14
### 🆕 New Scripts ### 🆕 New Scripts

View File

@ -35,14 +35,17 @@ function update_script() {
msg_info "Updating ${APP} to ${RELEASE}" msg_info "Updating ${APP} to ${RELEASE}"
temp_file=$(mktemp) temp_file=$(mktemp)
rm -rf /opt/outline/node_modules cp /opt/outline/.env /opt
curl -fsSL "https://github.com/outline/outline/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" rm -rf /opt/outline
tar zxf $temp_file curl -fsSL "https://github.com/outline/outline/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file"
cp -rf outline-${RELEASE}/* /opt/outline tar zxf "$temp_file"
cd /opt/outline mv outline-"${RELEASE}" /opt/outline
cd /opt/outline || exit
export NODE_ENV=development
export NODE_OPTIONS="--max-old-space-size=3584" export NODE_OPTIONS="--max-old-space-size=3584"
$STD yarn install --frozen-lockfile $STD yarn install --frozen-lockfile
$STD yarn build $STD yarn build
mv /opt/.env /opt/outline
echo "${RELEASE}" >/opt/${APP}_version.txt echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP}" msg_ok "Updated ${APP}"
@ -51,8 +54,8 @@ curl -fsSL "https://github.com/outline/outline/archive/refs/tags/v${RELEASE}.tar
msg_ok "Started Services" msg_ok "Started Services"
msg_info "Cleaning Up" msg_info "Cleaning Up"
rm -rf $temp_file rm -rf "$temp_file"
rm -rf $HOME/outline-${RELEASE} rm -rf "$HOME"/outline-"${RELEASE}"
msg_ok "Cleaned" msg_ok "Cleaned"
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
else else

View File

@ -30,6 +30,7 @@ function update_script() {
RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_info "Updating $APP to ${RELEASE}" msg_info "Updating $APP to ${RELEASE}"
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
systemctl stop sabnzbd.service systemctl stop sabnzbd.service
tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz) tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz)
cp -rf SABnzbd-${RELEASE}/* /opt/sabnzbd cp -rf SABnzbd-${RELEASE}/* /opt/sabnzbd

View File

@ -1,14 +1,129 @@
[ [
{
"name": "fhem/fhem-mirror",
"version": "6.2",
"date": "2025-04-15T10:34:54Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.86.1",
"date": "2025-04-09T09:20:55Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w16-4.12.0",
"date": "2025-04-15T08:25:08Z"
},
{
"name": "mattermost/mattermost",
"version": "v10.6.2",
"date": "2025-04-15T08:14:23Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.1778",
"date": "2025-04-15T06:26:21Z"
},
{
"name": "slskd/slskd",
"version": "0.22.5",
"date": "2025-04-15T02:52:26Z"
},
{
"name": "blakeblackshear/frigate",
"version": "v0.14.1",
"date": "2024-08-29T22:32:51Z"
},
{
"name": "esphome/esphome",
"version": "2025.3.3",
"date": "2025-03-31T22:07:05Z"
},
{
"name": "moghtech/komodo",
"version": "v1.17.1",
"date": "2025-04-14T22:35:13Z"
},
{
"name": "influxdata/influxdb",
"version": "v3.0.0",
"date": "2025-04-14T22:16:28Z"
},
{
"name": "Kareadita/Kavita",
"version": "v0.8.6",
"date": "2025-04-14T22:09:30Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.0",
"date": "2025-04-11T12:48:27Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.15.2",
"date": "2025-04-14T20:48:52Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.13.13",
"date": "2025-04-11T10:15:13Z"
},
{
"name": "netbox-community/netbox",
"version": "v4.2.7",
"date": "2025-04-10T20:08:13Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.1.0.115-2.1.0.115_canary_2025-04-14",
"date": "2025-04-14T18:03:36Z"
},
{
"name": "OliveTin/OliveTin",
"version": "2025.4.14",
"date": "2025-04-14T16:53:53Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.20.0",
"date": "2025-04-14T16:19:23Z"
},
{
"name": "home-assistant/operating-system",
"version": "15.2",
"date": "2025-04-14T15:37:12Z"
},
{
"name": "Checkmk/checkmk",
"version": "v2.4.0b5-rc1",
"date": "2025-04-14T15:29:21Z"
},
{
"name": "stackblitz-labs/bolt.diy",
"version": "v0.0.7-hf1",
"date": "2025-03-10T20:49:39Z"
},
{
"name": "zabbix/zabbix",
"version": "7.2.6rc1",
"date": "2025-04-14T15:00:15Z"
},
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.0.9",
"date": "2025-04-14T14:40:34Z"
},
{
"name": "AdguardTeam/AdGuardHome",
"version": "v0.107.60",
"date": "2025-04-14T11:46:19Z"
},
{ {
"name": "Graylog2/graylog2-server", "name": "Graylog2/graylog2-server",
"version": "6.2.0-rc.1", "version": "6.2.0-rc.1",
"date": "2025-04-14T11:26:18Z" "date": "2025-04-14T11:26:18Z"
}, },
{
"name": "fhem/fhem-mirror",
"version": "6.2",
"date": "2025-04-14T10:36:18Z"
},
{ {
"name": "bluenviron/mediamtx", "name": "bluenviron/mediamtx",
"version": "v1.12.0", "version": "v1.12.0",
@ -29,16 +144,6 @@
"version": "v10.2.0", "version": "v10.2.0",
"date": "2025-04-14T08:53:44Z" "date": "2025-04-14T08:53:44Z"
}, },
{
"name": "zabbix/zabbix",
"version": "6.0.40rc1",
"date": "2025-04-14T08:45:46Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.1.0.114-2.1.0.114_canary_2025-04-14",
"date": "2025-04-14T07:54:21Z"
},
{ {
"name": "evcc-io/evcc", "name": "evcc-io/evcc",
"version": "0.203.1", "version": "0.203.1",
@ -49,11 +154,6 @@
"version": "v1.5.1", "version": "v1.5.1",
"date": "2025-01-01T16:15:52Z" "date": "2025-01-01T16:15:52Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.22.1775",
"date": "2025-04-14T05:59:53Z"
},
{ {
"name": "firefly-iii/firefly-iii", "name": "firefly-iii/firefly-iii",
"version": "v6.2.10", "version": "v6.2.10",
@ -94,11 +194,6 @@
"version": "v3.10.0", "version": "v3.10.0",
"date": "2025-03-15T14:38:16Z" "date": "2025-03-15T14:38:16Z"
}, },
{
"name": "keycloak/keycloak",
"version": "26.2.0",
"date": "2025-04-11T12:48:27Z"
},
{ {
"name": "karakeep-app/karakeep", "name": "karakeep-app/karakeep",
"version": "mcp/v0.23.4", "version": "mcp/v0.23.4",
@ -134,11 +229,6 @@
"version": "v5.21.1.9799", "version": "v5.21.1.9799",
"date": "2025-03-24T15:52:12Z" "date": "2025-03-24T15:52:12Z"
}, },
{
"name": "slskd/slskd",
"version": "0.22.4",
"date": "2025-04-13T00:14:13Z"
},
{ {
"name": "Tautulli/Tautulli", "name": "Tautulli/Tautulli",
"version": "v2.15.2", "version": "v2.15.2",
@ -149,11 +239,6 @@
"version": "v0.2.11", "version": "v0.2.11",
"date": "2025-04-12T21:13:08Z" "date": "2025-04-12T21:13:08Z"
}, },
{
"name": "semaphoreui/semaphore",
"version": "v2.14.0-beta1",
"date": "2025-04-12T20:14:09Z"
},
{ {
"name": "MediaBrowser/Emby.Releases", "name": "MediaBrowser/Emby.Releases",
"version": "4.8.11.0", "version": "4.8.11.0",
@ -179,11 +264,6 @@
"version": "v1.16.0", "version": "v1.16.0",
"date": "2025-04-11T19:15:24Z" "date": "2025-04-11T19:15:24Z"
}, },
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.0.8",
"date": "2025-04-03T05:11:15Z"
},
{ {
"name": "tailscale/tailscale", "name": "tailscale/tailscale",
"version": "v1.82.4", "version": "v1.82.4",
@ -224,11 +304,6 @@
"version": "4.5.1", "version": "4.5.1",
"date": "2025-04-11T09:57:47Z" "date": "2025-04-11T09:57:47Z"
}, },
{
"name": "home-assistant/operating-system",
"version": "15.1",
"date": "2025-03-31T13:42:20Z"
},
{ {
"name": "outline/outline", "name": "outline/outline",
"version": "v0.83.0", "version": "v0.83.0",
@ -244,11 +319,6 @@
"version": "2.2.8", "version": "2.2.8",
"date": "2025-04-10T20:30:49Z" "date": "2025-04-10T20:30:49Z"
}, },
{
"name": "netbox-community/netbox",
"version": "v4.2.7",
"date": "2025-04-10T20:08:13Z"
},
{ {
"name": "gristlabs/grist-core", "name": "gristlabs/grist-core",
"version": "v1.5.1", "version": "v1.5.1",
@ -279,21 +349,11 @@
"version": "v2.35.0", "version": "v2.35.0",
"date": "2025-04-10T13:45:22Z" "date": "2025-04-10T13:45:22Z"
}, },
{
"name": "n8n-io/n8n",
"version": "n8n@1.86.1",
"date": "2025-04-09T09:20:55Z"
},
{ {
"name": "mongodb/mongo", "name": "mongodb/mongo",
"version": "r8.0.5-rc2", "version": "r8.0.5-rc2",
"date": "2025-04-09T22:37:52Z" "date": "2025-04-09T22:37:52Z"
}, },
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.15.1",
"date": "2025-04-09T22:26:39Z"
},
{ {
"name": "jupyter/notebook", "name": "jupyter/notebook",
"version": "v7.4.0", "version": "v7.4.0",
@ -324,16 +384,6 @@
"version": "debian/12.0.14", "version": "debian/12.0.14",
"date": "2025-04-09T10:09:00Z" "date": "2025-04-09T10:09:00Z"
}, },
{
"name": "esphome/esphome",
"version": "2025.3.3",
"date": "2025-03-31T22:07:05Z"
},
{
"name": "OliveTin/OliveTin",
"version": "2025.4.8",
"date": "2025-04-08T22:02:50Z"
},
{ {
"name": "minio/minio", "name": "minio/minio",
"version": "RELEASE.2025-04-08T15-41-24Z", "version": "RELEASE.2025-04-08T15-41-24Z",
@ -344,21 +394,11 @@
"version": "version/2025.2.4", "version": "version/2025.2.4",
"date": "2025-04-08T18:39:57Z" "date": "2025-04-08T18:39:57Z"
}, },
{
"name": "influxdata/influxdb",
"version": "v1.12.0rc1",
"date": "2025-04-08T17:35:21Z"
},
{ {
"name": "jenkinsci/jenkins", "name": "jenkinsci/jenkins",
"version": "jenkins-2.505", "version": "jenkins-2.505",
"date": "2025-04-08T15:46:42Z" "date": "2025-04-08T15:46:42Z"
}, },
{
"name": "AdguardTeam/AdGuardHome",
"version": "v0.107.59",
"date": "2025-03-21T11:11:39Z"
},
{ {
"name": "element-hq/synapse", "name": "element-hq/synapse",
"version": "v1.128.0", "version": "v1.128.0",
@ -394,16 +434,6 @@
"version": "v1.23.7", "version": "v1.23.7",
"date": "2025-04-07T19:27:52Z" "date": "2025-04-07T19:27:52Z"
}, },
{
"name": "Checkmk/checkmk",
"version": "v2.4.0b4",
"date": "2025-04-07T19:14:53Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w15-4.12.0",
"date": "2025-04-07T17:50:14Z"
},
{ {
"name": "thomiceli/opengist", "name": "thomiceli/opengist",
"version": "v1.10.0", "version": "v1.10.0",
@ -424,11 +454,6 @@
"version": "v24.8", "version": "v24.8",
"date": "2025-03-18T07:33:51Z" "date": "2025-03-18T07:33:51Z"
}, },
{
"name": "mattermost/mattermost",
"version": "server/public/v0.1.11",
"date": "2025-03-28T14:04:31Z"
},
{ {
"name": "Dolibarr/dolibarr", "name": "Dolibarr/dolibarr",
"version": "21.0.1", "version": "21.0.1",
@ -449,16 +474,6 @@
"version": "1.5.34", "version": "1.5.34",
"date": "2025-03-27T16:17:38Z" "date": "2025-03-27T16:17:38Z"
}, },
{
"name": "stackblitz-labs/bolt.diy",
"version": "v0.0.7-hf1",
"date": "2025-03-10T20:49:39Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.19.7",
"date": "2025-04-06T14:22:44Z"
},
{ {
"name": "TechnitiumSoftware/DnsServer", "name": "TechnitiumSoftware/DnsServer",
"version": "v13.5.0", "version": "v13.5.0",
@ -729,11 +744,6 @@
"version": "v2.5.307", "version": "v2.5.307",
"date": "2025-03-24T01:33:31Z" "date": "2025-03-24T01:33:31Z"
}, },
{
"name": "moghtech/komodo",
"version": "v1.17.0",
"date": "2025-03-24T00:46:32Z"
},
{ {
"name": "nicolargo/glances", "name": "nicolargo/glances",
"version": "v4.3.1", "version": "v4.3.1",
@ -789,11 +799,6 @@
"version": "v2.20.0", "version": "v2.20.0",
"date": "2025-03-17T22:44:56Z" "date": "2025-03-17T22:44:56Z"
}, },
{
"name": "Kareadita/Kavita",
"version": "v0.8.5.11",
"date": "2025-03-17T19:25:25Z"
},
{ {
"name": "Sonarr/Sonarr", "name": "Sonarr/Sonarr",
"version": "v4.0.14.2939", "version": "v4.0.14.2939",
@ -1004,11 +1009,6 @@
"version": "1.33.2", "version": "1.33.2",
"date": "2025-02-09T17:54:59Z" "date": "2025-02-09T17:54:59Z"
}, },
{
"name": "blakeblackshear/frigate",
"version": "v0.15.0",
"date": "2025-02-08T18:45:30Z"
},
{ {
"name": "apache/tika", "name": "apache/tika",
"version": "2.9.3", "version": "2.9.3",

View File

@ -43,7 +43,6 @@ $STD apt-get install -y postgresql-16
DB_NAME="outline" DB_NAME="outline"
DB_USER="outline" DB_USER="outline"
DB_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)" DB_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
SECRET_KEY="$(openssl rand -hex 32)"
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';" $STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;" $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
@ -52,6 +51,7 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC';"
msg_ok "Set up PostgreSQL" msg_ok "Set up PostgreSQL"
msg_info "Setup Outline (Patience)" msg_info "Setup Outline (Patience)"
SECRET_KEY="$(openssl rand -hex 32)"
temp_file=$(mktemp) temp_file=$(mktemp)
LOCAL_IP="$(hostname -I | awk '{print $1}')" LOCAL_IP="$(hostname -I | awk '{print $1}')"
RELEASE=$(curl -fsSL https://api.github.com/repos/outline/outline/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -fsSL https://api.github.com/repos/outline/outline/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
@ -60,6 +60,7 @@ tar zxf $temp_file
mv outline-${RELEASE} /opt/outline mv outline-${RELEASE} /opt/outline
cd /opt/outline cd /opt/outline
cp .env.sample .env cp .env.sample .env
export NODE_ENV=development
sed -i 's/NODE_ENV=production/NODE_ENV=development/g' /opt/outline/.env sed -i 's/NODE_ENV=production/NODE_ENV=development/g' /opt/outline/.env
sed -i "s/generate_a_new_key/${SECRET_KEY}/g" /opt/outline/.env sed -i "s/generate_a_new_key/${SECRET_KEY}/g" /opt/outline/.env
sed -i "s/user:pass@postgres/${DB_USER}:${DB_PASS}@localhost/g" /opt/outline/.env sed -i "s/user:pass@postgres/${DB_USER}:${DB_PASS}@localhost/g" /opt/outline/.env
@ -70,6 +71,7 @@ $STD yarn install --frozen-lockfile
export NODE_OPTIONS="--max-old-space-size=3584" export NODE_OPTIONS="--max-old-space-size=3584"
$STD yarn build $STD yarn build
sed -i 's/NODE_ENV=development/NODE_ENV=production/g' /opt/outline/.env sed -i 's/NODE_ENV=development/NODE_ENV=production/g' /opt/outline/.env
export NODE_ENV=production
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt" echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
msg_ok "Setup Outline" msg_ok "Setup Outline"
@ -83,7 +85,7 @@ After=network.target
Type=simple Type=simple
User=root User=root
WorkingDirectory=/opt/outline WorkingDirectory=/opt/outline
ExecStart=/usr/bin/node ./build/server/index.js ExecStart=/usr/bin/yarn start
Restart=always Restart=always
EnvironmentFile=/opt/outline/.env EnvironmentFile=/opt/outline/.env