Skip to content

Session location unavailable everytime i open an older session #55331

Closed as not planned

Description

@redoxahmii

Description

Image

It loses the sessions.

proceeding with choose directory, it opens select worktree where it shows no worktree and creating a new one it just gets stuck saying creating workspace failed, working source not found.

Plugins

@dietrichgebert/ponytail

OpenCode version

2.0.27

Steps to reproduce

  1. Create a session
  2. close the background server
  3. return back and run it again to open

Screenshot and/or share link

Image Image Image

Operating System

Arch Linux

Terminal

Kitty

Activity

  1. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    Contributor

    Thanks for the report and the screenshots. I tried to reproduce this on 2.0.27 and couldn't so far.

    What I tried, on Linux:

    1. Created a session in a git project and got a reply.
    2. Closed the TUI and stopped the background server.
    3. Started opencode again, opened /sessions and picked the older session.

    The session reopened normally with its history, and the "Session location unavailable" screen didn't appear. I also tried with @dietrichgebert/ponytail loaded from a local copy, with the same result. I couldn't confirm that the plugin was actually active in my sandbox, though, so it's still a possible cause.

    These would help narrow it down:

    • Does it still happen if you temporarily remove @dietrichgebert/ponytail from your config?
    • Is the project directory a git repository? The "Worktree source not found" error you saw when creating a worktree is what happens in a folder without git (see TUI offers worktree creation for a project with no VCS, then fails with HTTP 400 #55215).
    • Does the directory shown on the "Session location unavailable" screen still exist at exactly that path? For example, was it moved or renamed, or is it a symlink?
    • How do you stop and start the background server, and do you use opencode attach / a remote server?
    • The server log from around the time you reopen the session (under ~/.local/share/opencode/log/), especially any WARN/ERROR lines. Any request that fails while the session's directory is loading shows this screen, so the log should show which one failed.

    Related issues, in case one matches your setup:

  2. opencode-agent commented on Oct 17, 2026

    @opencode-agent
    Contributor

    I'm closing this for now because there hasn't been a reply. On 2.0.27, I couldn't get older sessions to show "Session location unavailable" after restarting the background server, and the details I asked for are still needed to find the cause.

    If it still happens, comment here and we'll reopen it. These would help:

    • whether it still happens with @dietrichgebert/ponytail removed from your config
    • whether the project directory is a git repository and still exists at the path the screen shows
    • the server log lines from when you reopen the session (~/.local/share/opencode/log/)

    The related issues #54943, #55035 and #55215 may also be worth following.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions