Compare commits

..

25 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
1e679be149 Update CHANGELOG.md (#8894)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-06 00:15:13 +00:00
community-scripts-pr-app[bot]
6add81de6a Update versions.json (#8893)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-06 01:14:53 +01:00
community-scripts-pr-app[bot]
66f81a5894 Update CHANGELOG.md (#8889)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 16:36:23 +00:00
Chris
72391a96a8 Immich: Pin version to 2.2.3 (#8861) 2025-11-05 17:36:00 +01:00
community-scripts-pr-app[bot]
890ef7a4a1 Update CHANGELOG.md (#8888)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 16:25:38 +00:00
Chris
0f16576ea6 Jotty: increase RAM to 4GB (#8887) 2025-11-05 17:25:15 +01:00
community-scripts-pr-app[bot]
b61756f259 Update CHANGELOG.md (#8884)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 14:38:50 +00:00
CanbiZ
3fa9a2add6 Refactor agent service control in zabbix.sh (#8881)
Replaces conditional logic for stopping and starting Zabbix agent services with a variable ($AGENT_SERVICE), simplifying service management.
2025-11-05 15:38:24 +01:00
community-scripts-pr-app[bot]
4eedff17b6 Update CHANGELOG.md (#8883)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 14:14:02 +00:00
CanbiZ
cad5b3e059 npm: Increase RAM and HDD, update Certbot notes (#8882) 2025-11-05 15:13:30 +01:00
community-scripts-pr-app[bot]
a3199be759 Update CHANGELOG.md (#8879)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 13:42:12 +00:00
Tobias
4c374e50dc fix: npm: refactor for v2.13.x (#8870) 2025-11-05 14:41:52 +01:00
community-scripts-pr-app[bot]
258b2c817e Update CHANGELOG.md (#8878)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 13:21:02 +00:00
Slaviša Arežina
fb1a558dc6 Refactor (#8874) 2025-11-05 14:20:33 +01:00
community-scripts-pr-app[bot]
b2ee06d8cb Update CHANGELOG.md (#8877)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 13:20:03 +00:00
CanbiZ
1f261a382c Refactor(tools.func): Add Retry Logic, OS-Upgrade Safety, Smart Version Detection + 10 Critical Bugfixes (#8871)
* Add robust package and repository management helpers

Introduces unified helper functions for package installation, repository management, and legacy cleanup across Debian/Ubuntu upgrades. Adds retry logic for APT operations, keyring cleanup, service management, version checks, and tool-specific repository setup. Refactors setup functions for Composer, FFmpeg, Go, Ghostscript, ImageMagick, Java, hardware acceleration, and MariaDB to use new helpers, improving reliability and upgrade safety.

* english comment
2025-11-05 14:19:35 +01:00
community-scripts-pr-app[bot]
b60aef556a Update versions.json (#8875)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 13:06:01 +01:00
community-scripts-pr-app[bot]
179f4d5504 Update CHANGELOG.md (#8873)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 11:09:41 +00:00
Quinten van Buul
eacff384e2 Update config_path in donetick.json (#8872)
Edited config path to proper location
2025-11-05 12:09:19 +01:00
community-scripts-pr-app[bot]
55d80d2e03 Update CHANGELOG.md (#8866)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 00:13:37 +00:00
community-scripts-pr-app[bot]
1dce163ada Update versions.json (#8865)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-05 01:13:11 +01:00
community-scripts-pr-app[bot]
c3c4564798 Update versions.json (#8860)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-04 13:07:47 +01:00
community-scripts-pr-app[bot]
d099b5bd23 Update CHANGELOG.md (#8859)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-04 11:40:49 +00:00
CanbiZ
f8ac8e677e stirling-pdf: add native jbig2 dep to installation script (#8858) 2025-11-04 12:40:21 +01:00
CanbiZ
578a2d2a55 unifi: json update version 2025-11-04 00:54:02 -08:00
24 changed files with 2222 additions and 2329 deletions

458
.github/AUTOLABELER_FEATURES.md generated vendored
View File

@@ -1,458 +0,0 @@
# 🤖 Autolabeler Features
This document describes the automated features of our PR labeling system.
## 🎯 All Features
### 1. **Label Cleanup** ✨
Automatically removes outdated or conflicting labels when PR is updated.
**Example:**
- PR initially labeled with `feature` and `bugfix`
- User updates PR and only checks `bugfix`
- Bot removes `feature` label automatically
**Benefits:**
- Prevents label confusion
- Ensures accurate changelog categorization
- Maintains label consistency
---
### 2. **Commit Message Analysis** 📝
Automatically detects change types from conventional commit messages.
**Supported Formats:**
- `fix:` or `fix(scope):` → adds `bugfix` label
- `feat:` or `feat(scope):` → adds `feature` label
- `refactor:` or `refactor(scope):` → adds `refactor` label
- `BREAKING CHANGE:` or `feat!:` → adds `breaking change` label
**Example:**
```
feat(docker): add support for custom networks
This adds support for user-defined networks
```
→ Automatically labeled with `feature`
**Benefits:**
- Works even if checkboxes are forgotten
- Supports standard Git conventions
- Combines with template checkboxes
---
### 3. **Size Labels** 📏
Automatically adds size labels based on total lines changed.
**Size Categories:**
- `size: XS` → 1-10 lines (🟢 Green)
- `size: S` → 11-50 lines (🟢 Yellow-Green)
- `size: M` → 51-200 lines (🟡 Yellow)
- `size: L` → 201-500 lines (🟠 Orange)
- `size: XL` → 500+ lines (🔴 Red)
**Benefits:**
- Helps reviewers prioritize
- Quick visual indication of PR complexity
- Automatic and consistent
**Note:** Labels need to be created in repository first. See [SETUP_NEW_LABELS.md](SETUP_NEW_LABELS.md)
---
### 4. **First-Time Contributor Welcome** 🎉
Special welcome message for contributors making their first PR.
**Example:**
```markdown
## 🎉 Welcome to the Community!
Thank you @username for your first contribution! 🙌
A maintainer will review your PR soon. Here are some helpful resources:
- Contributing Guide
- Code of Conduct
```
**Benefits:**
- Better onboarding experience
- Increases contributor retention
- Builds community
---
### 5. **Documentation Check** 📚
Warns when code changes don't include documentation updates.
**Triggers Warning When:**
- Code files modified (`.sh`, `.func`, `.js`, `.go`, etc.)
- No documentation files modified (`.md`, `README`, etc.)
- Not a bugfix or refactor (features should have docs!)
**Example Warning:**
```markdown
📚 **Documentation update recommended**: Consider updating documentation
for these code changes.
```
**Benefits:**
- Improves documentation coverage
- Reminds contributors about docs
- Better project maintainability
---
### 6. **Related Issues Detection** 🔗
Automatically finds and links related open issues.
**How it works:**
- Extracts script names from changed files
- Searches open issues for matching names
- Links up to 5 most relevant issues
**Example:**
```markdown
## 🔗 Related Issues
This PR may be related to the following open issues:
- #123: Docker script fails on Ubuntu 22.04
- #456: Add network configuration options
```
**Benefits:**
- Better context for reviewers
- Automatic cross-referencing
- Helps track issue resolution
---
### 7. **Validation Warnings** ⚠️
Provides helpful warnings when PR information is incomplete or inconsistent.
**Checks:**
- ✅ Change type checkbox is selected for script updates
- ✅ Website checkbox matches file changes
- ✅ Required labels are present
- ✅ Documentation updated for new features
**Example Warning:**
```markdown
## ⚠️ Validation Warnings
⚠️ **Missing change type**: Please check one of the change type checkboxes
(Bug fix, New feature, Refactoring, or Breaking change) in the PR description.
```
---
### 8. **Changelog Preview** 📝
Shows contributors exactly how their PR will appear in the changelog.
**Example Preview:**
```markdown
## 📝 Changelog Preview
This PR will appear in the changelog as:
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Fix docker script issue @username ([#123](url))
```
**Benefits:**
- Contributors see immediate feedback
- Reduces changelog errors
- Improves PR quality
---
## 🏷️ Label Priority System
When multiple change types are checked, only the highest priority label is applied:
1. 🐞 **Bugfix** (highest priority)
2. 🔧 **Refactor**
3.**Feature**
4. 💥 **Breaking Change** (lowest priority)
**Rationale:**
- Bug fixes are most important for users
- Prevents PRs from appearing in multiple subcategories
- Maintains clean changelog structure
**Note:** This applies to both template checkboxes AND conventional commit messages!
---
## 📊 Changelog Categories
The bot automatically determines which changelog category your PR belongs to:
| Files Changed | Category | Note |
| ------------------------------------ | ------------------------------- | ------------------ |
| `ct/`, `vm/`, `install/`, `turnkey/` | 🚀 Updated Scripts | Standard scripts |
| `tools/` | 🛠️ Updated Tools | Utility tools |
| `misc/` | 🔧 Core Updates | Core functionality |
| `frontend/` (not JSON) | 🌐 Website | Frontend changes |
| `frontend/public/json/` | 🌐 Website > Script Information | Metadata updates |
| Documentation files | 🧰 Maintenance | Docs, README, etc. |
**Multi-Category PRs:**
PRs that change files in multiple categories will appear in each relevant category.
---
## 🔄 Bot Behavior
### When PR is Opened/Edited:
1. ✅ Analyzes changed files
2. ✅ Parses PR template checkboxes
3. ✅ Analyzes commit messages (conventional commits)
4. ✅ Calculates size label
5. ✅ Checks if first-time contributor
6. ✅ Applies appropriate labels
7. ✅ Removes conflicting labels
8. ✅ Checks for validation issues
9. ✅ Finds related issues
10. ✅ Posts/updates comment with all info
### Comment Structure:
A single bot comment contains (in order):
1. 🎉 Welcome message (if first-time contributor)
2. ⚠️ Validation warnings (if any)
3. 📝 Changelog preview (always)
4. 🔗 Related issues (if found)
5. Footer with PR size
### Comment Updates:
- Bot updates its own comment when PR is edited (no spam)
- Only posts new comment if none exists
- Welcome message is preserved across updates
---
## 📝 Complete Example
Here's what a first-time contributor might see:
```markdown
## 🎉 Welcome to the Community!
Thank you @newuser for your first contribution! 🙌
A maintainer will review your PR soon. Here are some helpful resources:
- Contributing Guide
- Code of Conduct
---
## ⚠️ Validation Warnings
📚 **Documentation update recommended**: Consider updating documentation
for these code changes.
---
## 📝 Changelog Preview
This PR will appear in the changelog as:
### 🚀 Updated Scripts
- #### ✨ New Features
- Add Docker network support @newuser ([#789](url))
---
## 🔗 Related Issues
This PR may be related to the following open issues:
- #456: Docker networking not working
- #123: Request: Custom network support
---
_This is an automated message from the PR labeler bot. PR size: size: M_
```
---
## 🛠️ For Maintainers
### Debugging Label Issues
If labels aren't being applied correctly:
1. Check PR template checkboxes are properly formatted
2. Verify commit messages use conventional format
3. Look for bot comment explaining label decisions
4. Check GitHub Actions logs for errors
5. Verify all required labels exist in repository
### Modifying Label Behavior
**Config files:**
- `.github/autolabeler-config.json` - File path → label mappings
- `.github/changelog-pr-config.json` - Changelog categories
- `.github/workflows/autolabeler.yml` - Core logic
**Priority order** can be changed in `autolabeler.yml`:
```javascript
const priorityOrder = ["bugfix", "refactor", "feature", "breaking change"];
```
**Size thresholds** can be adjusted:
```javascript
if (totalChanges <= 10) labelsToAdd.add("size: XS");
else if (totalChanges <= 50) labelsToAdd.add("size: S");
// etc.
```
### Creating Required Labels
Run these commands to create all size labels:
```bash
gh label create "size: XS" --description "1-10 lines" --color "00ff00"
gh label create "size: S" --description "11-50 lines" --color "7fff00"
gh label create "size: M" --description "51-200 lines" --color "ffff00"
gh label create "size: L" --description "201-500 lines" --color "ff8c00"
gh label create "size: XL" --description "500+ lines" --color "ff0000"
```
See [SETUP_NEW_LABELS.md](SETUP_NEW_LABELS.md) for full setup guide.
---
## 🧪 Testing Scenarios
### Test 1: Conventional Commits
```bash
# Commit with conventional format
git commit -m "feat: add new feature"
# Expected: feature label, even without checkbox
```
### Test 2: Size Labels
```bash
# Small PR (< 50 lines)
# Expected: size: S label
```
### Test 3: First-Time Contributor
```bash
# Create PR from new contributor account
# Expected: Welcome message in bot comment
```
### Test 4: Documentation Check
```bash
# Change .sh file, no .md changes
# Expected: Warning about missing docs
```
### Test 5: Related Issues
```bash
# PR changes "docker.sh"
# Expected: Links to issues mentioning "docker"
```
---
## 🎉 Benefits Summary
**Automation**: Less manual work for maintainers
**Consistency**: All PRs follow same standard
**Quality**: Multiple validation checks
**Transparency**: Contributors see what happens
**Community**: Better onboarding for new contributors
**Context**: Automatic issue linking
**Clean Changelogs**: Priority system prevents duplication
---
## 🐛 Troubleshooting
**Labels not applied?**
- Check if PR template checkboxes are properly formatted
- Try using conventional commit messages
- Ensure files changed match expected patterns
- Look for validation warnings in bot comment
**Size label missing?**
- Labels need to be created first (see setup guide)
- Check if label was removed manually
- Verify workflow has permissions to add labels
**Wrong category?**
- Verify file paths (tools/ vs ct/ vs misc/)
- Check if multiple categories apply (intended behavior)
- Review `.github/changelog-pr-config.json`
**Bot comment not appearing?**
- Check GitHub Actions logs
- Verify bot has comment permissions
- May take a few seconds after PR creation
- Check if PR is from a fork (requires pull_request_target)
**Related issues not found?**
- Script name must match issue title/body
- Only searches open issues
- Limited to top 5 results
---
**Questions?** Check the workflow logs or ask in the repository discussions.

View File

@@ -13,6 +13,7 @@ body:
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently. Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
- type: input - type: input
id: guidelines id: guidelines
attributes: attributes:
@@ -33,7 +34,8 @@ body:
id: script_command id: script_command
attributes: attributes:
label: 📂 What was the exact command used to execute the script? label: 📂 What was the exact command used to execute the script?
placeholder: 'e.g., bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zigbee2mqtt.sh)" or "update"' placeholder: "e.g., bash -c \"$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/zigbee2mqtt.sh)\" or \"update\""
validations:
required: true required: true
- type: checkboxes - type: checkboxes
@@ -61,8 +63,7 @@ body:
- Debian 13 - Debian 13
- Ubuntu 22.04 - Ubuntu 22.04
- Ubuntu 24.04 - Ubuntu 24.04
- Ubuntu 25.04 - Ubuntu 24.10
- Other
validations: validations:
required: true required: true

79
.github/SETUP_NEW_LABELS.md generated vendored
View File

@@ -1,79 +0,0 @@
# 🏷️ Setup New Labels
The autolabeler now uses additional size labels. These need to be created in your repository.
## Required Labels
### Size Labels (New)
These labels are automatically added based on the number of lines changed:
| Label | Lines Changed | Color | Description |
| ---------- | ------------- | --------- | ----------------------------- |
| `size: XS` | 1-10 | `#00ff00` | Extra Small - Minimal changes |
| `size: S` | 11-50 | `#7fff00` | Small - Minor changes |
| `size: M` | 51-200 | `#ffff00` | Medium - Moderate changes |
| `size: L` | 201-500 | `#ff8c00` | Large - Significant changes |
| `size: XL` | 500+ | `#ff0000` | Extra Large - Major changes |
## Quick Setup Commands
Run these commands in your terminal to create all labels at once:
```bash
# Create size labels
gh label create "size: XS" --description "Extra Small - 1-10 lines changed" --color "00ff00"
gh label create "size: S" --description "Small - 11-50 lines changed" --color "7fff00"
gh label create "size: M" --description "Medium - 51-200 lines changed" --color "ffff00"
gh label create "size: L" --description "Large - 201-500 lines changed" --color "ff8c00"
gh label create "size: XL" --description "Extra Large - 500+ lines changed" --color "ff0000"
```
## Manual Setup (GitHub UI)
1. Go to: `https://github.com/community-scripts/ProxmoxVE/labels`
2. Click "New label" for each label
3. Fill in:
- **Name**: Use exact names from table above
- **Description**: Copy from table
- **Color**: Use hex codes from table (without #)
## Verification
After creating labels, test by:
1. Creating a small PR (< 10 lines) → should get `size: XS`
2. Check that bot comment includes size in footer
## Optional: Label Sync
For automated label management, consider using [github-label-sync](https://github.com/Financial-Times/github-label-sync):
```json
{
"size: XS": {
"color": "00ff00",
"description": "Extra Small - 1-10 lines changed"
},
"size: S": {
"color": "7fff00",
"description": "Small - 11-50 lines changed"
},
"size: M": {
"color": "ffff00",
"description": "Medium - 51-200 lines changed"
},
"size: L": {
"color": "ff8c00",
"description": "Large - 201-500 lines changed"
},
"size: XL": {
"color": "ff0000",
"description": "Extra Large - 500+ lines changed"
}
}
```
---
**Note**: The autolabeler will work even if labels don't exist yet, but they won't be visible on PRs until created.

13
.github/autolabeler-config.json generated vendored
View File

@@ -101,11 +101,20 @@
"excludeGlobs": [] "excludeGlobs": []
} }
], ],
"tools": [ "addon": [
{ {
"fileStatus": null, "fileStatus": null,
"includeGlobs": [ "includeGlobs": [
"tools/**" "tools/addon/**"
],
"excludeGlobs": []
}
],
"pve-tool": [
{
"fileStatus": null,
"includeGlobs": [
"tools/pve/**"
], ],
"excludeGlobs": [] "excludeGlobs": []
} }

175
.github/changelog-pr-config.json generated vendored
View File

@@ -10,10 +10,6 @@
"labels": [ "labels": [
"update script" "update script"
], ],
"excludeLabels": [
"tools",
"core"
],
"subCategories": [ "subCategories": [
{ {
"title": "🐞 Bug Fixes", "title": "🐞 Bug Fixes",
@@ -22,13 +18,6 @@
], ],
"notes": [] "notes": []
}, },
{
"title": "🔧 Refactor",
"labels": [
"refactor"
],
"notes": []
},
{ {
"title": "✨ New Features", "title": "✨ New Features",
"labels": [ "labels": [
@@ -42,61 +31,6 @@
"breaking change" "breaking change"
], ],
"notes": [] "notes": []
}
]
},
{
"title": "🛠️ Updated Tools",
"labels": [
"update script",
"tools"
],
"requireAllLabels": true,
"subCategories": [
{
"title": "<22> Bug Fixes",
"labels": [
"bugfix"
],
"notes": []
},
{
"title": "<22>🔧 Refactor",
"labels": [
"refactor"
],
"notes": []
},
{
"title": "✨ New Features",
"labels": [
"feature"
],
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": [
"breaking change"
],
"notes": []
}
]
},
{
"title": "🔧 Core Updates",
"labels": [
"update script",
"core"
],
"requireAllLabels": true,
"subCategories": [
{
"title": "🐞 Bug Fixes",
"labels": [
"bugfix"
],
"notes": []
}, },
{ {
"title": "🔧 Refactor", "title": "🔧 Refactor",
@@ -104,63 +38,6 @@
"refactor" "refactor"
], ],
"notes": [] "notes": []
},
{
"title": "✨ New Features",
"labels": [
"feature"
],
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": [
"breaking change"
],
"notes": []
}
]
},
{
"title": "🌐 Website",
"labels": [
"website"
],
"subCategories": [
{
"title": "<22> Bug Fixes",
"labels": [
"bugfix"
],
"notes": []
},
{
"title": "<22> Refactor",
"labels": [
"refactor"
],
"notes": []
},
{
"title": "✨ New Features",
"labels": [
"feature"
],
"notes": []
},
{
"title": "<22> Breaking Changes",
"labels": [
"breaking change"
],
"notes": []
},
{
"title": "<22> Script Information",
"labels": [
"json"
],
"notes": []
} }
] ]
}, },
@@ -177,13 +54,6 @@
], ],
"notes": [] "notes": []
}, },
{
"title": "🔧 Refactor",
"labels": [
"refactor"
],
"notes": []
},
{ {
"title": "✨ New Features", "title": "✨ New Features",
"labels": [ "labels": [
@@ -199,7 +69,7 @@
"notes": [] "notes": []
}, },
{ {
"title": "<EFBFBD> API", "title": "📡 API",
"labels": [ "labels": [
"api" "api"
], ],
@@ -225,6 +95,49 @@
"maintenance" "maintenance"
], ],
"notes": [] "notes": []
},
{
"title": "🔧 Refactor",
"labels": [
"refactor"
],
"notes": []
}
]
},
{
"title": "🌐 Website",
"labels": [
"website"
],
"subCategories": [
{
"title": "🐞 Bug Fixes",
"labels": [
"bugfix"
],
"notes": []
},
{
"title": "✨ New Features",
"labels": [
"feature"
],
"notes": []
},
{
"title": "💥 Breaking Changes",
"labels": [
"breaking change"
],
"notes": []
},
{
"title": "📝 Script Information",
"labels": [
"json"
],
"notes": []
} }
] ]
}, },

308
.github/workflows/autolabeler.yml generated vendored
View File

@@ -35,7 +35,6 @@ jobs:
const prNumber = context.payload.pull_request.number; const prNumber = context.payload.pull_request.number;
const prBody = context.payload.pull_request.body || ""; const prBody = context.payload.pull_request.body || "";
const prAuthor = context.payload.pull_request.user.login;
let labelsToAdd = new Set(); let labelsToAdd = new Set();
@@ -46,24 +45,6 @@ jobs:
}); });
const prFiles = prListFilesResponse.data; const prFiles = prListFilesResponse.data;
// Get commits for commit message analysis
const { data: commits } = await github.rest.pulls.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: prNumber,
});
// Check if this is a first-time contributor
const { data: prsByAuthor } = await github.rest.pulls.list({
owner: context.repo.owner,
repo: context.repo.repo,
state: 'all',
per_page: 5
});
const isFirstTimeContributor = !prsByAuthor.some(pr =>
pr.user.login === prAuthor && pr.number !== prNumber && pr.merged_at
);
for (const [label, rules] of Object.entries(autolabelerConfig)) { for (const [label, rules] of Object.entries(autolabelerConfig)) {
const shouldAddLabel = prFiles.some((prFile) => { const shouldAddLabel = prFiles.some((prFile) => {
return rules.some((rule) => { return rules.some((rule) => {
@@ -76,48 +57,28 @@ jobs:
if (shouldAddLabel) { if (shouldAddLabel) {
labelsToAdd.add(label); labelsToAdd.add(label);
if (label === "update script" || label === "new script") { if (label === "update script") {
for (const prFile of prFiles) { for (const prFile of prFiles) {
const filename = prFile.filename; const filename = prFile.filename;
if (filename.startsWith("vm/")) labelsToAdd.add("vm"); if (filename.startsWith("vm/")) labelsToAdd.add("vm");
if (filename.startsWith("tools/")) labelsToAdd.add("tools"); if (filename.startsWith("tools/addon/")) labelsToAdd.add("addon");
if (filename.startsWith("misc/")) labelsToAdd.add("core"); if (filename.startsWith("tools/pve/")) labelsToAdd.add("pve-tool");
} }
} }
} }
} }
// Feature 2: Analyze commit messages for conventional commits if (labelsToAdd.size < 2) {
const commitMessages = commits.map(c => c.commit.message).join('\n');
const conventionalCommitLabels = [];
if (/^fix(\(.*?\))?:/im.test(commitMessages)) {
conventionalCommitLabels.push("bugfix");
}
if (/^feat(\(.*?\))?:/im.test(commitMessages)) {
conventionalCommitLabels.push("feature");
}
if (/^refactor(\(.*?\))?:/im.test(commitMessages)) {
conventionalCommitLabels.push("refactor");
}
if (/BREAKING[:\s]CHANGE/i.test(commitMessages) || /^[a-z]+(\(.*?\))?!:/im.test(commitMessages)) {
conventionalCommitLabels.push("breaking change");
}
// Parse PR template for content type labels (bugfix, feature, refactor, breaking change)
const templateLabelMappings = { const templateLabelMappings = {
"🐞 **Bug fix**": "bugfix", "🐞 **Bug fix**": "bugfix",
"✨ **New feature**": "feature", "✨ **New feature**": "feature",
"💥 **Breaking change**": "breaking change", "💥 **Breaking change**": "breaking change",
"🆕 **New script**": "new script", "🆕 **New script**": "new script",
"🌍 **Website update**": "website", "🌍 **Website update**": "website", // handled special
"🔧 **Refactoring / Code Cleanup**": "refactor", "🔧 **Refactoring / Code Cleanup**": "refactor",
"📝 **Documentation update**": "documentation" "📝 **Documentation update**": "documentation" // mapped to maintenance
}; };
const contentLabels = ["bugfix", "feature", "refactor", "breaking change"];
const checkedContentLabels = [];
for (const [checkbox, label] of Object.entries(templateLabelMappings)) { for (const [checkbox, label] of Object.entries(templateLabelMappings)) {
const escapedCheckbox = checkbox.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1"); const escapedCheckbox = checkbox.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1");
const regex = new RegExp(`- \\[(x|X)\\]\\s*${escapedCheckbox}`, "i"); const regex = new RegExp(`- \\[(x|X)\\]\\s*${escapedCheckbox}`, "i");
@@ -125,267 +86,20 @@ jobs:
if (regex.test(prBody)) { if (regex.test(prBody)) {
if (label === "website") { if (label === "website") {
const hasJson = prFiles.some((f) => f.filename.startsWith("frontend/public/json/")); const hasJson = prFiles.some((f) => f.filename.startsWith("frontend/public/json/"));
const hasUpdateScript = labelsToAdd.has("update script");
const hasContentLabel = ["bugfix", "feature", "refactor"].some((l) => labelsToAdd.has(l));
if (!(hasUpdateScript && hasContentLabel)) {
labelsToAdd.add(hasJson ? "json" : "website"); labelsToAdd.add(hasJson ? "json" : "website");
}
} else if (label === "documentation") { } else if (label === "documentation") {
labelsToAdd.add("maintenance"); labelsToAdd.add("maintenance");
} else if (label === "new script") {
labelsToAdd.add("new script");
} else if (contentLabels.includes(label)) {
checkedContentLabels.push(label);
} else { } else {
labelsToAdd.add(label); labelsToAdd.add(label);
} }
} }
} }
// Priority system: Combine template checkboxes and conventional commits
// Merge both sources
const allCheckedLabels = [...new Set([...checkedContentLabels, ...conventionalCommitLabels])];
// Priority: bugfix > refactor > feature > breaking change
if (allCheckedLabels.length > 0) {
const priorityOrder = ["bugfix", "refactor", "feature", "breaking change"];
const highestPriorityLabel = priorityOrder.find(label => allCheckedLabels.includes(label));
if (highestPriorityLabel) {
labelsToAdd.add(highestPriorityLabel);
} }
}
// Feature 3: Add size labels based on changes
const totalChanges = prFiles.reduce((sum, file) => sum + file.additions + file.deletions, 0);
if (totalChanges <= 10) {
labelsToAdd.add("size: XS");
} else if (totalChanges <= 50) {
labelsToAdd.add("size: S");
} else if (totalChanges <= 200) {
labelsToAdd.add("size: M");
} else if (totalChanges <= 500) {
labelsToAdd.add("size: L");
} else {
labelsToAdd.add("size: XL");
}
// Get current PR labels
const { data: currentPR } = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: prNumber,
});
const currentLabels = currentPR.labels.map(label => label.name.toLowerCase());
// Label Cleanup: Remove outdated content labels and size labels
const allContentLabels = ["bugfix", "feature", "refactor", "breaking change"];
const allSizeLabels = ["size: XS", "size: S", "size: M", "size: L", "size: XL"];
const labelsToRemove = [
...allContentLabels.filter(label => currentLabels.includes(label) && !labelsToAdd.has(label)),
...allSizeLabels.filter(label => currentLabels.includes(label.toLowerCase()) && !labelsToAdd.has(label))
];
for (const label of labelsToRemove) {
try {
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
name: label,
});
} catch (error) {
// Label might not exist, ignore
}
}
// Validation: Check for missing information
const warnings = [];
const hasUpdateOrNewScript = labelsToAdd.has("update script") || labelsToAdd.has("new script");
const hasContentLabel = allContentLabels.some(label => labelsToAdd.has(label));
if (hasUpdateOrNewScript && !hasContentLabel && !labelsToAdd.has("new script")) {
warnings.push("⚠️ **Missing change type**: Please check one of the change type checkboxes (Bug fix, New feature, Refactoring, or Breaking change) in the PR description.");
}
if (labelsToAdd.has("website") && !labelsToAdd.has("json") && prFiles.some(f => f.filename.includes("frontend/"))) {
const hasCheckbox = /- \[(x|X)\]\s*🌍 \*\*Website update\*\*/i.test(prBody);
if (!hasCheckbox) {
warnings.push("⚠️ **Missing checkbox**: Please check the '🌍 Website update' checkbox in the PR description.");
}
}
// Feature 5: Documentation check
const codeFiles = prFiles.filter(f => /\.(sh|func|go|js|ts|tsx|jsx)$/.test(f.filename));
const docFiles = prFiles.filter(f => /\.(md|txt)$/i.test(f.filename) || f.filename.includes('README'));
if (codeFiles.length > 0 && docFiles.length === 0 && !labelsToAdd.has("refactor") && !labelsToAdd.has("bugfix")) {
warnings.push("📚 **Documentation update recommended**: Consider updating documentation for these code changes.");
}
// Feature 6: Related issues detection
let relatedIssuesText = "";
const scriptFiles = prFiles.filter(f => /\.(sh|func)$/.test(f.filename));
if (scriptFiles.length > 0) {
const scriptNames = scriptFiles.map(f => {
const match = f.filename.match(/([^\/]+)\.(sh|func)$/);
return match ? match[1] : null;
}).filter(Boolean);
if (scriptNames.length > 0) {
try {
const { data: openIssues } = await github.rest.issues.listForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
state: 'open',
per_page: 100
});
const related = [];
for (const scriptName of scriptNames) {
const matchingIssues = openIssues.filter(issue =>
!issue.pull_request &&
(issue.title.toLowerCase().includes(scriptName.toLowerCase()) ||
(issue.body || '').toLowerCase().includes(scriptName.toLowerCase()))
);
related.push(...matchingIssues);
}
const uniqueRelated = [...new Map(related.map(i => [i.number, i])).values()];
if (uniqueRelated.length > 0) {
relatedIssuesText = "\n\n## 🔗 Related Issues\n\n";
relatedIssuesText += "This PR may be related to the following open issues:\n";
uniqueRelated.slice(0, 5).forEach(issue => {
relatedIssuesText += `- #${issue.number}: ${issue.title}\n`;
});
if (uniqueRelated.length > 5) {
relatedIssuesText += `- _...and ${uniqueRelated.length - 5} more_\n`;
}
}
} catch (error) {
console.error("Error fetching related issues:", error);
}
}
}
// Generate Changelog Preview
let changelogPreview = "## 📝 Changelog Preview\n\n";
changelogPreview += "This PR will appear in the changelog as:\n\n";
const categories = [];
if (labelsToAdd.has("new script")) {
changelogPreview += "### 🆕 New Scripts\n";
changelogPreview += `- ${currentPR.title} @${currentPR.user.login} ([#${prNumber}](${currentPR.html_url}))\n\n`;
} else {
if (labelsToAdd.has("update script")) {
if (labelsToAdd.has("tools")) {
categories.push({ name: "🛠️ Updated Tools", label: labelsToAdd });
} else if (labelsToAdd.has("core")) {
categories.push({ name: "🔧 Core Updates", label: labelsToAdd });
} else {
categories.push({ name: "🚀 Updated Scripts", label: labelsToAdd });
}
}
if (labelsToAdd.has("website") || labelsToAdd.has("json")) {
categories.push({ name: "🌐 Website", label: labelsToAdd });
}
if (labelsToAdd.has("maintenance")) {
categories.push({ name: "🧰 Maintenance", label: labelsToAdd });
}
for (const category of categories) {
changelogPreview += `### ${category.name}\n`;
const subCategoryMap = {
"bugfix": " - #### 🐞 Bug Fixes",
"refactor": " - #### 🔧 Refactor",
"feature": " - #### ✨ New Features",
"breaking change": " - #### 💥 Breaking Changes"
};
const matchedSubCat = allContentLabels.find(label => labelsToAdd.has(label));
if (matchedSubCat && subCategoryMap[matchedSubCat]) {
changelogPreview += `${subCategoryMap[matchedSubCat]}\n`;
}
if (labelsToAdd.has("json")) {
changelogPreview += " - #### 📝 Script Information\n";
}
changelogPreview += ` - ${currentPR.title} @${currentPR.user.login} ([#${prNumber}](${currentPR.html_url}))\n\n`;
}
if (categories.length === 0) {
changelogPreview += "_This PR may not appear in the changelog. Please ensure proper labels are set._\n\n";
}
}
// Post comment with warnings and changelog preview
if (warnings.length > 0 || changelogPreview || relatedIssuesText || isFirstTimeContributor) {
let commentBody = "";
// Feature 4: First-time contributor welcome
if (isFirstTimeContributor) {
commentBody += "## 🎉 Welcome to the Community!\n\n";
commentBody += `Thank you **@${prAuthor}** for your first contribution! 🙌\n\n`;
commentBody += "A maintainer will review your PR soon. Here are some helpful resources:\n";
commentBody += "- [Contributing Guide](https://github.com/community-scripts/ProxmoxVE/blob/main/.github/CONTRIBUTOR_AND_GUIDES/CONTRIBUTING.md)\n";
commentBody += "- [Code of Conduct](https://github.com/community-scripts/ProxmoxVE/blob/main/.github/CODE_OF_CONDUCT.md)\n\n";
commentBody += "---\n\n";
}
if (warnings.length > 0) {
commentBody += "## ⚠️ Validation Warnings\n\n";
commentBody += warnings.join("\n\n") + "\n\n---\n\n";
}
commentBody += changelogPreview;
if (relatedIssuesText) {
commentBody += relatedIssuesText;
}
commentBody += "\n\n---\n";
commentBody += `_This is an automated message from the PR labeler bot. PR size: ${Array.from(labelsToAdd).find(l => l.startsWith('size:')) || 'unknown'}_`;
// Check if we already posted a comment
const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
});
const botComment = comments.find(comment =>
comment.user.login === "github-actions[bot]" &&
(comment.body.includes("Changelog Preview") || comment.body.includes("Welcome to the Community"))
);
if (botComment) {
// Update existing comment (but keep welcome message if it was there)
let updatedBody = commentBody;
if (botComment.body.includes("Welcome to the Community") && !isFirstTimeContributor) {
// Preserve welcome message from original comment
const welcomeSection = botComment.body.match(/## 🎉 Welcome to the Community![\s\S]*?---\n\n/);
if (welcomeSection) {
updatedBody = welcomeSection[0] + commentBody;
}
}
await github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: botComment.id,
body: updatedBody,
});
} else {
// Create new comment
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
body: commentBody,
});
}
}
if (labelsToAdd.size === 0) { if (labelsToAdd.size === 0) {
labelsToAdd.add("needs triage"); labelsToAdd.add("needs triage");
} }

86
.github/workflows/changelog-pr.yml generated vendored
View File

@@ -67,12 +67,29 @@ jobs:
const categorizedPRs = changelogConfig.map(obj => ({ const categorizedPRs = changelogConfig.map(obj => ({
...obj, ...obj,
notes: [], notes: [],
requireAllLabels: obj.requireAllLabels ?? false, subCategories: obj.subCategories ?? (
excludeLabels: obj.excludeLabels ?? [], obj.labels.includes("update script") ? [
subCategories: obj.subCategories ? obj.subCategories.map(sub => ({ { title: "🐞 Bug Fixes", labels: ["bugfix"], notes: [] },
...sub, { title: "✨ New Features", labels: ["feature"], notes: [] },
notes: [] { title: "💥 Breaking Changes", labels: ["breaking change"], notes: [] },
})) : [] { title: "🔧 Refactor", labels: ["refactor"], notes: [] },
] :
obj.labels.includes("maintenance") ? [
{ title: "🐞 Bug Fixes", labels: ["bugfix"], notes: [] },
{ title: "✨ New Features", labels: ["feature"], notes: [] },
{ title: "💥 Breaking Changes", labels: ["breaking change"], notes: [] },
{ title: "📡 API", labels: ["api"], notes: [] },
{ title: "Github", labels: ["github"], notes: [] },
{ title: "📝 Documentation", labels: ["maintenance"], notes: [] },
{ title: "🔧 Refactor", labels: ["refactor"], notes: [] }
] :
obj.labels.includes("website") ? [
{ title: "🐞 Bug Fixes", labels: ["bugfix"], notes: [] },
{ title: "✨ New Features", labels: ["feature"], notes: [] },
{ title: "💥 Breaking Changes", labels: ["breaking change"], notes: [] },
{ title: "Script Information", labels: ["json"], notes: [] }
] : []
)
})); }));
const latestDateInChangelog = new Date(process.env.LATEST_DATE); const latestDateInChangelog = new Date(process.env.LATEST_DATE);
@@ -98,9 +115,8 @@ jobs:
for (const pr of filteredPRs) { for (const pr of filteredPRs) {
const prLabels = pr.labels.map(label => label.name.toLowerCase()); const prLabels = pr.labels.map(label => label.name.toLowerCase());
let prNote;
if (pr.user.login.includes("push-app-to-main[bot]")) { if (pr.user.login.includes("push-app-to-main[bot]")) {
const scriptName = pr.title; const scriptName = pr.title;
try { try {
const { data: relatedIssues } = await github.rest.issues.listForRepo({ const { data: relatedIssues } = await github.rest.issues.listForRepo({
@@ -116,57 +132,34 @@ jobs:
if (matchingIssue) { if (matchingIssue) {
const issueAuthor = matchingIssue.user.login; const issueAuthor = matchingIssue.user.login;
prNote = `- ${pr.title} @${issueAuthor} ([#${pr.number}](${pr.html_url}))`; const issueAuthorUrl = `https://github.com/${issueAuthor}`;
} else { prNote = `- ${pr.title} [@${issueAuthor}](${issueAuthorUrl}) ([#${pr.number}](${pr.html_url}))`;
}
else {
prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`;
} }
} catch (error) { } catch (error) {
console.error(`Error fetching related issues: ${error}`); console.error(`Error fetching related issues: ${error}`);
prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`;
} }
} else { }else{
prNote = `- ${pr.title} @${pr.user.login} ([#${pr.number}](${pr.html_url}))`; prNote = `- ${pr.title} [@${pr.user.login}](https://github.com/${pr.user.login}) ([#${pr.number}](${pr.html_url}))`;
} }
// Handle "new script" separately - always goes to New Scripts category
if (prLabels.includes("new script")) { if (prLabels.includes("new script")) {
const newScriptCategory = categorizedPRs.find(category => const newScriptCategory = categorizedPRs.find(category =>
category.title === "🆕 New Scripts" || category.labels.includes("new script") category.title === "New Scripts" || category.labels.includes("new script"));
);
if (newScriptCategory) { if (newScriptCategory) {
newScriptCategory.notes.push(prNote); newScriptCategory.notes.push(prNote);
} }
continue;
}
// For other PRs, check all applicable categories (can appear in multiple)
for (const category of categorizedPRs) {
// Skip "new script" and unlabelled categories
if (category.labels.includes("new script") || category.labels.length === 0) {
continue;
}
// Check if PR matches category requirements
let matchesCategory = false;
if (category.requireAllLabels) {
// All labels must be present
matchesCategory = category.labels.every(label => prLabels.includes(label));
} else { } else {
// At least one label must be present
matchesCategory = category.labels.some(label => prLabels.includes(label));
}
// Check exclude labels let categorized = false;
if (matchesCategory && category.excludeLabels.length > 0) { const priorityCategories = categorizedPRs.slice();
const hasExcludedLabel = category.excludeLabels.some(label => prLabels.includes(label)); for (const category of priorityCategories) {
if (hasExcludedLabel) { if (categorized) break;
matchesCategory = false; if (category.labels.some(label => prLabels.includes(label))) {
}
}
if (matchesCategory) {
// Try to find matching subcategory
if (category.subCategories && category.subCategories.length > 0) { if (category.subCategories && category.subCategories.length > 0) {
const subCategory = category.subCategories.find(sub => const subCategory = category.subCategories.find(sub =>
sub.labels.some(label => prLabels.includes(label)) sub.labels.some(label => prLabels.includes(label))
@@ -175,17 +168,18 @@ jobs:
if (subCategory) { if (subCategory) {
subCategory.notes.push(prNote); subCategory.notes.push(prNote);
} else { } else {
// No matching subcategory, add to main category
category.notes.push(prNote); category.notes.push(prNote);
} }
} else { } else {
// No subcategories, add to main category
category.notes.push(prNote); category.notes.push(prNote);
} }
categorized = true;
} }
} }
} }
}
return categorizedPRs; return categorizedPRs;
} }

View File

@@ -10,8 +10,42 @@
> [!CAUTION] > [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes. Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-11-06
## 2025-11-05
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Immich: Pin version to 2.2.3 [@vhsdream](https://github.com/vhsdream) ([#8861](https://github.com/community-scripts/ProxmoxVE/pull/8861))
- Jotty: increase RAM to 4GB [@vhsdream](https://github.com/vhsdream) ([#8887](https://github.com/community-scripts/ProxmoxVE/pull/8887))
- Zabbix: fix agent service recognition in update [@MickLesk](https://github.com/MickLesk) ([#8881](https://github.com/community-scripts/ProxmoxVE/pull/8881))
- #### 💥 Breaking Changes
- fix: npm: refactor for v2.13.x [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8870](https://github.com/community-scripts/ProxmoxVE/pull/8870))
- #### 🔧 Refactor
- Refactor: Open WebUI [@tremor021](https://github.com/tremor021) ([#8874](https://github.com/community-scripts/ProxmoxVE/pull/8874))
- Refactor(tools.func): Add Retry Logic, OS-Upgrade Safety, Smart Version Detection + 10 Critical Bugfixes [@MickLesk](https://github.com/MickLesk) ([#8871](https://github.com/community-scripts/ProxmoxVE/pull/8871))
### 🌐 Website
- #### 📝 Script Information
- npm: Increase RAM and HDD, update Certbot notes [@MickLesk](https://github.com/MickLesk) ([#8882](https://github.com/community-scripts/ProxmoxVE/pull/8882))
- Update config_path in donetick.json [@fyxtro](https://github.com/fyxtro) ([#8872](https://github.com/community-scripts/ProxmoxVE/pull/8872))
## 2025-11-04 ## 2025-11-04
### 🚀 Updated Scripts
- #### ✨ New Features
- stirling-pdf: add native jbig2 dep to installation script [@MickLesk](https://github.com/MickLesk) ([#8858](https://github.com/community-scripts/ProxmoxVE/pull/8858))
## 2025-11-03 ## 2025-11-03
### 🆕 New Scripts ### 🆕 New Scripts

View File

@@ -93,7 +93,7 @@ EOF
msg_ok "Image-processing libraries up to date" msg_ok "Image-processing libraries up to date"
fi fi
RELEASE="2.2.2" RELEASE="2.2.3"
if check_for_gh_release "immich" "immich-app/immich" "${RELEASE}"; then if check_for_gh_release "immich" "immich-app/immich" "${RELEASE}"; then
msg_info "Stopping Services" msg_info "Stopping Services"
systemctl stop immich-web systemctl stop immich-web

View File

@@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
APP="jotty" APP="jotty"
var_tags="${var_tags:-tasks;notes}" var_tags="${var_tags:-tasks;notes}"
var_cpu="${var_cpu:-2}" var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-3072}" var_ram="${var_ram:-4096}"
var_disk="${var_disk:-6}" var_disk="${var_disk:-6}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-13}" var_version="${var_version:-13}"

View File

@@ -1,15 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 tteck # Copyright (c) 2021-2025 Community-Script ORG
# Author: tteck (tteckster) # Author: tteck (tteckster) | Co-Author: CrazyWolf13
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://nginxproxymanager.com/ # Source: https://nginxproxymanager.com/
APP="Nginx Proxy Manager" APP="Nginx Proxy Manager"
var_tags="${var_tags:-proxy}" var_tags="${var_tags:-proxy}"
var_cpu="${var_cpu:-2}" var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}" var_ram="${var_ram:-2048}"
var_disk="${var_disk:-4}" var_disk="${var_disk:-8}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-13}" var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
@@ -42,60 +42,47 @@ function update_script() {
fi fi
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
export NODE_OPTIONS="--openssl-legacy-provider"
RELEASE=$(curl -fsSL https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest | RELEASE=$(curl -fsSL https://api.github.com/repos/NginxProxyManager/nginx-proxy-manager/releases/latest |
grep "tag_name" | grep "tag_name" |
awk '{print substr($2, 3, length($2)-4) }') awk '{print substr($2, 3, length($2)-4) }')
msg_info "Downloading NPM v${RELEASE}" fetch_and_deploy_gh_release "nginxproxymanager" "NginxProxyManager/nginx-proxy-manager"
curl -fsSL "https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v${RELEASE}" | tar -xz
cd nginx-proxy-manager-"${RELEASE}" || exit
msg_ok "Downloaded NPM v${RELEASE}"
msg_info "Building Frontend"
(
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"$RELEASE\"|" backend/package.json
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"$RELEASE\"|" frontend/package.json
cd ./frontend || exit
# Replace node-sass with sass in package.json before installation
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json
$STD yarn install --network-timeout 600000
$STD yarn build
)
msg_ok "Built Frontend"
msg_info "Stopping Services" msg_info "Stopping Services"
systemctl stop openresty systemctl stop openresty
systemctl stop npm systemctl stop npm
msg_ok "Stopped Services" msg_ok "Stopped Services"
msg_info "Cleaning Old Files" msg_info "Cleaning old files"
rm -rf /app \ $STD rm -rf /app \
/var/www/html \ /var/www/html \
/etc/nginx \ /etc/nginx \
/var/log/nginx \ /var/log/nginx \
/var/lib/nginx \ /var/lib/nginx \
"$STD" /var/cache/nginx /var/cache/nginx
msg_ok "Cleaned Old Files" msg_ok "Cleaned old files"
msg_info "Setting up Environment" msg_info "Setting up Environment"
ln -sf /usr/bin/python3 /usr/bin/python ln -sf /usr/bin/python3 /usr/bin/python
ln -sf /opt/certbot/bin/certbot /usr/local/bin/certbot
ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx
ln -sf /usr/local/openresty/nginx/ /etc/nginx ln -sf /usr/local/openresty/nginx/ /etc/nginx
sed -i 's+^daemon+#daemon+g' docker/rootfs/etc/nginx/nginx.conf sed -i "s|\"version\": \"2.0.0\"|\"version\": \"$RELEASE\"|" /opt/nginxproxymanager/backend/package.json
NGINX_CONFS=$(find "$(pwd)" -type f -name "*.conf") sed -i "s|\"version\": \"2.0.0\"|\"version\": \"$RELEASE\"|" /opt/nginxproxymanager/frontend/package.json
sed -i 's+^daemon+#daemon+g' /opt/nginxproxymanager/docker/rootfs/etc/nginx/nginx.conf
NGINX_CONFS=$(find /opt/nginxproxymanager -type f -name "*.conf")
for NGINX_CONF in $NGINX_CONFS; do for NGINX_CONF in $NGINX_CONFS; do
sed -i 's+include conf.d+include /etc/nginx/conf.d+g' "$NGINX_CONF" sed -i 's+include conf.d+include /etc/nginx/conf.d+g' "$NGINX_CONF"
done done
mkdir -p /var/www/html /etc/nginx/logs mkdir -p /var/www/html /etc/nginx/logs
cp -r docker/rootfs/var/www/html/* /var/www/html/ cp -r /opt/nginxproxymanager/docker/rootfs/var/www/html/* /var/www/html/
cp -r docker/rootfs/etc/nginx/* /etc/nginx/ cp -r /opt/nginxproxymanager/docker/rootfs/etc/nginx/* /etc/nginx/
cp docker/rootfs/etc/letsencrypt.ini /etc/letsencrypt.ini cp /opt/nginxproxymanager/docker/rootfs/etc/letsencrypt.ini /etc/letsencrypt.ini
cp docker/rootfs/etc/logrotate.d/nginx-proxy-manager /etc/logrotate.d/nginx-proxy-manager cp /opt/nginxproxymanager/docker/rootfs/etc/logrotate.d/nginx-proxy-manager /etc/logrotate.d/nginx-proxy-manager
ln -sf /etc/nginx/nginx.conf /etc/nginx/conf/nginx.conf ln -sf /etc/nginx/nginx.conf /etc/nginx/conf/nginx.conf
rm -f /etc/nginx/conf.d/dev.conf rm -f /etc/nginx/conf.d/dev.conf
mkdir -p /tmp/nginx/body \ mkdir -p /tmp/nginx/body \
/run/nginx \ /run/nginx \
/data/nginx \ /data/nginx \
@@ -112,27 +99,33 @@ function update_script() {
/var/lib/nginx/cache/public \ /var/lib/nginx/cache/public \
/var/lib/nginx/cache/private \ /var/lib/nginx/cache/private \
/var/cache/nginx/proxy_temp /var/cache/nginx/proxy_temp
chmod -R 777 /var/cache/nginx chmod -R 777 /var/cache/nginx
chown root /tmp/nginx chown root /tmp/nginx
echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" >/etc/nginx/conf.d/include/resolvers.conf echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" >/etc/nginx/conf.d/include/resolvers.conf
if [ ! -f /data/nginx/dummycert.pem ] || [ ! -f /data/nginx/dummykey.pem ]; then if [ ! -f /data/nginx/dummycert.pem ] || [ ! -f /data/nginx/dummykey.pem ]; then
$STD openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj "/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost" -keyout /data/nginx/dummykey.pem -out /data/nginx/dummycert.pem $STD openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj "/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost" -keyout /data/nginx/dummykey.pem -out /data/nginx/dummycert.pem
fi fi
mkdir -p /app/global /app/frontend/images
cp -r frontend/dist/* /app/frontend
cp -r frontend/app-images/* /app/frontend/images
cp -r backend/* /app
cp -r global/* /app/global
# Update Certbot and plugins in virtual environment mkdir -p /app/frontend/images
if [ -d /opt/certbot ]; then cp -r /opt/nginxproxymanager/backend/* /app
$STD /opt/certbot/bin/pip install --upgrade pip setuptools wheel msg_ok "Set up Environment"
$STD /opt/certbot/bin/pip install --upgrade certbot certbot-dns-cloudflare
fi msg_info "Building Frontend"
msg_ok "Setup Environment" export NODE_OPTIONS="--max_old_space_size=2048 --openssl-legacy-provider"
cd /opt/nginxproxymanager/frontend
# Replace node-sass with sass in package.json before installation
sed -E -i 's/"node-sass" *: *"([^"]*)"/"sass": "\1"/g' package.json
$STD yarn install --network-timeout 600000
$STD yarn build
cp -r /opt/nginxproxymanager/frontend/dist/* /app/frontend
cp -r /opt/nginxproxymanager/frontend/public/images/* /app/frontend/images
msg_ok "Built Frontend"
msg_info "Initializing Backend" msg_info "Initializing Backend"
$STD rm -rf /app/config/default.json rm -rf /app/config/default.json
if [ ! -f /app/config/production.json ]; then if [ ! -f /app/config/production.json ]; then
cat <<'EOF' >/app/config/production.json cat <<'EOF' >/app/config/production.json
{ {
@@ -148,23 +141,37 @@ function update_script() {
} }
EOF EOF
fi fi
cd /app || exit cd /app
export NODE_OPTIONS="--openssl-legacy-provider"
$STD yarn install --network-timeout 600000 $STD yarn install --network-timeout 600000
msg_ok "Initialized Backend" msg_ok "Initialized Backend"
msg_info "Updating Certbot"
[ -f /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg ] && rm -f /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg
[ -f /etc/apt/sources.list.d/openresty.list ] && rm -f /etc/apt/sources.list.d/openresty.list
[ ! -f /etc/apt/trusted.gpg.d/openresty.gpg ] && curl -fsSL https://openresty.org/package/pubkey.gpg | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/openresty.gpg
[ ! -f /etc/apt/sources.list.d/openresty.sources ] && cat <<'EOF' >/etc/apt/sources.list.d/openresty.sources
Types: deb
URIs: http://openresty.org/package/debian/
Suites: bookworm
Components: openresty
Signed-By: /etc/apt/trusted.gpg.d/openresty.gpg
EOF
$STD apt update
$STD apt -y install openresty
if [ -d /opt/certbot ]; then
$STD /opt/certbot/bin/pip install --upgrade pip setuptools wheel
$STD /opt/certbot/bin/pip install --upgrade certbot certbot-dns-cloudflare
fi
msg_ok "Updated Certbot"
msg_info "Starting Services" msg_info "Starting Services"
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
sed -i 's/su npm npm/su root root/g' /etc/logrotate.d/nginx-proxy-manager sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
systemctl enable -q --now openresty systemctl enable -q --now openresty
systemctl enable -q --now npm systemctl enable -q --now npm
systemctl restart openresty
msg_ok "Started Services" msg_ok "Started Services"
msg_info "Cleaning up"
rm -rf ~/nginx-proxy-manager-*
msg_ok "Cleaned"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
exit exit
} }

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 tteck # Copyright (c) 2021-2025 tteck
# Author: havardthom # Author: tteck | Co-Author: havardthom | Co-Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://openwebui.com/ # Source: https://openwebui.com/
@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-8192}" var_ram="${var_ram:-8192}"
var_disk="${var_disk:-25}" var_disk="${var_disk:-25}"
var_os="${var_os:-debian}" var_os="${var_os:-debian}"
var_version="${var_version:-12}" var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
@@ -23,7 +23,7 @@ function update_script() {
header_info header_info
check_container_storage check_container_storage
check_container_resources check_container_resources
if [[ ! -d /opt/open-webui ]]; then if [[ ! -d /root/.open-webui ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
@@ -50,29 +50,8 @@ function update_script() {
fi fi
fi fi
msg_info "Updating ${APP} (Patience)" msg_info "Restarting Open WebUI to initiate update"
cd /opt/open-webui systemctl restart open-webui
mkdir -p /opt/open-webui-backup
cp -rf /opt/open-webui/backend/data /opt/open-webui-backup
git add -A
$STD git stash
$STD git reset --hard
output=$(git pull --no-rebase)
if echo "$output" | grep -q "Already up to date."; then
msg_ok "$APP is already up to date."
exit
fi
systemctl stop open-webui.service
$STD npm install --force
export NODE_OPTIONS="--max-old-space-size=6000"
$STD npm run build
cd ./backend
$STD pip install -r requirements.txt -U
cp -rf /opt/open-webui-backup/* /opt/open-webui/backend
if git stash list | grep -q 'stash@{'; then
$STD git stash pop
fi
systemctl start open-webui.service
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
exit exit
} }

View File

@@ -42,12 +42,8 @@ function update_script() {
fi fi
msg_info "Stopping Services" msg_info "Stopping Services"
$STD systemctl stop zabbix-server systemctl stop zabbix-server
if systemctl list-unit-files | grep -q zabbix-agent2; then systemctl stop "$AGENT_SERVICE"
$STD systemctl stop zabbix-agent2
else
$STD systemctl stop zabbix-agent
fi
msg_ok "Stopped Services" msg_ok "Stopped Services"
msg_info "Updating Zabbix" msg_info "Updating Zabbix"
@@ -88,12 +84,8 @@ function update_script() {
msg_ok "Updated Zabbix" msg_ok "Updated Zabbix"
msg_info "Starting Services" msg_info "Starting Services"
$STD systemctl start zabbix-server systemctl start zabbix-server
if systemctl list-unit-files | grep -q zabbix-agent2; then systemctl start "$AGENT_SERVICE"
$STD systemctl start zabbix-agent2
else
$STD systemctl start zabbix-agent
fi
systemctl restart apache2 systemctl restart apache2
msg_ok "Started Services" msg_ok "Started Services"

View File

@@ -10,7 +10,7 @@
"privileged": false, "privileged": false,
"interface_port": 2021, "interface_port": 2021,
"documentation": "https://docs.donetick.com/getting-started/", "documentation": "https://docs.donetick.com/getting-started/",
"config_path": "/opt/donetick/selfhosted.yml", "config_path": "/opt/donetick/config/selfhosted.yml",
"website": "https://donetick.com", "website": "https://donetick.com",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/donetick.webp", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/donetick.webp",
"description": "Donetick an open-source, user-friendly app for managing tasks and chores, featuring customizable options to help you and others stay organized", "description": "Donetick an open-source, user-friendly app for managing tasks and chores, featuring customizable options to help you and others stay organized",

View File

@@ -20,7 +20,7 @@
"script": "ct/jotty.sh", "script": "ct/jotty.sh",
"resources": { "resources": {
"cpu": 2, "cpu": 2,
"ram": 3072, "ram": 4096,
"hdd": 6, "hdd": 6,
"os": "debian", "os": "debian",
"version": "13" "version": "13"

View File

@@ -20,8 +20,8 @@
"script": "ct/nginxproxymanager.sh", "script": "ct/nginxproxymanager.sh",
"resources": { "resources": {
"cpu": 2, "cpu": 2,
"ram": 1024, "ram": 2048,
"hdd": 4, "hdd": 8,
"os": "debian", "os": "debian",
"version": "13" "version": "13"
} }
@@ -33,12 +33,8 @@
}, },
"notes": [ "notes": [
{ {
"text": "Since there are hundreds of Certbot instances, it's necessary to install the specific Certbot of your preference. Running `/app/scripts/install-certbot-plugins` within the nginxproxymanager LXC shell will install many additional plugins.", "text": "You can install the specific one certbot you prefer, or you can Running /app/scripts/install-certbot-plugins within the Nginx Proxy Manager (NPM) LXC shell will install many common plugins. Important: This script does not install all Certbot plugins, as some require additional, external system dependencies (like specific packages for certain DNS providers). These external dependencies must be manually installed within the LXC container before you can successfully install and use the corresponding Certbot plugin. Consult the plugin's documentation for required packages.",
"type": "warning" "type": "info"
},
{
"text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.",
"type": "warning"
} }
] ]
} }

View File

@@ -12,7 +12,7 @@
"documentation": "https://docs.openwebui.com/", "documentation": "https://docs.openwebui.com/",
"website": "https://openwebui.com/", "website": "https://openwebui.com/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/open-webui.webp", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/open-webui.webp",
"config_path": "/opt/open-webui/.env", "config_path": "/root/.env",
"description": "OpenWebUI is a self-hosted, web-based interface that allows you to run AI models entirely offline. It integrates with various LLM runners, such as OpenAI and Ollama, and supports features like markdown and LaTeX rendering, model management, and voice/video calls. It also offers multilingual support and the ability to generate images using APIs like DALL-E or ComfyUI", "description": "OpenWebUI is a self-hosted, web-based interface that allows you to run AI models entirely offline. It integrates with various LLM runners, such as OpenAI and Ollama, and supports features like markdown and LaTeX rendering, model management, and voice/video calls. It also offers multilingual support and the ability to generate images using APIs like DALL-E or ComfyUI",
"install_methods": [ "install_methods": [
{ {
@@ -23,7 +23,7 @@
"ram": 8192, "ram": 8192,
"hdd": 25, "hdd": 25,
"os": "debian", "os": "debian",
"version": "12" "version": "13"
} }
} }
], ],
@@ -35,6 +35,10 @@
{ {
"text": "Script contains optional installation of Ollama.", "text": "Script contains optional installation of Ollama.",
"type": "info" "type": "info"
},
{
"text": "Initial run of the application/container can take some time, depending on your host speed, as the application is installed/updated at runtime. Please be patient!",
"type": "warning"
} }
] ]
} }

View File

@@ -23,7 +23,7 @@
"ram": 2048, "ram": 2048,
"hdd": 8, "hdd": 8,
"os": "debian", "os": "debian",
"version": "13" "version": "12"
} }
} }
], ],

View File

@@ -1,33 +1,93 @@
[ [
{ {
"name": "inventree/InvenTree", "name": "transmission/transmission",
"version": "1.1.2", "version": "4.1.0-beta.3",
"date": "2025-11-03T23:16:29Z" "date": "2025-11-05T23:54:17Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.10-rc0",
"date": "2025-11-05T19:58:03Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.16.43",
"date": "2025-11-05T21:08:38Z"
},
{
"name": "neo4j/neo4j",
"version": "5.26.16",
"date": "2025-11-05T20:41:40Z"
}, },
{ {
"name": "BerriAI/litellm", "name": "BerriAI/litellm",
"version": "v1.79.1.rc.2", "version": "v1.79.1.dev6",
"date": "2025-11-03T23:14:45Z" "date": "2025-11-05T19:25:05Z"
}, },
{ {
"name": "actualbudget/actual", "name": "home-assistant/core",
"version": "v25.11.0", "version": "2025.11.0",
"date": "2025-11-03T23:12:18Z" "date": "2025-11-05T19:23:12Z"
}, },
{ {
"name": "gtsteffaniak/filebrowser", "name": "apache/tomcat",
"version": "v1.0.0-stable", "version": "11.0.14",
"date": "2025-11-03T22:24:23Z" "date": "2025-11-05T19:14:38Z"
}, },
{ {
"name": "prometheus/alertmanager", "name": "leiweibau/Pi.Alert",
"version": "v0.29.0", "version": "v2025-11-05",
"date": "2025-11-03T20:10:26Z" "date": "2025-11-05T18:08:26Z"
}, },
{ {
"name": "firefly-iii/firefly-iii", "name": "n8n-io/n8n",
"version": "v6.4.4", "version": "n8n@1.118.2",
"date": "2025-11-01T19:48:08Z" "date": "2025-11-05T18:07:04Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.5",
"date": "2025-10-06T15:25:17Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w45-4.14.1",
"date": "2025-11-05T16:56:57Z"
},
{
"name": "mattermost/mattermost",
"version": "v10.11.6",
"date": "2025-11-04T09:43:16Z"
},
{
"name": "javedh-dev/tracktor",
"version": "0.5.1",
"date": "2025-11-05T15:51:02Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.6.4",
"date": "2025-11-05T15:57:00Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.85.1",
"date": "2025-10-31T10:45:26Z"
},
{
"name": "Graylog2/graylog2-server",
"version": "6.2.9",
"date": "2025-11-05T13:55:39Z"
},
{
"name": "immich-app/immich",
"version": "v2.2.3",
"date": "2025-11-05T13:47:03Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.2.0.100-2.2.0.100_canary_2025-11-05",
"date": "2025-11-05T13:01:37Z"
}, },
{ {
"name": "azukaar/Cosmos-Server", "name": "azukaar/Cosmos-Server",
@@ -35,25 +95,205 @@
"date": "2025-04-05T19:12:57Z" "date": "2025-04-05T19:12:57Z"
}, },
{ {
"name": "semaphoreui/semaphore", "name": "getumbrel/umbrel",
"version": "v2.16.37", "version": "1.5.0",
"date": "2025-10-30T07:54:49Z" "date": "2025-11-05T11:10:20Z"
},
{
"name": "emqx/emqx",
"version": "e5.10.2-alpha.1",
"date": "2025-11-05T09:55:26Z"
},
{
"name": "glpi-project/glpi",
"version": "11.0.2",
"date": "2025-11-05T09:55:05Z"
},
{
"name": "nicolargo/glances",
"version": "v4.4.1",
"date": "2025-11-05T09:08:23Z"
},
{
"name": "evcc-io/evcc",
"version": "0.209.7",
"date": "2025-11-05T08:32:08Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.100.0",
"date": "2025-11-05T06:38:34Z"
},
{
"name": "NginxProxyManager/nginx-proxy-manager",
"version": "v2.13.1",
"date": "2025-11-05T06:06:08Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.250",
"date": "2025-11-05T05:55:30Z"
},
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.535",
"date": "2025-11-05T05:30:07Z"
},
{
"name": "slskd/slskd",
"version": "0.24.0",
"date": "2025-11-05T02:17:00Z"
},
{
"name": "Sonarr/Sonarr",
"version": "v4.0.16.2944",
"date": "2025-11-05T01:56:48Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-11-05T00:27:06Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{
"name": "gethomepage/homepage",
"version": "v1.6.1",
"date": "2025-11-05T00:21:14Z"
},
{
"name": "FlareSolverr/FlareSolverr",
"version": "v3.4.4",
"date": "2025-11-04T23:05:14Z"
},
{
"name": "henrygd/beszel",
"version": "v0.15.4",
"date": "2025-11-04T22:34:12Z"
},
{
"name": "chrisbenincasa/tunarr",
"version": "v0.23.0-alpha.21",
"date": "2025-11-04T22:05:17Z"
}, },
{ {
"name": "wizarrrr/wizarr", "name": "wizarrrr/wizarr",
"version": "v2025.11.0", "version": "v2025.11.1",
"date": "2025-11-03T19:55:44Z" "date": "2025-11-04T20:55:51Z"
}, },
{ {
"name": "home-assistant/core", "name": "go-gitea/gitea",
"version": "2025.10.4", "version": "v1.25.1",
"date": "2025-10-24T20:03:03Z" "date": "2025-11-04T20:01:09Z"
}, },
{ {
"name": "runtipi/runtipi", "name": "runtipi/runtipi",
"version": "v4.6.2", "version": "v4.6.2",
"date": "2025-11-03T19:45:24Z" "date": "2025-11-03T19:45:24Z"
}, },
{
"name": "element-hq/synapse",
"version": "v1.142.0rc2",
"date": "2025-11-04T16:22:11Z"
},
{
"name": "keycloak/keycloak",
"version": "26.0.17",
"date": "2025-11-03T15:30:01Z"
},
{
"name": "jhuckaby/Cronicle",
"version": "v0.9.100",
"date": "2025-11-04T17:44:39Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.30.6",
"date": "2025-11-04T17:41:01Z"
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-v1.24.0.s3-snapshots-4",
"date": "2025-11-04T16:46:01Z"
},
{
"name": "VictoriaMetrics/VictoriaMetrics",
"version": "v1.129.1",
"date": "2025-11-04T15:15:47Z"
},
{
"name": "prometheus/alertmanager",
"version": "v0.29.0",
"date": "2025-11-04T15:00:07Z"
},
{
"name": "cross-seed/cross-seed",
"version": "v6.13.6",
"date": "2025-11-04T13:35:35Z"
},
{
"name": "OctoPrint/OctoPrint",
"version": "1.11.4",
"date": "2025-11-04T12:43:30Z"
},
{
"name": "home-assistant/operating-system",
"version": "16.3",
"date": "2025-11-04T12:28:47Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.11",
"date": "2025-11-04T08:51:05Z"
},
{
"name": "redis/redis",
"version": "8.4-rc1-int2",
"date": "2025-11-03T09:00:38Z"
},
{
"name": "clusterzx/paperless-ai",
"version": "v3.0.9",
"date": "2025-11-04T07:28:45Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.4",
"date": "2025-11-01T19:48:08Z"
},
{
"name": "esphome/esphome",
"version": "2025.10.4",
"date": "2025-11-04T03:04:13Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.19.4",
"date": "2025-11-04T01:34:35Z"
},
{
"name": "hyperion-project/hyperion.ng",
"version": "2.1.1",
"date": "2025-06-14T17:45:06Z"
},
{
"name": "actualbudget/actual",
"version": "v25.11.0",
"date": "2025-11-04T00:32:21Z"
},
{
"name": "inventree/InvenTree",
"version": "1.1.2",
"date": "2025-11-03T23:16:29Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.0.0-stable",
"date": "2025-11-03T22:24:23Z"
},
{ {
"name": "jupyter/notebook", "name": "jupyter/notebook",
"version": "@jupyter-notebook/ui-components@7.5.0-rc.0", "version": "@jupyter-notebook/ui-components@7.5.0-rc.0",
@@ -64,11 +304,6 @@
"version": "0.50.39", "version": "0.50.39",
"date": "2025-11-03T17:58:41Z" "date": "2025-11-03T17:58:41Z"
}, },
{
"name": "msgbyte/tianji",
"version": "v1.30.5",
"date": "2025-11-03T17:23:36Z"
},
{ {
"name": "cloudflare/cloudflared", "name": "cloudflare/cloudflared",
"version": "2025.10.1-3-g52809511", "version": "2025.10.1-3-g52809511",
@@ -89,56 +324,11 @@
"version": "debian/12.1.34", "version": "debian/12.1.34",
"date": "2025-11-03T16:42:07Z" "date": "2025-11-03T16:42:07Z"
}, },
{
"name": "Sonarr/Sonarr",
"version": "v4.0.15.2941",
"date": "2025-06-20T17:20:54Z"
},
{
"name": "keycloak/keycloak",
"version": "26.0.17",
"date": "2025-11-03T15:30:01Z"
},
{
"name": "immich-app/immich",
"version": "v2.2.2",
"date": "2025-11-03T15:10:24Z"
},
{
"name": "clusterzx/paperless-ai",
"version": "v3.0.8",
"date": "2025-11-03T14:04:27Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.117.3",
"date": "2025-10-28T12:00:42Z"
},
{
"name": "nicolargo/glances",
"version": "v4.4.1",
"date": "2025-11-03T13:52:05Z"
},
{
"name": "VictoriaMetrics/VictoriaMetrics",
"version": "pmm-6401-v1.129.0",
"date": "2025-11-03T13:00:28Z"
},
{
"name": "Graylog2/graylog2-server",
"version": "7.0.0",
"date": "2025-11-03T12:22:00Z"
},
{ {
"name": "Paymenter/Paymenter", "name": "Paymenter/Paymenter",
"version": "v1.4.2", "version": "v1.4.2",
"date": "2025-11-03T11:52:53Z" "date": "2025-11-03T11:52:53Z"
}, },
{
"name": "redis/redis",
"version": "8.4-rc1-int2",
"date": "2025-11-03T09:00:38Z"
},
{ {
"name": "silverbulletmd/silverbullet", "name": "silverbulletmd/silverbullet",
"version": "2.2.1", "version": "2.2.1",
@@ -149,31 +339,11 @@
"version": "fumadocs-mdx@13.0.5", "version": "fumadocs-mdx@13.0.5",
"date": "2025-11-03T06:55:11Z" "date": "2025-11-03T06:55:11Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.24.244",
"date": "2025-11-03T05:55:23Z"
},
{ {
"name": "jellyfin/jellyfin", "name": "jellyfin/jellyfin",
"version": "v10.11.2", "version": "v10.11.2",
"date": "2025-11-03T02:29:00Z" "date": "2025-11-03T02:29:00Z"
}, },
{
"name": "hyperion-project/hyperion.ng",
"version": "2.1.1",
"date": "2025-06-14T17:45:06Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-11-03T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{ {
"name": "maxdorninger/MediaManager", "name": "maxdorninger/MediaManager",
"version": "v1.9.1", "version": "v1.9.1",
@@ -192,7 +362,7 @@
{ {
"name": "theonedev/onedev", "name": "theonedev/onedev",
"version": "v13.0.10", "version": "v13.0.10",
"date": "2025-11-01T02:08:01Z" "date": "2025-11-02T02:47:45Z"
}, },
{ {
"name": "9001/copyparty", "name": "9001/copyparty",
@@ -204,46 +374,21 @@
"version": "2.6.3", "version": "2.6.3",
"date": "2025-11-01T20:48:39Z" "date": "2025-11-01T20:48:39Z"
}, },
{
"name": "henrygd/beszel",
"version": "v0.15.3",
"date": "2025-11-01T20:13:33Z"
},
{ {
"name": "motioneye-project/motioneye", "name": "motioneye-project/motioneye",
"version": "0.42.1", "version": "0.42.1",
"date": "2020-06-07T07:27:04Z" "date": "2020-06-07T07:27:04Z"
}, },
{
"name": "chrisbenincasa/tunarr",
"version": "v0.23.0-alpha.20",
"date": "2025-11-01T11:42:54Z"
},
{ {
"name": "Luligu/matterbridge", "name": "Luligu/matterbridge",
"version": "3.3.6", "version": "3.3.6",
"date": "2025-11-01T10:41:15Z" "date": "2025-11-01T10:41:15Z"
}, },
{
"name": "cross-seed/cross-seed",
"version": "v6.13.5",
"date": "2025-09-27T01:10:59Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.9",
"date": "2025-10-31T23:33:13Z"
},
{ {
"name": "tailscale/tailscale", "name": "tailscale/tailscale",
"version": "v1.90.6", "version": "v1.90.6",
"date": "2025-10-31T22:24:04Z" "date": "2025-10-31T22:24:04Z"
}, },
{
"name": "evcc-io/evcc",
"version": "0.209.6",
"date": "2025-10-31T20:13:49Z"
},
{ {
"name": "homarr-labs/homarr", "name": "homarr-labs/homarr",
"version": "v1.43.1", "version": "v1.43.1",
@@ -254,26 +399,11 @@
"version": "v3.4.0", "version": "v3.4.0",
"date": "2025-10-31T18:50:18Z" "date": "2025-10-31T18:50:18Z"
}, },
{
"name": "leiweibau/Pi.Alert",
"version": "v2025-10-31",
"date": "2025-10-31T17:57:06Z"
},
{ {
"name": "pommee/goaway", "name": "pommee/goaway",
"version": "v0.62.12", "version": "v0.62.12",
"date": "2025-10-31T17:30:55Z" "date": "2025-10-31T17:30:55Z"
}, },
{
"name": "zitadel/zitadel",
"version": "v4.6.2",
"date": "2025-10-31T15:41:19Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "testing",
"date": "2025-10-30T14:33:36Z"
},
{ {
"name": "zabbix/zabbix", "name": "zabbix/zabbix",
"version": "7.4.5", "version": "7.4.5",
@@ -289,31 +419,11 @@
"version": "planka-1.1.1", "version": "planka-1.1.1",
"date": "2025-10-31T12:38:47Z" "date": "2025-10-31T12:38:47Z"
}, },
{
"name": "mattermost/mattermost",
"version": "mattermost-redux@11.0.4",
"date": "2025-10-30T16:44:14Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.85.1",
"date": "2025-10-31T10:45:26Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w44-4.14.1",
"date": "2025-10-29T11:28:37Z"
},
{ {
"name": "garethgeorge/backrest", "name": "garethgeorge/backrest",
"version": "v1.10.1", "version": "v1.10.1",
"date": "2025-10-31T08:25:57Z" "date": "2025-10-31T08:25:57Z"
}, },
{
"name": "getumbrel/umbrel",
"version": "1.4.2",
"date": "2025-05-09T08:54:49Z"
},
{ {
"name": "pymedusa/Medusa", "name": "pymedusa/Medusa",
"version": "v1.0.24", "version": "v1.0.24",
@@ -354,11 +464,6 @@
"version": "v5.4", "version": "v5.4",
"date": "2025-10-30T14:25:23Z" "date": "2025-10-30T14:25:23Z"
}, },
{
"name": "neo4j/neo4j",
"version": "5.26.15",
"date": "2025-10-30T11:17:14Z"
},
{ {
"name": "docker/compose", "name": "docker/compose",
"version": "v2.40.3", "version": "v2.40.3",
@@ -389,26 +494,11 @@
"version": "v1.11.1", "version": "v1.11.1",
"date": "2025-10-29T22:09:26Z" "date": "2025-10-29T22:09:26Z"
}, },
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.534",
"date": "2025-10-29T21:01:24Z"
},
{ {
"name": "influxdata/influxdb", "name": "influxdata/influxdb",
"version": "v2.7.12", "version": "v2.7.12",
"date": "2025-05-29T17:08:26Z" "date": "2025-05-29T17:08:26Z"
}, },
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.19.3",
"date": "2025-10-29T17:58:16Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.25.0",
"date": "2025-10-29T16:57:54Z"
},
{ {
"name": "zwave-js/zwave-js-ui", "name": "zwave-js/zwave-js-ui",
"version": "v11.6.1", "version": "v11.6.1",
@@ -424,11 +514,6 @@
"version": "2.11.0", "version": "2.11.0",
"date": "2025-10-29T14:26:23Z" "date": "2025-10-29T14:26:23Z"
}, },
{
"name": "element-hq/synapse",
"version": "v1.141.0",
"date": "2025-10-29T11:45:43Z"
},
{ {
"name": "cockpit-project/cockpit", "name": "cockpit-project/cockpit",
"version": "350", "version": "350",
@@ -444,11 +529,6 @@
"version": "cassandra-5.0.6", "version": "cassandra-5.0.6",
"date": "2025-10-29T07:40:47Z" "date": "2025-10-29T07:40:47Z"
}, },
{
"name": "SigNoz/signoz",
"version": "v0.99.0",
"date": "2025-10-29T06:32:09Z"
},
{ {
"name": "openobserve/openobserve", "name": "openobserve/openobserve",
"version": "v0.15.3", "version": "v0.15.3",
@@ -474,11 +554,6 @@
"version": "v4.4.5", "version": "v4.4.5",
"date": "2025-10-28T18:35:47Z" "date": "2025-10-28T18:35:47Z"
}, },
{
"name": "javedh-dev/tracktor",
"version": "0.4.4",
"date": "2025-10-28T17:39:14Z"
},
{ {
"name": "pi-hole/pi-hole", "name": "pi-hole/pi-hole",
"version": "v6.2.2", "version": "v6.2.2",
@@ -504,11 +579,6 @@
"version": "v25.4", "version": "v25.4",
"date": "2025-10-09T10:27:01Z" "date": "2025-10-09T10:27:01Z"
}, },
{
"name": "FlareSolverr/FlareSolverr",
"version": "v3.4.3",
"date": "2025-10-28T10:21:56Z"
},
{ {
"name": "thecfu/scraparr", "name": "thecfu/scraparr",
"version": "v3.0.0-beta.2", "version": "v3.0.0-beta.2",
@@ -524,16 +594,6 @@
"version": "v0.27.0", "version": "v0.27.0",
"date": "2025-10-27T11:16:35Z" "date": "2025-10-27T11:16:35Z"
}, },
{
"name": "emqx/emqx",
"version": "e6.0.1-alpha.2",
"date": "2025-10-27T09:36:30Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.10",
"date": "2025-09-24T08:33:37Z"
},
{ {
"name": "Radarr/Radarr", "name": "Radarr/Radarr",
"version": "v5.28.0.10274", "version": "v5.28.0.10274",
@@ -579,21 +639,11 @@
"version": "v1.7.3", "version": "v1.7.3",
"date": "2025-10-24T10:51:12Z" "date": "2025-10-24T10:51:12Z"
}, },
{
"name": "meilisearch/meilisearch",
"version": "prototype-v1.24.0.s3-snapshots-3",
"date": "2025-10-24T09:47:47Z"
},
{ {
"name": "pocketbase/pocketbase", "name": "pocketbase/pocketbase",
"version": "v0.31.0", "version": "v0.31.0",
"date": "2025-10-24T04:07:27Z" "date": "2025-10-24T04:07:27Z"
}, },
{
"name": "esphome/esphome",
"version": "2025.10.3",
"date": "2025-10-24T01:08:22Z"
},
{ {
"name": "drakkan/sftpgo", "name": "drakkan/sftpgo",
"version": "v2.7.0", "version": "v2.7.0",
@@ -609,16 +659,6 @@
"version": "v0.8.8.3", "version": "v0.8.8.3",
"date": "2025-10-23T12:31:49Z" "date": "2025-10-23T12:31:49Z"
}, },
{
"name": "duplicati/duplicati",
"version": "v2.2.0.0_stable_2025-10-23",
"date": "2025-10-23T11:48:25Z"
},
{
"name": "jhuckaby/Cronicle",
"version": "v0.9.99",
"date": "2025-10-22T22:20:33Z"
},
{ {
"name": "rcourtman/Pulse", "name": "rcourtman/Pulse",
"version": "issue-596", "version": "issue-596",
@@ -789,11 +829,6 @@
"version": "v4.5.5", "version": "v4.5.5",
"date": "2025-10-14T18:48:36Z" "date": "2025-10-14T18:48:36Z"
}, },
{
"name": "home-assistant/operating-system",
"version": "16.2",
"date": "2025-09-08T14:03:25Z"
},
{ {
"name": "rogerfar/rdt-client", "name": "rogerfar/rdt-client",
"version": "v2.0.119", "version": "v2.0.119",
@@ -839,21 +874,11 @@
"version": "v1.17.1", "version": "v1.17.1",
"date": "2025-10-10T16:12:41Z" "date": "2025-10-10T16:12:41Z"
}, },
{
"name": "apache/tomcat",
"version": "10.1.48",
"date": "2025-10-10T14:46:53Z"
},
{ {
"name": "projectsend/projectsend", "name": "projectsend/projectsend",
"version": "r1945", "version": "r1945",
"date": "2025-10-10T02:30:05Z" "date": "2025-10-10T02:30:05Z"
}, },
{
"name": "glpi-project/glpi",
"version": "11.0.1",
"date": "2025-10-09T12:34:15Z"
},
{ {
"name": "autobrr/autobrr", "name": "autobrr/autobrr",
"version": "v1.68.0", "version": "v1.68.0",
@@ -979,11 +1004,6 @@
"version": "REL_18_0", "version": "REL_18_0",
"date": "2025-09-22T20:11:33Z" "date": "2025-09-22T20:11:33Z"
}, },
{
"name": "gethomepage/homepage",
"version": "v1.5.0",
"date": "2025-09-22T15:28:49Z"
},
{ {
"name": "itsmng/itsm-ng", "name": "itsmng/itsm-ng",
"version": "v2.1.0", "version": "v2.1.0",
@@ -1074,11 +1094,6 @@
"version": "2.1.4", "version": "2.1.4",
"date": "2025-09-10T12:08:09Z" "date": "2025-09-10T12:08:09Z"
}, },
{
"name": "OctoPrint/OctoPrint",
"version": "1.11.3",
"date": "2025-09-09T08:03:31Z"
},
{ {
"name": "Tautulli/Tautulli", "name": "Tautulli/Tautulli",
"version": "v2.16.0", "version": "v2.16.0",
@@ -1179,11 +1194,6 @@
"version": "v2.5.308", "version": "v2.5.308",
"date": "2025-08-13T07:09:29Z" "date": "2025-08-13T07:09:29Z"
}, },
{
"name": "slskd/slskd",
"version": "0.23.2",
"date": "2025-08-10T23:35:07Z"
},
{ {
"name": "ioBroker/ioBroker", "name": "ioBroker/ioBroker",
"version": "1012-08-09", "version": "1012-08-09",
@@ -1249,11 +1259,6 @@
"version": "1.3.11", "version": "1.3.11",
"date": "2025-07-13T13:33:48Z" "date": "2025-07-13T13:33:48Z"
}, },
{
"name": "NginxProxyManager/nginx-proxy-manager",
"version": "v2.12.6",
"date": "2025-07-09T21:52:15Z"
},
{ {
"name": "photoprism/photoprism", "name": "photoprism/photoprism",
"version": "250707-d28b3101e", "version": "250707-d28b3101e",
@@ -1414,11 +1419,6 @@
"version": "v0.22.1", "version": "v0.22.1",
"date": "2025-03-18T21:01:22Z" "date": "2025-03-18T21:01:22Z"
}, },
{
"name": "transmission/transmission",
"version": "4.0.1-beta.1",
"date": "2024-12-13T00:16:24Z"
},
{ {
"name": "excalidraw/excalidraw", "name": "excalidraw/excalidraw",
"version": "v0.18.0", "version": "v0.18.0",

View File

@@ -288,7 +288,7 @@ GEO_DIR="${INSTALL_DIR}/geodata"
mkdir -p "$INSTALL_DIR" mkdir -p "$INSTALL_DIR"
mkdir -p {"${APP_DIR}","${UPLOAD_DIR}","${GEO_DIR}","${INSTALL_DIR}"/cache} mkdir -p {"${APP_DIR}","${UPLOAD_DIR}","${GEO_DIR}","${INSTALL_DIR}"/cache}
fetch_and_deploy_gh_release "immich" "immich-app/immich" "tarball" "v2.2.2" "$SRC_DIR" fetch_and_deploy_gh_release "immich" "immich-app/immich" "tarball" "v2.2.3" "$SRC_DIR"
msg_info "Installing ${APPLICATION} (patience)" msg_info "Installing ${APPLICATION} (patience)"

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) 2021-2025 tteck # Copyright (c) 2021-2025 Community-Scripts ORG
# Author: tteck (tteckster) # Author: tteck (tteckster) | Co-Author: CrazyWolf13
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://nginxproxymanager.com/ # Source: https://nginxproxymanager.com/
@@ -39,18 +39,15 @@ $STD /opt/certbot/bin/pip install certbot certbot-dns-cloudflare
ln -sf /opt/certbot/bin/certbot /usr/local/bin/certbot ln -sf /opt/certbot/bin/certbot /usr/local/bin/certbot
msg_ok "Set up Certbot" msg_ok "Set up Certbot"
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
msg_info "Installing Openresty" msg_info "Installing Openresty"
curl -fsSL "https://openresty.org/package/pubkey.gpg" | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg curl -fsSL "https://openresty.org/package/pubkey.gpg" | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty.gpg
case "$VERSION" in cat <<'EOF' >/etc/apt/sources.list.d/openresty.sources
trixie) Types: deb
echo -e "deb http://openresty.org/package/debian bookworm openresty" >/etc/apt/sources.list.d/openresty.list URIs: http://openresty.org/package/debian/
;; Suites: bookworm
*) Components: openresty
echo -e "deb http://openresty.org/package/debian $VERSION openresty" >/etc/apt/sources.list.d/openresty.list Signed-By: /etc/apt/trusted.gpg.d/openresty.gpg
;; EOF
esac
$STD apt update $STD apt update
$STD apt -y install openresty $STD apt -y install openresty
msg_ok "Installed Openresty" msg_ok "Installed Openresty"
@@ -61,28 +58,25 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/NginxProxyManager/nginx-proxy-
grep "tag_name" | grep "tag_name" |
awk '{print substr($2, 3, length($2)-4) }') awk '{print substr($2, 3, length($2)-4) }')
msg_info "Downloading Nginx Proxy Manager v${RELEASE}" fetch_and_deploy_gh_release "nginxproxymanager" "NginxProxyManager/nginx-proxy-manager"
curl -fsSL "https://codeload.github.com/NginxProxyManager/nginx-proxy-manager/tar.gz/v${RELEASE}" | tar -xz
cd ./nginx-proxy-manager-"${RELEASE}"
msg_ok "Downloaded Nginx Proxy Manager v${RELEASE}"
msg_info "Setting up Environment" msg_info "Setting up Environment"
ln -sf /usr/bin/python3 /usr/bin/python ln -sf /usr/bin/python3 /usr/bin/python
ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx
ln -sf /usr/local/openresty/nginx/ /etc/nginx ln -sf /usr/local/openresty/nginx/ /etc/nginx
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"$RELEASE\"|" backend/package.json sed -i "s|\"version\": \"2.0.0\"|\"version\": \"$RELEASE\"|" /opt/nginxproxymanager/backend/package.json
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"$RELEASE\"|" frontend/package.json sed -i "s|\"version\": \"2.0.0\"|\"version\": \"$RELEASE\"|" /opt/nginxproxymanager/frontend/package.json
sed -i 's+^daemon+#daemon+g' docker/rootfs/etc/nginx/nginx.conf sed -i 's+^daemon+#daemon+g' /opt/nginxproxymanager/docker/rootfs/etc/nginx/nginx.conf
NGINX_CONFS=$(find "$(pwd)" -type f -name "*.conf") NGINX_CONFS=$(find /opt/nginxproxymanager -type f -name "*.conf")
for NGINX_CONF in $NGINX_CONFS; do for NGINX_CONF in $NGINX_CONFS; do
sed -i 's+include conf.d+include /etc/nginx/conf.d+g' "$NGINX_CONF" sed -i 's+include conf.d+include /etc/nginx/conf.d+g' "$NGINX_CONF"
done done
mkdir -p /var/www/html /etc/nginx/logs mkdir -p /var/www/html /etc/nginx/logs
cp -r docker/rootfs/var/www/html/* /var/www/html/ cp -r /opt/nginxproxymanager/docker/rootfs/var/www/html/* /var/www/html/
cp -r docker/rootfs/etc/nginx/* /etc/nginx/ cp -r /opt/nginxproxymanager/docker/rootfs/etc/nginx/* /etc/nginx/
cp docker/rootfs/etc/letsencrypt.ini /etc/letsencrypt.ini cp /opt/nginxproxymanager/docker/rootfs/etc/letsencrypt.ini /etc/letsencrypt.ini
cp docker/rootfs/etc/logrotate.d/nginx-proxy-manager /etc/logrotate.d/nginx-proxy-manager cp /opt/nginxproxymanager/docker/rootfs/etc/logrotate.d/nginx-proxy-manager /etc/logrotate.d/nginx-proxy-manager
ln -sf /etc/nginx/nginx.conf /etc/nginx/conf/nginx.conf ln -sf /etc/nginx/nginx.conf /etc/nginx/conf/nginx.conf
rm -f /etc/nginx/conf.d/dev.conf rm -f /etc/nginx/conf.d/dev.conf
@@ -109,23 +103,22 @@ chown root /tmp/nginx
echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" >/etc/nginx/conf.d/include/resolvers.conf echo resolver "$(awk 'BEGIN{ORS=" "} $1=="nameserver" {print ($2 ~ ":")? "["$2"]": $2}' /etc/resolv.conf);" >/etc/nginx/conf.d/include/resolvers.conf
if [ ! -f /data/nginx/dummycert.pem ] || [ ! -f /data/nginx/dummykey.pem ]; then if [ ! -f /data/nginx/dummycert.pem ] || [ ! -f /data/nginx/dummykey.pem ]; then
openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj "/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost" -keyout /data/nginx/dummykey.pem -out /data/nginx/dummycert.pem &>/dev/null $STD openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj "/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost" -keyout /data/nginx/dummykey.pem -out /data/nginx/dummycert.pem
fi fi
mkdir -p /app/global /app/frontend/images mkdir -p /app/frontend/images
cp -r backend/* /app cp -r /opt/nginxproxymanager/backend/* /app
cp -r global/* /app/global
msg_ok "Set up Environment" msg_ok "Set up Environment"
msg_info "Building Frontend" msg_info "Building Frontend"
cd ./frontend export NODE_OPTIONS="--max_old_space_size=2048 --openssl-legacy-provider"
export NODE_OPTIONS="--openssl-legacy-provider" cd /opt/nginxproxymanager/frontend
# Replace node-sass with sass in package.json before installation # Replace node-sass with sass in package.json before installation
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json sed -E -i 's/"node-sass" *: *"([^"]*)"/"sass": "\1"/g' package.json
$STD yarn install --network-timeout 600000 $STD yarn install --network-timeout 600000
$STD yarn build $STD yarn build
cp -r dist/* /app/frontend cp -r /opt/nginxproxymanager/frontend/dist/* /app/frontend
cp -r app-images/* /app/frontend/images cp -r /opt/nginxproxymanager/frontend/public/images/* /app/frontend/images
msg_ok "Built Frontend" msg_ok "Built Frontend"
msg_info "Initializing Backend" msg_info "Initializing Backend"
@@ -146,7 +139,6 @@ if [ ! -f /app/config/production.json ]; then
EOF EOF
fi fi
cd /app cd /app
export NODE_OPTIONS="--openssl-legacy-provider"
$STD yarn install --network-timeout 600000 $STD yarn install --network-timeout 600000
msg_ok "Initialized Backend" msg_ok "Initialized Backend"
@@ -170,9 +162,6 @@ WantedBy=multi-user.target
EOF EOF
msg_ok "Created Service" msg_ok "Created Service"
motd_ssh
customize
msg_info "Starting Services" msg_info "Starting Services"
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager sed -r -i 's/^([[:space:]]*)su npm npm/\1#su npm npm/g;' /etc/logrotate.d/nginx-proxy-manager
@@ -180,8 +169,10 @@ systemctl enable -q --now openresty
systemctl enable -q --now npm systemctl enable -q --now npm
msg_ok "Started Services" msg_ok "Started Services"
motd_ssh
customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf ../nginx-proxy-manager-*
systemctl restart openresty systemctl restart openresty
$STD apt -y autoremove $STD apt -y autoremove
$STD apt -y autoclean $STD apt -y autoclean

View File

@@ -1,8 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) 2021-2025 tteck # Copyright (c) 2021-2025 tteck
# Author: tteck # Author: tteck | Co-Author: havardthom | Co-Author: Slaviša Arežina (tremor021)
# Co-Author: havardthom
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://openwebui.com/ # Source: https://openwebui.com/
@@ -15,36 +14,10 @@ network_check
update_os update_os
msg_info "Installing Dependencies" msg_info "Installing Dependencies"
$STD apt install -y \ $STD apt install -y ffmpeg
git \
ffmpeg \
libpq-dev
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setup Python3" USE_UVX="YES" PYTHON_VERSION="3.12" setup_uv
$STD apt install -y --no-install-recommends \
python3 \
python3-pip
msg_ok "Setup Python3"
NODE_VERSION="22" setup_nodejs
msg_info "Installing Open WebUI (Patience)"
$STD git clone https://github.com/open-webui/open-webui.git /opt/open-webui
cd /opt/open-webui/backend
$STD pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
$STD pip3 install -r requirements.txt -U
cd /opt/open-webui
cp .env.example .env
cat <<EOF >/opt/open-webui/.env
ENV=prod
ENABLE_OLLAMA_API=false
OLLAMA_BASE_URL=http://0.0.0.0:11434
EOF
$STD npm install --force
export NODE_OPTIONS="--max-old-space-size=6000"
$STD npm run build
msg_ok "Installed Open WebUI"
read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
@@ -69,7 +42,7 @@ RestartSec=3
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl enable -q --now ollama systemctl enable -q --now ollama
sed -i 's/ENABLE_OLLAMA_API=false/ENABLE_OLLAMA_API=true/g' /opt/open-webui/.env echo "ENABLE_OLLAMA_API=true" >/root/.env
msg_ok "Installed Ollama" msg_ok "Installed Ollama"
fi fi
@@ -80,10 +53,14 @@ Description=Open WebUI Service
After=network.target After=network.target
[Service] [Service]
Type=exec Type=simple
WorkingDirectory=/opt/open-webui EnvironmentFile=-/root/.env
EnvironmentFile=/opt/open-webui/.env Environment=DATA_DIR=/root/.open-webui
ExecStart=/opt/open-webui/backend/start.sh ExecStart=/usr/local/bin/uvx --python 3.12 open-webui@latest serve
WorkingDirectory=/root
Restart=on-failure
RestartSec=5
User=root
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@@ -26,7 +26,8 @@ $STD apt install -y \
unpaper \ unpaper \
fonts-urw-base35 \ fonts-urw-base35 \
qpdf \ qpdf \
poppler-utils poppler-utils \
jbig2
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv PYTHON_VERSION="3.12" setup_uv
@@ -69,24 +70,12 @@ $STD uv pip install \
ocrmypdf \ ocrmypdf \
pillow \ pillow \
pdf2image pdf2image
$STD apt install -y python3-uno python3-pip $STD apt install -y python3-uno python3-pip
$STD pip3 install --break-system-packages unoserver $STD pip3 install --break-system-packages --timeout=120 unoserver
ln -sf /opt/.venv/bin/python3 /usr/local/bin/python3 ln -sf /opt/.venv/bin/python3 /usr/local/bin/python3
ln -sf /opt/.venv/bin/pip /usr/local/bin/pip ln -sf /opt/.venv/bin/pip /usr/local/bin/pip
msg_ok "Installed Python Dependencies" msg_ok "Installed Python Dependencies"
msg_info "Installing JBIG2"
$STD curl -fsSL -o /tmp/jbig2enc.tar.gz https://github.com/agl/jbig2enc/archive/refs/tags/0.30.tar.gz
mkdir -p /opt/jbig2enc
tar -xzf /tmp/jbig2enc.tar.gz -C /opt/jbig2enc --strip-components=1
cd /opt/jbig2enc
$STD bash ./autogen.sh
$STD bash ./configure
$STD make
$STD make install
msg_ok "Installed JBIG2"
msg_info "Installing Language Packs (Patience)" msg_info "Installing Language Packs (Patience)"
$STD apt install -y 'tesseract-ocr-*' $STD apt install -y 'tesseract-ocr-*'
msg_ok "Installed Language Packs" msg_ok "Installed Language Packs"

File diff suppressed because it is too large Load Diff