mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-09-28 03:31:59 +02:00
fix: add version to health endpoint + warn users with stale compose files
Repo migration in March 2026 rewrote all commit hashes, leaving old clones with a docker-compose.yml that builds from source instead of pulling pre-built images. Added detection warnings to compose.sh, start.bat, and start.sh so affected users see clear instructions. Also exposes APP_VERSION in /api/health for easier debugging.
This commit is contained in:
@@ -93,7 +93,21 @@ That's it. `pull` grabs the latest images, `up -d` restarts the containers.
|
||||
|
||||
### ⚠️ **Stuck on the old version?**
|
||||
|
||||
**If the dashboard still shows old data after updating:**
|
||||
**If `git pull` fails or `docker compose up` keeps building from source instead of pulling images**, your clone predates a March 2026 repository migration that rewrote commit history. A normal `git pull` cannot fix this. Run:
|
||||
|
||||
```bash
|
||||
# Back up any local config you want to keep (.env, etc.)
|
||||
cd ..
|
||||
rm -rf Shadowbroker
|
||||
git clone https://github.com/BigBodyCobain/Shadowbroker.git
|
||||
cd Shadowbroker
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**How to tell if you're affected:** If `docker compose up` shows `RUN apt-get`, `RUN npm ci`, or `RUN pip install` — it's building from source instead of pulling pre-built images. You need a fresh clone.
|
||||
|
||||
**Other troubleshooting:**
|
||||
|
||||
* **Force re-pull:** `docker compose pull --no-cache`
|
||||
* **Prune old images:** `docker image prune -f`
|
||||
|
||||
Reference in New Issue
Block a user