Commit Graph

13 Commits

Author SHA1 Message Date
MickLesk
a26a0a4eea fix(fleet): use correct setup endpoint /api/v1/setup instead of /api/latest/fleet/setup 2026-05-18 18:05:46 +02:00
MickLesk
997bd8984c fix(fleet): handle empty setup response without aborting on pipefail 2026-05-18 16:23:40 +02:00
MickLesk
edbebea29b fix(fleet): pre-configure Fleet via API during install to bypass broken setup wizard 2026-05-18 15:46:23 +02:00
MickLesk
5ef713e58c fix(mysql): refactor MySQL setup logic to use new setup_mysql_db function 2026-05-18 14:41:32 +02:00
MickLesk
dd0b3c6538 fix(fleet): downgrade version from 13 to 12 in configuration files and scripts
fix(invidious): correct indentation in version retrieval
fix(fleet-install): switch from MariaDB to MySQL setup and update database creation logic
fix(tools): add MySQL repository handling in helper functions
2026-05-18 14:27:58 +02:00
MickLesk
aac0c75567 fix(fleet): switch MySQL to MariaDB, remove manual DB creation anti-pattern 2026-05-18 14:02:14 +02:00
MickLesk
91b3c0cb31 fix(fleet): add missing user creation for database access 2026-04-06 21:30:46 +02:00
MickLesk
9fe9c4f1a0 add ldap 2026-04-06 19:49:18 +02:00
MickLesk
aabcdc84c6 fix(fleet): add redis-server dependency
Fleet requires Redis for live queries, async jobs, and distributed
locking. Without it the fleet serve process fails on startup.

- Install redis-server package
- Add FLEET_REDIS_ADDRESS=127.0.0.1:6379 to .env
- Add redis-server.service to systemd After/Requires
- Enable redis-server alongside fleet service
2026-04-05 19:54:58 +02:00
MickLesk
117615bb29 revert(fleet): switch back to MySQL, MariaDB incompatible with Fleet migrations
MariaDB fails on migration 20240905200000_UninstallPackages due to
SQL syntax incompatibility (MODIFY COLUMN ... NULL). Use real MySQL
with manual DB setup instead of setup_mariadb_db.
2026-04-05 19:23:16 +02:00
MickLesk
67bc34d45b fix(slink,fleet): append APP_ENV/APP_SECRET to .env, use setup_mariadb_db
- slink: APP_ENV and APP_SECRET not present in .env.example, sed patterns
  never matched → Symfony defaulted to dev mode → WebProfilerBundle crash
  (not installed with --no-dev). Now appends APP_ENV=prod + APP_SECRET.
- fleet: use setup_mariadb_db helper instead of manual SQL, reference
  MARIADB_DB_PASS, depend on mariadb.service
2026-04-05 18:54:14 +02:00
MickLesk
f7258d5268 fix(fleet,mysql): switch Fleet to MariaDB, add mysql case to manage_tool_repository
- fleet: use setup_mariadb instead of setup_mysql (MariaDB works fine for
  Fleet and avoids MySQL repo complexity on trixie)
- tools.func: add missing mysql) case block to manage_tool_repository
  (was causing 'Unknown tool repository: mysql' error)
2026-04-05 18:35:51 +02:00
MickLesk
d2f6be43e7 feat: add Kan, Puter, Lychee, Fleet scripts (ct/install/json) 2026-04-04 23:21:13 +02:00