Compare commits

...

25 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
4e21f411f5 Update CHANGELOG.md (#11045)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-22 00:15:40 +00:00
community-scripts-pr-app[bot]
fe21d3577f Update versions.json (#11044)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-22 01:14:47 +01:00
community-scripts-pr-app[bot]
3725023ee3 Update .app files (#11041)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-01-21 21:30:02 +01:00
community-scripts-pr-app[bot]
c19817af8d Update CHANGELOG.md (#11040)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 20:26:43 +00:00
push-app-to-main[bot]
5378d41acf Byparr (#11039)
* Add byparr (ct)

* refactor

* Update date_created to new value

* refactor

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-01-21 21:25:50 +01:00
community-scripts-pr-app[bot]
5bb48fc843 Update CHANGELOG.md (#11037)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 14:54:58 +00:00
Ruan Bahia
e935289128 fix: Snipe-IT update missing all user uploads (#11032) (#11033) 2026-01-21 15:54:24 +01:00
community-scripts-pr-app[bot]
0db119d2c3 Update CHANGELOG.md (#11036)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 14:39:41 +00:00
CanbiZ (MickLesk)
5c9087a91a tools: add ubuntu PHP repository setup (#11034)
Switches to using the ondrej/php PPA for Ubuntu and retains the Sury repository for Debian when setting up PHP. This ensures compatibility with the respective distributions' recommended PHP sources.
2026-01-21 15:39:15 +01:00
community-scripts-pr-app[bot]
1d7d8c27fa Update CHANGELOG.md (#11035)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 14:14:52 +00:00
Tobias
fae2d032ab yubal: fix for v0.2 (#11006) 2026-01-21 15:14:29 +01:00
CanbiZ (MickLesk)
2fab70294f fix joplin 2026-01-21 14:58:55 +01:00
CanbiZ (MickLesk)
477199a4c2 yarn rebuild 2026-01-21 13:17:29 +01:00
CanbiZ (MickLesk)
733425f970 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVE 2026-01-21 13:07:28 +01:00
CanbiZ (MickLesk)
7395a44277 Run TypeScript compilation in Joplin Server scripts
Added 'yarn run tsc' to both update and install scripts for Joplin Server to ensure TypeScript sources are compiled. Also removed an unused variable from build.func for code cleanup.
2026-01-21 13:07:20 +01:00
community-scripts-pr-app[bot]
f555f9ae0c Update versions.json (#11030)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 13:07:18 +01:00
CanbiZ (MickLesk)
fe2384a2fa Initialize variables in create_lxc_container
Added initialization for ONLINE_TEMPLATE and ONLINE_TEMPLATES arrays at the start of the create_lxc_container function to ensure variables are defined before use.
2026-01-21 12:42:19 +01:00
CanbiZ (MickLesk)
5384adf0c3 Remove unnecessary set +u/set -u in create_lxc_container
only as test exist
2026-01-21 12:40:55 +01:00
CanbiZ (MickLesk)
ed18776710 fix unbound var: ONLINE_TEMPLATES 2026-01-21 12:39:57 +01:00
community-scripts-pr-app[bot]
13824931b0 Update CHANGELOG.md (#11029)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 11:02:01 +00:00
CanbiZ (MickLesk)
88557d53f4 core: allow empty tags & improve template search (#11020) 2026-01-21 12:01:34 +01:00
community-scripts-pr-app[bot]
0c9653c7cb Update CHANGELOG.md (#11028)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 11:01:13 +00:00
CanbiZ (MickLesk)
914c316f42 Joplin-Server: use yarn workspaces focus for faster builds (#11027) 2026-01-21 12:00:46 +01:00
community-scripts-pr-app[bot]
49d92afb98 Update CHANGELOG.md (#11018)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-21 05:47:47 +00:00
Slaviša Arežina
dba473b2b3 Set disable flag to true in joplin-server.json (#11008) 2026-01-21 06:47:22 +01:00
12 changed files with 396 additions and 199 deletions

View File

@@ -10,8 +10,38 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2026-01-22
## 2026-01-21
### 🆕 New Scripts
- Byparr ([#11039](https://github.com/community-scripts/ProxmoxVE/pull/11039))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix: Snipe-IT update missing all user uploads (#11032) [@ruanmed](https://github.com/ruanmed) ([#11033](https://github.com/community-scripts/ProxmoxVE/pull/11033))
- yubal: fix for v0.2 [@CrazyWolf13](https://github.com/CrazyWolf13) ([#11006](https://github.com/community-scripts/ProxmoxVE/pull/11006))
- Joplin-Server: use yarn workspaces focus for faster builds [@MickLesk](https://github.com/MickLesk) ([#11027](https://github.com/community-scripts/ProxmoxVE/pull/11027))
### 💾 Core
- #### ✨ New Features
- tools: add ubuntu PHP repository setup [@MickLesk](https://github.com/MickLesk) ([#11034](https://github.com/community-scripts/ProxmoxVE/pull/11034))
- #### 🔧 Refactor
- core: allow empty tags & improve template search [@MickLesk](https://github.com/MickLesk) ([#11020](https://github.com/community-scripts/ProxmoxVE/pull/11020))
### 🌐 Website
- #### 📝 Script Information
- Joplin Server: Set disable flag to true in joplin-server.json [@tremor021](https://github.com/tremor021) ([#11008](https://github.com/community-scripts/ProxmoxVE/pull/11008))
## 2026-01-20
### 🚀 Updated Scripts

53
ct/byparr.sh Normal file
View File

@@ -0,0 +1,53 @@
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2026 community-scripts ORG
# Author: luismco
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/ThePhaseless/Byparr
APP="Byparr"
var_tags="${var_tags:-proxy}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
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/Byparr ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "Byparr" "ThePhaseless/Byparr"; then
msg_info "Stopping Service"
systemctl stop byparr
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Byparr" "ThePhaseless/Byparr" "tarball" "latest"
msg_info "Starting Service"
systemctl start byparr
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}:8191${CL}"

6
ct/headers/byparr Normal file
View File

@@ -0,0 +1,6 @@
____
/ __ )__ ______ ____ ___________
/ __ / / / / __ \/ __ `/ ___/ ___/
/ /_/ / /_/ / /_/ / /_/ / / / /
/_____/\__, / .___/\__,_/_/ /_/
/____/_/

View File

@@ -44,7 +44,9 @@ function update_script() {
sed -i "/onenote-converter/d" packages/lib/package.json
$STD yarn config set --home enableTelemetry 0
export BUILD_SEQUENCIAL=1
$STD yarn install --inline-builds
$STD yarn workspaces focus @joplin/server
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run build
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run tsc
msg_ok "Updated Joplin-Server"
msg_info "Starting Services"

View File

@@ -50,8 +50,8 @@ function update_script() {
$STD apt update
$STD apt -y upgrade
cp /opt/snipe-it-backup/.env /opt/snipe-it/.env
cp -r /opt/snipe-it-backup/public/uploads/ /opt/snipe-it/public/uploads/
cp -r /opt/snipe-it-backup/storage/private_uploads /opt/snipe-it/storage/private_uploads
cp -r /opt/snipe-it-backup/public/uploads/. /opt/snipe-it/public/uploads/
cp -r /opt/snipe-it-backup/storage/private_uploads/. /opt/snipe-it/storage/private_uploads/
cd /opt/snipe-it/
export COMPOSER_ALLOW_SUPERUSER=1
$STD composer install --no-dev --optimize-autoloader --no-interaction

View File

@@ -0,0 +1,35 @@
{
"name": "Byparr",
"slug": "byparr",
"categories": [
14
],
"date_created": "2026-01-21",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 8191,
"documentation": "https://github.com/ThePhaseless/Byparr/blob/master/README.md",
"website": "https://github.com/ThePhaseless/Byparr",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/byparr.webp",
"config_path": "",
"description": "Byparr is a proxy server to bypass Cloudflare and DDoS-GUARD protection.",
"install_methods": [
{
"type": "default",
"script": "ct/byparr.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 4,
"os": "debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": []
}

View File

@@ -1,38 +1,38 @@
[
{
"name": "semaphoreui/semaphore",
"version": "v2.17.0-rc5",
"date": "2026-01-20T23:36:16Z"
},
{
"name": "ZoeyVid/NPMplus",
"version": "2026-01-20-r2",
"date": "2026-01-20T22:28:54Z"
},
{
"name": "esphome/esphome",
"version": "2025.12.7",
"date": "2026-01-17T03:49:29Z"
},
{
"name": "chrisbenincasa/tunarr",
"version": "v1.2.0-dev.1",
"date": "2026-01-20T21:46:14Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.108.0-rc.1",
"date": "2026-01-20T20:46:43Z"
"name": "Stirling-Tools/Stirling-PDF",
"version": "v2.3.0",
"date": "2026-01-15T19:29:02Z"
},
{
"name": "ollama/ollama",
"version": "v0.14.3-rc2",
"date": "2026-01-19T20:48:34Z"
"version": "v0.14.3-rc3",
"date": "2026-01-20T20:20:53Z"
},
{
"name": "rcourtman/Pulse",
"version": "v5.0.17",
"date": "2026-01-20T19:07:30Z"
"name": "BerriAI/litellm",
"version": "v1.81.0.rc.4",
"date": "2026-01-21T21:43:55Z"
},
{
"name": "Infisical/infisical",
"version": "v0.156.2",
"date": "2026-01-21T21:02:11Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2026-01-20T21:10:15Z"
},
{
"name": "Comfy-Org/ComfyUI",
"version": "v0.10.0",
"date": "2026-01-21T19:22:04Z"
},
{
"name": "fccview/jotty",
"version": "1.18.1",
"date": "2026-01-21T19:16:44Z"
},
{
"name": "firefly-iii/firefly-iii",
@@ -40,19 +40,149 @@
"date": "2026-01-17T07:54:15Z"
},
{
"name": "netbox-community/netbox",
"version": "v4.5.1",
"date": "2026-01-20T19:45:05Z"
"name": "metabase/metabase",
"version": "v0.57.x",
"date": "2026-01-21T17:54:29Z"
},
{
"name": "Infisical/infisical",
"version": "v0.155.7",
"date": "2026-01-20T19:42:20Z"
"name": "openobserve/openobserve",
"version": "v0.50.2",
"date": "2026-01-21T17:02:52Z"
},
{
"name": "LimeSurvey/LimeSurvey",
"version": "7.0.0-beta1+260113",
"date": "2026-01-21T15:14:45Z"
},
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.541.1",
"date": "2026-01-21T15:09:10Z"
},
{
"name": "dedicatedcode/reitti",
"version": "v3.4.0",
"date": "2026-01-21T14:29:46Z"
},
{
"name": "node-red/node-red",
"version": "4.1.3",
"date": "2026-01-07T16:24:23Z"
},
{
"name": "prometheus/prometheus",
"version": "v3.5.1",
"date": "2026-01-21T13:28:57Z"
},
{
"name": "apache/tomcat",
"version": "10.1.51",
"date": "2026-01-21T13:19:21Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.17.0-rc7",
"date": "2026-01-21T12:12:33Z"
},
{
"name": "evcc-io/evcc",
"version": "0.300.5",
"date": "2026-01-21T11:35:44Z"
},
{
"name": "javedh-dev/tracktor",
"version": "1.2.1",
"date": "2026-01-21T11:12:28Z"
},
{
"name": "endurain-project/endurain",
"version": "v0.17.0",
"date": "2026-01-21T10:55:33Z"
},
{
"name": "emqx/emqx",
"version": "e5.10.3-rc.2",
"date": "2026-01-21T08:57:16Z"
},
{
"name": "docker/compose",
"version": "v5.0.2",
"date": "2026-01-21T07:42:38Z"
},
{
"name": "SigNoz/signoz",
"version": "v0.108.0",
"date": "2026-01-21T06:45:16Z"
},
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.2.2",
"date": "2025-12-15T18:25:36Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.898",
"date": "2026-01-21T05:50:19Z"
},
{
"name": "9001/copyparty",
"version": "v1.20.3",
"date": "2026-01-21T05:39:57Z"
},
{
"name": "donetick/donetick",
"version": "v0.1.70-beta.1",
"date": "2026-01-21T05:35:05Z"
},
{
"name": "esphome/esphome",
"version": "2026.1.0",
"date": "2026-01-21T03:43:09Z"
},
{
"name": "jeedom/core",
"version": "4.5.2",
"date": "2026-01-21T00:27:05Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.20.5",
"date": "2026-01-21T00:12:33Z"
},
{
"name": "keycloak/keycloak",
"version": "26.4.8",
"date": "2026-01-15T13:52:29Z"
},
{
"name": "ZoeyVid/NPMplus",
"version": "2026-01-20-r2",
"date": "2026-01-20T22:28:54Z"
},
{
"name": "seerr-team/seerr",
"version": "preview-availability-sync-fix",
"date": "2026-01-20T19:12:59Z"
"date": "2026-01-20T22:11:24Z"
},
{
"name": "chrisbenincasa/tunarr",
"version": "v1.2.0-dev.1",
"date": "2026-01-20T21:46:14Z"
},
{
"name": "rcourtman/Pulse",
"version": "v5.0.17",
"date": "2026-01-20T19:07:30Z"
},
{
"name": "netbox-community/netbox",
"version": "v4.5.1",
"date": "2026-01-20T19:45:05Z"
},
{
"name": "nickheyer/discopanel",
@@ -69,11 +199,6 @@
"version": "v1.145.0",
"date": "2026-01-13T16:49:51Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.81.0.rc.1",
"date": "2026-01-20T16:55:00Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.88.4",
@@ -94,11 +219,6 @@
"version": "v14.0.8",
"date": "2026-01-20T15:10:44Z"
},
{
"name": "metabase/metabase",
"version": "v0.57.10",
"date": "2026-01-20T14:55:34Z"
},
{
"name": "meilisearch/meilisearch",
"version": "latest",
@@ -109,33 +229,18 @@
"version": "v0.23.0-rc.1",
"date": "2026-01-20T14:19:56Z"
},
{
"name": "apache/tomcat",
"version": "9.0.114",
"date": "2026-01-20T14:13:00Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@2.3.6",
"date": "2026-01-16T15:00:42Z"
},
{
"name": "jenkinsci/jenkins",
"version": "jenkins-2.547",
"date": "2026-01-20T13:46:00Z"
},
{
"name": "docker/compose",
"version": "v5.0.2",
"date": "2026-01-20T12:57:53Z"
},
{
"name": "dgtlmoon/changedetection.io",
"version": "0.52.8",
"date": "2026-01-20T12:36:05Z"
},
{
"name": "lazy-media/Reactive-Resume",
"name": "lazy-media/reactive-resume",
"version": "v1.2.7",
"date": "2026-01-20T11:59:40Z"
},
@@ -159,11 +264,6 @@
"version": "v25.4",
"date": "2025-10-09T10:27:01Z"
},
{
"name": "openobserve/openobserve",
"version": "v0.50.0",
"date": "2026-01-20T07:34:31Z"
},
{
"name": "HydroshieldMKII/Guardian",
"version": "v1.3.4",
@@ -174,26 +274,11 @@
"version": "v1.5.4",
"date": "2026-01-04T22:41:00Z"
},
{
"name": "Comfy-Org/ComfyUI",
"version": "v0.10.0",
"date": "2026-01-20T03:40:18Z"
},
{
"name": "diced/zipline",
"version": "v4.4.1",
"date": "2026-01-20T01:29:01Z"
},
{
"name": "jeedom/core",
"version": "4.5.2",
"date": "2026-01-20T00:27:06Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
},
{
"name": "binwiederhier/ntfy",
"version": "v2.16.0",
@@ -209,16 +294,6 @@
"version": "nightly",
"date": "2026-01-19T18:03:38Z"
},
{
"name": "keycloak/keycloak",
"version": "26.4.8",
"date": "2026-01-15T13:52:29Z"
},
{
"name": "paperless-ngx/paperless-ngx",
"version": "v2.20.5",
"date": "2026-01-19T17:55:57Z"
},
{
"name": "ghostfolio/ghostfolio",
"version": "2.232.0",
@@ -264,21 +339,11 @@
"version": "v1.9.14",
"date": "2026-01-19T09:16:56Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.887",
"date": "2026-01-19T05:55:24Z"
},
{
"name": "gethomepage/homepage",
"version": "v1.9.0",
"date": "2026-01-19T05:46:09Z"
},
{
"name": "9001/copyparty",
"version": "v1.20.2",
"date": "2026-01-19T02:20:10Z"
},
{
"name": "jellyfin/jellyfin",
"version": "v10.11.6",
@@ -309,11 +374,6 @@
"version": "v2.5.0",
"date": "2026-01-18T22:16:38Z"
},
{
"name": "fccview/jotty",
"version": "1.18.0",
"date": "2026-01-18T19:00:48Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.21.2",
@@ -349,11 +409,6 @@
"version": "v1.3.0",
"date": "2026-01-17T16:28:04Z"
},
{
"name": "evcc-io/evcc",
"version": "0.300.4",
"date": "2026-01-17T14:11:01Z"
},
{
"name": "LogicLabs-OU/OpenArchiver",
"version": "v0.4.1",
@@ -389,11 +444,6 @@
"version": "v1.50.1",
"date": "2026-01-16T19:27:38Z"
},
{
"name": "emqx/emqx",
"version": "6.0.2",
"date": "2026-01-16T13:52:11Z"
},
{
"name": "silverbulletmd/silverbullet",
"version": "2.4.1",
@@ -429,16 +479,6 @@
"version": "v0.20.0",
"date": "2026-01-15T20:59:44Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2026-01-15T20:03:50Z"
},
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v2.3.0",
"date": "2026-01-15T19:29:02Z"
},
{
"name": "zwave-js/zwave-js-ui",
"version": "v11.10.1",
@@ -509,11 +549,6 @@
"version": "v3.3.1-rc2",
"date": "2026-01-14T12:29:28Z"
},
{
"name": "dedicatedcode/reitti",
"version": "v3.3.0",
"date": "2026-01-14T11:06:59Z"
},
{
"name": "cloudreve/cloudreve",
"version": "4.11.1",
@@ -554,16 +589,6 @@
"version": "v0.5.5",
"date": "2026-01-13T17:03:32Z"
},
{
"name": "LimeSurvey/LimeSurvey",
"version": "6.16.3+251215",
"date": "2026-01-13T10:36:10Z"
},
{
"name": "endurain-project/endurain",
"version": "v0.16.6",
"date": "2026-01-13T10:28:14Z"
},
{
"name": "henrygd/beszel",
"version": "v0.18.2",
@@ -759,21 +784,11 @@
"version": "5.2.7",
"date": "2026-01-07T23:48:00Z"
},
{
"name": "prometheus/prometheus",
"version": "v0.309.1",
"date": "2026-01-07T19:20:52Z"
},
{
"name": "leiweibau/Pi.Alert",
"version": "v2026-01-07",
"date": "2026-01-07T18:50:28Z"
},
{
"name": "node-red/node-red",
"version": "4.1.3",
"date": "2026-01-07T16:24:23Z"
},
{
"name": "MDeLuise/plant-it",
"version": "1.0.1",
@@ -867,7 +882,7 @@
{
"name": "mealie-recipes/mealie",
"version": "v3.9.2",
"date": "2026-01-02T19:40:09Z"
"date": "2026-01-02T19:40:19Z"
},
{
"name": "gotify/server",
@@ -894,11 +909,6 @@
"version": "v25.12.1",
"date": "2025-12-30T17:25:57Z"
},
{
"name": "javedh-dev/tracktor",
"version": "1.1.0",
"date": "2025-12-30T04:42:18Z"
},
{
"name": "ArchiveBox/ArchiveBox",
"version": "v0.8.6rc1",
@@ -1049,11 +1059,6 @@
"version": "v4.1.0",
"date": "2025-12-15T18:53:25Z"
},
{
"name": "rabbitmq/rabbitmq-server",
"version": "v4.2.2",
"date": "2025-12-15T18:25:36Z"
},
{
"name": "docmost/docmost",
"version": "v0.24.1",
@@ -1439,11 +1444,6 @@
"version": "v1.5.9",
"date": "2025-10-06T08:34:01Z"
},
{
"name": "donetick/donetick",
"version": "v0.1.64",
"date": "2025-10-03T05:18:24Z"
},
{
"name": "thomiceli/opengist",
"version": "v1.11.1",

50
install/byparr-install.sh Normal file
View File

@@ -0,0 +1,50 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: luismco
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/ThePhaseless/Byparr
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt -y install \
xauth \
xvfb \
scrot \
chromium \
chromium-driver \
ca-certificates
msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "Byparr" "ThePhaseless/Byparr" "tarball" "latest"
setup_uv
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/byparr.service
[Unit]
Description=Byparr
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/Byparr
ExecStart=/usr/local/bin/uv run python3 main.py
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now byparr
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc

View File

@@ -36,8 +36,9 @@ cd /opt/joplin-server
sed -i "/onenote-converter/d" packages/lib/package.json
$STD yarn config set --home enableTelemetry 0
export BUILD_SEQUENCIAL=1
$STD yarn install --inline-builds
$STD yarn workspaces focus @joplin/server
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run build
$STD yarn workspaces foreach -R --topological-dev --from @joplin/server run tsc
cat <<EOF >/opt/joplin-server/.env
PM2_HOME=/opt/pm2
NODE_ENV=production

View File

@@ -59,7 +59,7 @@ msg_ok "Installed Python Dependencies"
msg_info "Creating Service"
cat <<EOF >/opt/yubal.env
YUBAL_HOST=0.0.0.0
YUBAL_PORT=8001
YUBAL_PORT=8000
YUBAL_DATA=/opt/yubal_data
YUBAL_CONFIG=/opt/yubal_config
YUBAL_ROOT=/opt/yubal
@@ -76,7 +76,7 @@ User=root
WorkingDirectory=/opt/yubal
EnvironmentFile=/opt/yubal.env
Environment="PATH=/opt/yubal/.venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/opt/yubal/.venv/bin/python -m yubal
ExecStart=/opt/yubal/.venv/bin/python -m yubal_api
Restart=always
RestartSec=5

View File

@@ -3442,8 +3442,13 @@ build_container() {
export DEV_MODE_DRYRUN="${DEV_MODE_DRYRUN:-false}"
# Build PCT_OPTIONS as multi-line string
PCT_OPTIONS_STRING=" -hostname $HN
PCT_OPTIONS_STRING=" -hostname $HN"
# Only add -tags if TAGS is not empty
if [ -n "$TAGS" ]; then
PCT_OPTIONS_STRING="$PCT_OPTIONS_STRING
-tags $TAGS"
fi
# Only add -features if FEATURES is not empty
if [ -n "$FEATURES" ]; then
@@ -4473,37 +4478,42 @@ create_lxc_container() {
msg_info "Searching for template '$TEMPLATE_SEARCH'"
# Initialize variables
ONLINE_TEMPLATE=""
ONLINE_TEMPLATES=()
# Step 1: Check local templates first (instant)
mapfile -t LOCAL_TEMPLATES < <(
pveam list "$TEMPLATE_STORAGE" 2>/dev/null |
awk -v search="${TEMPLATE_SEARCH}" -v pattern="${TEMPLATE_PATTERN}" '$1 ~ search && $1 ~ pattern {print $1}' |
sed 's|.*/||' | sort -t - -k 2 -V
)
pveam update >/dev/null 2>&1 || msg_warn "Could not update template catalog (pveam update failed)."
msg_ok "Template search completed"
set +u
mapfile -t ONLINE_TEMPLATES < <(pveam available -section system 2>/dev/null | grep -E '\.(tar\.zst|tar\.xz|tar\.gz)$' | awk '{print $2}' | grep -E "^${TEMPLATE_SEARCH}.*${TEMPLATE_PATTERN}" | sort -t - -k 2 -V 2>/dev/null || true)
set -u
ONLINE_TEMPLATE=""
[[ ${#ONLINE_TEMPLATES[@]} -gt 0 ]] && ONLINE_TEMPLATE="${ONLINE_TEMPLATES[-1]}"
if [[ ${#ONLINE_TEMPLATES[@]} -gt 0 ]]; then
count=0
for idx in "${!ONLINE_TEMPLATES[@]}"; do
((count++))
[[ $count -ge 3 ]] && break
done
fi
# Step 2: If local template found, use it immediately (skip pveam update)
if [[ ${#LOCAL_TEMPLATES[@]} -gt 0 ]]; then
TEMPLATE="${LOCAL_TEMPLATES[-1]}"
TEMPLATE_SOURCE="local"
msg_ok "Template search completed"
else
# Step 3: No local template - need to check online (this may be slow)
msg_info "No local template found, checking online catalog..."
# Update catalog with timeout to prevent long hangs
if command -v timeout &>/dev/null; then
if ! timeout 30 pveam update >/dev/null 2>&1; then
msg_warn "Template catalog update timed out (possible network/DNS issue). Run 'pveam update' manually to diagnose."
fi
else
pveam update >/dev/null 2>&1 || msg_warn "Could not update template catalog (pveam update failed)"
fi
ONLINE_TEMPLATES=()
mapfile -t ONLINE_TEMPLATES < <(pveam available -section system 2>/dev/null | grep -E '\.(tar\.zst|tar\.xz|tar\.gz)$' | awk '{print $2}' | grep -E "^${TEMPLATE_SEARCH}.*${TEMPLATE_PATTERN}" | sort -t - -k 2 -V 2>/dev/null || true)
[[ ${#ONLINE_TEMPLATES[@]} -gt 0 ]] && ONLINE_TEMPLATE="${ONLINE_TEMPLATES[-1]}"
TEMPLATE="$ONLINE_TEMPLATE"
TEMPLATE_SOURCE="online"
msg_ok "Template search completed"
fi
# If still no template, try to find alternatives
@@ -4512,6 +4522,7 @@ create_lxc_container() {
echo "[DEBUG] No template found for ${PCT_OSTYPE} ${PCT_OSVERSION}, searching for alternatives..."
# Get all available versions for this OS type
AVAILABLE_VERSIONS=()
mapfile -t AVAILABLE_VERSIONS < <(
pveam available -section system 2>/dev/null |
grep -E '\.(tar\.zst|tar\.xz|tar\.gz)$' |
@@ -4534,6 +4545,7 @@ create_lxc_container() {
PCT_OSVERSION="${AVAILABLE_VERSIONS[$((choice - 1))]}"
TEMPLATE_SEARCH="${PCT_OSTYPE}-${PCT_OSVERSION}"
ONLINE_TEMPLATES=()
mapfile -t ONLINE_TEMPLATES < <(
pveam available -section system 2>/dev/null |
grep -E '\.(tar\.zst|tar\.xz|tar\.gz)$' |

View File

@@ -4387,11 +4387,19 @@ EOF
return 1
}
manage_tool_repository "php" "$PHP_VERSION" "" "https://packages.sury.org/debsuryorg-archive-keyring.deb" || {
msg_error "Failed to setup PHP repository"
return 1
}
# Use different repository based on OS
if [[ "$DISTRO_ID" == "ubuntu" ]]; then
# Ubuntu: Use ondrej/php PPA
msg_info "Adding ondrej/php PPA for Ubuntu"
$STD apt install -y software-properties-common
$STD add-apt-repository -y ppa:ondrej/php
else
# Debian: Use Sury repository
manage_tool_repository "php" "$PHP_VERSION" "" "https://packages.sury.org/debsuryorg-archive-keyring.deb" || {
msg_error "Failed to setup PHP repository"
return 1
}
fi
ensure_apt_working || return 1
$STD apt update