Start the Windows bundle when the network is disconnected
The launcher asked /api/health through Invoke-WebRequest, which resolves the system proxy or PAC script before it looks at the URL; with no network every probe timed out and the launcher killed a healthy local process after two minutes and reported that Luminary had not started. Both launchers now probe 127.0.0.1 over a raw TCP socket, which uses no proxy, DNS or certificate store, and the app window is started with --no-proxy-server.
This commit is contained in:
+6
-1
@@ -343,6 +343,11 @@ then replaces `node.exe`. It refuses while Luminary is running. Set
|
||||
- No tray icon and no auto-update in this version (both are launcher features,
|
||||
not app changes).
|
||||
- Loopback only by default; set `HOST=0.0.0.0` for LAN proofing galleries.
|
||||
- Fully offline: the app, the catalog and the start-up wait are local. The
|
||||
launcher probes `127.0.0.1` over plain TCP, which never consults the system
|
||||
proxy or DNS, so a disconnected network, VPN or proxy setting cannot stop it
|
||||
from starting. Only `-Repair` (downloading `node.exe`) and the optional Immich
|
||||
sync use the network.
|
||||
- The PowerShell launcher cannot clean up after a server crash; a stale
|
||||
`runtime.json` is simply ignored on the next start.
|
||||
- The setup exe cannot be executed on the Linux build host. It is verified by
|
||||
@@ -360,7 +365,7 @@ then replaces `node.exe`. It refuses while Luminary is running. Set
|
||||
| "Luminary needs Windows 10 or 11" (exit 4) | the launcher read `CurrentBuild` below 10240. The app targets Windows 10/11; there is no Windows 7/8 build |
|
||||
| "The Universal C Runtime is missing" | Windows 8.1 without KB2999226 — install <https://support.microsoft.com/help/2999226> or use Windows 10/11 |
|
||||
| "The data drive has only … GB free" | free space before starting; catalogs and previews grow in `%LOCALAPPDATA%` |
|
||||
| "did not answer on /api/health" | `logs\server.err.log`; run `node app\server\index.mjs` from `app\` to see the failure |
|
||||
| "did not answer on /api/health" | `logs\server.err.log`; run `node app\server\index.mjs` from `app\` to see the failure. This is not a network error: start-up only talks to `127.0.0.1`, so a disconnected machine starts the same way |
|
||||
| Browser opens an error page | the port was taken between the check and the spawn; start again |
|
||||
| RAW import fails | `app\node_modules\@img\sharp-win32-x64` must contain a `.node` binary; RAW decode itself is wasm |
|
||||
| `node.exe failed its SHA-256 check` | delete `<out>/cache` and rebuild (the download was truncated) |
|
||||
|
||||
Reference in New Issue
Block a user