1340 Commits

Author SHA1 Message Date
vhsdream
63a76ca4bb tools.func: NodeJS 'Suite' should be 'nodistro'
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-25 13:38:17 -04:00
vhsdream
c96f4e9696 tools.func: NodeJS install also requires gpg_key_url
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-25 13:28:53 -04:00
vhsdream
a0e76feae2 fix error in tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 10:25:35 -04:00
CanbiZ
ed9efffcb5 Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 16:12:23 +02:00
CanbiZ
19dca627b9 Improve network error handling and fallbacks in setup scripts
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Adds robust error handling and fallback logic for network operations in setup_ffmpeg, setup_gs, setup_hwaccel, setup_java, setup_mariadb, setup_ruby, setup_clickhouse, setup_uv, and setup_yq functions. Now uses timeouts, checks for empty responses, and provides alternative installation paths or informative warnings when API or mirror requests fail. This improves reliability in environments with intermittent or restricted network access.
2025-10-24 16:09:56 +02:00
CanbiZ
0f624dfba8 Add unified tool install, upgrade, and repo management
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Introduces functions for checking tool installation and version, removing old versions, determining if upgrades are needed, and managing repositories for major tools (MariaDB, MongoDB, Node.js, PHP, PostgreSQL, MySQL). Refactors setup functions for Composer, FFmpeg, Go, Ghostscript, ImageMagick, Java, local IP helper, MariaDB, MongoDB, MySQL, and Node.js to use these new utilities, improving idempotency, upgrade handling, and error reporting. Enhances repository setup with parameter validation and error handling.
2025-10-24 16:03:59 +02:00
CanbiZ
1442ebea88 migrate from VE to VED
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 15:20:25 +02:00
CanbiZ
8a7ddb05dc Improve MariaDB setup and repository update logic
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Enhanced the setup_mariadb function to better handle MariaDB repository updates, version checks, and upgrade flows. The script now updates the repository if the version differs, provides clearer messaging, and ensures proper upgrade steps for both repository and package updates.
2025-10-24 15:16:37 +02:00
a4e8e1e44f Fix a bug while prining the LXC-ID during advanced install.
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 09:17:44 +02:00
CanbiZ
f8a3b889be Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 09:11:02 +02:00
CanbiZ
dae2223a38 Comment out debug output in create_lxc_container
Disabled various debug echo and msg_debug statements in the create_lxc_container function to reduce console output during normal operation. This helps keep logs cleaner while retaining the code for future debugging if needed.
2025-10-24 09:10:27 +02:00
55903a8d5e Fix Array out of bounds bug in build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-24 09:06:02 +02:00
vhsdream
b3fcb5addf Tweak template search debug test to avoid unbound var
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-22 17:07:58 -04:00
CanbiZ
6a74c6d51c Add error handling to package and archive operations
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
This commit adds error checking and user-friendly error messages to various package installation, archive extraction, and build steps throughout the script. It ensures that failures in commands such as apt, curl, tar, unzip, make, and others are detected, appropriate cleanup is performed, and informative error messages are displayed, improving robustness and debuggability.
2025-10-22 14:13:37 +02:00
CanbiZ
03c9654140 Standardize setup messages and simplify install logic
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Replaces various install/upgrade messages with standardized 'Setup <package> <version>' and 'msg_ok' calls for consistency. Removes redundant or verbose info/warning messages, simplifies dependency installation logic, and ensures error handling uses '|| true' where appropriate. This improves readability and reduces unnecessary output during package setup.
2025-10-22 14:00:54 +02:00
CanbiZ
61e3721c1d Cleanup MSG's
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-22 13:52:17 +02:00
CanbiZ
128db5320a
Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 17:09:20 +02:00
CanbiZ
a0dc98c454 Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 16:58:01 +02:00
CanbiZ
3e31d59d82 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:54:36 +02:00
CanbiZ
9c9dc863a2 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:52:06 +02:00
CanbiZ
0c2382c2d7 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:48:44 +02:00
CanbiZ
ff3bd05452 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:40:09 +02:00
CanbiZ
bd58b2cbfd Improve LXC template selection and add alternative search
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Refactors the logic for fetching available LXC templates and adds a fallback mechanism to prompt the user to select an alternative OS version if the desired template is not found. Enhances debugging output and improves robustness in template selection.
2025-10-21 15:35:19 +02:00
CanbiZ
5e6fa752c7 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:30:24 +02:00
CanbiZ
928c5b465d debug output
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:28:06 +02:00
CanbiZ
4e856c86a2 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:24:33 +02:00
CanbiZ
ff1db9c90e Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:21:06 +02:00
CanbiZ
93f343fec5 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:17:30 +02:00
CanbiZ
e02643b6f8 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:12:11 +02:00
CanbiZ
78835a3903 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:06:39 +02:00
CanbiZ
6866830633 fixes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 15:03:07 +02:00
CanbiZ
de7b985b88 Refine LXC template matching to exclude digits
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Updated awk and grep patterns in create_lxc_container to match non-digit characters after TEMPLATE_SEARCH, instead of only dashes or underscores. This improves accuracy when filtering available and local LXC templates.
2025-10-21 14:55:37 +02:00
CanbiZ
934e9d31cc Improve LXC template path resolution logic
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Adds a fallback to construct the template path if it is still unset but a valid template name exists. Refines template search patterns for both local and online templates, and removes redundant error handling for unresolved template paths.
2025-10-21 14:50:24 +02:00
CanbiZ
d6fee2e0ea remove fi
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 14:42:47 +02:00
CanbiZ
7e4a0018f8 Update build.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 14:41:31 +02:00
CanbiZ
814711b2a8 Refactor LXC container creation and template selection
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Removes redundant success messages for storage selection, improves template filtering with stricter matching, and refactors LXC stack upgrade retry logic for better error handling and code clarity during container creation.
2025-10-21 14:39:30 +02:00
CanbiZ
7d8a42fe97 Filter and display available LXC container versions
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Added a grep to ensure only valid version numbers are listed and improved the display of available versions with formatting. This enhances clarity and prevents non-version strings from appearing in the version selection.
2025-10-21 14:30:06 +02:00
CanbiZ
9b624944c7 Improve LXC template selection and cleanup hwaccel code
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Enhanced the LXC container creation process to prompt for available template versions if the requested template is missing, allowing users to select from available options interactively. Also refactored the hardware acceleration setup function for better readability and consistency, and made minor whitespace and formatting adjustments.
2025-10-21 14:12:26 +02:00
CanbiZ
6b58ff689e fix pct options for var_version
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 14:03:53 +02:00
Tobias
74616c7b73
chore
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 11:49:11 +02:00
Tobias
dce2be7571
fix: lspci
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 11:45:46 +02:00
Tobias
b0fe58c623
Update setup_hwaccel function notes
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Clarified notes regarding library requirements and repository sources.
2025-10-21 11:20:12 +02:00
Tobias
d099b83462
hwacel, by @micklesk
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 11:19:24 +02:00
CanbiZ
300db370f0 Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 10:38:14 +02:00
CanbiZ
098afdb9dc Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 10:05:29 +02:00
CanbiZ
dbbf14f22a Improve MySQL setup for Debian Trixie compatibility
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Refactored MySQL installation logic to use Bookworm packages for Debian testing/unstable (Trixie, Forky, Sid) instead of blocking installation. Added conditional purge of MySQL packages only if installed and improved messaging for unsupported distributions.
2025-10-21 10:00:06 +02:00
CanbiZ
915e2d4f58 Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-21 09:57:33 +02:00
CanbiZ
a0212eb276 Replace su with runuser for PostgreSQL operations
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Updated the setup_postgresql function to use runuser instead of su for executing pg_dumpall and psql as the postgres user. This improves compatibility and security when running these commands.
2025-10-21 09:50:34 +02:00
CanbiZ
4ac0db3dc2 Update Node.js version and improve MySQL setup for Debian
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
Bumps Node.js version from 22 to 24 in ente-install.sh. Enhances MySQL setup in tools.func to explicitly block installation on Debian Trixie/forky/sid due to incompatibility, providing alternative solutions and clearer messaging.
2025-10-21 09:46:00 +02:00
CanbiZ
606eefd71d Update tools.func
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled
2025-10-20 11:29:14 +02:00