mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-31 20:45:47 +00:00
Compare commits
1 Commits
main
...
fix-nodejs
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
513362ec1c |
8
.github/workflows/auto-update-app-headers.yml
generated
vendored
8
.github/workflows/auto-update-app-headers.yml
generated
vendored
@@ -24,15 +24,15 @@ jobs:
|
|||||||
id: generate-token
|
id: generate-token
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_PR_ID }}
|
app-id: ${{ vars.APP_ID }}
|
||||||
private-key: ${{ secrets.GHAPP_PR_PRIVATE_KEY }}
|
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Generate a token for PR approval and merge
|
- name: Generate a token for PR approval and merge
|
||||||
id: generate-token-merge
|
id: generate-token-merge
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_MERGEBOT_ID }}
|
app-id: ${{ secrets.APP_ID_APPROVE_AND_MERGE }}
|
||||||
private-key: ${{ secrets.GHAPP_MERGEBOT_PRIVATE_KEY }}
|
private-key: ${{ secrets.APP_KEY_APPROVE_AND_MERGE }}
|
||||||
|
|
||||||
# Step 1: Checkout repository
|
# Step 1: Checkout repository
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
8
.github/workflows/changelog-archive.yml
generated
vendored
8
.github/workflows/changelog-archive.yml
generated
vendored
@@ -21,15 +21,15 @@ jobs:
|
|||||||
id: generate-token
|
id: generate-token
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_PR_ID }}
|
app-id: ${{ vars.APP_ID }}
|
||||||
private-key: ${{ secrets.GHAPP_PR_PRIVATE_KEY }}
|
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Generate a token for PR approval and merge
|
- name: Generate a token for PR approval and merge
|
||||||
id: generate-token-merge
|
id: generate-token-merge
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_MERGEBOT_ID }}
|
app-id: ${{ secrets.APP_ID_APPROVE_AND_MERGE }}
|
||||||
private-key: ${{ secrets.GHAPP_MERGEBOT_PRIVATE_KEY }}
|
private-key: ${{ secrets.APP_KEY_APPROVE_AND_MERGE }}
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v7
|
uses: actions/checkout@v7
|
||||||
|
|||||||
8
.github/workflows/changelog-pr.yml
generated
vendored
8
.github/workflows/changelog-pr.yml
generated
vendored
@@ -26,15 +26,15 @@ jobs:
|
|||||||
id: generate-token
|
id: generate-token
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_PR_ID }}
|
app-id: ${{ vars.APP_ID }}
|
||||||
private-key: ${{ secrets.GHAPP_PR_PRIVATE_KEY }}
|
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Generate a token for PR approval and merge
|
- name: Generate a token for PR approval and merge
|
||||||
id: generate-token-merge
|
id: generate-token-merge
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_MERGEBOT_ID }}
|
app-id: ${{ secrets.APP_ID_APPROVE_AND_MERGE }}
|
||||||
private-key: ${{ secrets.GHAPP_MERGEBOT_PRIVATE_KEY }}
|
private-key: ${{ secrets.APP_KEY_APPROVE_AND_MERGE }}
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v7
|
uses: actions/checkout@v7
|
||||||
|
|||||||
6
.github/workflows/close_issue_in_dev.yaml
generated
vendored
6
.github/workflows/close_issue_in_dev.yaml
generated
vendored
@@ -128,7 +128,7 @@ jobs:
|
|||||||
if: steps.find_issue.outputs.issue_numbers != ''
|
if: steps.find_issue.outputs.issue_numbers != ''
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_CROSS_REPO_TOKEN }}
|
GH_TOKEN: ${{ secrets.PAT_MICHEL }}
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
ISSUE_NUMBERS: ${{ steps.find_issue.outputs.issue_numbers }}
|
ISSUE_NUMBERS: ${{ steps.find_issue.outputs.issue_numbers }}
|
||||||
run: |
|
run: |
|
||||||
@@ -147,8 +147,8 @@ jobs:
|
|||||||
- name: Set is_dev to false in PocketBase
|
- name: Set is_dev to false in PocketBase
|
||||||
if: steps.get_slugs.outputs.count != '0'
|
if: steps.get_slugs.outputs.count != '0'
|
||||||
env:
|
env:
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
PR_URL: ${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.pull_request.number }}
|
PR_URL: ${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.pull_request.number }}
|
||||||
|
|||||||
8
.github/workflows/delete-pocketbase-entry-on-removal.yml
generated
vendored
8
.github/workflows/delete-pocketbase-entry-on-removal.yml
generated
vendored
@@ -75,8 +75,8 @@ jobs:
|
|||||||
- name: Mark as deleted in PocketBase
|
- name: Mark as deleted in PocketBase
|
||||||
if: steps.slugs.outputs.count != '0'
|
if: steps.slugs.outputs.count != '0'
|
||||||
env:
|
env:
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
@@ -175,8 +175,8 @@ jobs:
|
|||||||
- name: Generate CT stubs for deleted scripts
|
- name: Generate CT stubs for deleted scripts
|
||||||
if: steps.slugs.outputs.count != '0'
|
if: steps.slugs.outputs.count != '0'
|
||||||
env:
|
env:
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
4
.github/workflows/notify-breaking-change.yml
generated
vendored
4
.github/workflows/notify-breaking-change.yml
generated
vendored
@@ -33,8 +33,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Notify site of breaking change
|
- name: Notify site of breaking change
|
||||||
env:
|
env:
|
||||||
INGEST_SECRET: ${{ secrets.FRONTEND_ADVISORY_SECRET }}
|
INGEST_SECRET: ${{ secrets.BREAKING_CHANGE_INGEST_SECRET }}
|
||||||
SITE_URL: ${{ vars.FRONTEND_URL || 'https://community-scripts.org' }}
|
SITE_URL: ${{ secrets.FRONTEND_URL || vars.SITE_URL || 'https://community-scripts.org' }}
|
||||||
PR: ${{ github.event.pull_request.number }}
|
PR: ${{ github.event.pull_request.number }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
14
.github/workflows/pocketbase-ai-bot.yml
generated
vendored
14
.github/workflows/pocketbase-ai-bot.yml
generated
vendored
@@ -28,26 +28,26 @@ jobs:
|
|||||||
id: app-token
|
id: app-token
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_PBBOT_ID }}
|
app-id: ${{ secrets.PB_BOT_APP_ID }}
|
||||||
private-key: ${{ secrets.GHAPP_PBBOT_PRIVATE_KEY }}
|
private-key: ${{ secrets.PB_BOT_APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Run PocketBase AI bot
|
- name: Run PocketBase AI bot
|
||||||
env:
|
env:
|
||||||
# GitHub REST as the bot identity
|
# GitHub REST as the bot identity
|
||||||
GH_APP_TOKEN: ${{ steps.app-token.outputs.token }}
|
GH_APP_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
PB_BOT_APP_ID: ${{ vars.GHAPP_PBBOT_ID }}
|
PB_BOT_APP_ID: ${{ secrets.PB_BOT_APP_ID }}
|
||||||
# GitHub Models inference uses the built-in token (needs models: read)
|
# GitHub Models inference uses the built-in token (needs models: read)
|
||||||
MODELS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
MODELS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Built-in token for git/PR ops (CT-defaults sync), mirroring the slash bot
|
# Built-in token for git/PR ops (CT-defaults sync), mirroring the slash bot
|
||||||
GH_DEFAULT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_DEFAULT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
AI_MODEL: openai/gpt-4o
|
AI_MODEL: openai/gpt-4o
|
||||||
# PocketBase
|
# PocketBase
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
FRONTEND_URL: ${{ vars.FRONTEND_URL }}
|
FRONTEND_URL: ${{ secrets.FRONTEND_URL }}
|
||||||
REVALIDATE_SECRET: ${{ secrets.FRONTEND_INGEST_SECRET }}
|
REVALIDATE_SECRET: ${{ secrets.REVALIDATE_SECRET }}
|
||||||
# Event context
|
# Event context
|
||||||
COMMENT_BODY: ${{ github.event.comment.body }}
|
COMMENT_BODY: ${{ github.event.comment.body }}
|
||||||
COMMENT_ID: ${{ github.event.comment.id }}
|
COMMENT_ID: ${{ github.event.comment.id }}
|
||||||
|
|||||||
10
.github/workflows/pocketbase-bot.yml
generated
vendored
10
.github/workflows/pocketbase-bot.yml
generated
vendored
@@ -19,8 +19,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Execute PocketBase bot command
|
- name: Execute PocketBase bot command
|
||||||
env:
|
env:
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
COMMENT_BODY: ${{ github.event.comment.body }}
|
COMMENT_BODY: ${{ github.event.comment.body }}
|
||||||
@@ -31,12 +31,12 @@ jobs:
|
|||||||
ACTOR: ${{ github.event.comment.user.login }}
|
ACTOR: ${{ github.event.comment.user.login }}
|
||||||
ACTOR_ASSOCIATION: ${{ github.event.comment.author_association }}
|
ACTOR_ASSOCIATION: ${{ github.event.comment.author_association }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
FRONTEND_URL: ${{ vars.FRONTEND_URL }}
|
FRONTEND_URL: ${{ secrets.FRONTEND_URL }}
|
||||||
REVALIDATE_SECRET: ${{ secrets.FRONTEND_INGEST_SECRET }}
|
REVALIDATE_SECRET: ${{ secrets.REVALIDATE_SECRET }}
|
||||||
# Screenshot attaching is delegated to the frontend, which owns the
|
# Screenshot attaching is delegated to the frontend, which owns the
|
||||||
# fetching and validation. Without this the subcommand says so rather
|
# fetching and validation. Without this the subcommand says so rather
|
||||||
# than failing halfway.
|
# than failing halfway.
|
||||||
SCREENSHOT_IMPORT_SECRET: ${{ secrets.FRONTEND_INGEST_SECRET }}
|
SCREENSHOT_IMPORT_SECRET: ${{ secrets.SCREENSHOT_IMPORT_SECRET }}
|
||||||
run: |
|
run: |
|
||||||
node << 'ENDSCRIPT'
|
node << 'ENDSCRIPT'
|
||||||
(async function () {
|
(async function () {
|
||||||
|
|||||||
4
.github/workflows/push-json-to-pocketbase.yml
generated
vendored
4
.github/workflows/push-json-to-pocketbase.yml
generated
vendored
@@ -37,8 +37,8 @@ jobs:
|
|||||||
- name: Push to PocketBase
|
- name: Push to PocketBase
|
||||||
if: steps.changed.outputs.count != '0'
|
if: steps.changed.outputs.count != '0'
|
||||||
env:
|
env:
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/sync-to-incus.yml
generated
vendored
8
.github/workflows/sync-to-incus.yml
generated
vendored
@@ -10,8 +10,8 @@ name: Sync ct/install to Incus
|
|||||||
# script. We therefore only fire a repository_dispatch and let that single
|
# script. We therefore only fire a repository_dispatch and let that single
|
||||||
# source of truth do the work (and auto-approve + merge its own PR).
|
# source of truth do the work (and auto-approve + merge its own PR).
|
||||||
#
|
#
|
||||||
# Auth: the "push-app-to-main" GitHub App (vars.GHAPP_SYNC_ID /
|
# Auth: the "push-app-to-main" GitHub App (vars.PUSH_MAIN_APP_ID /
|
||||||
# secrets.GHAPP_SYNC_PRIVATE_KEY), scoped to community-scripts/Incus. It has
|
# secrets.PUSH_MAIN_APP_SECRET), scoped to community-scripts/Incus. It has
|
||||||
# contents:write, which repository_dispatch requires (community-scripts-pr-app
|
# contents:write, which repository_dispatch requires (community-scripts-pr-app
|
||||||
# only has pull_requests:write, so it cannot dispatch). The app must be
|
# only has pull_requests:write, so it cannot dispatch). The app must be
|
||||||
# installed on the Incus repo.
|
# installed on the Incus repo.
|
||||||
@@ -38,8 +38,8 @@ jobs:
|
|||||||
id: token
|
id: token
|
||||||
uses: actions/create-github-app-token@v3
|
uses: actions/create-github-app-token@v3
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.GHAPP_SYNC_ID }}
|
app-id: ${{ vars.PUSH_MAIN_APP_ID }}
|
||||||
private-key: ${{ secrets.GHAPP_SYNC_PRIVATE_KEY }}
|
private-key: ${{ secrets.PUSH_MAIN_APP_SECRET }}
|
||||||
owner: community-scripts
|
owner: community-scripts
|
||||||
repositories: Incus
|
repositories: Incus
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/update-script-timestamp-on-sh-change.yml
generated
vendored
4
.github/workflows/update-script-timestamp-on-sh-change.yml
generated
vendored
@@ -69,8 +69,8 @@ jobs:
|
|||||||
- name: Update script timestamps in PocketBase
|
- name: Update script timestamps in PocketBase
|
||||||
if: steps.slugs.outputs.count != '0'
|
if: steps.slugs.outputs.count != '0'
|
||||||
env:
|
env:
|
||||||
POCKETBASE_URL: ${{ vars.POCKETBASE_URL }}
|
POCKETBASE_URL: ${{ secrets.POCKETBASE_URL }}
|
||||||
POCKETBASE_COLLECTION: ${{ vars.POCKETBASE_COLLECTION }}
|
POCKETBASE_COLLECTION: ${{ secrets.POCKETBASE_COLLECTION }}
|
||||||
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
POCKETBASE_ADMIN_EMAIL: ${{ secrets.POCKETBASE_ADMIN_EMAIL }}
|
||||||
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
POCKETBASE_ADMIN_PASSWORD: ${{ secrets.POCKETBASE_ADMIN_PASSWORD }}
|
||||||
COMMIT_URL: ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
|
COMMIT_URL: ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
|
||||||
|
|||||||
@@ -540,7 +540,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
- openwebui: add UV_HTTP_TIMEOUT and retry loop to prevent uv install hangs [@MickLesk](https://github.com/MickLesk) ([#16917](https://github.com/community-scripts/ProxmoxVE/pull/16917))
|
|
||||||
- bambuddy: force asyncio loop, uvloop breaks camera proxy handlers [@MickLesk](https://github.com/MickLesk) ([#16904](https://github.com/community-scripts/ProxmoxVE/pull/16904))
|
- bambuddy: force asyncio loop, uvloop breaks camera proxy handlers [@MickLesk](https://github.com/MickLesk) ([#16904](https://github.com/community-scripts/ProxmoxVE/pull/16904))
|
||||||
- bookorbit: raise service start timeout, migration can exceed systemd default [@MickLesk](https://github.com/MickLesk) ([#16860](https://github.com/community-scripts/ProxmoxVE/pull/16860))
|
- bookorbit: raise service start timeout, migration can exceed systemd default [@MickLesk](https://github.com/MickLesk) ([#16860](https://github.com/community-scripts/ProxmoxVE/pull/16860))
|
||||||
- node-red: remove --unsafe-perm flag [@MickLesk](https://github.com/MickLesk) ([#16859](https://github.com/community-scripts/ProxmoxVE/pull/16859))
|
- node-red: remove --unsafe-perm flag [@MickLesk](https://github.com/MickLesk) ([#16859](https://github.com/community-scripts/ProxmoxVE/pull/16859))
|
||||||
@@ -552,9 +551,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
- #### 🔧 Refactor
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
- omv: migrate to new package repo host (packages.openmediavault.org) is dead [@MickLesk](https://github.com/MickLesk) ([#16918](https://github.com/community-scripts/ProxmoxVE/pull/16918))
|
|
||||||
- yuvomi/aurral: bump NODE_VERSION [@MickLesk](https://github.com/MickLesk) ([#16914](https://github.com/community-scripts/ProxmoxVE/pull/16914))
|
|
||||||
- vaultwarden: relax cargo release profile via env vars to avoid build OOM [@MickLesk](https://github.com/MickLesk) ([#16915](https://github.com/community-scripts/ProxmoxVE/pull/16915))
|
|
||||||
- kima-hub/maintainerr/planka/spliit: bump NODE_VERSION [@MickLesk](https://github.com/MickLesk) ([#16905](https://github.com/community-scripts/ProxmoxVE/pull/16905))
|
- kima-hub/maintainerr/planka/spliit: bump NODE_VERSION [@MickLesk](https://github.com/MickLesk) ([#16905](https://github.com/community-scripts/ProxmoxVE/pull/16905))
|
||||||
- gatus: pin Go toolchain to gatus's own go.mod version [@MickLesk](https://github.com/MickLesk) ([#16893](https://github.com/community-scripts/ProxmoxVE/pull/16893))
|
- gatus: pin Go toolchain to gatus's own go.mod version [@MickLesk](https://github.com/MickLesk) ([#16893](https://github.com/community-scripts/ProxmoxVE/pull/16893))
|
||||||
- immich: tolerate enable-maintenance-mode crash, same as disable-maintenance-mode [@MickLesk](https://github.com/MickLesk) ([#16866](https://github.com/community-scripts/ProxmoxVE/pull/16866))
|
- immich: tolerate enable-maintenance-mode crash, same as disable-maintenance-mode [@MickLesk](https://github.com/MickLesk) ([#16866](https://github.com/community-scripts/ProxmoxVE/pull/16866))
|
||||||
|
|||||||
12
ct/omv.sh
12
ct/omv.sh
@@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
|
||||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
|
||||||
# Copyright (c) 2021-2026 tteck
|
# Copyright (c) 2021-2026 tteck
|
||||||
# Author: tteck (tteckster)
|
# Author: tteck (tteckster)
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
@@ -30,14 +28,6 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -q "packages.openmediavault.org" /etc/apt/sources.list.d/openmediavault.list; then
|
|
||||||
msg_info "Migrating OpenMediaVault package repository"
|
|
||||||
curl -fsSL "https://openmediavault.github.io/packages/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
|
|
||||||
sed -i 's#https\?://packages.openmediavault.org/public#https://openmediavault.github.io/packages#' /etc/apt/sources.list.d/openmediavault.list
|
|
||||||
msg_ok "Migrated OpenMediaVault package repository"
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_info "Updating ${APP} LXC"
|
||||||
$STD apt update
|
$STD apt update
|
||||||
$STD apt -y upgrade
|
$STD apt -y upgrade
|
||||||
|
|||||||
@@ -50,11 +50,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Installing uv-based Open-WebUI"
|
msg_info "Installing uv-based Open-WebUI"
|
||||||
PYTHON_VERSION="3.12" setup_uv
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
export UV_HTTP_TIMEOUT=300
|
$STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all]
|
||||||
for attempt in $(seq 1 3); do
|
|
||||||
$STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") open-webui[all] && break
|
|
||||||
[[ $attempt -lt 3 ]] && msg_warn "Open WebUI install attempt $attempt failed, retrying..." && sleep 10
|
|
||||||
done
|
|
||||||
msg_ok "Installed uv-based Open-WebUI"
|
msg_ok "Installed uv-based Open-WebUI"
|
||||||
|
|
||||||
msg_info "Restoring data"
|
msg_info "Restoring data"
|
||||||
@@ -127,11 +123,7 @@ EOF
|
|||||||
OTEL_ARGS+=(--with "$pkg")
|
OTEL_ARGS+=(--with "$pkg")
|
||||||
done < <(uv pip list --python "$OWUI_PYTHON" --format freeze 2>/dev/null | grep -i '^opentelemetry-' | cut -d= -f1)
|
done < <(uv pip list --python "$OWUI_PYTHON" --format freeze 2>/dev/null | grep -i '^opentelemetry-' | cut -d= -f1)
|
||||||
fi
|
fi
|
||||||
export UV_HTTP_TIMEOUT=300
|
$STD uv tool install --force --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all]
|
||||||
for attempt in $(seq 1 3); do
|
|
||||||
$STD uv tool install --force --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all] && break
|
|
||||||
[[ $attempt -lt 3 ]] && msg_warn "Open WebUI update attempt $attempt failed, retrying..." && sleep 10
|
|
||||||
done
|
|
||||||
systemctl restart open-webui
|
systemctl restart open-webui
|
||||||
msg_ok "Updated Open WebUI"
|
msg_ok "Updated Open WebUI"
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated successfully!"
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ update_deb_based() {
|
|||||||
cd /tmp/vaultwarden-src
|
cd /tmp/vaultwarden-src
|
||||||
VW_VERSION="$VAULT"
|
VW_VERSION="$VAULT"
|
||||||
export VW_VERSION
|
export VW_VERSION
|
||||||
CARGO_BUILD_JOBS="$(get_parallel_jobs)" CARGO_PROFILE_RELEASE_LTO=false CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 $STD cargo build --features "sqlite,mysql,postgresql" --release
|
$STD cargo build --features "sqlite,mysql,postgresql" --release
|
||||||
if [[ -f /usr/bin/vaultwarden ]]; then
|
if [[ -f /usr/bin/vaultwarden ]]; then
|
||||||
cp target/release/vaultwarden /usr/bin/
|
cp target/release/vaultwarden /usr/bin/
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing OpenMediaVault (Patience)"
|
msg_info "Installing OpenMediaVault (Patience)"
|
||||||
curl -fsSL "https://openmediavault.github.io/packages/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
|
curl -fsSL "https://packages.openmediavault.org/public/archive.key" | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
|
||||||
cat <<EOF >/etc/apt/sources.list.d/openmediavault.list
|
cat <<EOF >/etc/apt/sources.list.d/openmediavault.list
|
||||||
deb [signed-by=/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg] https://openmediavault.github.io/packages sandworm main
|
deb [signed-by=/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg] http://packages.openmediavault.org/public sandworm main
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
export LANG=C.UTF-8
|
export LANG=C.UTF-8
|
||||||
|
|||||||
@@ -46,11 +46,7 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Installing Open WebUI"
|
msg_info "Installing Open WebUI"
|
||||||
export UV_HTTP_TIMEOUT=300
|
$STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all]
|
||||||
for attempt in $(seq 1 3); do
|
|
||||||
$STD uv tool install --python 3.12 --constraint <(echo "numba>=0.60") "${OTEL_ARGS[@]}" open-webui[all] && break
|
|
||||||
[[ $attempt -lt 3 ]] && msg_warn "Open WebUI install attempt $attempt failed, retrying..." && sleep 10
|
|
||||||
done
|
|
||||||
msg_ok "Installed Open WebUI"
|
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
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ setup_deb_based() {
|
|||||||
cd /tmp/vaultwarden-src
|
cd /tmp/vaultwarden-src
|
||||||
VW_VERSION=$(get_latest_github_release "dani-garcia/vaultwarden")
|
VW_VERSION=$(get_latest_github_release "dani-garcia/vaultwarden")
|
||||||
export VW_VERSION
|
export VW_VERSION
|
||||||
CARGO_BUILD_JOBS="$(get_parallel_jobs)" CARGO_PROFILE_RELEASE_LTO=false CARGO_PROFILE_RELEASE_CODEGEN_UNITS=16 $STD cargo build --features "sqlite,mysql,postgresql" --release
|
$STD cargo build --features "sqlite,mysql,postgresql" --release
|
||||||
msg_ok "Built Vaultwarden"
|
msg_ok "Built Vaultwarden"
|
||||||
|
|
||||||
msg_info "Setting up Vaultwarden"
|
msg_info "Setting up Vaultwarden"
|
||||||
|
|||||||
Reference in New Issue
Block a user