You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: With the background service installed, bare t3 exits with "already running" instead of opening the running server #31510
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Install the background service for the default T3 home (t3 service install, or t3 up) and let it run.
In a terminal, run t3 with no subcommand.
Expected behavior
t3 --help describes the bare command as "Run T3 Code in this terminal and open it in your browser." When this T3 home is already served by the background service that t3 up installed, t3 should give the same result: open that server in the browser, or in the desktop app as t3 app does. If it has to refuse, the error should name the exact command that connects, because the server's URL alone needs pairing first.
Actual behavior
It exits with code 1:
$ t3
ERROR
A T3 Code server is already running for /home/<user>/.t3 (pid <pid>, http://127.0.0.1:3773). Connect to that server, stop it before starting another, or use a different --base-dir.
The message says "Connect to that server" but not how. Opening the URL needs a pairing token, and t3 pair and t3 app are not mentioned. The first thing a user tries after t3 up therefore fails, even though nothing is wrong with the setup.
Impact
Minor bug or occasional failure
Version or commit
0.1.7 (CLI from the desktop AppImage launcher, background service on 0.1.7)
Environment
Ubuntu 24.04.5, background service as a systemd user unit (t3code.service)
Activity