GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug] Opencode crashes on second run in Termux/Proot distro · Issue #3143 · anomalyco/opencode

[Bug] Opencode crashes on second run in Termux/Proot distro #3143

New issue
Copy link
New issue
Copy link
Closed
Closed
[Bug] Opencode crashes on second run in Termux/Proot distro#3143
Copy link
Assignees
rekram1-node

Description

@Ritusmin325k
Ritusmin325k
opened on Oct 13, 2025
Issue body actions

Describe the bug
Opencode runs fine the first time, but when I try to open it a second time in Termux (any Proot distro), it fails with the following message:

Error: Unexpected error, check log file at /root/.local/share/opencode/log/.log for more details

To Reproduce
Steps to reproduce the behavior:

  1. Install Opencode in Termux with any Proot distro.
  2. Run opencode for the first time — it works normally.
  3. Close Opencode.
  4. Run opencode again.
  5. Observe the unexpected error.

Expected behavior
Opencode should open and run correctly on subsequent launches as well.

Screenshots/Logs
The error log is located at: /root/.local/share/opencode/log/<timestamp>.log
(Attach log content if possible.)

Environment:

  • OS: Termux (any Proot distro)
  • Opencode version: latest version
  • Node/npm version: latest version

Additional context
This issue only occurs on the second and subsequent runs, not on the first launch. It might be related to session, cache, or file handling between runs.

Image
Reacted by PickleHik3

Activity

  1. github-actions commented on Oct 13, 2025

    @github-actions
    github-actionsBot
    on Oct 13, 2025 – with GitHub Actions
    Contributor
    More actions

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

    • Error: Unexpected error, check log file at #387: Very similar "Error: Unexpected error, check log file at" message with detailed logs showing crash patterns
    • Termux support 🙏 #961: General Termux support request indicating ongoing compatibility issues
    • YOLO script not helpful in Termux  #709: Specific Termux installation and execution problems with error messages about missing files

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

  2. rekram1-node commented on Oct 13, 2025

    @rekram1-node
    rekram1-node
    on Oct 13, 2025
    Member
    More actions

    Can you show what the error log says? Maybe drop the file if possible?

  3. rekram1-node
    self-assigned this
    on Oct 13, 2025
  4. Ritusmin325k commented on Oct 14, 2025

    @Ritusmin325k
    Ritusmin325k
    on Oct 14, 2025
    Author
    More actions

    Can you show what the error log says? Maybe drop the file if possible?

    Here's the log file
    2025-10-14T081251.log

  5. 621625 commented on Dec 11, 2025

    @621625
    621625
    on Dec 11, 2025
    More actions

    I also cannot get opencode to run in Termux, neither in vanilla Termux nor proot (arch).

  6. michaelphagen commented on Jan 7, 2026

    @michaelphagen
    michaelphagen
    on Jan 7, 2026
    More actions

    For reference, it seems to run again if you delete ~/.cache/opencode/version. I'm just deleting that before each run

    Reacted by HuBo
    Reacted by danielpcampagna, alexelalex and Riza Nafis
  7. pabloXDXDXD commented on Jan 9, 2026

    @pabloXDXDXD
    pabloXDXDXD
    on Jan 9, 2026
    More actions

    @michaelphagen I tried and it still doesn't work.

  8. danielpcampagna commented on Feb 4, 2026

    @danielpcampagna
    danielpcampagna
    on Feb 4, 2026
    More actions

    Also, my first time has taken too long time to start up

  9. github-actions commented on Apr 6, 2026

    @github-actions
    github-actionsBot
    on Apr 6, 2026 – with GitHub Actions
    Contributor
    More actions

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

  10. github-actions
    closed this as completedon Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

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

    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.