=== events.json === [ { "seconds": "0.003", "text": "Linux CLI reproduction; base source build; real released 0.1.8 service launcher; isolated synthetic T3 home." }, { "seconds": "1.668", "text": "Service ready on port 41689; serviceManaged=true; serverVersion=0.1.8." }, { "seconds": "1.668", "text": "Database bytes: 6308290560" }, { "seconds": "1.783", "text": "Initial SSH launch: {\"remotePort\":41689,\"serverKind\":\"external\"}" }, { "seconds": "2.201", "text": "Paired through application auth; opened authenticated real WebSocket." }, { "seconds": "2.218", "text": "Sending server.updateServer {targetVersion:\"0.1.9\"}." }, { "seconds": "2.625", "text": "Update reply: {\"_tag\":\"Exit\",\"requestId\":\"1\",\"exit\":{\"_tag\":\"Success\",\"value\":{\"targetVersion\":\"0.1.9\",\"method\":\"boot-service\",\"updateId\":\"9ec4266e-6b1c-413b-a92b-8dbe4afcebe6\"}}}" }, { "seconds": "6.340", "text": "Old service child exited; reconnecting immediately with the same SSH launch script." }, { "seconds": "6.341", "text": "Update marker exists: false" }, { "seconds": "9.572", "text": "Reconnect exit=0; output={\"remotePort\":41689,\"serverKind\":\"managed\"}" }, { "seconds": "9.581", "text": "Current runtime port=41689, serviceManaged=undefined, serverVersion=0.1.8." }, { "seconds": "19.561", "text": "Final service state: {\"protocol\":3,\"activeVersion\":\"0.1.8\",\"update\":{\"id\":\"9ec4266e-6b1c-413b-a92b-8dbe4afcebe6\",\"fromVersion\":\"0.1.8\",\"targetVersion\":\"0.1.9\",\"status\":\"failed\",\"reason\":\"state-dir-owned\"}}" }, { "seconds": "19.563", "text": "Capture complete." }, { "seconds": "21.065", "text": "Stopped the launcher and any SSH child started by this run." } ] === initial-launch.raw.log === {"remotePort":41689,"serverKind":"external"} === reconnect.raw.log === {"remotePort":41689,"serverKind":"managed"} + set -eu + STATE_KEY=evidence + LAUNCHER_ID= + STATE_DIR=/base-home/.t3/ssh-launch/evidence + DEFAULT_SERVER_HOME=/base-home/.t3 + DEFAULT_RUNTIME_FILE=/base-home/.t3/userdata/server-runtime.json + PORT_FILE=/base-home/.t3/ssh-launch/evidence/port + PID_FILE=/base-home/.t3/ssh-launch/evidence/pid + MANAGED_FILE=/base-home/.t3/ssh-launch/evidence/managed + LOG_FILE=/base-home/.t3/ssh-launch/evidence/server.log + RUNNER_FILE=/base-home/.t3/ssh-launch/evidence/run-t3.sh + RUNNER_NEXT=/base-home/.t3/ssh-launch/evidence/run-t3.next.175969 + LAUNCH_LOCK=/base-home/.t3/ssh-launch/.launch.lock + LAUNCH_BREAK_LOCK=/base-home/.t3/ssh-launch/.launch.lock.break + mkdir -p /base-home/.t3/ssh-launch/evidence + trap cleanup_launch EXIT + trap exit 1 HUP INT PIPE TERM + cat + chmod 700 /base-home/.t3/ssh-launch/evidence/run-t3.next.175969 + T3_ARCHIVE_MODE=0 + [ 0 = 1 ] + ensure_remote_node_path + command -v node + remote_node_satisfies_engine + return 0 + LAUNCH_LOCK_WAITED=0 + LAUNCH_LOCK_UNOWNED=0 + RUNNER_CHANGED=0 + [ ! -f /base-home/.t3/ssh-launch/evidence/run-t3.sh ] + cmp -s /base-home/.t3/ssh-launch/evidence/run-t3.next.175969 /base-home/.t3/ssh-launch/evidence/run-t3.sh + mv /base-home/.t3/ssh-launch/evidence/run-t3.next.175969 /base-home/.t3/ssh-launch/evidence/run-t3.sh + [ -n ] + cat /base-home/.t3/ssh-launch/evidence/pid + true + REMOTE_PID= + cat /base-home/.t3/ssh-launch/evidence/port + REMOTE_PORT=41689 + cat /base-home/.t3/ssh-launch/evidence/managed + REMOTE_MANAGED=external + adopt_default_server + resolve_default_runtime_port + true + DEFAULT_RUNTIME_INFO= + DEFAULT_RUNTIME_PID= + DEFAULT_REMOTE_PORT= + ADOPTED_PID= + [ -n ] + [ -n ] + [ -n ] + return 1 + [ external = external ] + server_running + [ -n ] + return 1 + [ -z 41689 ] + wait_ready 2000 + [ 0 = 1 ] + node - 41689 2000 1000 + REMOTE_PID= + REMOTE_PORT= + REMOTE_MANAGED= + [ -z ] + [ -z ] + [ /base-home/.t3/ssh-launch/evidence != /base-home/.t3/ssh-launch/evidence ] + continue + [ -z ] + UPDATE_WAITED=0 + UPDATE_SAW_MARKER=0 + [ 0 -le 60 ] + update_remaining + UPDATE_REMAINING= + [ -n ] + break + [ 0 -eq 1 ] + [ -f /base-home/.t3/userdata/server-runtime.json ] + [ -z ] + pick_port + [ 0 = 1 ] + node - /base-home/.t3/ssh-launch/evidence/port 3773 200 + REMOTE_PORT=41689 + [ -z 41689 ] + rm -f /base-home/.t3/ssh-launch/evidence/server.log + REMOTE_PID=176034 + printf %s\n 176034 + nohup env T3CODE_NO_BROWSER=1 /base-home/.t3/ssh-launch/evidence/run-t3.sh serve --host 127.0.0.1 --port 41689 --base-dir /base-home/.t3 + printf %s\n 41689 + printf managed\n + [ -z ] + rm -f /base-home/.t3/ssh-launch/evidence/launcher + wait_ready 60000 + [ 0 = 1 ] + node - 41689 60000 1000 + date +%s + RECORD_DEADLINE=1794655333 + date +%s + [ 1794655323 -lt 1794655333 ] + resolve_default_runtime_port + DEFAULT_RUNTIME_INFO=176034 41689 + [ 176034 = 176034 ] + break + printf {"remotePort":%s,"serverKind":"%s"}\n 41689 managed + cleanup_launch + rm -f /base-home/.t3/ssh-launch/evidence/run-t3.next.175969 + cat /base-home/.t3/ssh-launch/.launch.lock + [ 175969 = 175969 ] + rm -f /base-home/.t3/ssh-launch/.launch.lock + cat /base-home/.t3/ssh-launch/.launch.lock.break + true + [ = 175969 ] === rpc.jsonl === {"_tag":"Exit","requestId":"1","exit":{"_tag":"Success","value":{"targetVersion":"0.1.9","method":"boot-service","updateId":"9ec4266e-6b1c-413b-a92b-8dbe4afcebe6"}}} === state.json === { "protocol": 3, "activeVersion": "0.1.8", "update": { "id": "9ec4266e-6b1c-413b-a92b-8dbe4afcebe6", "fromVersion": "0.1.8", "targetVersion": "0.1.9", "status": "failed", "reason": "state-dir-owned" } } === service.raw.log === [11:21:54.583] INFO (#32): Agent scopes are on { slice: 'app-t3code-agents.slice', high: 10326347776, max: 12576599040, oomPolicy: true } [11:21:54.739] WARN (#98): process group metrics are not exported: sample failed ResourceTelemetryRefreshFailed: Resource telemetry operation 'refresh' failed. at file:///base-8/server-D3UxlGvw.mjs:71233:89 at file:///base-8/Schema-DXsMz4_8.mjs:10042:20 at Array.map () at file:///base-8/Schema-DXsMz4_8.mjs:10039:32 at file:///base-8/Schema-DXsMz4_8.mjs:181:38 { [cause]: NativeTelemetryUnavailable: Resource monitor is unavailable: sidecar is not running at file:///base-8/ManagedEndpointRuntime-DC4zMWFf.mjs:127662:96 } operation: refresh [11:21:55.192] INFO (#552): Listening on http://127.0.0.1:41689 [11:21:55.223] INFO (#549): agent activity publishing standby; waiting for T3 Connect link reconciliation [11:21:55.224] INFO (#549): V2 orchestration recovery completed { terminalizedRuns: 0, stoppedSessions: 0, closedRequests: 0, retiredEffects: 0, requeuedEffects: 0 } T3 Code server is ready. Connection string: http://127.0.0.1:41689 [pairing credential redacted] [pairing credential redacted] [pairing credential redacted] [11:21:56.364] INFO (#1198): Server update prepared; handing off to the service launcher. { updateId: '9ec4266e-6b1c-413b-a92b-8dbe4afcebe6', targetVersion: '0.1.9', runtimePath: '/base-home/.t3/runtime/versions/0.1.9/t3' } [11:21:58.378] INFO (#26): V2 orchestration shutdown reconciliation completed { terminalizedRuns: 0, stoppedSessions: 0, closedRequests: 0, retiredEffects: 0, requeuedEffects: 0 } [11:21:58.381] WARN (#1038): keep-awake run event stream failed { cause: 'InterruptError: All fibers interrupted without error\n' + ' at serverActivation.forkParkedFiber (file:///base-8/ManagedEndpointRuntime-DC4zMWFf.mjs:137319:32)\n' + ' at serverActivation.forkParkedFiber (definition) (file:///base-8/ManagedEndpointRuntime-DC4zMWFf.mjs:137311:25)\n' + ' at server.runServerCommand (file:///base-8/binCli-Ct-K4I3i.mjs:10616:349)\n' + ' at server.runServerCommand (definition) (file:///base-8/binCli-Ct-K4I3i.mjs:10590:26) {\n' + ' [cause]: InterruptCause: The fiber was interrupted by:\n' + ' at fiber (unknown)\n' + '}' } [11:22:13.245] ERROR (#2): ServerAlreadyRunningError: A T3 Code server already owns /base-home/.t3/userdata. Stop that server, or use a separate T3 home and pair with it, then retry. No server was stopped. server-owner.sqlite is the ownership lock; do not delete it while a server is running. at catch (file:///base-9/relayTracing-C2WHWM2L.mjs:2862:42) at file:///base-9/Schema-DXsMz4_8.mjs:10593:18 at acquireServerOwnership (file:///base-9/server-BooIxF6p.mjs:105243:27) at acquireServerOwnership (definition) (file:///base-9/relayTracing-C2WHWM2L.mjs:2872:32) at server.runServerCommand (file:///base-9/binCli-BxadaQY9.mjs:10616:349) at server.runServerCommand (definition) (file:///base-9/binCli-BxadaQY9.mjs:10590:26) [service-launcher] Another T3 Code server owns this T3 home. Stop it, then restart this service.