mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-08 21:59:13 +02:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 801aa95fc9 | |||
| bcec3c405a | |||
| 4c8f5bd1f0 | |||
| d87fef0892 | |||
| 5d14989682 | |||
| a296ccfc7e | |||
| f0fc577d79 | |||
| fbd9d24966 | |||
| 347e0e6ff0 | |||
| 4adea9666e |
@@ -518,12 +518,30 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
## 2026-08-08
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Ignis ([#16330](https://github.com/community-scripts/ProxmoxVE/pull/16330))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- core - setup_nodejs: bypass npm allowScripts policy globally on npm >=11 [@MickLesk](https://github.com/MickLesk) ([#16280](https://github.com/community-scripts/ProxmoxVE/pull/16280))
|
||||||
|
|
||||||
## 2026-08-07
|
## 2026-08-07
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- NetworkOptimizer ([#16328](https://github.com/community-scripts/ProxmoxVE/pull/16328))
|
||||||
|
- Orb ([#16329](https://github.com/community-scripts/ProxmoxVE/pull/16329))
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- HortusFox: start applying db migrations [@tomfrenzel](https://github.com/tomfrenzel) ([#16324](https://github.com/community-scripts/ProxmoxVE/pull/16324))
|
||||||
- Docker: report container updates instead of prompting, stop auto-updating Portainer Agent, fix addon detection of legacy Portainer [@MickLesk](https://github.com/MickLesk) ([#16298](https://github.com/community-scripts/ProxmoxVE/pull/16298))
|
- Docker: report container updates instead of prompting, stop auto-updating Portainer Agent, fix addon detection of legacy Portainer [@MickLesk](https://github.com/MickLesk) ([#16298](https://github.com/community-scripts/ProxmoxVE/pull/16298))
|
||||||
- Immich: retry mise install on transient npm download failures [@MickLesk](https://github.com/MickLesk) ([#16301](https://github.com/community-scripts/ProxmoxVE/pull/16301))
|
- Immich: retry mise install on transient npm download failures [@MickLesk](https://github.com/MickLesk) ([#16301](https://github.com/community-scripts/ProxmoxVE/pull/16301))
|
||||||
- changedetection: remove msttcorefonts to fix install hang [@austinpilz](https://github.com/austinpilz) ([#16319](https://github.com/community-scripts/ProxmoxVE/pull/16319))
|
- changedetection: remove msttcorefonts to fix install hang [@austinpilz](https://github.com/austinpilz) ([#16319](https://github.com/community-scripts/ProxmoxVE/pull/16319))
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
_ __ __ __ ____ __ _ _
|
||||||
|
/ | / /__ / /__ ______ _____/ /__/ __ \____ / /_(_)___ ___ (_)___ ___ _____
|
||||||
|
/ |/ / _ \/ __/ | /| / / __ \/ ___/ //_/ / / / __ \/ __/ / __ `__ \/ /_ / / _ \/ ___/
|
||||||
|
/ /| / __/ /_ | |/ |/ / /_/ / / / ,< / /_/ / /_/ / /_/ / / / / / / / / /_/ __/ /
|
||||||
|
/_/ |_/\___/\__/ |__/|__/\____/_/ /_/|_|\____/ .___/\__/_/_/ /_/ /_/_/ /___/\___/_/
|
||||||
|
/_/
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
____ __
|
||||||
|
/ __ \_____/ /_
|
||||||
|
/ / / / ___/ __ \
|
||||||
|
/ /_/ / / / /_/ /
|
||||||
|
\____/_/ /_.___/
|
||||||
|
|
||||||
+36
-9
@@ -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-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: MickLesk (CanbiZ)
|
# Author: MickLesk (CanbiZ) | Co-Author: Tom Frenzel (tomfrenzel)
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://github.com/danielbrendel/hortusfox-web
|
# Source: https://github.com/danielbrendel/hortusfox-web
|
||||||
|
|
||||||
@@ -34,29 +34,56 @@ function update_script() {
|
|||||||
systemctl stop apache2
|
systemctl stop apache2
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up current HortusFox installation"
|
cd /opt/hortusfox
|
||||||
cd /opt
|
if [[ ! -s app/migrations/migrations.list ]]; then
|
||||||
mv /opt/hortusfox/ /opt/hortusfox-backup
|
msg_info "Rebuilding HortusFox migration history"
|
||||||
msg_ok "Backed up current HortusFox installation"
|
local database_tables
|
||||||
|
database_tables="$(mariadb -u root -D hortusfox -NBe "SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = DATABASE();")"
|
||||||
|
: >app/migrations/migrations.list
|
||||||
|
local migration migration_file table_name
|
||||||
|
for migration in app/migrations/*.php; do
|
||||||
|
migration_file="${migration##*/}"
|
||||||
|
table_name="${migration_file%.php}"
|
||||||
|
if [[ "$migration_file" == "VersionModel.php" ]] || grep -Fxq "$table_name" <<<"$database_tables"; then
|
||||||
|
php -r 'echo hash("sha512", $argv[1]), PHP_EOL;' -- "$migration_file" >>app/migrations/migrations.list
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
msg_ok "Rebuilt HortusFox migration history"
|
||||||
|
fi
|
||||||
|
if [[ ! -f app/migrations/verhist.json && -f ~/.hortusfox ]]; then
|
||||||
|
printf '["%s"]\n' "$(<~/.hortusfox)" >app/migrations/verhist.json
|
||||||
|
fi
|
||||||
|
|
||||||
|
create_backup \
|
||||||
|
/opt/hortusfox/.env \
|
||||||
|
/opt/hortusfox/app/migrations/migrations.list \
|
||||||
|
/opt/hortusfox/app/migrations/verhist.json \
|
||||||
|
/opt/hortusfox/public/img \
|
||||||
|
/opt/hortusfox/public/attachments \
|
||||||
|
/opt/hortusfox/public/backup \
|
||||||
|
/opt/hortusfox/public/exports \
|
||||||
|
/opt/hortusfox/public/snd \
|
||||||
|
/opt/hortusfox/public/themes
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "hortusfox" "danielbrendel/hortusfox-web" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "hortusfox" "danielbrendel/hortusfox-web" "tarball"
|
||||||
|
restore_backup
|
||||||
|
|
||||||
msg_info "Updating HortusFox"
|
msg_info "Updating HortusFox"
|
||||||
cd /opt/hortusfox
|
cd /opt/hortusfox
|
||||||
cp /opt/hortusfox-backup/.env /opt/hortusfox/.env
|
|
||||||
cp -a /opt/hortusfox-backup/public/img/. /opt/hortusfox/public/img/
|
|
||||||
export COMPOSER_ALLOW_SUPERUSER=1
|
export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
$STD composer install --no-dev --optimize-autoloader
|
$STD composer install --no-dev --optimize-autoloader
|
||||||
|
$STD php asatru migrate:list
|
||||||
$STD php asatru migrate:upgrade
|
$STD php asatru migrate:upgrade
|
||||||
$STD php asatru plants:attributes
|
|
||||||
$STD php asatru calendar:classes
|
$STD php asatru calendar:classes
|
||||||
|
$STD php asatru plants:attributes
|
||||||
|
$STD php asatru aquashell:config
|
||||||
chown -R www-data:www-data /opt/hortusfox
|
chown -R www-data:www-data /opt/hortusfox
|
||||||
rm -r /opt/hortusfox-backup
|
|
||||||
msg_ok "Updated HortusFox"
|
msg_ok "Updated HortusFox"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start apache2
|
systemctl start apache2
|
||||||
msg_ok "Started Service"
|
msg_ok "Started Service"
|
||||||
|
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated successfully!"
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
#!/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: MickLesk (CanbiZ)
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Ozark-Connect/NetworkOptimizer
|
||||||
|
|
||||||
|
APP="NetworkOptimizer"
|
||||||
|
var_tags="${var_tags:-network;monitoring;unifi}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-12}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
if [[ ! -d /opt/networkoptimizer ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "networkoptimizer" "Ozark-Connect/NetworkOptimizer"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop networkoptimizer
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
create_backup /opt/networkoptimizer/networkoptimizer.env
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "networkoptimizer" "Ozark-Connect/NetworkOptimizer" "tarball"
|
||||||
|
|
||||||
|
msg_info "Rebuilding NetworkOptimizer"
|
||||||
|
RID="linux-x64"
|
||||||
|
[[ "$(dpkg --print-architecture)" == "arm64" ]] && RID="linux-arm64"
|
||||||
|
cd /opt/networkoptimizer
|
||||||
|
$STD dotnet publish src/NetworkOptimizer.Web -c Release -r "$RID" --self-contained -o /opt/networkoptimizer/publish
|
||||||
|
chmod +x /opt/networkoptimizer/publish/NetworkOptimizer.Web
|
||||||
|
mkdir -p /opt/networkoptimizer/publish/tools
|
||||||
|
cd /opt/networkoptimizer/src/uwnspeedtest
|
||||||
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $STD go build -trimpath -ldflags "-s -w" -o /opt/networkoptimizer/publish/tools/uwnspeedtest-linux-arm64 .
|
||||||
|
msg_ok "Rebuilt NetworkOptimizer"
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start networkoptimizer
|
||||||
|
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 "${GATEWAY}${BGN}http://${IP}:8042${CL}"
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
#!/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: angusmaul
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://orb.net/
|
||||||
|
|
||||||
|
APP="Orb"
|
||||||
|
var_tags="${var_tags:-network;monitoring}"
|
||||||
|
var_cpu="${var_cpu:-1}"
|
||||||
|
var_ram="${var_ram:-512}"
|
||||||
|
var_disk="${var_disk:-4}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
if ! dpkg -s orb >/dev/null 2>&1; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit 233
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg_info "Updating Orb"
|
||||||
|
$STD apt update
|
||||||
|
$STD apt install -y --only-upgrade orb
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
start
|
||||||
|
build_container
|
||||||
|
description
|
||||||
|
|
||||||
|
msg_ok "Completed Successfully!\n"
|
||||||
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
|
echo -e "${TAB}${GATEWAY}${BGN}To link the sensor to your orb account run:${CL}"
|
||||||
|
echo -e "${TAB}${GATEWAY}${BGN}pct exec ${CTID} -- runuser -u orb -- orb link${CL}"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: MickLesk (CanbiZ)
|
# Author: MickLesk (CanbiZ) | Co-Author: Tom Frenzel (tomfrenzel)
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://github.com/danielbrendel/hortusfox-web
|
# Source: https://github.com/danielbrendel/hortusfox-web
|
||||||
|
|
||||||
@@ -36,12 +36,15 @@ msg_ok "Composer dependencies installed"
|
|||||||
|
|
||||||
msg_info "Running DB migration"
|
msg_info "Running DB migration"
|
||||||
$STD php asatru migrate:fresh
|
$STD php asatru migrate:fresh
|
||||||
|
HORTUSFOX_VERSION="$(<~/.hortusfox)"
|
||||||
|
printf '["%s"]\n' "$HORTUSFOX_VERSION" >/opt/hortusfox/app/migrations/verhist.json
|
||||||
msg_ok "Migration finished"
|
msg_ok "Migration finished"
|
||||||
|
|
||||||
msg_info "Setting up HortusFox"
|
msg_info "Setting up HortusFox"
|
||||||
$STD mariadb -u root -D $MARIADB_DB_NAME -e "INSERT IGNORE INTO AppModel (workspace, language, created_at) VALUES ('Default Workspace', 'en', NOW());"
|
$STD mariadb -u root -D $MARIADB_DB_NAME -e "INSERT IGNORE INTO AppModel (workspace, language, created_at) VALUES ('Default Workspace', 'en', NOW());"
|
||||||
$STD php asatru plants:attributes
|
|
||||||
$STD php asatru calendar:classes
|
$STD php asatru calendar:classes
|
||||||
|
$STD php asatru plants:attributes
|
||||||
|
$STD php asatru aquashell:config
|
||||||
ADMIN_EMAIL="admin@example.com"
|
ADMIN_EMAIL="admin@example.com"
|
||||||
ADMIN_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)"
|
ADMIN_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)"
|
||||||
ADMIN_HASH=$(php -r "echo password_hash('$ADMIN_PASS', PASSWORD_BCRYPT);")
|
ADMIN_HASH=$(php -r "echo password_hash('$ADMIN_PASS', PASSWORD_BCRYPT);")
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
|
# Author: MickLesk (CanbiZ)
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Ozark-Connect/NetworkOptimizer
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
msg_info "Installing Dependencies"
|
||||||
|
$STD apt install -y \
|
||||||
|
git \
|
||||||
|
sshpass \
|
||||||
|
iperf3
|
||||||
|
setup_deb822_repo \
|
||||||
|
"microsoft" \
|
||||||
|
"https://packages.microsoft.com/keys/microsoft-2025.asc" \
|
||||||
|
"https://packages.microsoft.com/debian/13/prod/" \
|
||||||
|
"trixie"
|
||||||
|
$STD apt install -y dotnet-sdk-10.0
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
setup_go
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "networkoptimizer" "Ozark-Connect/NetworkOptimizer" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building NetworkOptimizer"
|
||||||
|
RID="linux-x64"
|
||||||
|
[[ "$(dpkg --print-architecture)" == "arm64" ]] && RID="linux-arm64"
|
||||||
|
cd /opt/networkoptimizer
|
||||||
|
export MinVerVersionOverride="$(cat ~/.networkoptimizer)"
|
||||||
|
$STD dotnet publish src/NetworkOptimizer.Web -c Release -r "$RID" --self-contained -o /opt/networkoptimizer/publish
|
||||||
|
chmod +x /opt/networkoptimizer/publish/NetworkOptimizer.Web
|
||||||
|
msg_ok "Built NetworkOptimizer"
|
||||||
|
|
||||||
|
msg_info "Building Gateway Speed Test Binary"
|
||||||
|
mkdir -p /opt/networkoptimizer/publish/tools
|
||||||
|
cd /opt/networkoptimizer/src/uwnspeedtest
|
||||||
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $STD go build -trimpath -ldflags "-s -w" -o /opt/networkoptimizer/publish/tools/uwnspeedtest-linux-arm64 .
|
||||||
|
msg_ok "Built Gateway Speed Test Binary"
|
||||||
|
|
||||||
|
msg_info "Configuring NetworkOptimizer"
|
||||||
|
cat <<EOF >/opt/networkoptimizer/networkoptimizer.env
|
||||||
|
ASPNETCORE_URLS=http://*:8042
|
||||||
|
HOST_IP=${LOCAL_IP}
|
||||||
|
Iperf3Server__Enabled=true
|
||||||
|
EOF
|
||||||
|
msg_ok "Configured NetworkOptimizer"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/networkoptimizer.service
|
||||||
|
[Unit]
|
||||||
|
Description=NetworkOptimizer
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/networkoptimizer/publish
|
||||||
|
EnvironmentFile=/opt/networkoptimizer/networkoptimizer.env
|
||||||
|
ExecStart=/opt/networkoptimizer/publish/NetworkOptimizer.Web
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now networkoptimizer
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
|
# Author: angusmaul
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://orb.net/
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
setup_deb822_repo \
|
||||||
|
"orb" \
|
||||||
|
"https://pkgs.orb.net/stable/debian/orbforge.noarmor.gpg" \
|
||||||
|
"https://pkgs.orb.net/stable/debian" \
|
||||||
|
"orb" \
|
||||||
|
"main"
|
||||||
|
|
||||||
|
msg_info "Installing Orb"
|
||||||
|
$STD apt install -y orb
|
||||||
|
msg_ok "Installed Orb"
|
||||||
|
|
||||||
|
msg_info "Enabling Service"
|
||||||
|
systemctl enable -q --now orb
|
||||||
|
msg_ok "Enabled Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -7706,6 +7706,10 @@ setup_nodejs() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$(npm -v 2>/dev/null | cut -d. -f1)" -ge 11 ]]; then
|
||||||
|
$STD npm config set dangerously-allow-all-scripts true --location=global 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
|
||||||
# Set a safe default heap limit for Node.js builds if not explicitly provided.
|
# Set a safe default heap limit for Node.js builds if not explicitly provided.
|
||||||
# Priority:
|
# Priority:
|
||||||
# 1) NODE_OPTIONS (caller/user override)
|
# 1) NODE_OPTIONS (caller/user override)
|
||||||
|
|||||||
Reference in New Issue
Block a user