Commit Graph
100 Commits
Author SHA1 Message Date
CanbiZ (MickLesk) ac696e22ca Termix: recreate nginx dirs and backup uploads on update (#11169) 2026-01-25 13:42:11 +01:00
CanbiZ (MickLesk) 9f3fa8e46c fix(deluge): correct service paths to /usr/local/bin (#11170) 2026-01-25 13:41:38 +01:00
CanbiZ (MickLesk) 92d33ee5e9 feat(apt-cacher-ng): add avahi-daemon for mDNS service discovery (#11140)
apt-cacher-ng ships with Avahi service config but needs avahi-daemon
to advertise itself via mDNS for auto-apt-proxy discovery.

Closes #11101
2026-01-25 08:10:51 +01: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
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
CanbiZ (MickLesk) 5ce7f35793 leantime: fix backup file naming (#11137) 2026-01-24 23:01:36 +01: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
CanbiZ (MickLesk) b2017086cd Bump various scripts to Debian 13 (Trixie) (#11093) 2026-01-23 21:54:23 +01:00
CanbiZ (MickLesk) 22e8c5bce7 plant-it: re-add JWT_SECRET (#11098)
Add JWT_SECRET generation and create server.env file.

Removed in this PR: https://github.com/community-scripts/ProxmoxVE/pull/10259
2026-01-23 21:23:49 +01:00
CanbiZ (MickLesk) 25566d71bb Tautulli: fix config backup and restore logic (#11099)
Switches backup and restore operations to handle only config.ini instead of the entire config directory, improving efficiency and reducing unnecessary file copying during updates.
2026-01-23 21:21:37 +01:00
CanbiZ (MickLesk) ca504cfc06 several scripts: bump default Alpine version to 3.23 (#11082) 2026-01-23 13:01:29 +01:00
CanbiZ (MickLesk) eb596d2364 core: add IPv6 fallback support to get_current_ip functions | add check for SSH_KEYS_FILE in user_defaults (#11067)
* fix(core): add IPv6 fallback support to get_current_ip functions

Fixes IP detection in IPv6-only environments by adding fallback:
- Try IPv4 first (existing behavior)
- Fall back to IPv6 via interface lookup (eth0 scope global)
- Fall back to IPv6 routing with Google/Cloudflare DNS targets

Closes #issue-ipv6-only-environment

* fix(build): use SSH_AUTHORIZED_KEY from user defaults when no SSH_KEYS_FILE exists

When using 'User Defaults' with var_ssh_authorized_key set in default.vars,
the SSH key was not being installed because install_ssh_keys_into_ct() only
checked for SSH_KEYS_FILE (which is only created in Advanced Settings).

Now the function also checks SSH_AUTHORIZED_KEY and creates a temporary
SSH_KEYS_FILE if needed.

Fixes #11062
2026-01-23 09:05:17 +01:00
CanbiZ (MickLesk) d95a273753 feat(tools.func): use distro packages for MariaDB by default (#11049)
- Changed setup_mariadb() to use Debian/Ubuntu distribution packages by default
- Official MariaDB repository only used when specific version is requested
- Added cleanup logic for old/orphaned repository files with apt update
- Added version comparison to prevent downgrades (keeps higher version installed)
- Added automatic fallback to distro packages if repo installation fails
- Extracted _setup_mariadb_runtime_dir() helper function
- Updated all related documentation

This change improves reliability by avoiding MariaDB mirror issues
(HTTPS->HTTP redirects, geographic availability problems) for standard
installations while still allowing specific versions when needed.
2026-01-22 11:33:13 +01: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
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
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
CanbiZ (MickLesk) 88557d53f4 core: allow empty tags & improve template search (#11020) 2026-01-21 12:01:34 +01:00
CanbiZ (MickLesk) 914c316f42 Joplin-Server: use yarn workspaces focus for faster builds (#11027) 2026-01-21 12:00:46 +01:00
CanbiZ (MickLesk) cb2141ebe2 Revert "Revert "core: add retry logic for template lock in LXC container crea…" (#11013)
This reverts commit 7699f4f6ad.
2026-01-20 23:41:53 +01:00
CanbiZ (MickLesk) 7699f4f6ad Revert "core: add retry logic for template lock in LXC container creation (#1…" (#11011)
This reverts commit d71f24bddb.
2026-01-20 23:35:39 +01:00
CanbiZ (MickLesk) d71f24bddb core: add retry logic for template lock in LXC container creation (#11002) 2026-01-20 22:36:32 +01:00
CanbiZ (MickLesk) 7146e8d5b9 dolibarr: switch mirror (#11004) 2026-01-20 22:21:02 +01:00
CanbiZ (MickLesk) 6dd5fbd7da core: add input validations for several functions (#10995) 2026-01-20 15:03:14 +01:00
CanbiZ (MickLesk) ff5263981b core: implement ensure_profile_loaded function (#10999) 2026-01-20 14:59:41 +01:00
CanbiZ (MickLesk) 5e7e7c884d checkmk: reordner base function (#10990) 2026-01-20 13:36:13 +01:00
CanbiZ (MickLesk) 0f15d81cd3 fix(homepage): preserve config directory during updates (#10993)
Fixes #10985 - The update script was deleting user config files due to
CLEAN_INSTALL=1 flag. Now backs up and restores both .env and config/
directory to preserve user configurations.
2026-01-20 13:35:28 +01:00
CanbiZ (MickLesk) eaf911be0b fix(pangolin): use dynamic badger plugin version (#10867) (#10975) 2026-01-19 22:41:01 +01:00
CanbiZ (MickLesk) 9a489f0b53 fix(tautulli): add version detection and proper update script (#10842) (#10976) 2026-01-19 22:40:27 +01:00
CanbiZ (MickLesk) 9e69c7a76e feat(core): add RFC 1123/952 compliant hostname/FQDN validation (#10977) 2026-01-19 22:39:57 +01:00
CanbiZ (MickLesk) 56c2e6cf1c fix(apache-guacamole): move jdbc cleanup after schema upgrade (#10942) (#10974)
- Temp files were deleted before schema upgrade could access them
- Fixes update script failing on MySQL schema upgrade step
2026-01-19 21:46:35 +01:00
CanbiZ (MickLesk) 0edd8fcfe3 fix(outline): prevent corepack interactive prompt blocking installation (#10973)
- Add COREPACK_ENABLE_DOWNLOAD_PROMPT=0 to skip yarn download confirmation
- Fixes installation hanging on 'Configuring Outline (Patience)'
2026-01-19 21:46:18 +01:00
CanbiZ (MickLesk) c8c1c454ce fix(firefly): prevent nested storage directories during update (#10967) (#10972)
- Remove existing backup directory before creating new backup
- Clean up temporary files after successful update
2026-01-19 21:45:59 +01:00
CanbiZ (MickLesk) de20a41423 Prioritize eth0 IP lookup in get_lxc_ip function
The get_lxc_ip function now attempts to retrieve the IP address directly from eth0 before falling back to hostname -I. This improves reliability for LXC containers where eth0 is typically the primary interface.
2026-01-19 17:41:17 +01:00
CanbiZ (MickLesk) 008f6af0bd Call get_lxc_ip explicitly after network is up
Moved the get_lxc_ip call from automatic execution in load_functions to explicit calls in alpine-install.func and install.func, ensuring the LXC IP is retrieved only after the network is up inside the container. Updated comments to clarify usage.
2026-01-19 17:40:25 +01:00
CanbiZ (MickLesk) d6811a3383 Fix ip import (#10964)
* Rename import_local_ip to get_local_ip

Replaces all references to the helper function import_local_ip with get_local_ip across scripts and documentation for consistency. Updates usage examples and comments to reflect the new function name.

* Rename get_local_ip to get_lxc_ip and update usage

Replaces all references to get_local_ip with get_lxc_ip across scripts, documentation, and templates for clarity and consistency. Updates the implementation in core.func to improve IP detection for LXC containers, and adjusts helper functions in addon scripts accordingly.
2026-01-19 17:32:44 +01:00
CanbiZ (MickLesk) 9e2c801d29 Refactor: copyparty (#10941) 2026-01-19 13:37:39 +01:00
CanbiZ (MickLesk) 73944792b5 Remove phpIPAM (#10939) 2026-01-19 10:04:19 +01:00
CanbiZ (MickLesk) 6e66359d8f Improve password handling and validation logic (#10925) 2026-01-18 21:19:53 +01:00
CanbiZ (MickLesk) 25a6a7ecc7 fix(hwaccel): improve NVIDIA version matching and GPU selection UI (#10901) 2026-01-18 12:43:58 +01:00
CanbiZ (MickLesk) 152aa527e2 Update Unifi OS Server JSON configuration 2026-01-16 14:19:19 +01:00
CanbiZ (MickLesk) 4fc57b0e0b immich: use dpkg-query to get intel-opencl-icd version (#10848) 2026-01-16 09:32:13 +01:00
CanbiZ (MickLesk) 109d6ab6e9 pihole/unbound: create unbound config before apt install to prevent port conflicts (#10839)
* fix(pihole): create unbound config before apt install to prevent port conflict

* fix(unbound): create config before apt install to prevent port conflict
2026-01-16 09:04:22 +01:00
CanbiZ (MickLesk) 8b750d42d2 fix(zammad): use ln -sf to avoid failure when symlink exists (#10840) 2026-01-16 08:39:01 +01:00
CanbiZ (MickLesk) ae8f3d1b8e Remove 'zlib' module from PHP setup 2026-01-15 13:50:27 +01:00
CanbiZ (MickLesk) ab33f85d9d Refactor: FreshRSS + Bump to Debian 13 (#10824)
* Refactor: FreshRSS + Bump to Debian 13

* update_script
2026-01-15 13:48:10 +01:00
CanbiZ (MickLesk) bdfd72e311 Switch Ollama install to .tar.zst and add zstd dependency (#10814) 2026-01-14 18:04:13 +01:00
CanbiZ 1980e3c47f Usenoninteractive mode for NVIDIA setup
Replaces all apt commands with apt-get for consistency and adds noninteractive environment variables to prevent interactive dialogs during NVIDIA GPU driver installation. Also adds --force-confold to preserve existing config files and ensures smoother automated installs.
2026-01-14 15:51:00 +01:00
CanbiZ (MickLesk) ce5ab97737 Improve NVIDIA GPU setup (5000x Series) (#10807) 2026-01-14 14:39:53 +01:00
CanbiZ 56e0783385 Show container ID warning only for user-specified IDs
The warning about a container ID being in use is now only shown if the user manually specified an ID, not when the ID is auto-assigned. This reduces unnecessary warnings during automated container creation.
2026-01-12 18:52:08 +01:00
CanbiZ 305a2ef449 Validate storage space only if container storage set
Storage space validation now occurs only when CONTAINER_STORAGE is defined, preventing premature validation before storage selection in certain modes. This avoids unnecessary errors and aligns validation with actual container creation logic.
2026-01-12 18:44:46 +01:00
CanbiZ 7f6ebeb119 Update build.func 2026-01-12 18:41:19 +01:00
CanbiZ (MickLesk) 27b55a5de4 Apache Guacamole: add schema upgrades and extension updates to Guacamole script (#10746) 2026-01-12 18:13:17 +01:00
CanbiZ (MickLesk) ff76d83fa7 feat(storage): Add unified storage validation & fix GB/MB display (#10745) 2026-01-12 18:12:55 +01:00
CanbiZ (MickLesk) 25594c30aa Apache Tomcat: update support and refactor install script (#10739) 2026-01-12 18:11:42 +01:00
CanbiZ (MickLesk) c8f6786783 core: remove dupliocated pve_version in advanced installs (#10743) 2026-01-12 18:11:25 +01:00
CanbiZ (MickLesk) a2a98cf26d remove locals 2026-01-12 18:02:41 +01:00
CanbiZ (MickLesk) 7e464cfdb0 refactor: Harmonize scripts and fix Booklore environment variables (#10742)
- apache-tomcat: Migrate to setup_java from tools.func
- apache-tomcat: Add update script with version detection from RELEASE-NOTES
- booklore: Fix environment variables (APP_PATH_CONFIG, APP_BOOKDROP_FOLDER)
- booklore: Remove unused variables (BOOKLORE_BOOKS_PATH, BOOKLORE_PORT)
- booklore: Refactor to use setup_mariadb_db and get_latest_github_release
- booklore: Add migration for old env vars in update script
- booklore: Add Node.js setup in update (was missing)
- booklore: Remove default nginx site to prevent conflicts
- jellystat: Replace custom get_ip() with import_local_ip
- jellystat: Remove unnecessary mkdir and simplify cd command
- jellystat: Use version variables for Node.js and PostgreSQL

Fixes #7499 (Booklore bookdrop issue)
2026-01-12 16:50:30 +01:00
CanbiZ (MickLesk) 57c87169a9 Apache Guacamole: Function Bump + update_script (#10728) 2026-01-12 14:09:46 +01:00
CanbiZ (MickLesk) 1ccf90cb27 core: validate container ID before pct create to prevent failures (#10729)
* feat: validate container ID before pct create to prevent failures

Add validation to ensure container IDs are not already in use before attempting to create containers. This prevents pct create failures when an ID is already assigned to a VM/LXC or used in LVM volumes.

Changes:
- Add validate_container_id() and get_valid_container_id() functions to build.func
- Validate ID in base_settings() for default installation method
- Validate ID in advanced_settings() dialog with user prompt for next available ID
- Add validation to turnkey.sh with interactive dialog
- Add validation to all-templates.sh with automatic ID correction

Checks performed:
- Container config file existence (/etc/pve/lxc/*.conf)
- VM config file existence (/etc/pve/qemu-server/*.conf)
- LVM logical volume usage

Fixes issue where container creation would fail if the suggested/chosen ID was already in use.

* feat: validate container ID before pct create to prevent failures

Add validation to ensure container IDs are not already in use before attempting to create containers. This prevents pct create failures when an ID is already assigned to a VM/LXC or used in LVM volumes.

Changes:
- Add validate_container_id() and get_valid_container_id() functions to build.func
- Validate ID in base_settings() for default installation method
- Validate ID in advanced_settings() dialog with user prompt for next available ID
- Add validation to turnkey.sh with interactive dialog
- Add validation to all-templates.sh with automatic ID correction

Checks performed:
- Container config file existence (/etc/pve/lxc/*.conf)
- VM config file existence (/etc/pve/qemu-server/*.conf)
- LVM logical volume usage

Fixes issue where container creation would fail if the suggested/chosen ID was already in use.

* Update turnkey.sh

* Update build.func
2026-01-12 14:04:28 +01:00
CanbiZ (MickLesk) 7234ecc406 Apache CouchDB: bump to debian 13 and add update support (#10721)
* Apache CouchDB: bump to debian 13 and add update support

Added update functionality to apache-couchdb.sh and marked CouchDB as updateable in the JSON metadata. Updated default OS version to 13 and improved credential file handling. Refactored the install script to use a helper for repository setup and standardized credential output.

* fix naming
2026-01-12 13:22:50 +01:00
CanbiZ (MickLesk) 18e1149cad Apache Cassandra: bump to debian 13 and add update support (#10720)
* Apache Cassandra: bump to debian 13 and add update support

Bump default Cassandra version from 12 to 13 in scripts and metadata. Refactor install script to use helper functions for Java and repository setup. Implement update functionality in the control script and mark Cassandra as updateable in the JSON metadata.

* Add success message for Cassandra update

Add success message after updating Apache Cassandra.
2026-01-12 13:22:34 +01:00
CanbiZ (MickLesk) 6d05319eb3 Bump Argus to Debian 13 (#10718) 2026-01-12 13:22:15 +01:00
CanbiZ (MickLesk) fac82643a8 Cockpit: Downgrade to Debian 12 Bookworm (45Drives Issue) (#10717)
* Change default var_version from 13 to 12

* Update OS version from 13 to 12 in cockpit.json
2026-01-12 13:22:01 +01:00
CanbiZ (MickLesk)andSlaviša Arežina e33d4d76fe Refactor Docker/Dockge & Bump to Debian 13 (#10719)
* Refactor Docker/Dockge & Bump to Debian 13

* Add base system update to Dockge update script

The update_script function now updates and upgrades the base system before updating Dockge. This ensures the system is up to date prior to pulling new Docker images.

* some fixes

* Apply suggestion from @tremor021

* Apply suggestion from @tremor021

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2026-01-12 13:21:39 +01:00
CanbiZ (MickLesk) 76e7755956 Enforce non-interactive apt mode in DB setup scripts (#10714) 2026-01-12 08:48:36 +01:00
CanbiZ (MickLesk) 3e0d0f34cc fix(hwaccel): make beignet-opencl-icd optional for legacy Intel GPUs (#10677)
- Check if beignet-opencl-icd package is available before installation
- Package was removed in Debian 12+ and Ubuntu 22.04+
- VA-API hardware acceleration still works without OpenCL
- Prevents installation failure on systems with Intel HD 2000-5999 GPUs
2026-01-10 11:41:44 +01:00
CanbiZ (MickLesk) f474ea3d4a outline: use corepack yarn module (#10652)
Removed explicit installation of yarn via NODE_MODULE and switched to enabling corepack for Yarn management. Updated yarn install commands to use --immutable instead of --frozen-lockfile for improved reliability.
2026-01-08 15:28:52 +01:00
CanbiZ (MickLesk) 1681033e39 Remove unnecessary quotes from variable expansions in VM scripts (#10649) 2026-01-08 15:10:57 +01:00
CanbiZ (MickLesk) f4ee9a2e25 pve-scripts-local: fix missing exit in update (#10630)
Removed unnecessary blank lines and added exit command.
2026-01-07 20:40:16 +01:00
CanbiZ (MickLesk) ee3f9c0bae fix(hwaccel): Fix Intel GitHub package patterns and dependencies (#10611)
- libigdgmm12: Fetch from intel/compute-runtime (not gmmlib which has no releases)
- intel-igc-core-2: Correct pattern with -2 suffix
- intel-igc-opencl-2: Correct pattern with -2 suffix
- libze-intel-gpu1: Correct package name (was intel-level-zero-gpu)
- Remove libigdgmm12 from apt install (already fetched from GitHub)
- Only fetch GitHub packages for Trixie/Sid (Bookworm uses repos)

Verified all patterns against actual GitHub release assets.
2026-01-06 20:43:07 +01:00
CanbiZ (MickLesk) d432d98723 iptag: fix syntax error in VM config file parsing (#10598)
* fix(iptag): Fix syntax error in VM config file parsing

The array assignment was using an invalid pipe construct inside the loop:
  vmids+=("${conf##*/}" | sed 's/\.conf$//')

This caused a bash syntax error:
  syntax error near unexpected token '2'

Fixed by using:
- shopt -s nullglob to handle empty directories gracefully
- Parameter expansion ${filename%.conf} instead of sed pipe

Fixes #10595

* fix(iptag): Fix syntax error in VM config file parsing

The array assignment was using an invalid pipe construct inside the loop:
  vmids+=("${conf##*/}" | sed 's/\.conf$//')

This caused a bash syntax error:
  syntax error near unexpected token '2'

Fixed by using parameter expansion ${basename%.conf} instead of sed pipe.

Fixes #10595
2026-01-06 19:31:45 +01:00
CanbiZ (MickLesk) 392a6696ba feat(hwaccel): Complete rewrite of GPU hardware acceleration support (#10597) 2026-01-06 19:27:04 +01:00
CanbiZ (MickLesk) a761c05fc5 Harden setup_hwaccel for old Intel GPUs (#10556) 2026-01-05 18:03:02 +01:00
CanbiZ (MickLesk)andTobias 91234cc835 reitti: add postgis extension to PostgreSQL DB setup (#10555)
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-01-05 15:34:47 +01:00
CanbiZ (MickLesk) c4b9cd465a openWRT: separate disk attachment and resizing in VM setup (#10557) 2026-01-05 15:28:54 +01:00
CanbiZ (MickLesk) 3a35cc8282 Refactor: IP-Tag (#10558) 2026-01-05 15:23:58 +01:00
CanbiZ (MickLesk) b1b0f47eaa Set TMPDIR for pip to use disk during install (#10559) 2026-01-05 15:23:20 +01:00
CanbiZ (MickLesk) 3cd02aac77 MagicMirror: bump to nodejs 24 (#10534) 2026-01-04 23:03:45 +01:00
CanbiZ (MickLesk) eb5a1cb9f7 Remove: GoAway (#10429) 2025-12-30 14:59:00 +01:00
CanbiZ (MickLesk) e4eea7a6ae syncthing: check for deb822 source (#10414) 2025-12-29 20:40:33 +01:00
CanbiZ (MickLesk) 2cc54fdbdf speedtest-tracker: add external IP URL and internet check hostname in .env (#10078) 2025-12-29 20:40:20 +01:00
CanbiZ (MickLesk) 78b4f44447 fix(pelican-panel): prevent composer superuser prompt (#10418) 2025-12-29 20:38:10 +01:00
CanbiZ 62ca1552a8 fix cleanup &>/dev/null 2025-12-29 16:10:33 +01:00
CanbiZ eba6fd8c6d linkwarden: use npx for Playwright install command
Replaces 'yarn playwright install' with 'npx playwright install' in both update and install scripts to ensure consistent Playwright installation regardless of local yarn configuration.
2025-12-29 15:50:10 +01:00
CanbiZ (MickLesk) b4a25160e4 Linkwarden: enable Corepack and prepare Yarn v4 before running yarn (#10390) 2025-12-29 00:38:46 +01:00
CanbiZ (MickLesk) 1d278f53f6 fix(metube): use pnpm + corepack for frontend build (#10392) 2025-12-29 00:38:05 +01:00
CanbiZ (MickLesk) e5943404f9 fix(phpipam): use PHP 8.4 with correct mysql module for PDO support (#10348) 2025-12-26 19:58:38 +01:00
CanbiZ (MickLesk) bbc326ec23 fix(hyperion): increase disk to 4GB and fix /root/. path error (#10349) 2025-12-26 19:57:49 +01:00
CanbiZ (MickLesk) f1c6f573aa fix(build): correct local template discovery and simplify pattern logic (#10282) 2025-12-24 14:23:10 +01:00
CanbiZ (MickLesk) 889116c82d fix(hwaccel): skip setup without GPU passthrough and fix Ubuntu AMD firmware (#10225) 2025-12-22 23:27:37 +01:00
CanbiZ (MickLesk) 33ef33c833 docs(contribution): update templates with modern patterns (#10227)
Based on analysis of latest 30 scripts (koel, wallabag, invoiceninja, etc.)

Templates updated to reflect current best practices:

ct/AppName.sh:
- Use check_for_gh_release + fetch_and_deploy_gh_release pattern
- CLEAN_INSTALL=1 for updates
- Proper backup/restore workflow
- Simplified configuration comments

install/AppName-install.sh:
- fetch_and_deploy_gh_release as primary download method (no separate RELEASE variable)
- Real-world examples from Node.js, Python, PHP apps
- import_local_ip called early
- Setup runtimes/databases before app installation
- cleanup_lxc at the end

HELPER_FUNCTIONS.md:
- fetch_and_deploy_gh_release as preferred method (documented first)
- CLEAN_INSTALL=1 environment variable documented
- prebuild type with asset_pattern documented
- Clarified when to use get_latest_github_release vs fetch_and_deploy

Closes #10194
2025-12-22 23:26:41 +01:00
CanbiZ (MickLesk) 65606eec1c fix(invoiceninja): add chromium dependencies for PDF generation (#10230)
- Add required libraries for snappdf/chromium (libnss3, libatk, libcups2, etc.)
- Download chromium binary via snappdf download command
- Run ninja:post-update for languages/currencies lookup data

Fixes PDF generation error: libnss3.so not found
2025-12-22 23:25:56 +01:00
CanbiZ (MickLesk) ebb8b098dd MediaManager) use npm install (#10228)
* fix(mediamanager): use npm install and remove unused yq dependency

- Use npm install instead of npm ci because upstream package-lock.json
  is out of sync with package.json (missing esbuild@0.27.2)
- Remove setup_yq call as yq is not used anywhere in the script
  (config is handled via sed)

* .

* Change npm command from ci to install
2025-12-22 23:25:19 +01:00
CanbiZ (MickLesk) ef2a511217 recyclarr: add default daily cron job for recyclarr sync (#10208)
* Add default daily cron job for recyclarr sync

- Create /etc/cron.d/recyclarr file with @daily schedule
- Log output to /root/.config/recyclarr/sync.log
- Uses recommended default schedule from recyclarr docs
- Follows project convention for cron jobs

Implements #10182

* Add notes about daily cron job to recyclarr.json

- Info about automatic daily sync via cron
- Reference to cron file location for customization
- Warning about configuring instances before first sync
2025-12-21 23:15:56 +01:00
CanbiZ (MickLesk)andfccview 28d34e9169 Optimize Jotty installation with standalone mode (#10207)
* Optimize Jotty installation with standalone mode

- Use Next.js standalone mode to reduce folder size from ~2.4GB to ~80MB
- Copy public, howto, and static folders to standalone output
- Remove node_modules and build artifacts after creating standalone version
- Update systemd service to use node directly instead of yarn start
- Improves build efficiency and reduces disk usage

Implements #10178
Co-authored-by: fccview <fccview@users.noreply.github.com>

* Apply standalone mode optimization to Jotty update script

- Use standalone mode in update_script function
- Ensures updates maintain the optimized deployment structure
- Consistent with install script changes

* Update systemd service in jotty update script

- Recreate systemd service file with correct ExecStart command
- Change from 'yarn start' to '/usr/bin/node server.js'
- Ensures old installations get updated service configuration
- Run daemon-reload after service file update

---------

Co-authored-by: fccview <fccview@users.noreply.github.com>
2025-12-21 23:15:08 +01:00