Compare commits

..

33 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot]
be154d9a20 Update CHANGELOG.md (#11160)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-25 00:16:21 +00:00
community-scripts-pr-app[bot]
1702f693b8 Update versions.json (#11159)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-25 01:15:54 +01:00
community-scripts-pr-app[bot]
54e99261b4 Update CHANGELOG.md (#11153)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:52:48 +00:00
community-scripts-pr-app[bot]
5b612a0f11 Update .app files (#11151)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-01-24 23:52:20 +01:00
community-scripts-pr-app[bot]
16fb028ad4 Update CHANGELOG.md (#11152)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:50:41 +00:00
community-scripts-pr-app[bot]
68b2043fd6 Update CHANGELOG.md (#11150)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:50:19 +00:00
community-scripts-pr-app[bot]
d8b0db99f1 Update date in json (#11149)
Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:50:15 +00:00
push-app-to-main[bot]
352bbc880e manyfold (#11143)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
Co-authored-by: Chris <punk.sand7393@fastmail.com>
2026-01-24 23:49:59 +01:00
community-scripts-pr-app[bot]
9311829cf4 Update CHANGELOG.md (#11148)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:48:58 +00:00
community-scripts-pr-app[bot]
105b83fcc3 Update CHANGELOG.md (#11147)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:48:46 +00:00
community-scripts-pr-app[bot]
dc2810c5d4 Update CHANGELOG.md (#11146)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:48:34 +00:00
CanbiZ (MickLesk)
28b42883b7 fix(elementsynapse): correct parameter order in fetch_and_deploy_gh_release (#11145)
Fixed wrong parameter order that caused malformed GitHub API URL.
The function was called with repo as first arg and path as second,
instead of app name as first and repo as second.

Closes #11144
2026-01-24 23:48:24 +01:00
Tobias
8742fedcea bump crafty-controller to debian 13 (#11094)
* chore: bump to deb13

* chore: bump to deb 13

* chore: bump to deb 13
2026-01-24 23:48:09 +01:00
community-scripts-pr-app[bot]
a31febc8ce Update CHANGELOG.md (#11142)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:23:29 +00:00
CanbiZ (MickLesk)
61ea6d980a fix(nvidia): use versioned nvidia-utils package for Ubuntu fallback (#11139)
- nvidia-utils is a virtual package and requires version suffix (e.g. nvidia-utils-580)
- Use nvidia_major_version to install correct versioned packages
- Show helpful warning message instead of crashing on failure

Fixes installation failures on Ubuntu 24.04 with NVIDIA 580.x drivers
2026-01-24 23:23:10 +01:00
MickLesk
aab4edf25e fix(authelia): handle IP vs domain for authelia_url config
- IP address: use https://IP:9091 instead of invalid https://auth.IP
- Domain: keep https://auth.DOMAIN as before
- Improve completion message with actual URL hint

Closes #11117
2026-01-24 23:23:00 +01:00
community-scripts-pr-app[bot]
87610515a3 Update CHANGELOG.md (#11141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:15:14 +00:00
Chris
d6b4cea3ba Netbox: Refactor (#11126)
* refactor install script

* refactor update script
2026-01-24 23:14:55 +01:00
community-scripts-pr-app[bot]
ebcbe90c99 Update CHANGELOG.md (#11138)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 22:02:00 +00:00
CanbiZ (MickLesk)
5ce7f35793 leantime: fix backup file naming (#11137) 2026-01-24 23:01:36 +01:00
community-scripts-pr-app[bot]
8764bbc754 Update CHANGELOG.md (#11136)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 21:50:28 +00:00
Chris
83cd058586 [Hotfix] Element Synapse (#11135) 2026-01-24 22:50:04 +01:00
community-scripts-pr-app[bot]
661fb9efe0 Update CHANGELOG.md (#11127)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 17:21:16 +00:00
CanbiZ (MickLesk)
d356ba4822 fix(authelia): use POSIX-safe arithmetic to avoid exit code 1 with set -e (#11125) 2026-01-24 18:20:53 +01:00
community-scripts-pr-app[bot]
b17b555139 Update CHANGELOG.md (#11124)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 15:40:03 +00:00
Tobias
1741e007bb add config file (#11120) 2026-01-24 16:39:41 +01:00
community-scripts-pr-app[bot]
06ce9de1fa Update CHANGELOG.md (#11123)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 15:39:18 +00:00
Slaviša Arežina
c0fb35c90b Update bitmagnet installation script with environment variables (#11119) 2026-01-24 16:38:57 +01:00
community-scripts-pr-app[bot]
f66a751427 Update CHANGELOG.md (#11122)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 15:30:07 +00:00
Chris
4b3f7f688c Spoolman: move to uv (#11121) 2026-01-24 16:29:46 +01:00
community-scripts-pr-app[bot]
0828068d39 Update versions.json (#11118)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 13:05:58 +01:00
community-scripts-pr-app[bot]
b7ef77cb66 Update CHANGELOG.md (#11113)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-24 06:55:25 +00:00
Slaviša Arežina
e7f8a27aac Standard (#11109) 2026-01-24 07:55:04 +01:00
23 changed files with 560 additions and 254 deletions

View File

@@ -10,8 +10,43 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2026-01-25
## 2026-01-24
### 🆕 New Scripts
- Manyfold ([#11143](https://github.com/community-scripts/ProxmoxVE/pull/11143))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- elementsynapse: correct parameter order in fetch_and_deploy_gh_release [@MickLesk](https://github.com/MickLesk) ([#11145](https://github.com/community-scripts/ProxmoxVE/pull/11145))
- leantime: fix backup file naming [@MickLesk](https://github.com/MickLesk) ([#11137](https://github.com/community-scripts/ProxmoxVE/pull/11137))
- [Hotfix] Element Synapse [@vhsdream](https://github.com/vhsdream) ([#11135](https://github.com/community-scripts/ProxmoxVE/pull/11135))
- authelia: use POSIX-safe arithmetic to avoid exit code 1 with set -e in subshells [@MickLesk](https://github.com/MickLesk) ([#11125](https://github.com/community-scripts/ProxmoxVE/pull/11125))
- Bitmagnet: PostgreSQL and environment variable fixes [@tremor021](https://github.com/tremor021) ([#11119](https://github.com/community-scripts/ProxmoxVE/pull/11119))
- Spoolman: move to uv [@vhsdream](https://github.com/vhsdream) ([#11121](https://github.com/community-scripts/ProxmoxVE/pull/11121))
- #### 🔧 Refactor
- bump crafty-controller to debian 13 [@CrazyWolf13](https://github.com/CrazyWolf13) ([#11094](https://github.com/community-scripts/ProxmoxVE/pull/11094))
- Netbox: Refactor [@vhsdream](https://github.com/vhsdream) ([#11126](https://github.com/community-scripts/ProxmoxVE/pull/11126))
- Flatnotes: Standard enforcing [@tremor021](https://github.com/tremor021) ([#11109](https://github.com/community-scripts/ProxmoxVE/pull/11109))
### 💾 Core
- #### 🐞 Bug Fixes
- nvidia: use versioned nvidia-utils package for Ubuntu fallback [@MickLesk](https://github.com/MickLesk) ([#11139](https://github.com/community-scripts/ProxmoxVE/pull/11139))
### 🌐 Website
- #### 📝 Script Information
- Byparr: Add config file path to website [@CrazyWolf13](https://github.com/CrazyWolf13) ([#11120](https://github.com/community-scripts/ProxmoxVE/pull/11120))
## 2026-01-23
### 🆕 New Scripts

View File

@@ -45,4 +45,4 @@ 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}https://YOUR_AUTHELIA_URL${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9091 or https://auth.YOURDOMAIN ${CL}"

View File

@@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-16}"
var_os="${var_os:-debian}"
var_version="${var_version:-12}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"

View File

@@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
msg_info "Updating LXC"
@@ -35,26 +35,25 @@ function update_script() {
$STD apt -y upgrade
msg_ok "Updated LXC"
if check_for_gh_release "synapse-admin" "etkecc/synapse-admin"; then
msg_info "Stopping Service"
systemctl stop synapse-admin
msg_ok "Stopped Service"
if check_for_gh_release "synapse-admin" "etkecc/synapse-admin"; then
msg_info "Stopping Service"
systemctl stop synapse-admin
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "synapse-admin" "etkecc/synapse-admin" "tarball" "latest" "/opt/synapse-admin"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "synapse-admin" "etkecc/synapse-admin" "tarball" "latest" "/opt/synapse-admin"
msg_info "Building Synapse-Admin"
cd /opt/synapse-admin
$STD yarn global add serve
$STD yarn install --ignore-engines
$STD yarn build
mv ./dist ../ && rm -rf * && mv ../dist ./
msg_ok "Built Synapse-Admin"
msg_info "Building Synapse-Admin"
cd /opt/synapse-admin
$STD yarn global add serve
$STD yarn install --ignore-engines
$STD yarn build
mv ./dist ../ && rm -rf * && mv ../dist ./
msg_ok "Built Synapse-Admin"
msg_info "Starting Service"
systemctl start synapse-admin
msg_ok "Started Service"
msg_ok "Updated Synapse-Admin to ${CHECK_UPDATE_RELEASE}"
fi
msg_info "Starting Service"
systemctl start synapse-admin
msg_ok "Started Service"
msg_ok "Updated Synapse-Admin to ${CHECK_UPDATE_RELEASE}"
fi
exit
}

View File

@@ -40,18 +40,15 @@ function update_script() {
fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes"
msg_info "Updating Frontend"
msg_info "Updating Flatnotes"
cd /opt/flatnotes/client
$STD npm install
$STD npm run build
msg_ok "Updated Frontend"
msg_info "Updating Backend"
cd /opt/flatnotes
rm -f uv.lock
$STD /usr/local/bin/uvx migrate-to-uv
$STD /usr/local/bin/uv sync
msg_ok "Updated Backend"
msg_ok "Updated Flatnotes"
msg_info "Restoring Configuration and Data"
cp /opt/flatnotes.env /opt/flatnotes/.env

6
ct/headers/manyfold Normal file
View File

@@ -0,0 +1,6 @@
__ ___ ____ __ __
/ |/ /___ _____ __ __/ __/___ / /___/ /
/ /|_/ / __ `/ __ \/ / / / /_/ __ \/ / __ /
/ / / / /_/ / / / / /_/ / __/ /_/ / / /_/ /
/_/ /_/\__,_/_/ /_/\__, /_/ \____/_/\__,_/
/____/

View File

@@ -31,8 +31,8 @@ function update_script() {
setup_mariadb
if check_for_gh_release "leantime" "Leantime/leantime"; then
msg_info "Creating Backup"
mariadb-dump leantime >"/opt/${APP}_db_backup_$(date +%F).sql"
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" "/opt/${APP}"
mariadb-dump leantime >"/opt/leantime_db_backup_$(date +%F).sql"
tar -czf "/opt/leantime_backup_$(date +%F).tar.gz" "/opt/leantime"
mv /opt/leantime /opt/leantime_bak
msg_ok "Backup Created"

107
ct/manyfold.sh Normal file
View File

@@ -0,0 +1,107 @@
#!/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: bvdberg01 | Co-Author: SunFlowerOwl
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/manyfold3d/manyfold
APP="Manyfold"
var_tags="${var_tags:-3d}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-15}"
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/manyfold ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "manyfold" "manyfold3d/manyfold"; then
msg_info "Stopping Services"
systemctl stop manyfold.target manyfold-rails.1 manyfold-default_worker.1 manyfold-performance_worker.1
msg_ok "Stopped Services"
msg_info "Backing up Data"
CURRENT_VERSION=$(grep -oP 'APP_VERSION=\K[^ ]+' /opt/manyfold/.env || echo "unknown")
cp -r /opt/manyfold/app/storage /opt/manyfold_storage_backup 2>/dev/null || true
cp -r /opt/manyfold/app/tmp /opt/manyfold_tmp_backup 2>/dev/null || true
cp /opt/manyfold/app/config/credentials.yml.enc /opt/manyfold_credentials.yml.enc 2>/dev/null || true
cp /opt/manyfold/app/config/master.key /opt/manyfold_master.key 2>/dev/null || true
$STD tar -czf "/opt/manyfold_${CURRENT_VERSION}_backup.tar.gz" -C /opt/manyfold app
msg_ok "Backed up Data"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "manyfold" "manyfold3d/manyfold" "tarball" "latest" "/opt/manyfold/app"
msg_info "Configuring Manyfold"
RUBY_INSTALL_VERSION=$(cat /opt/manyfold/app/.ruby-version)
YARN_VERSION=$(grep '"packageManager":' /opt/manyfold/app/package.json | sed -E 's/.*"(yarn@[0-9\.]+)".*/\1/')
RELEASE=$(get_latest_github_release "manyfold3d/manyfold")
sed -i "s/^export APP_VERSION=.*/export APP_VERSION=$RELEASE/" "/opt/manyfold/.env"
msg_ok "Configured Manyfold"
RUBY_VERSION=${RUBY_INSTALL_VERSION} RUBY_INSTALL_RAILS="true" HOME=/home/manyfold setup_ruby
msg_info "Installing Manyfold"
chown -R manyfold:manyfold /home/manyfold/.rbenv
chown -R manyfold:manyfold /opt/manyfold
sudo -u manyfold bash -c '
source /opt/manyfold/.env
export PATH="/home/manyfold/.rbenv/bin:$PATH"
eval "$(/home/manyfold/.rbenv/bin/rbenv init - bash)"
cd /opt/manyfold/app
gem install bundler sidekiq foreman
bundle install
corepack enable yarn
corepack prepare '"$YARN_VERSION"' --activate
corepack use '"$YARN_VERSION"'
bin/rails db:migrate
bin/rails assets:precompile
'
msg_ok "Installed Manyfold"
msg_info "Restoring Data"
rm -rf /opt/manyfold/app/{storage,tmp,config/credentials.yml.enc,config/master.key}
cp -r /opt/manyfold_storage_backup /opt/manyfold/app/storage 2>/dev/null || true
cp -r /opt/manyfold_tmp_backup /opt/manyfold/app/tmp 2>/dev/null || true
cp /opt/manyfold_credentials.yml.enc /opt/manyfold/app/config/credentials.yml.enc 2>/dev/null || true
cp /opt/manyfold_master.key /opt/manyfold/app/config/master.key 2>/dev/null || true
chown -R manyfold:manyfold /opt/manyfold/app/storage /opt/manyfold/app/tmp /opt/manyfold/app/config
rm -rf /opt/manyfold_storage_backup /opt/manyfold_tmp_backup /opt/manyfold_credentials.yml.enc /opt/manyfold_master.key
msg_ok "Restored Data"
msg_info "Restarting Services"
source /opt/manyfold/.env
export PATH="/home/manyfold/.rbenv/shims:/home/manyfold/.rbenv/bin:$PATH"
$STD foreman export systemd /etc/systemd/system -a manyfold -u manyfold -f /opt/manyfold/app/Procfile
for f in /etc/systemd/system/manyfold-*.service; do
sed -i "s|/bin/bash -lc '|/bin/bash -lc 'source /opt/manyfold/.env \&\& |" "$f"
done
systemctl daemon-reload
systemctl enable -q --now manyfold.target manyfold-rails.1 manyfold-default_worker.1 manyfold-performance_worker.1
msg_ok "Restarted Services"
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}${CL}"

View File

@@ -28,46 +28,30 @@ function update_script() {
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/netbox-community/netbox/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_info "Stopping Service"
if check_for_gh_release "netbox" "netbox-community/netbox"; then
msg_info "Stopping Services"
systemctl stop netbox netbox-rq
msg_ok "Stopped Service"
msg_ok "Stopped Services"
msg_info "Updating $APP to v${RELEASE}"
msg_info "Backing up NetBox configurations"
mv /opt/netbox/ /opt/netbox-backup
cd /opt
curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip")
$STD unzip "v${RELEASE}.zip"
mv /opt/netbox-${RELEASE}/ /opt/netbox/
msg_ok "Backed up NetBox configurations"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "netbox" "netbox-community/netbox" "tarball"
cp -r /opt/netbox-backup/netbox/netbox/configuration.py /opt/netbox/netbox/netbox/
cp -r /opt/netbox-backup/netbox/media/ /opt/netbox/netbox/
cp -r /opt/netbox-backup/netbox/scripts /opt/netbox/netbox/
cp -r /opt/netbox-backup/netbox/reports /opt/netbox/netbox/
cp -r /opt/netbox-backup/netbox/{media,scripts,reports}/ /opt/netbox/netbox/
cp -r /opt/netbox-backup/gunicorn.py /opt/netbox/
if [ -f /opt/netbox-backup/local_requirements.txt ]; then
cp -r /opt/netbox-backup/local_requirements.txt /opt/netbox/
fi
if [ -f /opt/netbox-backup/netbox/netbox/ldap_config.py ]; then
cp -r /opt/netbox-backup/netbox/netbox/ldap_config.py /opt/netbox/netbox/netbox/
fi
[[ -f /opt/netbox-backup/local_requirements.txt ]] && cp -r /opt/netbox-backup/local_requirements.txt /opt/netbox/
[[ -f /opt/netbox-backup/netbox/netbox/ldap_config.py ]] && cp -r /opt/netbox-backup/netbox/netbox/ldap_config.py /opt/netbox/netbox/netbox/
$STD /opt/netbox/upgrade.sh
rm -r "/opt/v${RELEASE}.zip"
rm -r /opt/netbox-backup
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated $APP to v${RELEASE}"
msg_info "Starting Service"
msg_info "Starting Services"
systemctl start netbox netbox-rq
msg_ok "Started Service"
msg_ok "Started Services"
msg_ok "Updated successfully!"
else
msg_ok "No update required. ${APP} is already at v${RELEASE}"
fi
exit
}

View File

@@ -28,6 +28,8 @@ function update_script() {
exit
fi
PYTHON_VERSION="3.14" setup_uv
if check_for_gh_release "spoolman" "Donkie/Spoolman"; then
msg_info "Stopping Service"
systemctl stop spoolman
@@ -42,8 +44,10 @@ function update_script() {
msg_info "Updating Spoolman"
cd /opt/spoolman
$STD pip3 install -r requirements.txt
$STD uv sync --locked --no-install-project
$STD uv sync --locked
cp /opt/spoolman_bak/.env /opt/spoolman
sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/bash /opt/spoolman/scripts/start.sh|' /etc/systemd/system/spoolman.service
msg_ok "Updated Spoolman"
msg_info "Starting Service"

View File

@@ -12,7 +12,7 @@
"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": "",
"config_path": "/etc/systemd/system/byparr.service",
"description": "Byparr is a proxy server to bypass Cloudflare and DDoS-GUARD protection.",
"install_methods": [
{

View File

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

View File

@@ -0,0 +1,40 @@
{
"name": "Manyfold",
"slug": "manyfold",
"categories": [
24
],
"date_created": "2026-01-24",
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 80,
"documentation": "https://manyfold.app/sysadmin/",
"website": "https://manyfold.app/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/manyfold.webp",
"config_path": "/opt/manyfold/.env",
"description": "Manyfold is an open source, self-hosted web application for managing a collection of 3d models, particularly focused on 3d printing.",
"install_methods": [
{
"type": "default",
"script": "ct/manyfold.sh",
"resources": {
"cpu": 4,
"ram": 4096,
"hdd": 15,
"os": "debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Setup library on first connection in /opt/manyfold/data",
"type": "info"
}
]
}

View File

@@ -1,14 +1,124 @@
[
{
"name": "ollama/ollama",
"version": "v0.15.0-rc2",
"date": "2026-01-23T23:37:17Z"
"version": "v0.15.0-rc6",
"date": "2026-01-24T04:10:04Z"
},
{
"name": "runtipi/runtipi",
"version": "v4.7.1",
"date": "2026-01-24T21:03:08Z"
},
{
"name": "go-vikunja/vikunja",
"version": "v1.0.0-rc0",
"date": "2025-08-17T18:47:15Z"
},
{
"name": "fosrl/pangolin",
"version": "1.15.1",
"date": "2026-01-24T20:34:24Z"
},
{
"name": "moghtech/komodo",
"version": "v1.19.5",
"date": "2025-09-27T20:59:46Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.81.0-stable",
"date": "2026-01-24T19:46:15Z"
},
{
"name": "benzino77/tasmocompiler",
"version": "v13.1.0",
"date": "2026-01-24T17:52:54Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.18.5",
"date": "2026-01-24T17:15:32Z"
},
{
"name": "TasmoAdmin/TasmoAdmin",
"version": "v4.3.3",
"date": "2026-01-24T15:58:33Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.13",
"date": "2026-01-06T12:09:32Z"
},
{
"name": "Luligu/matterbridge",
"version": "3.5.1",
"date": "2026-01-24T14:44:07Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.2.1-beta",
"date": "2026-01-24T14:38:21Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.3.1-rc3",
"date": "2026-01-24T14:31:01Z"
},
{
"name": "BookStackApp/BookStack",
"version": "v25.12.2",
"date": "2026-01-24T14:01:03Z"
},
{
"name": "deuxfleurs-org/garage",
"version": "v1.3.1",
"date": "2026-01-24T13:50:25Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.16",
"date": "2026-01-17T07:54:15Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.3.0",
"date": "2026-01-08T16:08:34Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.4",
"date": "2026-01-04T22:41:00Z"
},
{
"name": "nickheyer/discopanel",
"version": "v1.0.25",
"date": "2026-01-24T05:56:58Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.912",
"date": "2026-01-24T05:56:30Z"
},
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v2.4.0",
"date": "2026-01-24T00:51:05Z"
},
{
"name": "jeedom/core",
"version": "4.5.2",
"date": "2026-01-24T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
},
{
"name": "azukaar/Cosmos-Server",
"version": "v0.20.2",
"date": "2026-01-24T00:12:39Z"
},
{
"name": "mongodb/mongo",
"version": "r8.3.0-alpha1",
@@ -34,21 +144,11 @@
"version": "2026.1.3",
"date": "2026-01-23T20:15:10Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.16",
"date": "2026-01-17T07:54:15Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.7",
"date": "2026-01-12T09:54:36Z"
},
{
"name": "fosrl/pangolin",
"version": "1.15.0",
"date": "2026-01-23T19:48:21Z"
},
{
"name": "metabase/metabase",
"version": "v0.58.x",
@@ -64,20 +164,15 @@
"version": "v1.51.0",
"date": "2026-01-23T19:29:49Z"
},
{
"name": "booklore-app/booklore",
"version": "v1.18.3",
"date": "2026-01-22T23:11:30Z"
},
{
"name": "ghostfolio/ghostfolio",
"version": "2.233.0",
"date": "2026-01-23T18:41:45Z"
},
{
"name": "azukaar/Cosmos-Server",
"version": "v0.20.1",
"date": "2026-01-23T17:58:18Z"
"name": "keycloak/keycloak",
"version": "26.5.2",
"date": "2026-01-23T14:26:58Z"
},
{
"name": "openobserve/openobserve",
@@ -94,11 +189,6 @@
"version": "v25.4",
"date": "2025-10-09T10:27:01Z"
},
{
"name": "keycloak/keycloak",
"version": "26.5.2",
"date": "2026-01-23T14:26:58Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.10.0",
@@ -134,36 +224,16 @@
"version": "8.2.25",
"date": "2026-01-23T07:00:51Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.903",
"date": "2026-01-23T05:55:59Z"
},
{
"name": "9001/copyparty",
"version": "v1.20.4",
"date": "2026-01-23T01:29:26Z"
},
{
"name": "jeedom/core",
"version": "4.5.2",
"date": "2026-01-23T00:27:08Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.1.0",
"date": "2025-11-23T12:13:34Z"
},
{
"name": "esphome/esphome",
"version": "2026.1.1",
"date": "2026-01-22T23:19:21Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2026-01-22T20:38:13Z"
},
{
"name": "crafty-controller/crafty-4",
"version": "v4.8.0",
@@ -254,11 +324,6 @@
"version": "v4.2.3",
"date": "2026-01-22T03:57:50Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.81.0.rc.5",
"date": "2026-01-22T03:30:46Z"
},
{
"name": "go-gitea/gitea",
"version": "v1.25.4",
@@ -269,11 +334,6 @@
"version": "v0.156.3",
"date": "2026-01-22T00:44:20Z"
},
{
"name": "Stirling-Tools/Stirling-PDF",
"version": "v2.3.1",
"date": "2026-01-21T22:50:25Z"
},
{
"name": "influxdata/influxdb",
"version": "v2.8.0",
@@ -317,7 +377,7 @@
{
"name": "javedh-dev/tracktor",
"version": "1.2.1",
"date": "2026-01-21T11:12:28Z"
"date": "2026-01-21T09:31:18Z"
},
{
"name": "emqx/emqx",
@@ -364,11 +424,6 @@
"version": "v4.5.1",
"date": "2026-01-20T19:45:05Z"
},
{
"name": "nickheyer/discopanel",
"version": "v1.0.24",
"date": "2026-01-20T18:31:20Z"
},
{
"name": "mysql/mysql-server",
"version": "mysql-cluster-8.0.45",
@@ -384,11 +439,6 @@
"version": "v0.88.4",
"date": "2026-01-20T16:02:12Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.1.1-stable",
"date": "2026-01-12T23:25:10Z"
},
{
"name": "mattermost/mattermost",
"version": "@mattermost/client@11.3.0",
@@ -424,21 +474,11 @@
"version": "v5.9.0-test.1",
"date": "2026-01-20T10:34:53Z"
},
{
"name": "Luligu/matterbridge",
"version": "3.5.0",
"date": "2026-01-20T08:53:52Z"
},
{
"name": "HydroshieldMKII/Guardian",
"version": "v1.3.4",
"date": "2026-01-20T06:20:36Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.4",
"date": "2026-01-04T22:41:00Z"
},
{
"name": "diced/zipline",
"version": "v4.4.1",
@@ -634,11 +674,6 @@
"version": "v3.6.7",
"date": "2026-01-14T14:11:45Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.3.1-rc2",
"date": "2026-01-14T12:29:28Z"
},
{
"name": "cloudreve/cloudreve",
"version": "4.11.1",
@@ -804,11 +839,6 @@
"version": "v26.1.1",
"date": "2026-01-08T22:02:15Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.3.0",
"date": "2026-01-08T16:08:34Z"
},
{
"name": "openhab/openhab-core",
"version": "5.1.1",
@@ -889,11 +919,6 @@
"version": "26.1.0.118079",
"date": "2026-01-06T14:46:07Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.13",
"date": "2026-01-06T12:09:32Z"
},
{
"name": "transmission/transmission",
"version": "4.0.1-beta.1",
@@ -954,11 +979,6 @@
"version": "2.2.2",
"date": "2025-12-31T16:53:34Z"
},
{
"name": "BookStackApp/BookStack",
"version": "v25.12.1",
"date": "2025-12-30T17:25:57Z"
},
{
"name": "ArchiveBox/ArchiveBox",
"version": "v0.8.6rc1",
@@ -1244,11 +1264,6 @@
"version": "1.23.6",
"date": "2025-11-28T03:52:50Z"
},
{
"name": "go-vikunja/vikunja",
"version": "v1.0.0-rc0",
"date": "2025-08-17T18:47:15Z"
},
{
"name": "phpipam/phpipam",
"version": "v1.7.4",
@@ -1284,11 +1299,6 @@
"version": "mariadb-12.1.2",
"date": "2025-11-18T15:16:21Z"
},
{
"name": "TasmoAdmin/TasmoAdmin",
"version": "v4.3.2",
"date": "2025-10-18T12:11:00Z"
},
{
"name": "nextcloud/nextcloudpi",
"version": "v1.56.0",
@@ -1359,11 +1369,6 @@
"version": "2.11.1",
"date": "2025-11-08T14:27:27Z"
},
{
"name": "deuxfleurs-org/garage",
"version": "v1.99.3-internal",
"date": "2025-11-06T17:27:21Z"
},
{
"name": "Notifiarr/notifiarr",
"version": "v0.9.1",
@@ -1419,11 +1424,6 @@
"version": "v2.7.0",
"date": "2025-10-23T17:15:07Z"
},
{
"name": "benzino77/tasmocompiler",
"version": "v13.0.0",
"date": "2025-10-19T10:03:18Z"
},
{
"name": "minio/minio",
"version": "RELEASE.2025-10-15T17-29-55Z",

View File

@@ -15,11 +15,10 @@ update_os
fetch_and_deploy_gh_release "authelia" "authelia/authelia" "binary"
get_lxc_ip
MAX_ATTEMPTS=3
attempt=0
while true; do
((attempt++))
attempt=$((attempt + 1))
read -rp "${TAB3}Enter your domain or IP (ex. example.com or 192.168.1.100): " DOMAIN
if [[ -z "$DOMAIN" ]]; then
if ((attempt >= MAX_ATTEMPTS)); then
@@ -53,6 +52,14 @@ touch /etc/authelia/emails.txt
JWT_SECRET=$(openssl rand -hex 64)
SESSION_SECRET=$(openssl rand -hex 64)
STORAGE_KEY=$(openssl rand -hex 64)
if [[ "$DOMAIN" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}$ ]]; then
AUTHELIA_URL="https://${DOMAIN}:9091"
else
AUTHELIA_URL="https://auth.${DOMAIN}"
fi
echo "$AUTHELIA_URL" > /etc/authelia/.authelia_url
cat <<EOF >/etc/authelia/users.yml
users:
authelia:
@@ -76,7 +83,7 @@ session:
remember_me: '1M'
cookies:
- domain: "${DOMAIN}"
authelia_url: "https://auth.${DOMAIN}"
authelia_url: "${AUTHELIA_URL}"
storage:
encryption_key: "${STORAGE_KEY}"
local:

View File

@@ -21,12 +21,12 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
PG_VERSION="16" setup_postgresql
PG_DB_NAME="bitmagnet" PG_DB_USER="bitmagnet" setup_postgresql_db
setup_go
fetch_and_deploy_gh_release "bitmagnet" "bitmagnet-io/bitmagnet" "tarball"
RELEASE=$(cat ~/.bitmagnet)
PG_DB_NAME="bitmagnet" PG_DB_USER="postgres" setup_postgresql_db
msg_info "Configuring bitmagnet"
cd /opt/bitmagnet
$STD go build -ldflags "-s -w -X github.com/bitmagnet-io/bitmagnet/internal/version.GitTag=v${RELEASE}"
@@ -34,6 +34,20 @@ chmod +x bitmagnet
msg_ok "Configured bitmagnet"
read -r -p "${TAB3}Enter your TMDB API key if you have one: " tmdbapikey
cat <<EOF >/etc/bitmagnet.env
POSTGRES_HOST=localhost
POSTGRES_USER=${PG_DB_USER}
POSTGRES_NAME=${PG_DB_NAME}
POSTGRES_PASSWORD=${PG_DB_PASS}
EOF
if [ -z "$tmdbapikey" ]; then
echo "TMDB_ENABLED=false" >>/etc/bitmagnet.env
else
echo "TMDB_API_KEY=$tmdbapikey" >>/etc/bitmagnet.env
fi
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/bitmagnet-web.service
[Unit]
@@ -44,10 +58,8 @@ After=network-online.target
Type=simple
User=root
WorkingDirectory=/opt/bitmagnet
EnvironmentFile=/etc/bitmagnet.env
ExecStart=/opt/bitmagnet/bitmagnet worker run --all
Environment=POSTGRES_HOST=localhost
Environment=POSTGRES_PASSWORD=${PG_DB_PASS}
Environment=TMDB_API_KEY=$tmdbapikey
Restart=on-failure
[Install]

View File

@@ -13,24 +13,14 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies (a lot of patience)"
$STD apt-get install -y \
git \
sed \
lsb-release \
apt-transport-https \
coreutils \
software-properties-common
msg_ok "Installed Dependencies"
msg_info "Setting up TemurinJDK"
setup_java
$STD apt-get install -y temurin-{8,11,17,21}-jre
$STD apt install -y temurin-{8,11,17,21}-jre
sudo update-alternatives --set java /usr/lib/jvm/temurin-21-jre-amd64/bin/java
msg_ok "Installed TemurinJDK"
msg_info "Setup Python3"
$STD apt-get install -y \
$STD apt install -y \
python3 \
python3-dev \
python3-pip \
@@ -59,8 +49,8 @@ $STD sudo -u crafty bash -c '
'
msg_ok "Installed Craft-Controller and dependencies"
msg_info "Setting up Crafty-Controller service"
cat >/etc/systemd/system/crafty-controller.service <<'EOF'
msg_info "Setting up service"
cat <<EOF >/etc/systemd/system/crafty-controller.service
[Unit]
Description=Crafty 4
After=network.target
@@ -83,7 +73,7 @@ sleep 10
echo "Username: $(grep -oP '(?<="username": ")[^"]*' /opt/crafty-controller/crafty/crafty-4/app/config/default-creds.txt)"
echo "Password: $(grep -oP '(?<="password": ")[^"]*' /opt/crafty-controller/crafty/crafty-4/app/config/default-creds.txt)"
} >>~/crafty-controller.creds
msg_ok "Crafty-Controller service started"
msg_ok "Service started"
motd_ssh
customize

View File

@@ -51,7 +51,7 @@ sed -i '34d' /etc/matrix-synapse/homeserver.yaml
systemctl start matrix-synapse
msg_ok "Installed Element Synapse"
fetch_and_deploy_gh_release "etkecc/synapse-admin" "/opt/synapse-admin" "tarball"
fetch_and_deploy_gh_release "synapse-admin" "etkecc/synapse-admin" "tarball"
msg_info "Installing Synapse-Admin"
cd /opt/synapse-admin

View File

@@ -13,25 +13,19 @@ setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes"
USE_UVX=YES setup_uv
setup_nodejs
fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes" "tarball"
USE_UVX="YES" setup_uv
NODE_VERSION="22" setup_nodejs
msg_info "Installing Backend"
msg_info "Setting up Flatnotes"
cd /opt/flatnotes
$STD /usr/local/bin/uvx migrate-to-uv
$STD /usr/local/bin/uv sync
mkdir /opt/flatnotes/data
msg_ok "Installed Backend"
msg_info "Installing Frontend"
mkdir -p /opt/flatnotes/data
cd /opt/flatnotes/client
$STD npm install
$STD npm run build
msg_ok "Installed Frontend"
msg_info "Creating Service"
cat <<EOF >/opt/flatnotes/.env
FLATNOTES_AUTH_TYPE='none'
FLATNOTES_PATH='/opt/flatnotes/data/'
@@ -39,6 +33,9 @@ FLATNOTES_PATH='/opt/flatnotes/data/'
#FLATNOTES_PASSWORD='password'
#FLATNOTES_SECRET_KEY='secret-key'
EOF
msg_ok "Setup Flatnotes"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/flatnotes.service
[Unit]
Description=Flatnotes

140
install/manyfold-install.sh Normal file
View File

@@ -0,0 +1,140 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: bvdberg01 | Co-Author: SunFlowerOwl
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/manyfold3d/manyfold
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 \
libarchive-dev \
git \
libmariadb-dev \
redis-server \
nginx \
libassimp-dev
msg_ok "Installed Dependencies"
setup_imagemagick
PG_VERSION="16" setup_postgresql
PG_DB_NAME="manyfold" PG_DB_USER="manyfold" setup_postgresql_db
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
fetch_and_deploy_gh_release "manyfold" "manyfold3d/manyfold" "tarball" "latest" "/opt/manyfold/app"
RUBY_INSTALL_VERSION=$(cat /opt/manyfold/app/.ruby-version)
RUBY_VERSION=${RUBY_INSTALL_VERSION} RUBY_INSTALL_RAILS="true" HOME=/home/manyfold setup_ruby
msg_info "Configuring Manyfold"
YARN_VERSION=$(grep '"packageManager":' /opt/manyfold/app/package.json | sed -E 's/.*"(yarn@[0-9\.]+)".*/\1/')
RELEASE=$(get_latest_github_release "manyfold3d/manyfold")
useradd -m -s /usr/bin/bash manyfold
cat <<EOF >/opt/manyfold/.env
export APP_VERSION=${RELEASE}
export GUID=1002
export PUID=1001
export PUBLIC_PORT=5000
export REDIS_URL=redis://127.0.0.1:6379/1
export DATABASE_ADAPTER=postgresql
export DATABASE_HOST=127.0.0.1
export DATABASE_USER=${PG_DB_USER}
export DATABASE_PASSWORD=${PG_DB_PASS}
export DATABASE_NAME=${PG_DB_NAME}
export DATABASE_CONNECTION_POOL=16
export MULTIUSER=enabled
export HTTPS_ONLY=false
export RAILS_ENV=production
EOF
cat <<EOF >/opt/manyfold/user_setup.sh
#!/bin/bash
source /opt/manyfold/.env
export PATH="/home/manyfold/.rbenv/bin:\$PATH"
eval "\$(/home/manyfold/.rbenv/bin/rbenv init - bash)"
cd /opt/manyfold/app
rbenv global $RUBY_INSTALL_VERSION
gem install bundler
bundle install
gem install sidekiq
gem install foreman
corepack enable yarn
rm -f /opt/manyfold/app/config/credentials.yml.enc
corepack prepare $YARN_VERSION --activate
corepack use $YARN_VERSION
export VISUAL="code --wait"
bin/rails credentials:edit
bin/rails db:migrate
bin/rails assets:precompile
EOF
$STD mkdir -p /opt/manyfold_data
msg_ok "Configured Manyfold"
msg_info "Installing Manyfold"
chown -R manyfold:manyfold /home/manyfold/.rbenv
chown -R manyfold:manyfold /opt/manyfold
chmod +x /opt/manyfold/user_setup.sh
$STD npm install --global corepack
$STD sudo -u manyfold bash /opt/manyfold/user_setup.sh
rm -f /opt/manyfold/user_setup.sh
msg_ok "Installed Manyfold"
msg_info "Creating Services"
source /opt/manyfold/.env
export PATH="/home/manyfold/.rbenv/shims:/home/manyfold/.rbenv/bin:$PATH"
$STD foreman export systemd /etc/systemd/system -a manyfold -u manyfold -f /opt/manyfold/app/Procfile
for f in /etc/systemd/system/manyfold-*.service; do
sed -i "s|/bin/bash -lc '|/bin/bash -lc 'source /opt/manyfold/.env \&\& |" "$f"
done
systemctl enable -q --now manyfold.target manyfold-rails.1 manyfold-default_worker.1 manyfold-performance_worker.1
cat <<EOF >/etc/nginx/sites-available/manyfold.conf
server {
listen 80;
server_name manyfold;
root /opt/manyfold/app/public;
location /cable {
proxy_pass http://127.0.0.1:5000;
proxy_set_header Host \$host;
proxy_http_version 1.1;
proxy_set_header Upgrade \$http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
}
location / {
try_files \$uri/index.html \$uri @rails;
}
location @rails {
proxy_pass http://127.0.0.1:5000;
proxy_set_header Host \$host;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
}
}
EOF
ln -s /etc/nginx/sites-available/manyfold.conf /etc/nginx/sites-enabled/
rm -f /etc/nginx/sites-enabled/default
$STD systemctl reload nginx
msg_ok "Created Services"
motd_ssh
customize
msg_info "Cleaning up"
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"

View File

@@ -27,6 +27,7 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
PG_VERSION="16" setup_postgresql
PG_DB_NAME="netbox" PG_DB_USER="netbox" setup_postgresql_db
msg_info "Installing Python"
$STD apt install -y \
@@ -36,42 +37,24 @@ $STD apt install -y \
python3-dev
msg_ok "Installed Python"
msg_info "Setting up PostgreSQL"
DB_NAME=netbox
DB_USER=netbox
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMPLATE template0;"
{
echo "Netbox-Credentials"
echo -e "Netbox Database User: \e[32m$DB_USER\e[0m"
echo -e "Netbox Database Password: \e[32m$DB_PASS\e[0m"
echo -e "Netbox Database Name: \e[32m$DB_NAME\e[0m"
} >>~/netbox.creds
msg_ok "Set up PostgreSQL"
fetch_and_deploy_gh_release "netbox" "netbox-community/netbox" "tarball"
msg_info "Installing NetBox (Patience)"
cd /opt
RELEASE=$(curl -fsSL https://api.github.com/repos/netbox-community/netbox/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o "v${RELEASE}.zip"
$STD unzip "v${RELEASE}.zip"
mv /opt/netbox-"${RELEASE}"/ /opt/netbox
msg_info "Configuring NetBox (Patience)"
cd /opt/netbox
mkdir -p /opt/netbox/netbox/media
$STD adduser --system --group netbox
chown --recursive netbox /opt/netbox/netbox/media/
chown --recursive netbox /opt/netbox/netbox/reports/
chown --recursive netbox /opt/netbox/netbox/scripts/
chown -R netbox /opt/netbox/netbox
mv /opt/netbox/netbox/netbox/configuration_example.py /opt/netbox/netbox/netbox/configuration.py
SECRET_KEY=$(python3 /opt/netbox/netbox/generate_secret_key.py)
ESCAPED_SECRET_KEY=$(printf '%s\n' "$SECRET_KEY" | sed 's/[&/\]/\\&/g')
sed -i 's/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = ["*"]/' /opt/netbox/netbox/netbox/configuration.py
sed -i "s|SECRET_KEY = ''|SECRET_KEY = '${ESCAPED_SECRET_KEY}'|" /opt/netbox/netbox/netbox/configuration.py
sed -i "/DATABASES = {/,/}/s/'USER': '[^']*'/'USER': '$DB_USER'/" /opt/netbox/netbox/netbox/configuration.py
sed -i "/DATABASES = {/,/}/s/'PASSWORD': '[^']*'/'PASSWORD': '$DB_PASS'/" /opt/netbox/netbox/netbox/configuration.py
sed -i -e 's/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = ["*"]/' \
-e "s|SECRET_KEY = ''|SECRET_KEY = '${ESCAPED_SECRET_KEY}'|" \
-e "/DATABASES = {/,/}/s/'USER': '[^']*'/'USER': '$PG_DB_USER'/" \
-e "/DATABASES = {/,/}/s/'PASSWORD': '[^']*'/'PASSWORD': '$PG_DB_PASS'/" /opt/netbox/netbox/netbox/configuration.py
$STD /opt/netbox/upgrade.sh
ln -s /opt/netbox/contrib/netbox-housekeeping.sh /etc/cron.daily/netbox-housekeeping
@@ -86,10 +69,8 @@ mv /opt/netbox/contrib/gunicorn.py /opt/netbox/gunicorn.py
mv /opt/netbox/contrib/*.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable -q --now netbox netbox-rq
rm "/opt/v${RELEASE}.zip"
echo "${RELEASE}" >/opt/"${APPLICATION}"_version.txt
echo -e "Netbox Secret: \e[32m$SECRET_KEY\e[0m" >>~/netbox.creds
msg_ok "Installed NetBox"
msg_ok "Configured NetBox"
msg_info "Setting up Django Admin"
DJANGO_USER=Admin

View File

@@ -17,27 +17,22 @@ update_os
msg_info "Installing Dependencies"
$STD apt install -y \
build-essential \
libpq-dev
libpq-dev \
libffi-dev
msg_ok "Installed Dependencies"
msg_info "Setting up Python3"
$STD apt install -y \
python3-dev \
python3-setuptools \
python3-wheel \
python3-pip
msg_ok "Setup Python3"
fetch_and_deploy_gh_release "spoolman" "Donkie/Spoolman" "prebuild" "latest" "/opt/spoolman" "spoolman.zip"
PYTHON_VERSION="3.14" setup_uv
msg_info "Setting up Spoolman"
cd /opt/spoolman
$STD pip3 install --upgrade --ignore-installed -r requirements.txt
$STD uv sync --locked --no-install-project
$STD uv sync --locked
cp .env.example .env
msg_ok "Setup Spoolman"
msg_info "Creating Service"
cat <<'EOF' >/etc/systemd/system/spoolman.service
cat <<EOF >/etc/systemd/system/spoolman.service
[Unit]
Description=Spoolman
After=network.target
@@ -46,7 +41,7 @@ After=network.target
Type=simple
WorkingDirectory=/opt/spoolman
EnvironmentFile=/opt/spoolman/.env
ExecStart=uvicorn spoolman.main:app --host "${SPOOLMAN_HOST}" --port "${SPOOLMAN_PORT}"
ExecStart=/usr/bin/bash /opt/spoolman/scripts/start.sh
Restart=always
User=root

View File

@@ -3135,13 +3135,25 @@ NVIDIA_PIN
if $STD apt-get -y -o Dpkg::Options::="--force-confold" install --no-install-recommends $nvidia_pkgs 2>/dev/null; then
msg_ok "Installed version-matched NVIDIA libraries"
else
# Fallback to Ubuntu repo packages
$STD apt-get -y -o Dpkg::Options::="--force-confold" install --no-install-recommends libnvidia-decode libnvidia-encode nvidia-utils 2>/dev/null || msg_warn "NVIDIA installation failed"
# Fallback to Ubuntu repo packages with versioned nvidia-utils
msg_warn "CUDA repo install failed - trying Ubuntu native packages (nvidia-utils-${nvidia_major_version})"
if $STD apt-get -y -o Dpkg::Options::="--force-confold" install --no-install-recommends \
libnvidia-decode-${nvidia_major_version} libnvidia-encode-${nvidia_major_version} nvidia-utils-${nvidia_major_version} 2>/dev/null; then
msg_ok "Installed Ubuntu NVIDIA packages (${nvidia_major_version})"
else
msg_warn "NVIDIA driver installation failed - please install manually: apt install nvidia-utils-${nvidia_major_version}"
fi
fi
else
msg_warn "No NVIDIA packages for version ${nvidia_major_version}.x in CUDA repo"
# Fallback to Ubuntu repo packages
$STD apt-get -y -o Dpkg::Options::="--force-confold" install --no-install-recommends libnvidia-decode libnvidia-encode nvidia-utils 2>/dev/null || msg_warn "NVIDIA installation failed"
# Fallback to Ubuntu repo packages with versioned nvidia-utils
msg_info "Trying Ubuntu native packages (nvidia-utils-${nvidia_major_version})"
if $STD apt-get -y -o Dpkg::Options::="--force-confold" install --no-install-recommends \
libnvidia-decode-${nvidia_major_version} libnvidia-encode-${nvidia_major_version} nvidia-utils-${nvidia_major_version} 2>/dev/null; then
msg_ok "Installed Ubuntu NVIDIA packages (${nvidia_major_version})"
else
msg_warn "NVIDIA driver installation failed - please install manually: apt install nvidia-utils-${nvidia_major_version}"
fi
fi
fi