Closed
Labels
bugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
when i try to start the app it wont start and this is what i get
Expected behavior
to start the app
Actual behavior
it wont start
Impact
Blocks work completely
Version or commit
0.1.6
Environment
windows
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response
Metadata
Metadata
Assignees
Labels
bugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
Activity
[-][Bug]: T3 Code Desktop Windows cant open anymore 1.0.6[/-][+][Bug]: T3 Code Desktop Windows cant open anymore 0.1.6[/+]juliusmarminge commentedon Nov 2, 2026
Thanks for the screenshot. Here's what we ran, on Linux desktop builds (v0.1.6 at 2359643 and current main at 0847a44):
So on 0.1.6 this screen means the local server took more than 60 s to answer, without printing anything. To find out why it's slow or stuck on your machine, could you share:
server-child.log,desktop.trace.ndjsonandserver.trace.ndjsonfromC:\Users\Admin\.t3\userdata\logs. Traces can include project paths, so look them over before posting.TheDarkSkyXD commentedon Nov 2, 2026
If you leave the "could not start" window open for 5 minutes, does T3 Code eventually open by itself? no
Whether you use the WSL backend, and whether anything changed on the machine since 0.1.6 last opened (Windows or antivirus update, Smart App Control, a moved T3 home). no nothing changed
t3-logs-redacted.zip
juliusmarminge commentedon Nov 2, 2026
Thanks for the logs. Here's what they show:
To find that step, could you run the server in a terminal so we can see its output live:
t3code/ T3 Code processes are left (if one is, note that, then end it).Listening on …. Then paste everything it printed, or the last 50 lines if it's long. Press Ctrl+C to stop it.Also helpful:
C:\Users\Admin\.t3\userdata\statev2.sqliteand ofstatev2.sqlite-walnext to it, if that file exists.F:is (internal disk, external USB drive, or network share), and whether it was connected. Your older logs showgitcommands timing out on projects inF:\REPOS.TheDarkSkyXD commentedon Nov 2, 2026
Thanks, ran it. It wasn't hung: migration 72 took almost 5 minutes on this machine, then it started normally.
Run: t3.cmd serve --log-level debug, no T3 Code processes left beforehand (none to end). Started 19:28:58 UTC, printed Listening on http://127.0.0.1:3773 at 19:34:15 UTC (5m17s), then I stopped it.
Migration timings (local time, UTC−6):
[13:29:01.191] Running migration 72_WaitingLinkRequestIndex
[13:33:46.534] Running migration 73_ActiveTurnItemIndexes <- 72 took 4m45s
[13:33:53.909] Running migration 74_ExcludeAttachmentPlaceholdersFromSearch <- 73 took 7.4s
[13:33:53.963] Running migration 75_SubagentDeliveryState
[13:34:09.779] Running migration 76_ProjectionProjectsPinArchive <- 75 took 15.8s
[13:34:09.791] Migrations complete
[13:34:10.030] INFO Migrations ran successfully (70..76)
[13:34:15.043] startup phase: starting keybindings runtime
[13:34:15.096] INFO Listening on http://127.0.0.1:3773
70 and 71 took a few ms each. Nothing was printed before Running migration 70, and stderr was empty. The only other output after Listening was a WARN that default keybindings are already defined in my keybindings.json.
While 72 was running I sampled the process for 15s: about 425 MB read in about 109k read ops (≈28 MB/s, 4 KB reads), 5 MB written, 0.5s CPU. So it was bound by random reads, not CPU.
Database:
statev2.sqlite: 12,502,220,800 bytes (12.5 GB), so about 8× your 1.5 GB synthetic DB
statev2.sqlite-wal: 17,884,952 bytes (17.9 MB)
Both were the same size after the migrations as before.
F: is an external USB drive: a 2 TB SSD in an ASMedia ASM1156 USB enclosure, NTFS. It was connected and healthy during this run. The database is on C:, not F:.
I'm guessing the app launches since the update never got past 72 because the desktop backend readiness timeout (I saw Timed out after 60000ms waiting for desktop backend readiness in the desktop trace) or me closing the window interrupted it, so it rolled back each time. Now that the migrations are committed, the next app launch should get past this.
shivamhwp commentedon Nov 4, 2026
I tested the official 0.1.6 ARM64 desktop payload, commit
2359643cffa6ba9ee84d6f2694b935de54a8013e, on Windows 11 Pro ARM64 build 26200. An isolated 231 MB synthetic database with 150,000 turn-item rows upgraded through migrations 72–76 and opened the app. Migration 72 took 1.54 seconds. After a full quit, the same home reopened normally without rerunning those migrations; all rows remained intact. This smaller fixture does not establish what happens with your 12.5 GB database or reproduce the five-minute scan.Does the desktop now open after the CLI run that completed your migrations? If it still fails, please share the current app version and fresh
desktop.trace.ndjsonandserver.trace.ndjsonfrom%USERPROFILE%\.t3\userdata\logsafter one failed launch. Includeserver-child.logif present, and review the files for private paths or credentials before uploading.