install.sh seeds only archied.service, so a fresh host install runs one of five services #1307

Closed
opened 2026-10-27 13:39:52 +00:00 by sam · 0 comments
Owner

install.sh builds six host binaries but writes exactly one systemd unit, ${XDG_CONFIG_HOME}/systemd/user/archied.service (SERVICE_FILE). No unit for archie-state-store, archie-gateway, archie-ui or archie-messaging is created by install.sh or by scripts/archie-update-install; those exist only in deployments/systemd-user-service.md, which the operator applies by hand. The updater requires them (and now refuses a host unit the list omits). So a fresh install starts a daemon that dials a State Store nothing starts, and its dashboard and channels never run, until four unit files are hand-written from the runbook. Establish whether that is the intended 'installer seeds archied, operator seeds the rest' model or a bug; if intended, the install summary must say which units remain; if not, install.sh should seed a unit for every host service it installs.

Acceptance criteria

A fresh install either creates a unit for every host service binary it installs, or ends with an explicit list of the units the operator must still create, so the updater's first run never refuses for a unit the installer did not mention.

Close reason

Fixed in 3d6accd7: install.sh writes a unit for every host service.


Imported from beads archie-core-enow · GitHub #1099 · type bug · priority P2 · created 2026-09-22 · closed 2026-09-26

install.sh builds six host binaries but writes exactly one systemd unit, ${XDG_CONFIG_HOME}/systemd/user/archied.service (SERVICE_FILE). No unit for archie-state-store, archie-gateway, archie-ui or archie-messaging is created by install.sh or by scripts/archie-update-install; those exist only in deployments/systemd-user-service.md, which the operator applies by hand. The updater requires them (and now refuses a host unit the list omits). So a fresh install starts a daemon that dials a State Store nothing starts, and its dashboard and channels never run, until four unit files are hand-written from the runbook. Establish whether that is the intended 'installer seeds archied, operator seeds the rest' model or a bug; if intended, the install summary must say which units remain; if not, install.sh should seed a unit for every host service it installs. ### Acceptance criteria A fresh install either creates a unit for every host service binary it installs, or ends with an explicit list of the units the operator must still create, so the updater's first run never refuses for a unit the installer did not mention. ### Close reason Fixed in 3d6accd7: install.sh writes a unit for every host service. --- _Imported from beads `archie-core-enow` · GitHub #1099 · type bug · priority P2 · created 2026-09-22 · closed 2026-09-26_
sam added the mediumbug labels 2026-10-27 13:39:52 +00:00
sam self-assigned this 2026-10-27 13:39:52 +00:00
sam closed this issue 2026-10-27 13:39:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1307