mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-05 22:14:12 +00:00
The Docker-stack check ran after logs/ was created, .env written and the migrations applied, so a conflict left a migrated database and partial files behind with no install.json — exactly the directory that down and uninstall then refuse. It runs immediately after the port is resolved now. Alongside it, `up --native` refuses a port it cannot bind. Neither service manager confirms that the API bound, and /api/health carries no installation identity, so a second install on the same port would have been answered by the first and reported success while its own API was dead. An install re-running on its own port is the exception, since its services are what hold it.