[ignitionoee] Move the OeeRouter secrets store before deploying 2b8ff324 (Secrets 0.6.2 refuses the in-install path) #21

Open
opened 2026-11-06 15:54:01 -05:00 by dohertj2 · 0 comments
Owner

ignitionoee main is now 2b8ff324 (#7), with Secrets 0.6.2 and Auth 0.3.0. The box's own appsettings.json on IGNTN-INT-VP01 still sets Secrets:SqlitePath=data/oee-secrets.db. The new build refuses to start until the store is moved; no data is lost.

  1. Stop OeeRouter.
  2. Move F:\apps\ignitionrouter\data\oee-secrets.db, plus any -wal/-shm files, to a folder outside F:\apps\ignitionrouter.
  3. Either set Secrets__SqlitePath to that absolute path in the service's Environment, or remove the key so the router uses the ProgramData default (%ProgramData%\ZB.MOM.Oee\oee-secrets.db). The service account needs write access to the folder.
  4. Swap in the build and start the service.

Related: data/oee-inbound-api-keys.sqlite (the inbound API-key store) also lives inside the install folder, which was the cause of the 2026-09-23 401s. Consider moving it out the same way.

ignitionoee `main` is now `2b8ff324` (#7), with Secrets 0.6.2 and Auth 0.3.0. The box's own `appsettings.json` on IGNTN-INT-VP01 still sets `Secrets:SqlitePath=data/oee-secrets.db`. **The new build refuses to start** until the store is moved; no data is lost. 1. Stop `OeeRouter`. 2. Move `F:\apps\ignitionrouter\data\oee-secrets.db`, plus any `-wal`/`-shm` files, to a folder outside `F:\apps\ignitionrouter`. 3. Either set `Secrets__SqlitePath` to that absolute path in the service's Environment, or remove the key so the router uses the ProgramData default (`%ProgramData%\ZB.MOM.Oee\oee-secrets.db`). The service account needs write access to the folder. 4. Swap in the build and start the service. Related: `data/oee-inbound-api-keys.sqlite` (the inbound API-key store) also lives inside the install folder, which was the cause of the 2026-09-23 401s. Consider moving it out the same way.
dohertj2 added the type:deploy-gatepriority:p1cross-repo labels 2026-11-06 15:54:01 -05:00
Sign in to join this conversation.