313 Commits

Author SHA1 Message Date
tremor021
972e1c1844 Add deb handling to fetch_and_deploy_archive 2026-01-23 13:50:18 +01:00
tremor021
7d5123bdd6 add fetch_and_deploy_archive 2026-01-22 22:20:06 +01:00
CanbiZ (MickLesk)
0481d5ccf7 fix(tools): sanitize version string for filename
Replace @ and / with _ in filename to avoid invalid paths like
papra-@papra/docker@26.0.0.tar.gz
2026-01-21 16:30:55 +01:00
CanbiZ (MickLesk)
fc8433ad8b fix(tools): use codeload directly for tags with special chars (@/)
Skip failed github.com attempt entirely for scoped tags like @papra/docker@26.0.0
2026-01-21 16:19:58 +01:00
CanbiZ (MickLesk)
fe9c5d2285 fix(tools): remove partial file before fallback download attempt 2026-01-21 16:09:30 +01:00
CanbiZ (MickLesk)
665907592e fix(tools): add codeload.github.com fallback for complex tag names
- Primary URL github.com/archive/refs/tags/ tried first
- Fallback to codeload.github.com for tags with special chars (@scope/pkg@ver)
- Only encode @ in fallback URL, keep / unencoded for codeload compatibility
2026-01-21 15:59:06 +01:00
CanbiZ (MickLesk)
c2b890baa6 Improve validation and robustness in container scripts
Enhances timezone handling by mapping 'Etc/*' zones to 'host', adds stricter password validation (removing leading dashes and enforcing minimum length), and improves container ID validation. Adds storage space validation before container creation and when selecting storage. Implements retry logic and stale lock cleanup for template lock files to avoid stuck processes. Improves GitHub release fetching by adding a fallback to codeload.github.com for complex tag names.
2026-01-21 15:48:22 +01:00
CanbiZ (MickLesk)
db5e26f4f1 merge tools.func from VE to VED 2026-01-21 14:30:44 +01:00
CanbiZ
8540bc3627 fixes 2026-01-14 15:49:44 +01:00
CanbiZ
17d04e2d1d fix space 2026-01-14 09:33:37 +01:00
CanbiZ
fed9fd9db8 fixes tag name github 2026-01-14 09:27:14 +01:00
CanbiZ
aef1cf79f3 nodejs binary method 2026-01-13 14:34:58 +01:00
CanbiZ
7129c0dbd9 Tools.func: Get Version from Upstream (VE) 2026-01-12 08:51:11 +01:00
MickLesk
15d22d7f98 filename fix 2026-01-06 20:24:31 +01:00
MickLesk
e06cd44584 2026-01-06 20:10:34 +01:00
Casey Jones
c11ddd0e2b add libmfx-gen1.2 for intel hwaccel 2025-12-28 10:48:56 -06:00
AlphaLawless
a104248244
update romm script - working now 2025-12-25 22:28:50 -03:00
CanbiZ
699a3b3a8c merge from VE 2025-12-17 10:04:54 +01:00
CanbiZ
dc7f5074a2 testing 2025-12-09 15:34:29 +01:00
CanbiZ
49c87aecc4 Update tools.func 2025-12-05 15:37:51 +01:00
CanbiZ
f8f95d4881 merge dev <> live 2025-12-02 10:23:26 +01:00
CanbiZ
5ed03e1c62 Lowercase APPLICATION variable for credentials filenames (e.g. plex.creds instead of Plex.creds) 2025-11-17 16:18:15 +01:00
Tobias
b101b5b56b
Fix typo in PostgreSQL setup message 2025-11-14 13:58:18 +01:00
CanbiZ
f9a5ea27f3 Update tools.func 2025-11-12 15:18:18 +01:00
CanbiZ
59d684731d fixing outputs 2025-11-11 11:16:03 +01:00
CanbiZ
9c0ea4e658 Refactor DB setup functions to use explicit variable names
Updated setup_mariadb_db and setup_postgresql_db to use more descriptive and explicit environment variable names (e.g., MARIADB_DB_NAME, PG_DB_NAME) instead of generic DB_NAME and DB_USER. This improves clarity, reduces risk of variable collision, and makes usage more consistent across scripts.
2025-11-10 15:32:04 +01:00
CanbiZ
51e5512790 Update tools.func 2025-11-10 14:38:35 +01:00
CanbiZ
9f0ec6e75a
Update credentials file path in tools.func 2025-11-10 14:25:56 +01:00
CanbiZ
fd739ee60a Improve env var handling in DB setup functions
Refactored MariaDB and PostgreSQL setup functions to use safer parameter expansion for environment variables, preventing unset variable errors. Updated credential file naming and improved comments for clarity.
2025-11-10 13:33:26 +01:00
CanbiZ
13af901bca Improve error message and variable check in DB setup
Updated the error message in setup_mariadb_db to English for clarity. Improved the DB_PASS variable check in setup_postgresql_db to handle unset variables more robustly.
2025-11-10 13:23:36 +01:00
CanbiZ
b8c35bfb9f Remove container and install scripts for multiple apps
Deleted setup and install scripts for donetick, infisical, nginxproxymanager, openwebui, pangolin, and tracktor from ct/ and install/ directories. Also fixed unbound variable error in setup_mariadb_db by using '${DB_PASS:-}' in misc/tools.func.
2025-11-10 13:21:53 +01:00
CanbiZ
d3f9c7326e Update tools.func 2025-11-10 13:05:56 +01:00
CanbiZ
e46a32968a Update tools.func 2025-11-10 13:05:04 +01:00
CanbiZ
8f72839259 Update tools.func 2025-11-10 13:00:45 +01:00
CanbiZ
2d42c0b2be Improve Docker AppArmor workaround for LXC
Moves AppArmor workaround to run before Docker installation and enhances the workaround in tools.func by adding an unmount step, updating the systemd service to use sysinit.target, and adding verification of the mount. Provides clearer feedback if the workaround is not active.
2025-11-07 13:44:57 +01:00
CanbiZ
a3c2b3c00f Update tools.func 2025-11-07 13:22:56 +01:00
CanbiZ
5aac68de8a
Implement AppArmor workaround for Docker in LXC
Added a workaround for Docker in LXC AppArmor issues to prevent permission denied errors. The workaround is made persistent across reboots by updating /etc/rc.local.
2025-11-07 12:24:25 +01:00
CanbiZ
53a92b2e53 Update tools.func 2025-11-07 10:37:23 +01:00
CanbiZ
a03867de69 Add setup_postgresql_db function for database creation
Introduces setup_postgresql_db to automate PostgreSQL database and user creation, extension installation, role configuration, and credential management. Supports options for superuser privileges, schema permissions, and compatibility settings for frameworks like Django and Rails.
2025-11-07 10:35:57 +01:00
CanbiZ
e6b42a2b86 Update tools.func 2025-11-06 10:07:10 +01:00
CanbiZ
5552a2beb4 Refactor Omada install and improve repo suite mapping
Refactored omada-install.sh to use setup_java and setup_mongodb functions, simplifying Java and MongoDB installation logic. Improved manage_tool_repository in tools.func to provide explicit suite mapping and fallbacks for newer or unknown Debian and Ubuntu releases, enhancing compatibility with future distributions. Minor comment translations and cleanups included.
2025-11-06 09:29:37 +01:00
CanbiZ
dec609fb6a Add success messages to legacy cleanup steps
Added explicit success messages after removing legacy installations for nvm, rbenv, rustup, and Go workspace in the cleanup_legacy_install function. Also updated ensure_apt_working to use the $STD variable for apt update commands for consistency.
2025-11-05 10:57:41 +01:00
CanbiZ
b0610bd8a8 Update tools.func 2025-11-05 10:34:21 +01:00
CanbiZ
b429113018 Update tools.func 2025-11-04 18:10:52 +01:00
CanbiZ
96339e216a fix typo 2025-11-04 17:52:53 +01:00
CanbiZ
dd34f2d8b3 Fix npm global module version detection in setup_nodejs
Replaces direct npm list checks with STD-prefixed commands and output parsing to improve reliability when detecting installed global module versions in the setup_nodejs function.
2025-11-04 17:03:02 +01:00
CanbiZ
60ddf3af72 Refactor and enhance setup_uv function
Improves architecture and OS detection, adds support for i686, and streamlines version fetching and installation logic. Introduces uvx wrapper installation when requested, generates shell completions, and optionally installs a specific Python version via uv. Cleans up temporary directory handling and error management for robustness.
2025-11-04 16:44:21 +01:00
CanbiZ
be47e96028 remove debug 2025-11-04 16:16:38 +01:00
CanbiZ
cf885419ea Update tools.func 2025-11-04 16:09:56 +01:00
CanbiZ
1925c1cd5f Update tools.func 2025-11-04 16:01:24 +01:00