after disk out of space , TUI failed to start any new session and to reload old sessions #8218

Closed
opened 2026-02-16 18:09:27 -05:00 by yindo · 2 comments
Owner

Originally created by @sqcj88-black on GitHub (Feb 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

It prompted me that the disk space was running out in a session of one project, and I followed the advice to restart the computer.
After opening OpenCode again, I couldn't see any authorized models, and I couldn't open any new session.
Beside, it prompted "fail to reload sessions" for all my projects as well as the project I opened latest.

Plugins

No response

OpenCode version

v1.1.48

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows10

Terminal

Windows Terminal

Originally created by @sqcj88-black on GitHub (Feb 1, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description It prompted me that the disk space was running out in a session of one project, and I followed the advice to restart the computer. After opening OpenCode again, I couldn't see any authorized models, and I couldn't open any new session. Beside, it prompted "fail to reload sessions" for all my projects as well as the project I opened latest. ### Plugins _No response_ ### OpenCode version v1.1.48 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/cbcea588-1b26-4631-a4b8-1eaa112dad3f" /> ### Operating System Windows10 ### Terminal Windows Terminal
yindo added the windowsbug labels 2026-02-16 18:09:27 -05:00
yindo closed this issue 2026-02-16 18:09:27 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

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

  • #10904: After BSOD there is no sessions available to read but they are still exists on disk
  • #7607: If disk space runs out your active session becomes corrupted
  • #7598: How to recover session after disk out of space
  • #8096: Similar issue on Windows with storage consumption

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 1, 2026): This issue might be a duplicate of existing issues. Please check: - #10904: After BSOD there is no sessions available to read but they are still exists on disk - #7607: If disk space runs out your active session becomes corrupted - #7598: How to recover session after disk out of space - #8096: Similar issue on Windows with storage consumption Feel free to ignore if none of these address your specific case.
Author
Owner

@sqcj88-black commented on GitHub (Feb 2, 2026):

I tried methods mentioned in the linked issues ,but I didn't find any corrupted json file.
Because my work is urgent so I try to use cli, it prompted :

ERROR 2026-02-02T13:53:04 +167ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev
ERROR 2026-02-02T13:53:05 +102ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev
{
  "name": "BunInstallFailedError",
  "data": {
    "pkg": "oh-my-opencode",
    "version": "latest"
  }
}

Previous issues indicated that this might be a proxy setting issue. I closed my V2rayN software (which was installed by someone else before, so I'm not sure how the proxy was set) and then used Clash, which I had explicitly set to use port 7890. After that, both the CLI and TUI worked normally. strange but lucky o(╥﹏╥)o

@sqcj88-black commented on GitHub (Feb 2, 2026): I tried methods mentioned in the linked issues ,but I didn't find any corrupted json file. Because my work is urgent so I try to use cli, it prompted : ERROR 2026-02-02T13:53:04 +167ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev ERROR 2026-02-02T13:53:05 +102ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev {   "name": "BunInstallFailedError",   "data": {     "pkg": "oh-my-opencode",     "version": "latest"   } } Previous issues indicated that this might be a proxy setting issue. I closed my V2rayN software (which was installed by someone else before, so I'm not sure how the proxy was set) and then used Clash, which I had explicitly set to use port 7890. After that, both the CLI and TUI worked normally. strange but lucky o(╥﹏╥)o
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8218