project-nomad/install
Chris Sherwood c7f0d91f57 fix(install): prevent MySQL credential mismatch on reinstall
When the install script runs a second time (e.g., after a failed first
attempt), it generates new random database passwords and writes them to
compose.yml. However, MySQL only initializes credentials on first startup
when its data directory is empty. If /opt/project-nomad/mysql/ persists
from the previous attempt, MySQL skips initialization and keeps the old
passwords, causing "Access denied" errors for nomad_admin.

Fix: remove the MySQL data directory before generating new credentials
so MySQL reinitializes with the correct passwords.

Closes #404

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 10:35:14 -07:00
..
sidecar-disk-collector fix(disk): correct storage display by fixing device matching and dedup mount entries 2026-03-20 11:46:10 -07:00
sidecar-updater fix: update channel flexibility 2026-03-05 04:06:56 +00:00
collect_disk_info.sh feat: disk info collection 2025-12-07 19:13:43 -08:00
entrypoint.sh feat: make Nomad fully composable 2026-03-20 11:46:10 -07:00
install_nomad.sh fix(install): prevent MySQL credential mismatch on reinstall 2026-03-21 10:35:14 -07:00
management_compose.yaml docs: update port mapping guidance in compose file 2026-03-20 11:46:10 -07:00
migrate-disk-collector.md build: compose and install script updates for disk-collector sidecar 2026-03-14 19:54:51 -07:00
migrate-disk-collector.sh chore: add additional warnings to migrate-disk-collector 2026-03-15 03:19:52 +00:00
run_updater_fixes.sh fix: container update pattern in run_updater_fixes 2026-03-05 04:32:09 +00:00
start_nomad.sh feat(install): add start & stop helper scripts 2025-08-08 15:07:32 -07:00
stop_nomad.sh feat(install): add start & stop helper scripts 2025-08-08 15:07:32 -07:00
uninstall_nomad.sh ops: added a check for docker-compose version in Nomad utility scripts 2026-03-20 11:46:10 -07:00
update_nomad.sh ops: added a check for docker-compose version in Nomad utility scripts 2026-03-20 11:46:10 -07:00
wikipedia_en_100_mini_2025-06.zim fix(ZIM): host initial zim download in GH repo 2025-09-02 22:44:01 -07:00