Skip to content

Desktop chat logs cannot be recovered after being archived. After moving the project folder, the location on OpenCode cannot be changed, and the address is not updated when the project is reopened. #29825

Closed as not planned

Description

@Demons12341

Describe the bug

Desktop chat logs become unrecoverable after archiving. After moving the entire project folder to a new location, OpenCode still references the old absolute path and cannot update the session/log location. Reopening the project does not refresh the address automatically.

Steps to reproduce

  1. Create a project at /old/path/project
  2. Use OpenCode desktop, have some chat sessions
  3. Archive or move the project folder to /new/path/project
  4. Reopen the project in OpenCode
  5. Try to access previous chat logs / sessions

Expected behavior

OpenCode should either:

Actual behavior

Sessions are orphaned, logs cannot be recovered. The old absolute path is still used and cannot be changed.

System info

  • OpenCode version: [填入你的版本]
  • OS: [Windows / macOS / Linux]
  • Desktop or Web: Desktop

Additional context

Related issues: #23248, #25625, #27822, #23249

Activity

  1. github-actions commented on May 29, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Since these issues cover the same bug and proposed solutions, this may be addressed there. Please check if one of those issues already tracks what you're experiencing, and consider adding your feedback there instead.

  2. sim590 commented on May 31, 2026

    @sim590

    You seem to have opened the same issue twice? See #29823. You should close this one.

  3. github-actions commented on Jul 30, 2026

    @github-actions
    Contributor

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

  4. Hona commented on Sep 2, 2026

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

Metadata

Metadata

Assignees

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