Compare commits

..
Author SHA1 Message Date
github-actions[bot] d230735f05 Update CHANGELOG.md 2026-11-18 17:53:43 +00:00
push-app-to-main[bot] c6add4ff27 Add scrutiny-collector (pve) (#18826)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-18 18:53:17 +01:00
push-app-to-main[bot] 0d09c536e7 Add scrutiny (ct) (#18827)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-18 18:53:14 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] ddaeca0b87 Update CHANGELOG.md (#18824)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-18 06:44:28 +00:00
Sim Kai Long 7f2955224f OpenCloud: bump to v9.2.0 (#18822) 2026-11-18 07:44:01 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] a51b14fdb8 Update CHANGELOG.md (#18821)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 22:28:38 +00:00
github-actions[bot] 85fcbee61d chore(ct): sync paperclip defaults from PocketBase (#18820)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-17 23:28:06 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 1840c9f65d Update CHANGELOG.md (#18813)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 15:08:38 +00:00
CanbiZ (MickLesk) 3bbbc23049 Fetch the ITSM-NG repository and key over HTTPS (#18799) 2026-11-17 16:08:08 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] f05633e5c6 Update CHANGELOG.md (#18812)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 15:07:38 +00:00
Andrew Jones 39f21bce52 immichframe: move to .NET 10 (1.0.40.0 requires it) (#18806)
* immichframe: move to .NET 10 (1.0.40.0 requires it)

* immichframe: move to .NET 10 (1.0.40.0 requires it)
2026-11-17 16:07:08 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 7e704221ff Update CHANGELOG.md (#18811)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 15:06:55 +00:00
CanbiZ (MickLesk) dd78778911 Credit script authors and list services and website changes in the changelog (#18809)
New scripts take their authors from the Author header. Pull requests of
services and the website are collected like those of core. Releases mention
contributors, are no longer cut at 5000 characters, link the compare view,
and are skipped on days without changes.
2026-11-17 16:06:26 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 3399d27109 Update CHANGELOG.md (#18810)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 15:06:24 +00:00
CanbiZ (MickLesk) 82d39827ab Merge only the changelog pull request the job opened (#18804)
Look the pull request up among this repository's own branches and merge
only the commit the job pushed.
2026-11-17 16:05:44 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 9b8cfb82e8 Update CHANGELOG.md (#18808)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 15:03:12 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 9178165393 Update CHANGELOG.md (#18807)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 14:58:54 +00:00
CanbiZ (MickLesk) 322305bbae Fetch the Frigate OpenVINO model over HTTPS (#18797) 2026-11-17 15:58:19 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] ab5501fd2b Update CHANGELOG.md (#18805)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 14:36:08 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] f5b303a80d Update CHANGELOG.md (#18803)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 14:14:40 +00:00
push-app-to-main[bot]andMickLesk fea5fc5c47 AIOStreams (#18673)
* Add aiostreams (ct)

* AIOStreams: drop mimalloc, cap the heap, add ffprobe

Testing in an LXC showed lower and steadier memory without the mimalloc
preload. The service now runs with NODE_ENV=production, a heap cap of
half the container RAM and MALLOC_ARENA_MAX=2.

ffmpeg provides ffprobe for the media info probe, which is on by
default.

The commit lookup for metadata.json no longer aborts the install when
the GitHub API rate limit is hit.

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
2026-11-17 15:14:12 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 5b240ddfbd Update CHANGELOG.md (#18802)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 14:12:41 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 9ab7f20745 Update CHANGELOG.md (#18801)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 14:08:37 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 23f0f66231 Update CHANGELOG.md (#18800)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 13:40:51 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 9d17c158b0 Update CHANGELOG.md (#18796)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-17 13:02:28 +00:00
Sim Kai Long f6104c5cf6 OpenCloud: bump to v9.1.1 (#18795) 2026-11-17 14:01:58 +01:00
19 changed files with 756 additions and 430 deletions

No files matched your search

+36
View File
@@ -203,6 +203,42 @@
}
]
},
{
"title": "🛰️ Services",
"labels": [
"services"
],
"subCategories": [
{
"title": "🐞 Bug Fixes",
"labels": [
"bugfix"
],
"notes": []
},
{
"title": "✨ New Features",
"labels": [
"feature"
],
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": [
"breaking change"
],
"notes": []
},
{
"title": "🔧 Refactor",
"labels": [
"refactor"
],
"notes": []
}
]
},
{
"title": "❔ Uncategorized",
"labels": [
+5 -4
View File
@@ -324,13 +324,14 @@ jobs:
git commit -m "Archive old changelog entries"
git checkout -b $BRANCH_NAME || git checkout $BRANCH_NAME
git push origin $BRANCH_NAME --force
echo "HEAD_SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV"
- name: Create pull request if not exists
if: env.changed == 'true'
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
PR_EXISTS=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number')
PR_EXISTS=$(gh pr list --head "${BRANCH_NAME}" --state open --json number,isCrossRepository --jq '[.[] | select(.isCrossRepository == false)][0].number // empty')
if [ -z "$PR_EXISTS" ]; then
gh pr create --title "[Github Action] Archive old changelog entries" \
--body "This PR is auto-generated by a Github Action to archive old changelog entries (older than 14 days) to .github/changelogs/YEAR/MONTH.md" \
@@ -346,8 +347,8 @@ jobs:
run: |
git config --global user.name "github-actions-automege[bot]"
git config --global user.email "github-actions-automege[bot]@users.noreply.github.com"
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number')
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --state open --json number,isCrossRepository --jq '[.[] | select(.isCrossRepository == false)][0].number // empty')
if [ -n "$PR_NUMBER" ]; then
gh pr review $PR_NUMBER --approve
gh pr merge $PR_NUMBER --squash --admin
gh pr review "$PR_NUMBER" --approve
gh pr merge "$PR_NUMBER" --squash --admin --match-head-commit "$HEAD_SHA"
fi
+118 -67
View File
@@ -118,9 +118,63 @@ jobs:
)
);
async function getScriptAuthors(pr) {
try {
const { data: files } = await github.rest.pulls.listFiles({
owner: context.repo.owner,
repo: "ProxmoxVE",
pull_number: pr.number,
per_page: 100,
});
const ctFile = files.find(file => file.status === "added" && /^ct\/[^/]+\.sh$/.test(file.filename));
if (!ctFile) return "";
const { data: script } = await github.rest.repos.getContent({
owner: context.repo.owner,
repo: "ProxmoxVE",
path: ctFile.filename,
ref: pr.merge_commit_sha,
});
const header = Buffer.from(script.content, "base64").toString("utf-8")
.split("\n").slice(0, 20)
.find(line => /^#\s*Authors?:/i.test(line));
if (!header) return "";
// "MickLesk (CanbiZ)" puts the handle first, "Slaviša Arežina (tremor021)" in the parentheses
const candidates = header.replace(/^#\s*Authors?:/i, "").split("|").map(part => {
part = part.trim().replace(/^[A-Za-z-]+:\s*/, "");
const match = part.match(/^([^(]*)\(([^)]*)\)/);
if (!match) return part;
const words = match[1].trim().split(/\s+/).filter(Boolean);
return words.length === 1 ? words[0] : match[2].trim();
});
// A display name used alone in a header; the GitHub account of that name is someone else
const authorAliases = { canbiz: "MickLesk" };
const logins = [];
for (let candidate of candidates) {
if (!/^[A-Za-z0-9-]+$/.test(candidate)) continue;
candidate = authorAliases[candidate.toLowerCase()] ?? candidate;
try {
const { data: user } = await github.rest.users.getByUsername({ username: candidate });
if (user.type === "User" && !logins.includes(user.login)) logins.push(user.login);
} catch (error) {
console.log(`No GitHub user ${candidate} (${ctFile.filename}): ${error}`);
}
}
return logins.map(login => `[@${login}](https://github.com/${login})`).join(", ");
} catch (error) {
console.error(`Could not read the author of #${pr.number}: ${error}`);
return "";
}
}
for (const pr of filteredPRs) {
const prLabels = pr.labels.map(label => label.name.toLowerCase());
if (pr.user.login.includes("push-app-to-main[bot]")) {
const scriptAuthors = prLabels.includes("new script") ? await getScriptAuthors(pr) : "";
if (scriptAuthors) {
prNote = `- ${pr.title} ${scriptAuthors} ([#${pr.number}](${pr.html_url}))`;
} else if (pr.user.login.includes("push-app-to-main[bot]")) {
const scriptName = pr.title;
try {
@@ -128,11 +182,12 @@ jobs:
owner: context.repo.owner,
repo: "DevScripts",
state: "all",
labels: ["Started Migration To ProxmoxVE"]
labels: ["Started Migration To ProxmoxVE"],
per_page: 100,
});
const matchingIssue = relatedIssues.find(issue =>
issue.title.toLowerCase().includes(scriptName.toLowerCase())
issue.title.trim().toLowerCase() === scriptName.trim().toLowerCase()
);
if (matchingIssue) {
@@ -212,75 +267,70 @@ jobs:
}
// ── Engine pull requests ────────────────────────────────────────
// The engine lives in community-scripts/core, so its changes never
// show up in this repository's PR list -- and a fix there reaches
// every script here. The "💾 Core" category already existed for
// ProxmoxVE PRs labelled `core`; engine PRs land in the same place.
try {
const { data: corePulls } = await github.rest.pulls.list({
owner: context.repo.owner,
repo: "core",
base: "main",
state: "closed",
sort: "updated",
direction: "desc",
per_page: 100,
});
// ── Pull requests from other repositories ───────────────────────
const externalRepos = [
{ repo: "core", category: "💾 Core", prefix: "core" },
{ repo: "services", category: "🛰️ Services", prefix: "services" },
{ repo: "ProxmoxVE-Frontend", category: "🌐 Website", prefix: "website" },
];
const externalLabelAliases = {
bug: "bugfix",
bugfix: "bugfix",
enhancement: "feature",
feature: "feature",
refactor: "refactor",
"breaking change": "breaking change",
};
const externalPriority = ["breaking change", "bugfix", "feature", "refactor"];
const coreCategory = categorizedPRs.find(category =>
category.title.includes("Core") || category.labels.includes("core"));
for (const { repo, category: categoryTitle, prefix } of externalRepos) {
try {
const { data: externalPulls } = await github.rest.pulls.list({
owner: context.repo.owner,
repo,
base: "main",
state: "closed",
sort: "updated",
direction: "desc",
per_page: 100,
});
// core carries GitHub's default label set, and most of its pull
// requests carry none at all, so map what maps and let the rest
// sit directly under the category.
const coreLabelAliases = {
bug: "bugfix",
bugfix: "bugfix",
enhancement: "feature",
feature: "feature",
refactor: "refactor",
"breaking change": "breaking change",
};
const corePriority = ["breaking change", "bugfix", "feature", "refactor"];
const category = categorizedPRs.find(c => c.title === categoryTitle);
for (const pr of corePulls) {
if (!pr.merged_at) continue;
if (new Date(pr.merged_at) <= latestDateInChangelog) continue;
for (const pr of externalPulls) {
if (!pr.merged_at) continue;
if (new Date(pr.merged_at) <= latestDateInChangelog) continue;
const rawLabels = pr.labels.map(label => label.name.toLowerCase());
if (rawLabels.some(l => ["invalid", "wontdo", "wontfix", "duplicate", process.env.AUTOMATED_PR_LABEL].includes(l))) continue;
const rawLabels = pr.labels.map(label => label.name.toLowerCase());
if (rawLabels.some(l => ["invalid", "wontdo", "wontfix", "duplicate", process.env.AUTOMATED_PR_LABEL].includes(l))) continue;
if (!coreCategory) {
console.log(`No Core category configured; skipping core#${pr.number}`);
continue;
}
if (!category) {
console.log(`No ${categoryTitle} category configured; skipping ${prefix}#${pr.number}`);
continue;
}
// core#N rather than #N: a bare number reads as a pull request
// in this repository, so the link would lead somewhere other
// than the text promises.
const coreNote = `- ${pr.title} [@${pr.user.login}](https://github.com/${pr.user.login}) ([core#${pr.number}](${pr.html_url}))`;
// core#N rather than #N: a bare #N links to a pull request in this repository.
const note = `- ${pr.title} [@${pr.user.login}](https://github.com/${pr.user.login}) ([${prefix}#${pr.number}](${pr.html_url}))`;
const mapped = rawLabels.map(l => coreLabelAliases[l]).filter(Boolean);
let placed = false;
if (coreCategory.subCategories && coreCategory.subCategories.length > 0) {
for (const priorityLabel of corePriority) {
if (!mapped.includes(priorityLabel)) continue;
const subCategory = coreCategory.subCategories.find(sub =>
sub.labels.includes(priorityLabel));
if (subCategory) {
subCategory.notes.push(coreNote);
placed = true;
break;
const mapped = rawLabels.map(l => externalLabelAliases[l]).filter(Boolean);
let placed = false;
if (category.subCategories && category.subCategories.length > 0) {
for (const priorityLabel of externalPriority) {
if (!mapped.includes(priorityLabel)) continue;
const subCategory = category.subCategories.find(sub =>
sub.labels.includes(priorityLabel));
if (subCategory) {
subCategory.notes.push(note);
placed = true;
break;
}
}
}
if (!placed) category.notes.push(note);
}
if (!placed) coreCategory.notes.push(coreNote);
} catch (error) {
console.error(`Could not read ${repo} pull requests: ${error}`);
}
} catch (error) {
// The engine repository being unreachable must not cost this
// repository its changelog.
console.error(`Could not read core pull requests: ${error}`);
}
return categorizedPRs;
@@ -349,13 +399,14 @@ jobs:
git commit -m "Update CHANGELOG.md"
git checkout -b $BRANCH_NAME || git checkout $BRANCH_NAME
git push origin $BRANCH_NAME --force
echo "HEAD_SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV"
- name: Create pull request if not exists
if: env.changed == 'true'
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
PR_EXISTS=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number')
PR_EXISTS=$(gh pr list --head "${BRANCH_NAME}" --state open --json number,isCrossRepository --jq '[.[] | select(.isCrossRepository == false)][0].number // empty')
if [ -z "$PR_EXISTS" ]; then
gh pr create --title "[Github Action] Update CHANGELOG.md" \
--body "This PR is auto-generated by a Github Action to update the CHANGELOG.md file." \
@@ -369,9 +420,9 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number')
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --state open --json number,isCrossRepository --jq '[.[] | select(.isCrossRepository == false)][0].number // empty')
if [ -n "$PR_NUMBER" ]; then
gh pr review $PR_NUMBER --approve
gh pr review "$PR_NUMBER" --approve
fi
- name: Approve pull request and merge
@@ -381,8 +432,8 @@ jobs:
run: |
git config --global user.name "github-actions-automege[bot]"
git config --global user.email "github-actions-automege[bot]@users.noreply.github.com"
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number')
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --state open --json number,isCrossRepository --jq '[.[] | select(.isCrossRepository == false)][0].number // empty')
if [ -n "$PR_NUMBER" ]; then
gh pr review $PR_NUMBER --approve
gh pr merge $PR_NUMBER --squash --admin
gh pr review "$PR_NUMBER" --approve
gh pr merge "$PR_NUMBER" --squash --admin --match-head-commit "$HEAD_SHA"
fi
+25 -3
View File
@@ -19,6 +19,7 @@ jobs:
run: sed -n '/^## /,$p' CHANGELOG.md > changelog_cleaned.md
- name: Extract relevant changelog section
id: extract
run: |
YESTERDAY=$(date -u --date="yesterday" +%Y-%m-%d)
echo "Checking for changes on: $YESTERDAY"
@@ -26,8 +27,24 @@ jobs:
# Extract the section from "## $YESTERDAY" until the next "## YYYY-MM-DD"
sed -n "/^## $YESTERDAY/,/^## [0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}/p" changelog_cleaned.md | head -n -1 > changelog_tmp_full.md
# Truncate the extracted section to 5000 characters
head -c 5000 changelog_tmp_full.md > changelog_tmp.md
# GitHub fills a release's Contributors only from bare @login mentions
sed -i -E 's#\[@([A-Za-z0-9-]+)\]\(https://github\.com/\1\)#@\1#g' changelog_tmp_full.md
# Keep whole lines up to 120000 characters (GitHub allows 125000)
export LC_ALL=C.UTF-8
SIZE=0
TRUNCATED=false
while IFS= read -r line || [ -n "$line" ]; do
SIZE=$((SIZE + ${#line} + 1))
if [ "$SIZE" -gt 120000 ]; then
TRUNCATED=true
break
fi
printf '%s\n' "$line"
done < changelog_tmp_full.md > changelog_tmp.md
if [ "$TRUNCATED" = true ]; then
printf '\nCut to fit the release size limit. The full list is in [CHANGELOG.md](https://github.com/community-scripts/ProxmoxVE/blob/main/CHANGELOG.md).\n' >> changelog_tmp.md
fi
echo "=== Extracted Changelog ==="
cat changelog_tmp.md
@@ -36,12 +53,17 @@ jobs:
# Abort if no content was found
if [ ! -s changelog_tmp.md ]; then
echo "No changes found for $YESTERDAY, skipping release."
exit 0
echo "skip=true" >> "$GITHUB_OUTPUT"
fi
- name: Create GitHub release
if: steps.extract.outputs.skip != 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
YESTERDAY=$(date -u --date="yesterday" +%Y-%m-%d)
PREVIOUS=$(gh release view --json tagName --jq .tagName 2>/dev/null || true)
if [ -n "$PREVIOUS" ]; then
printf '\n**Full Changelog**: https://github.com/community-scripts/ProxmoxVE/compare/%s...%s\n' "$PREVIOUS" "$YESTERDAY" >> changelog_tmp.md
fi
gh release create "$YESTERDAY" -t "$YESTERDAY" -F changelog_tmp.md
+49
View File
@@ -584,28 +584,77 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-11-18
### 🆕 New Scripts
- Scrutiny [@MickLesk](https://github.com/MickLesk) ([#18827](https://github.com/community-scripts/ProxmoxVE/pull/18827))
### 🚀 Updated Scripts
- #### ✨ New Features
- OpenCloud: bump to v9.2.0 [@SimKaiLong](https://github.com/SimKaiLong) ([#18822](https://github.com/community-scripts/ProxmoxVE/pull/18822))
### 🧰 Tools
- Scrutiny Collector ([#18826](https://github.com/community-scripts/ProxmoxVE/pull/18826))
## 2026-11-17
### 🆕 New Scripts
- AIOStreams [@MrNRod](https://github.com/MrNRod) ([#18673](https://github.com/community-scripts/ProxmoxVE/pull/18673))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- immichframe: move to .NET 10 (1.0.40.0 requires it) [@supersoju](https://github.com/supersoju) ([#18806](https://github.com/community-scripts/ProxmoxVE/pull/18806))
- LibreNMS: write a valid APP_KEY before migrating [@MickLesk](https://github.com/MickLesk) ([#18776](https://github.com/community-scripts/ProxmoxVE/pull/18776))
- #### ✨ New Features
- OpenCloud: bump to v9.1.1 [@SimKaiLong](https://github.com/SimKaiLong) ([#18795](https://github.com/community-scripts/ProxmoxVE/pull/18795))
- Portabase: support file and folder backups (restic / rclone) [@MickLesk](https://github.com/MickLesk) ([#18766](https://github.com/community-scripts/ProxmoxVE/pull/18766))
- #### 🔧 Refactor
- ITSM-NG: fetch the repo and key over HTTPS [@MickLesk](https://github.com/MickLesk) ([#18799](https://github.com/community-scripts/ProxmoxVE/pull/18799))
- Frigate: Fetch the OpenVINO model over HTTPS [@MickLesk](https://github.com/MickLesk) ([#18797](https://github.com/community-scripts/ProxmoxVE/pull/18797))
- Change Detection: replace Browserless with SockPuppetBrowser [@MickLesk](https://github.com/MickLesk) ([#18767](https://github.com/community-scripts/ProxmoxVE/pull/18767))
### 💾 Core
- Stop setting kernel.keys.maxkeys on Incus containers [@MickLesk](https://github.com/MickLesk) ([core#277](https://github.com/community-scripts/core/pull/277))
- Bound the template catalog lookup so a dead storage cannot hang the run [@MickLesk](https://github.com/MickLesk) ([core#275](https://github.com/community-scripts/core/pull/275))
- Record a failed command as written in the script [@MickLesk](https://github.com/MickLesk) ([core#274](https://github.com/community-scripts/core/pull/274))
- Let the Incus network wait ask again when its probe fails [@MickLesk](https://github.com/MickLesk) ([core#273](https://github.com/community-scripts/core/pull/273))
- Run the VM cleanup and Incus file pull tests in CI | Take files out of an Incus guest as a bounded stream into a private file [@MickLesk](https://github.com/MickLesk) ([core#272](https://github.com/community-scripts/core/pull/272))
### 🧰 Tools
- #### 🐞 Bug Fixes
- Arcane: show the generated admin password [@MickLesk](https://github.com/MickLesk) ([#18785](https://github.com/community-scripts/ProxmoxVE/pull/18785))
### 📚 Documentation
- Changelog: Credit script authors and list services and website changes [@MickLesk](https://github.com/MickLesk) ([#18809](https://github.com/community-scripts/ProxmoxVE/pull/18809))
- Merge only the changelog pull request the job opened [@MickLesk](https://github.com/MickLesk) ([#18804](https://github.com/community-scripts/ProxmoxVE/pull/18804))
### 🛰️ Services
- Let contributors read traces and open issues with a password of their own [@MickLesk](https://github.com/MickLesk) ([services#19](https://github.com/community-scripts/services/pull/19))
- Rework the dashboard around triaging failures [@MickLesk](https://github.com/MickLesk) ([services#18](https://github.com/community-scripts/services/pull/18))
- Serve failure text only to requests that carry the admin token [@MickLesk](https://github.com/MickLesk) ([services#17](https://github.com/community-scripts/services/pull/17))
- Number the notes in the testing message and show their type [@MickLesk](https://github.com/MickLesk) ([services#16](https://github.com/community-scripts/services/pull/16))
- Decide exit 255 by the command, not as dpkg [@MickLesk](https://github.com/MickLesk) ([services#14](https://github.com/community-scripts/services/pull/14))
### ❔ Uncategorized
- chore(ct): sync paperclip defaults with PocketBase [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18820](https://github.com/community-scripts/ProxmoxVE/pull/18820))
## 2026-11-16
### 🆕 New Scripts
+91
View File
@@ -0,0 +1,91 @@
#!/usr/bin/env bash
_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 community-scripts ORG
# Author: MrNRod
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/Viren070/AIOStreams
APP="AIOStreams"
var_tags="${var_tags:-media;streaming;stremio}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/aiostreams ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "aiostreams" "Viren070/AIOStreams" "" "" "v"; then
msg_info "Stopping Service"
systemctl stop aiostreams
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "aiostreams" "Viren070/AIOStreams" "tarball" "latest" "" "" "v"
AIOSTREAMS_TAG="$CHECK_UPDATE_RELEASE"
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"+]*\).*/\1/p' /opt/aiostreams/package.json)
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION:-11.0.8}" setup_nodejs
msg_info "Building Application (Patience)"
cd /opt/aiostreams
export NODE_OPTIONS="--max-old-space-size=3072"
$STD pnpm install --frozen-lockfile
$STD pnpm run build
unset NODE_OPTIONS
cp -r /opt/aiostreams/packages/server/src/static /opt/aiostreams/packages/server/dist/static
msg_ok "Built Application"
msg_info "Generating Version Metadata"
mkdir -p /opt/aiostreams/resources
AIOSTREAMS_VERSION=$(jq -r '.version' /opt/aiostreams/package.json)
AIOSTREAMS_DESC=$(jq -r '.description' /opt/aiostreams/package.json)
AIOSTREAMS_COMMIT_INFO=$(curl -fsSL "https://api.github.com/repos/Viren070/AIOStreams/commits/${AIOSTREAMS_TAG}" 2>/dev/null || true)
AIOSTREAMS_COMMIT=$(jq -r '.sha[0:8] // empty' <<<"${AIOSTREAMS_COMMIT_INFO}")
AIOSTREAMS_COMMIT_TIME=$(jq -r '.commit.committer.date // empty' <<<"${AIOSTREAMS_COMMIT_INFO}")
cat <<EOF >/opt/aiostreams/resources/metadata.json
{
"version": "${AIOSTREAMS_VERSION}",
"description": $(jq -Rn --arg d "${AIOSTREAMS_DESC}" '$d'),
"tag": "${AIOSTREAMS_TAG}",
"channel": "stable",
"commitHash": "${AIOSTREAMS_COMMIT:-unknown}",
"buildTime": "$(date -u +%Y-%m-%dT%H:%M:%S.000Z)",
"commitTime": "${AIOSTREAMS_COMMIT_TIME:-$(date -u +%Y-%m-%dT%H:%M:%S.000Z)}"
}
EOF
msg_ok "Generated Version Metadata"
msg_info "Starting Service"
systemctl start aiostreams
msg_ok "Started Service"
msg_ok "Updated successfully!"
fi
exit
}
start
build_container
description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
echo -e "${INFO}${YW} No authentication is enabled by default.${CL}"
echo -e "${INFO}${YW} Set AIOSTREAMS_AUTH in /opt/aiostreams_data/.env to secure the dashboard.${CL}"
+6 -6
View File
@@ -31,12 +31,12 @@ function update_script() {
exit
fi
if ! dotnet --list-sdks 2>/dev/null | grep -q '^8\.'; then
msg_info "Installing .NET SDK 8.0"
if ! dotnet --list-sdks 2>/dev/null | grep -q '^10\.'; then
msg_info "Installing .NET SDK 10.0"
if [[ "$(arch_resolve)" == "arm64" ]]; then
curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh
$STD bash /tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/lib/dotnet8
ln -sf /usr/lib/dotnet8/dotnet /usr/bin/dotnet
$STD bash /tmp/dotnet-install.sh --channel 10.0 --install-dir /usr/lib/dotnet10
ln -sf /usr/lib/dotnet10/dotnet /usr/bin/dotnet
rm -f /tmp/dotnet-install.sh
else
setup_deb822_repo \
@@ -45,9 +45,9 @@ function update_script() {
"https://packages.microsoft.com/debian/13/prod/" \
"trixie" \
"main"
$STD apt install -y dotnet-sdk-8.0
$STD apt install -y dotnet-sdk-10.0
fi
msg_ok "Installed .NET SDK 8.0"
msg_ok "Installed .NET SDK 10.0"
fi
if check_for_gh_release "immichframe" "immichFrame/ImmichFrame"; then
+5 -214
View File
@@ -16,14 +16,6 @@ var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
# The n8nio/n8n image tag to follow: "latest" is n8n's current stable release.
# var_n8n_image_tag set to a version (e.g. 3.3.0) pins that release,
# prereleases included.
N8N_IMAGE_TAG="${var_n8n_image_tag:-latest}"
# Moving from 2.x to 3.x cannot be undone, so the update asks first. Unattended,
# var_force_breaking_update=yes answers yes; anything else keeps 2.x.
N8N_FORCE_MAJOR="${var_force_breaking_update:-no}"
header_info "$APP"
variables
color
@@ -38,6 +30,10 @@ function update_script() {
exit
fi
ensure_dependencies build-essential python3-setuptools graphicsmagick
NODE_VERSION="24" setup_nodejs
msg_info "Updating n8n"
if [ ! -f /opt/n8n.env ]; then
sed -i 's|^Environment="N8N_SECURE_COOKIE=false"$|EnvironmentFile=/opt/n8n.env|' /etc/systemd/system/n8n.service
mkdir -p /opt
@@ -50,124 +46,6 @@ EOF
systemctl daemon-reload
fi
ensure_dependencies jq
if ! command -v skopeo >/dev/null 2>&1 &&
! $STD apt install -y --no-install-recommends skopeo; then
msg_error "Could not install skopeo, which n8n needs for its updates. n8n was not updated."
exit 105
fi
# n8n 3.x is no longer published to npm, only as a Docker image. 2.x still
# updates through npm; 3.x comes from the image (see fetch_n8n_image).
msg_info "Checking the latest n8n release"
local target
target="$(skopeo inspect --override-os linux --override-arch "$(arch_resolve amd64 arm64)" "docker://docker.io/n8nio/n8n:${N8N_IMAGE_TAG}" 2>/dev/null |
jq -r '.Labels["org.opencontainers.image.version"] // empty')" || true
if [[ ! "$target" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
msg_error "Could not read the n8n version of n8nio/n8n:${N8N_IMAGE_TAG}. n8n was not updated."
exit 115
fi
msg_ok "Latest n8n release is ${target}"
local current=""
if [[ -f /opt/n8n/package.json ]]; then
current="$(cat ~/.n8n-version 2>/dev/null)" || true
[[ -n "$current" ]] || current="$(jq -r '.version // empty' /opt/n8n/package.json)"
if [[ "$current" == "$target" ]]; then
msg_ok "n8n is already at ${target}"
exit
fi
if ((${target%%.*} < 3)); then
msg_warn "n8n ${current} cannot go back to ${target}; nothing was changed."
exit
fi
else
if ((${target%%.*} < 3)); then
update_n8n_npm
exit
fi
local npm_root
npm_root="$(npm root -g 2>/dev/null)" || true
[[ -n "$npm_root" && -f "${npm_root}/n8n/package.json" ]] && current="$(jq -r '.version // empty' "${npm_root}/n8n/package.json")"
echo
msg_warn "n8n ${target} is out. From 3.0 on, n8n is not published to npm any more."
echo -e "${TAB}This update moves n8n ${current:-2.x} to ${target}, unpacked from the official Docker image."
echo -e "${TAB}There is no way back to 2.x afterwards. 3.0 removes legacy nodes (Function, Cron,"
echo -e "${TAB}Interval, Read/Write Binary File, ...). Check Settings > Migration Report in n8n first."
echo -e "${TAB}The SQLite data in /.n8n is backed up first; an external database is not."
echo -e "${TAB}Declining keeps n8n on 2.x, which gets security fixes for 12 months after 3.x."
echo
if [[ ! "${N8N_FORCE_MAJOR,,}" =~ ^(1|yes|true|on)$ ]] && ! prompt_confirm "Upgrade n8n to ${target}?" "n" 300; then
msg_warn "Staying on n8n 2.x"
update_n8n_npm
exit
fi
fi
fetch_n8n_image "$target"
msg_info "Stopping n8n"
systemctl stop n8n
msg_ok "Stopped n8n"
if [[ ! -f /opt/n8n/package.json ]]; then
# The unit sets no HOME, so n8n (2.x and 3.x alike) keeps its data in
# <working directory>/.n8n, i.e. /.n8n, unless N8N_USER_FOLDER says otherwise.
local data_parent backup
data_parent="$(sed -n 's/^N8N_USER_FOLDER=//p' /opt/n8n.env | tail -n1)"
data_parent="${data_parent:-/}"
if [[ -d "${data_parent}/.n8n" ]]; then
msg_info "Backing up n8n data"
backup="/root/n8n-backup-${current:-2.x}-$(date +%Y%m%d-%H%M%S).tar.gz"
tar -czf "$backup" -C "$data_parent" .n8n
msg_ok "Backed up n8n data to ${backup}"
fi
msg_info "Removing the npm install of n8n"
$STD npm uninstall -g n8n || true
cat <<EOF >/etc/systemd/system/n8n.service
[Unit]
Description=n8n
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Environment=NODE_ENV=production
EnvironmentFile=/opt/n8n.env
ExecStart=/usr/bin/env n8n start
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
msg_ok "Removed the npm install of n8n"
fi
NODE_VERSION="$N8N_NODE_MAJOR" setup_nodejs
install_n8n_image "$target"
msg_info "Starting n8n"
systemctl start n8n
msg_ok "Started n8n"
msg_ok "Updated successfully!"
exit
}
# n8n 2.x: the npm package, as before.
function update_n8n_npm() {
ensure_dependencies build-essential python3-setuptools graphicsmagick
NODE_VERSION="24" setup_nodejs
local installed latest
installed="$(jq -r '.version // empty' "$(npm root -g)/n8n/package.json" 2>/dev/null)" || true
latest="$(npm view n8n@latest version 2>/dev/null)" || true
if [[ -n "$latest" && "$installed" == "$latest" ]]; then
msg_ok "n8n is already at ${latest}"
return 0
fi
msg_info "Updating n8n"
# n8n-nodes-base 2.46.0 pins both @napi-rs/canvas musl binaries as hard
# dependencies, which no os/cpu/libc combination can satisfy. Drop --force
# once upstream makes them optional again.
@@ -175,94 +53,7 @@ function update_n8n_npm() {
systemctl restart n8n
msg_ok "Updated n8n"
msg_ok "Updated successfully!"
}
# Downloads n8nio/n8n:<version>-debian and extracts only its app folder
# (/usr/local/lib/node_modules/n8n) and fonts into N8N_BUNDLE, a folder under
# /opt laid out like the image; sets N8N_NODE_MAJOR. n8n compresses the layers
# with zstd, which the umoci in Debian cannot read, so skopeo stores them
# uncompressed and tar applies them in order, whiteouts included. Only regular
# files, folders and symlinks are written, so no container runtime is needed.
function fetch_n8n_image() {
local version="$1" image blob list wh dir name p config
local -a paths=(usr/local/lib/node_modules/n8n usr/share/fonts/truetype/msttcorefonts) members
msg_info "Downloading n8n ${version} (Patience)"
# Under /opt, on the same filesystem as /opt/n8n: the app folder is moved, not copied.
image="$(mktemp -d -p /opt)"
N8N_BUNDLE="$(mktemp -d -p /opt)"
if ! $STD skopeo copy --dest-decompress --override-os linux --override-arch "$(arch_resolve amd64 arm64)" \
"docker://docker.io/n8nio/n8n:${version}-debian" "dir:${image}/img"; then
rm -rf "$image" "$N8N_BUNDLE"
msg_error "Could not download n8nio/n8n:${version}-debian."
exit 115
fi
while read -r blob; do
blob="${image}/img/${blob#sha256:}"
list="$(tar -tf "$blob")" || list=""
while read -r wh; do
[[ -n "$wh" ]] || continue
dir="$(dirname "$wh")" name="$(basename "$wh")"
if [[ "$name" == ".wh..wh..opq" ]]; then
[[ -d "${N8N_BUNDLE}/${dir}" ]] && find "${N8N_BUNDLE}/${dir}" -mindepth 1 -delete
else
rm -rf "${N8N_BUNDLE:?}/${dir}/${name#.wh.}"
fi
done < <(grep -E '(^|/)\.wh\.[^/]*$' <<<"$list" | grep -E "^($(
IFS='|'
echo "${paths[*]}"
))(/|$)" || true)
members=()
for p in "${paths[@]}"; do
grep -qE "^${p}(/|$)" <<<"$list" && members+=("$p")
done
((${#members[@]})) || continue
if ! tar -xf "$blob" -C "$N8N_BUNDLE" --no-same-owner --exclude='.wh.*' "${members[@]}"; then
rm -rf "$image" "$N8N_BUNDLE"
msg_error "Could not unpack the n8n ${version} image."
exit 1
fi
done < <(jq -r '.layers[].digest' "${image}/img/manifest.json")
# The native modules in the image are built for its Node.js major version.
config="${image}/img/$(jq -r '.config.digest | ltrimstr("sha256:")' "${image}/img/manifest.json")"
N8N_NODE_MAJOR="$(jq -r '.config.Env[] | select(startswith("NODE_VERSION=")) | ltrimstr("NODE_VERSION=") | split(".")[0]' "$config" 2>/dev/null)" || true
rm -rf "$image"
if [[ ! "$N8N_NODE_MAJOR" =~ ^[0-9]+$ || ! -f "${N8N_BUNDLE}/usr/local/lib/node_modules/n8n/package.json" ]]; then
rm -rf "$N8N_BUNDLE"
msg_error "The n8n ${version} image does not have the expected layout."
exit 1
fi
msg_ok "Downloaded n8n ${version}"
}
function install_n8n_image() {
local version="$1"
msg_info "Installing n8n ${version}"
# The runtime libraries the n8n base image adds on top of Node.js.
ensure_dependencies git openssh-client tzdata ca-certificates graphicsmagick \
libaio1t64 libsasl2-2 libssl3t64 liblz4-1 libzstd1 libxxhash0 zlib1g
rm -rf /opt/n8n
mv "${N8N_BUNDLE}/usr/local/lib/node_modules/n8n" /opt/n8n
if [[ -d "${N8N_BUNDLE}/usr/share/fonts/truetype/msttcorefonts" ]]; then
mkdir -p /usr/share/fonts/truetype
rm -rf /usr/share/fonts/truetype/msttcorefonts
cp -a "${N8N_BUNDLE}/usr/share/fonts/truetype/msttcorefonts" /usr/share/fonts/truetype/
fi
rm -rf "$N8N_BUNDLE"
# Not a symlink: n8n finds its modules from the path it was started as
# (process.argv[1]/../../dist), which must be /opt/n8n/bin/n8n.
mkdir -p /usr/local/bin
rm -f /usr/local/bin/n8n
cat <<'EOF' >/usr/local/bin/n8n
#!/bin/sh
exec node /opt/n8n/bin/n8n "$@"
EOF
chmod 755 /usr/local/bin/n8n
if ! /usr/local/bin/n8n --version 2>/dev/null | grep -qxF "$version"; then
msg_error "n8n ${version} does not start in this container."
exit 1
fi
echo "$version" >~/.n8n-version
msg_ok "Installed n8n ${version}"
exit
}
start
+1 -1
View File
@@ -40,7 +40,7 @@ function update_script() {
msg_ok "Allowed OpenCloud to embed Collabora"
fi
RELEASE="v9.0.0"
RELEASE="v9.2.0"
if check_for_gh_release "OpenCloud" "opencloud-eu/opencloud" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then
OLD_VERSION="$(cat ~/.opencloud 2>/dev/null)"
msg_info "Stopping services"
+1 -1
View File
@@ -9,7 +9,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
APP="Paperclip"
var_tags="${var_tags:-ai;automation;dev-tools}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-8192}"
var_ram="${var_ram:-10240}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
+57
View File
@@ -0,0 +1,57 @@
#!/usr/bin/env bash
_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 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AnalogJ/scrutiny
APP="Scrutiny"
var_tags="${var_tags:-monitoring;smart;disk}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-1024}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-yes}"
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /opt/scrutiny/scrutiny ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "scrutiny" "AnalogJ/scrutiny"; then
msg_info "Stopping Scrutiny"
systemctl stop scrutiny
msg_ok "Stopped Scrutiny"
fetch_and_deploy_gh_release "scrutiny" "AnalogJ/scrutiny" "singlefile" "latest" "/opt/scrutiny" "scrutiny-web-linux-$(arch_resolve "amd64" "arm64")"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "scrutiny-web" "AnalogJ/scrutiny" "prebuild" "latest" "/opt/scrutiny/web" "scrutiny-web-frontend.tar.gz"
msg_info "Starting Scrutiny"
systemctl start scrutiny
msg_ok "Started Scrutiny"
msg_ok "Updated successfully!"
fi
exit
}
start
build_container
description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
+97
View File
@@ -0,0 +1,97 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MrNRod
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/Viren070/AIOStreams | Docs: https://docs.aiostreams.viren070.me/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y \
build-essential \
python3 \
ffmpeg
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "aiostreams" "Viren070/AIOStreams" "tarball" "latest" "" "" "v"
AIOSTREAMS_TAG="v$(cat ~/.aiostreams)"
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"+]*\).*/\1/p' /opt/aiostreams/package.json)
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION:-11.0.8}" setup_nodejs
msg_info "Configuring Application"
mkdir -p /opt/aiostreams_data
cp /opt/aiostreams/.env.sample /opt/aiostreams_data/.env
SECRET_KEY=$(openssl rand -hex 32)
sed -i \
-e "s|^BASE_URL=.*|BASE_URL=http://${LOCAL_IP}:3000|" \
-e "s|^SECRET_KEY=.*|SECRET_KEY=${SECRET_KEY}|" \
-e "s|^# PORT=3000|PORT=3000|" \
-e "s|^DATABASE_URI=sqlite://./data/db.sqlite|DATABASE_URI=sqlite:///opt/aiostreams_data/db.sqlite|" \
/opt/aiostreams_data/.env
msg_ok "Configured Application"
msg_info "Building AIOStreams (Patience)"
cd /opt/aiostreams
export NODE_OPTIONS="--max-old-space-size=3072"
$STD pnpm install --frozen-lockfile
$STD pnpm run build
unset NODE_OPTIONS
cp -r /opt/aiostreams/packages/server/src/static /opt/aiostreams/packages/server/dist/static
msg_ok "Built AIOStreams"
msg_info "Generating Version Metadata"
mkdir -p /opt/aiostreams/resources
AIOSTREAMS_VERSION=$(jq -r '.version' /opt/aiostreams/package.json)
AIOSTREAMS_DESC=$(jq -r '.description' /opt/aiostreams/package.json)
AIOSTREAMS_COMMIT_INFO=$(curl -fsSL "https://api.github.com/repos/Viren070/AIOStreams/commits/${AIOSTREAMS_TAG}" 2>/dev/null || true)
AIOSTREAMS_COMMIT=$(jq -r '.sha[0:8] // empty' <<<"${AIOSTREAMS_COMMIT_INFO}")
AIOSTREAMS_COMMIT_TIME=$(jq -r '.commit.committer.date // empty' <<<"${AIOSTREAMS_COMMIT_INFO}")
cat <<EOF >/opt/aiostreams/resources/metadata.json
{
"version": "${AIOSTREAMS_VERSION}",
"description": $(jq -Rn --arg d "${AIOSTREAMS_DESC}" '$d'),
"tag": "${AIOSTREAMS_TAG}",
"channel": "stable",
"commitHash": "${AIOSTREAMS_COMMIT:-unknown}",
"buildTime": "$(date -u +%Y-%m-%dT%H:%M:%S.000Z)",
"commitTime": "${AIOSTREAMS_COMMIT_TIME:-$(date -u +%Y-%m-%dT%H:%M:%S.000Z)}"
}
EOF
msg_ok "Generated Version Metadata"
msg_info "Creating Service"
NODE_HEAP_MB=$(($(free -m | awk '/^Mem:/ {print $2}') / 2))
cat <<EOF >/etc/systemd/system/aiostreams.service
[Unit]
Description=AIOStreams
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/aiostreams
EnvironmentFile=/opt/aiostreams_data/.env
Environment="NODE_ENV=production"
Environment="NODE_OPTIONS=--max-old-space-size=${NODE_HEAP_MB} --max-semi-space-size=8 --expose-gc"
Environment="MALLOC_ARENA_MAX=2"
ExecStart=/usr/bin/node /opt/aiostreams/packages/server/dist/server.js
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now aiostreams
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+1 -1
View File
@@ -201,7 +201,7 @@ msg_ok "Installed OpenVino"
msg_info "Building OpenVino Model"
cd /models
curl_download "ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz" "http://download.tensorflow.org/models/object_detection/ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz"
curl_download "ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz" "https://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz"
$STD tar -zxf ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz --no-same-owner
if python3 /opt/frigate/docker/main/build_ov_model.py &>/dev/null; then
mkdir -p /openvino-model
+4 -4
View File
@@ -17,8 +17,8 @@ msg_info "Installing Dependencies"
if [[ "$(arch_resolve)" == "arm64" ]]; then
$STD apt install -y libicu-dev libssl-dev gettext-base
curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh
$STD bash /tmp/dotnet-install.sh --channel 8.0 --install-dir /usr/lib/dotnet8
ln -sf /usr/lib/dotnet8/dotnet /usr/bin/dotnet
$STD bash /tmp/dotnet-install.sh --channel 10.0 --install-dir /usr/lib/dotnet10
ln -sf /usr/lib/dotnet10/dotnet /usr/bin/dotnet
rm -f /tmp/dotnet-install.sh
else
setup_deb822_repo \
@@ -31,8 +31,8 @@ else
libicu-dev \
libssl-dev \
gettext-base \
dotnet-sdk-8.0 \
aspnetcore-runtime-8.0
dotnet-sdk-10.0 \
aspnetcore-runtime-10.0
fi
msg_ok "Installed Dependencies"
+2 -2
View File
@@ -22,8 +22,8 @@ MARIADB_DB_NAME="itsmng_db" MARIADB_DB_USER="itsmng" MARIADB_DB_EXTRA_GRANTS="GR
msg_info "Installing ITSM-NG"
setup_deb822_repo \
"itsm-ng" \
"http://deb.itsm-ng.org/pubkey.gpg" \
"http://deb.itsm-ng.org/$(get_os_info id)/" \
"https://deb.itsm-ng.org/pubkey.gpg" \
"https://deb.itsm-ng.org/$(get_os_info id)/" \
"$(get_os_info codename)"
$STD apt install -y itsm-ng
cd /usr/share/itsm-ng
+11 -126
View File
@@ -13,132 +13,21 @@ setting_up_container
network_check
update_os
# n8n 3.x is no longer published to npm, only as a Docker image. Its Debian
# variant (n8nio/n8n:<version>-debian) is Node.js plus a prebuilt app folder, so
# pull it with skopeo (no container runtime) and run that folder natively. n8n
# 2.x has no Debian image for every release and still comes from npm. The
# version follows the image's "latest" tag, so new installs switch to 3.x when
# n8n promotes it.
# var_n8n_image_tag set to a version (e.g. 3.3.0) pins that release instead.
N8N_IMAGE_TAG="${var_n8n_image_tag:-latest}"
msg_info "Installing Dependencies"
$STD apt install -y \
graphicsmagick \
git \
openssh-client \
tzdata \
ca-certificates \
jq
$STD apt install -y --no-install-recommends skopeo
build-essential \
python3-setuptools \
graphicsmagick
msg_ok "Installed Dependencies"
msg_info "Checking the latest n8n release"
N8N_VERSION="$(skopeo inspect --override-os linux --override-arch "$(arch_resolve amd64 arm64)" "docker://docker.io/n8nio/n8n:${N8N_IMAGE_TAG}" 2>/dev/null |
jq -r '.Labels["org.opencontainers.image.version"] // empty')" || true
if [[ ! "$N8N_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
msg_error "Could not read the n8n version of n8nio/n8n:${N8N_IMAGE_TAG}."
exit 115
fi
msg_ok "Latest n8n release is ${N8N_VERSION}"
NODE_VERSION="24" setup_nodejs
# Downloads n8nio/n8n:<version>-debian and extracts only its app folder
# (/usr/local/lib/node_modules/n8n) and fonts into N8N_BUNDLE, a folder under
# /opt laid out like the image; sets N8N_NODE_MAJOR. n8n compresses the layers
# with zstd, which the umoci in Debian cannot read, so skopeo stores them
# uncompressed and tar applies them in order, whiteouts included. Only regular
# files, folders and symlinks are written, so no container runtime is needed.
function fetch_n8n_image() {
local version="$1" image blob list wh dir name p config
local -a paths=(usr/local/lib/node_modules/n8n usr/share/fonts/truetype/msttcorefonts) members
msg_info "Downloading n8n ${version} (Patience)"
# Under /opt, on the same filesystem as /opt/n8n: the app folder is moved, not copied.
image="$(mktemp -d -p /opt)"
N8N_BUNDLE="$(mktemp -d -p /opt)"
if ! $STD skopeo copy --dest-decompress --override-os linux --override-arch "$(arch_resolve amd64 arm64)" \
"docker://docker.io/n8nio/n8n:${version}-debian" "dir:${image}/img"; then
rm -rf "$image" "$N8N_BUNDLE"
msg_error "Could not download n8nio/n8n:${version}-debian."
exit 115
fi
while read -r blob; do
blob="${image}/img/${blob#sha256:}"
list="$(tar -tf "$blob")" || list=""
while read -r wh; do
[[ -n "$wh" ]] || continue
dir="$(dirname "$wh")" name="$(basename "$wh")"
if [[ "$name" == ".wh..wh..opq" ]]; then
[[ -d "${N8N_BUNDLE}/${dir}" ]] && find "${N8N_BUNDLE}/${dir}" -mindepth 1 -delete
else
rm -rf "${N8N_BUNDLE:?}/${dir}/${name#.wh.}"
fi
done < <(grep -E '(^|/)\.wh\.[^/]*$' <<<"$list" | grep -E "^($(
IFS='|'
echo "${paths[*]}"
))(/|$)" || true)
members=()
for p in "${paths[@]}"; do
grep -qE "^${p}(/|$)" <<<"$list" && members+=("$p")
done
((${#members[@]})) || continue
if ! tar -xf "$blob" -C "$N8N_BUNDLE" --no-same-owner --exclude='.wh.*' "${members[@]}"; then
rm -rf "$image" "$N8N_BUNDLE"
msg_error "Could not unpack the n8n ${version} image."
exit 1
fi
done < <(jq -r '.layers[].digest' "${image}/img/manifest.json")
# The native modules in the image are built for its Node.js major version.
config="${image}/img/$(jq -r '.config.digest | ltrimstr("sha256:")' "${image}/img/manifest.json")"
N8N_NODE_MAJOR="$(jq -r '.config.Env[] | select(startswith("NODE_VERSION=")) | ltrimstr("NODE_VERSION=") | split(".")[0]' "$config" 2>/dev/null)" || true
rm -rf "$image"
if [[ ! "$N8N_NODE_MAJOR" =~ ^[0-9]+$ || ! -f "${N8N_BUNDLE}/usr/local/lib/node_modules/n8n/package.json" ]]; then
rm -rf "$N8N_BUNDLE"
msg_error "The n8n ${version} image does not have the expected layout."
exit 1
fi
msg_ok "Downloaded n8n ${version}"
}
if ((${N8N_VERSION%%.*} >= 3)); then
fetch_n8n_image "$N8N_VERSION"
NODE_VERSION="$N8N_NODE_MAJOR" setup_nodejs
msg_info "Installing n8n ${N8N_VERSION}"
# The runtime libraries the n8n base image adds on top of Node.js.
$STD apt install -y --no-install-recommends libaio1t64 libsasl2-2 libssl3t64 liblz4-1 libzstd1 libxxhash0 zlib1g
mv "${N8N_BUNDLE}/usr/local/lib/node_modules/n8n" /opt/n8n
if [[ -d "${N8N_BUNDLE}/usr/share/fonts/truetype/msttcorefonts" ]]; then
mkdir -p /usr/share/fonts/truetype
cp -a "${N8N_BUNDLE}/usr/share/fonts/truetype/msttcorefonts" /usr/share/fonts/truetype/
fi
rm -rf "$N8N_BUNDLE"
# Not a symlink: n8n finds its modules from the path it was started as
# (process.argv[1]/../../dist), which must be /opt/n8n/bin/n8n.
mkdir -p /usr/local/bin
rm -f /usr/local/bin/n8n
cat <<'EOF' >/usr/local/bin/n8n
#!/bin/sh
exec node /opt/n8n/bin/n8n "$@"
EOF
chmod 755 /usr/local/bin/n8n
if ! /usr/local/bin/n8n --version 2>/dev/null | grep -qxF "$N8N_VERSION"; then
msg_error "n8n ${N8N_VERSION} does not start in this container."
exit 1
fi
echo "$N8N_VERSION" >~/.n8n-version
msg_ok "Installed n8n ${N8N_VERSION}"
else
$STD apt install -y build-essential python3-setuptools
NODE_VERSION="24" setup_nodejs
msg_info "Installing n8n (Patience)"
# n8n-nodes-base 2.46.0 pins both @napi-rs/canvas musl binaries as hard
# dependencies, which no os/cpu/libc combination can satisfy. Drop --force
# once upstream makes them optional again.
$STD npm install -g n8n@latest --force
msg_ok "Installed n8n"
fi
msg_info "Installing n8n (Patience)"
# n8n-nodes-base 2.46.0 pins both @napi-rs/canvas musl binaries as hard
# dependencies, which no os/cpu/libc combination can satisfy. Drop --force
# once upstream makes them optional again.
$STD npm install -g n8n@latest --force
msg_ok "Installed n8n"
msg_info "Creating Service"
cat <<EOF >/opt/n8n.env
@@ -151,15 +40,11 @@ EOF
cat <<EOF >/etc/systemd/system/n8n.service
[Unit]
Description=n8n
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Environment=NODE_ENV=production
EnvironmentFile=/opt/n8n.env
ExecStart=/usr/bin/env n8n start
Restart=on-failure
ExecStart=n8n start
[Install]
WantedBy=multi-user.target
+1 -1
View File
@@ -70,7 +70,7 @@ $STD sudo -u cool coolconfig set-admin-password --user=admin --password="$COOLPA
echo "$COOLPASS" >~/.coolpass
msg_ok "Installed Collabora Online"
fetch_and_deploy_gh_release "OpenCloud" "opencloud-eu/opencloud" "singlefile" "v9.0.0" "/usr/bin" "opencloud-*-linux-$(arch_resolve)"
fetch_and_deploy_gh_release "OpenCloud" "opencloud-eu/opencloud" "singlefile" "v9.2.0" "/usr/bin" "opencloud-*-linux-$(arch_resolve)"
mv /usr/bin/OpenCloud /usr/bin/opencloud
msg_info "Configuring OpenCloud"
+101
View File
@@ -0,0 +1,101 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AnalogJ/scrutiny
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Setting up InfluxDB Repository"
setup_deb822_repo \
"influxdata" \
"https://repos.influxdata.com/influxdata-archive.key" \
"https://repos.influxdata.com/debian" \
"stable"
msg_ok "Set up InfluxDB Repository"
msg_info "Installing InfluxDB"
$STD apt install -y influxdb2
systemctl enable -q --now influxdb
for _ in {1..30}; do
curl -fsS http://127.0.0.1:8086/health >/dev/null 2>&1 && break
sleep 1
done
msg_ok "Installed InfluxDB"
msg_info "Configuring InfluxDB"
INFLUX_PASS="$(random_password)"
INFLUX_TOKEN="$(random_password 48)"
curl -fsS -X POST http://127.0.0.1:8086/api/v2/setup \
-H "Content-Type: application/json" \
-d "{\"username\":\"admin\",\"password\":\"${INFLUX_PASS}\",\"org\":\"scrutiny\",\"bucket\":\"metrics\",\"token\":\"${INFLUX_TOKEN}\"}" >/dev/null
mkdir -p /opt/scrutiny_data
cat <<EOT >/opt/scrutiny_data/.env
INFLUXDB_USER=admin
INFLUXDB_PASSWORD=${INFLUX_PASS}
INFLUXDB_TOKEN=${INFLUX_TOKEN}
EOT
chmod 600 /opt/scrutiny_data/.env
msg_ok "Configured InfluxDB"
fetch_and_deploy_gh_release "scrutiny" "AnalogJ/scrutiny" "singlefile" "latest" "/opt/scrutiny" "scrutiny-web-linux-$(arch_resolve "amd64" "arm64")"
fetch_and_deploy_gh_release "scrutiny-web" "AnalogJ/scrutiny" "prebuild" "latest" "/opt/scrutiny/web" "scrutiny-web-frontend.tar.gz"
msg_info "Configuring Scrutiny"
cat <<EOT >/opt/scrutiny_data/scrutiny.yaml
version: 1
web:
listen:
port: 8080
host: 0.0.0.0
basepath: ''
database:
location: /opt/scrutiny_data/scrutiny.db
src:
frontend:
path: /opt/scrutiny/web
influxdb:
scheme: 'http'
host: 127.0.0.1
port: 8086
token: '${INFLUX_TOKEN}'
org: 'scrutiny'
bucket: 'metrics'
retention_policy: true
log:
file: ''
level: INFO
EOT
chmod 600 /opt/scrutiny_data/scrutiny.yaml
msg_ok "Configured Scrutiny"
msg_info "Creating Service"
cat <<EOT >/etc/systemd/system/scrutiny.service
[Unit]
Description=Scrutiny
After=network-online.target influxdb.service
Requires=influxdb.service
[Service]
Type=simple
WorkingDirectory=/opt/scrutiny_data
ExecStart=/opt/scrutiny/scrutiny start --config /opt/scrutiny_data/scrutiny.yaml
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOT
systemctl enable -q --now scrutiny
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+145
View File
@@ -0,0 +1,145 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/AnalogJ/scrutiny
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/core.func")
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/api/api.func") 2>/dev/null || true
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/lib/tools.func")
load_functions
declare -f init_tool_telemetry &>/dev/null && init_tool_telemetry "scrutiny-collector" "pve"
set -Eeuo pipefail
APP="Scrutiny-Collector"
APP_TYPE="tools"
BIN="/usr/local/bin/scrutiny-collector-metrics"
CONFIG_DIR="/etc/scrutiny"
CONFIG="${CONFIG_DIR}/collector.yaml"
SERVICE="scrutiny-collector"
REPO="AnalogJ/scrutiny"
header_info
if [[ "$(id -u)" -ne 0 ]]; then
msg_error "Run this as root (sudo) on the machine that has the disks."
exit 1
fi
if systemd-detect-virt -cq 2>/dev/null; then
msg_warn "This looks like a container: only disks passed through to it can be read."
fi
if ! command -v apt &>/dev/null; then
msg_error "This tool needs a Debian or Ubuntu based host (apt)."
exit 1
fi
command -v whiptail &>/dev/null || $STD apt install -y whiptail
function deploy_binary() {
fetch_and_deploy_gh_release "scrutiny-collector-metrics" "$REPO" "singlefile" "latest" "/usr/local/bin" "scrutiny-collector-metrics-linux-$(arch_resolve "amd64" "arm64")"
# Only catch_errors' on_exit clears this marker, and tools run without it.
rm -f ~/.scrutiny-collector-metrics.pending
}
function install_collector() {
local url="${var_scrutiny_url:-}"
while true; do
if [[ -z "$url" ]]; then
url=$(whiptail --backtitle "Community Scripts" --title "Scrutiny URL" \
--inputbox "URL of your Scrutiny web UI, e.g. http://192.168.1.50:8080" 10 64 "" 3>&1 1>&2 2>&3)
fi
url="${url%/}"
[[ "$url" =~ ^https?://[A-Za-z0-9._-]+(:[0-9]{1,5})?(/.*)?$ ]] && break
whiptail --backtitle "Community Scripts" --title "Scrutiny URL" \
--msgbox "'${url}' is not a valid URL. Use http(s)://host:port" 8 64
url=""
done
if ! curl -fsS --max-time 5 "${url}/api/health" &>/dev/null; then
msg_warn "Scrutiny does not answer at ${url}/api/health yet; the collector will retry every 15 minutes."
fi
msg_info "Installing smartmontools"
$STD apt install -y smartmontools
msg_ok "Installed smartmontools"
deploy_binary
msg_info "Configuring ${APP}"
mkdir -p "$CONFIG_DIR"
cat <<EOF >"$CONFIG"
version: 1
host:
id: "$(hostname)"
api:
endpoint: "${url}"
EOF
cat <<EOF >/etc/systemd/system/${SERVICE}.service
[Unit]
Description=Scrutiny S.M.A.R.T. collector
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=${BIN} run --config ${CONFIG}
EOF
cat <<EOF >/etc/systemd/system/${SERVICE}.timer
[Unit]
Description=Run the Scrutiny collector every 15 minutes
[Timer]
OnBootSec=2min
OnUnitActiveSec=15min
Persistent=true
[Install]
WantedBy=timers.target
EOF
systemctl daemon-reload
systemctl enable -q --now ${SERVICE}.timer
systemctl start --no-block ${SERVICE}.service
msg_ok "Configured ${APP}"
echo ""
msg_ok "The disks of $(hostname) show up in Scrutiny at ${BL}${url}${CL} after the first run."
msg_ok "Follow it with: ${BL}journalctl -u ${SERVICE} -f${CL}"
}
function update_collector() {
if check_for_gh_release "scrutiny-collector-metrics" "$REPO"; then
deploy_binary
msg_ok "Updated ${APP}"
else
msg_ok "${APP} is already up-to-date"
fi
}
function uninstall_collector() {
msg_info "Removing ${APP}"
systemctl disable -q --now ${SERVICE}.timer 2>/dev/null || true
systemctl stop ${SERVICE}.service 2>/dev/null || true
rm -f /etc/systemd/system/${SERVICE}.service /etc/systemd/system/${SERVICE}.timer "$BIN" ~/.scrutiny-collector-metrics
rm -rf "$CONFIG_DIR"
systemctl daemon-reload
msg_ok "Removed ${APP} (smartmontools stays installed)"
}
ACTION="${1:-}"
if [[ -z "$ACTION" && -x "$BIN" ]]; then
ACTION=$(whiptail --backtitle "Community Scripts" --title "${APP}" \
--menu "The Scrutiny collector is installed on this host." 12 58 2 \
"update" "Update the collector binary" \
"uninstall" "Remove the collector" 3>&1 1>&2 2>&3)
fi
case "${ACTION:-install}" in
install) install_collector ;;
update) update_collector ;;
uninstall) uninstall_collector ;;
*)
msg_error "Unknown action '${ACTION}'. Use install, update or uninstall."
exit 1
;;
esac