1. Update the engine
The connection commands below need a current engine. From your Sutando checkout:src/restart.sh stops the background services, the gateway bridges included, and starts them again through src/startup.sh. A bridge started by an older engine has to be restarted once before the primary can move, and this restart does that.
2. Add s.space and make it primary
- With the desktop app
- Without the desktop app
Requires the desktop app v0.8.0-rc.17 or later.
1
Open Connections
In the desktop app, open Settings → Connections and click Add homeserver.
2
Get a code for s.space
Next to s.space, click Get a code. Your browser opens the s.space Agents page in connect mode. Sign in if asked, pick the Sutando agent that should speak for this core on s.space (or create one), and get its code. Confirm Send to the Sutando app.
3
Let the app finish
The code goes straight back to the desktop app and is never shown on the page. The app adds the connection and makes it primary, then reports Added s.space and made it the primary. The ag2.space connection is parked.
3. Check that it worked
List the connections:s-space row should read PRIMARY yes and STATE connected. The ag2.space row reads PRIMARY no and STATE parked (parked). When the ag2.space connection was the core’s original one (shown as (legacy)), the list ends with a note that proactive messages now go to s-space. In the desktop app, Settings → Connections shows the same thing: s.space with the Primary badge.
Then run the health check:
connections-primary line. It warns when no connection is primary, or when the primary’s bridge needs a restart before it can carry proactive messages (reconnect it). After a move from the original connection, it is an ok line saying that the legacy ag2.space connection is not primary.
Finally, mention the agent in an s.space room and check that it answers.
ag2.space during the transition
ag2.space keeps working while you move:- Before you promote, nothing changes for ag2.space. Adding the s.space connection does not stop or alter the ag2.space bridge.
- After you promote, the ag2.space connection is parked: its bridge is stopped, so the core no longer answers there. The row and its code are kept, so moving back needs no new code.
'' names the original (legacy) connection. After unpark, its launchd job resumes its bridge; with no job installed, run bash src/startup.sh. promote '' is refused until that bridge is running. When the ag2.space connection has a name of its own in list (for example ag2-space), use that name instead of ''.
If a command is refused
Refusals print a short code and change nothing. The most common ones:
Still stuck? See Troubleshooting or Get support.