GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Desktop loses access to existing sessions after profile reset; opencode.db still contains sessions/messages but Desktop & Web show no history · Issue #34471 · anomalyco/opencode Closed as not planned Closed as not planned Copy link DescriptionDescriptionSummaryI encountered two related issues on macOS using OpenCode Desktop 1.17.11.
Environment
The problem occurs with all models. Problem 1 – PTY failureEvery prompt immediately returned: Interrupted Developer Console showed: PUT http://127.0.0.1/:/pty/... → HTTP 503 (Service Unavailable) Resetting the Desktop profile by renaming: ~/Library/Application Support/ai.opencode.desktop resolved the PTY issue. Problem 2 – Existing sessions disappearAfter the profile reset, Desktop started working again, but all previous sessions disappeared.
However, the database is still intact. Database: ~/.local/share/opencode/opencode.db Contents:
Example SQL: SELECT COUNT(*) FROM session; -- 5 SELECT COUNT(*) FROM message; -- 176 SELECT COUNT(*) FROM part; -- 455 The Example: SELECT substr(data,1,300) FROM message LIMIT 5; returns valid conversation data. Database observationsThe session table contains: SELECT id,title,workspace_id,project_id,directory FROM session; Result:
The workspace table contains zero rows: SELECT * FROM workspace; returns no records. Expected behaviorDesktop/Web should display the existing sessions already stored in Actual behaviorThe database still contains sessions, messages, and parts, but Desktop and Web display no history. Additional observationsThis is not the first time I have experienced disappearing sessions. Over multiple versions I have noticed that:
This makes long-running conversations unreliable. Questions
I would be happy to provide additional logs or test a fix if needed.
PluginsNo Plugins enabled OpenCode versionVersion 1.17.11 (1.17.11) Steps to reproduce
Screenshot and/or share linkNo response Operating SystemmacOS TerminalmacOS Terminal and Opencode Desktop Terminal Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |