Skip to content

[Bug] [sqlite] Sessions not appearing #13560

Closed

Description

@Yuruzuu

Description

I downloaded the newest update with SQL migration and it seems like only around 15% of my sessions (only the oldest chats) are loaded and migrated (even after waiting for a while, on the newest release and experimental build earlier, there isn't anything hinting to further data being migrated)

same thing happens with TUI, I can only see a number of sessions, with the latest being from Feb 3.

I'm using OpenCode on a folder in Users/Downloads. Not connected with GItHub in any way.

Plugins

None

OpenCode version

1.2.0

Steps to reproduce

  1. Download the latest OpenCode version
  2. Launch it, you should see fewer sessions appearing.

Screenshot and/or share link

Version 1.2.0 TUI sessions:
Image

Version 1.2.0 Desktop sessions:
Image

Version 1.1.65 (pre-SQLite migration) showing significantly more sessions:
Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. thdxr commented on Feb 14, 2026

    @thdxr
    Member

    if you go to %APPDATA%/opencode and delete opencode.db and let it resync does more show up?

  2. thdxr commented on Feb 14, 2026

    @thdxr
    Member

    it's also possible because we switched to not showing sessions from child directories. if you open tui in child directory do more sessions show up?

  3. thdxr commented on Feb 14, 2026

    @thdxr
    Member

    im going to roll that feature back for now

  4. Yuruzuu commented on Feb 14, 2026

    @Yuruzuu
    Author

    if you go to %APPDATA%/opencode and delete opencode.db and let it resync does more show up?

    hey sorry for the late reply but this fixed it, I deleted opencode.db, started OpenCode desktop, and it now shows all my latest sessions. Same for the TUI. thanks!

  5. github-actions commented on Apr 16, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions