Commit 1861790
committed
fix(daemon): onboarding seed persists site + version sync to 0.2.7
Two bugs in one commit, both caught while E2E-testing the v0.2.6 install:
1. /api/onboarding/complete seeded the Apache vhost via SiteOrchestrator
but never registered the site in SiteManager — so SELECT domain FROM
sites returned nothing, GET /api/sites returned [], and the seeded
localhost site vanished on next daemon restart. Fix mirrors the
/api/sites POST handler: sm.CreateAsync(site) first, then
orch.ApplyAsync(created). Live /api/status output from v0.2.6 proved
the gap — sites table empty despite flag file + default-site/ docroot
present on disk.
2. Daemon csproj was pinned at 0.2.3 while the frontend shipped 0.2.6.
/api/status reported version="0.2.3+<git-sha>" — misleading in logs
and crash reports. Bumped Version/AssemblyVersion/FileVersion/
InformationalVersion in lockstep with the frontend package.json to
0.2.7.1 parent c65c6fb commit 1861790
4 files changed
Lines changed: 15 additions & 9 deletions
File tree
- src
- daemon/NKS.WebDevConsole.Daemon
- frontend
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3206 | 3206 | | |
3207 | 3207 | | |
3208 | 3208 | | |
3209 | | - | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3210 | 3215 | | |
3211 | 3216 | | |
3212 | 3217 | | |
3213 | 3218 | | |
3214 | 3219 | | |
3215 | 3220 | | |
3216 | | - | |
| 3221 | + | |
| 3222 | + | |
3217 | 3223 | | |
3218 | 3224 | | |
3219 | 3225 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments