opencode command hangs #1583

Closed
opened 2026-02-16 17:31:39 -05:00 by yindo · 6 comments
Owner

Originally created by @David-Kunz on GitHub (Sep 3, 2025).

Originally assigned to: @thdxr on GitHub.

Since today, when running

opencode

the command just hangs (no custom config, fresh install). Could it be related to the fact the the website is not working (500 internal server error)?

opencode -v
0.6.3

System: Mac M1

Originally created by @David-Kunz on GitHub (Sep 3, 2025). Originally assigned to: @thdxr on GitHub. Since today, when running ```bash opencode ``` the command just hangs (no custom config, fresh install). Could it be related to the fact the the website is not working (500 internal server error)? ```bash opencode -v 0.6.3 ``` System: Mac M1
yindo closed this issue 2026-02-16 17:31:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 3, 2025):

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

  • #2391: Error 500 on the Website - reports website showing 500 internal server error, which you also mentioned
  • #2393: Website is down and curl can't install - reports website being down and installation failures
  • #1431: opencode hangs when trying to end it - similar hanging behavior on Mac
  • #2095: Opencode hangs - general hanging issue (closed but has useful troubleshooting steps)
  • #1208: Opencode request hanging no response - hanging with no response
  • #2095: Contains detailed troubleshooting steps including deleting ~/.cache/opencode and reinstalling auth packages

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

@github-actions[bot] commented on GitHub (Sep 3, 2025): This issue might be a duplicate of existing issues. Please check: - #2391: Error 500 on the Website - reports website showing 500 internal server error, which you also mentioned - #2393: Website is down and curl can't install - reports website being down and installation failures - #1431: opencode hangs when trying to end it - similar hanging behavior on Mac - #2095: Opencode hangs - general hanging issue (closed but has useful troubleshooting steps) - #1208: Opencode request hanging no response - hanging with no response - #2095: Contains detailed troubleshooting steps including deleting ~/.cache/opencode and reinstalling auth packages Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 3, 2025):

@David-Kunz it may be running migrations, can you let it run for like a minute or so and see if it boots up tui?

alternatively you can try:

opencode --print-logs

And show me what it outputs while hanging, note if the tui boots with --print-logs it will look all jacked up so I suggest stopping and restarting without flag if it works

@rekram1-node commented on GitHub (Sep 3, 2025): @David-Kunz it may be running migrations, can you let it run for like a minute or so and see if it boots up tui? alternatively you can try: ``` opencode --print-logs ``` And show me what it outputs while hanging, note if the tui boots with --print-logs it will look all jacked up so I suggest stopping and restarting without flag if it works
Author
Owner

@David-Kunz commented on GitHub (Sep 3, 2025):

Hi @rekram1-node ,

Thanks for the quick answer,

Running it with

opencode --print-logs

shows that it's copying a lot of JSON files, I assume that is the migration. I'll wait until it's finished!

@David-Kunz commented on GitHub (Sep 3, 2025): Hi @rekram1-node , Thanks for the quick answer, Running it with ```bash opencode --print-logs ``` shows that it's copying _a lot_ of JSON files, I assume that is the migration. I'll wait until it's finished!
Author
Owner

@David-Kunz commented on GitHub (Sep 3, 2025):

Now it's working, thanks again @rekram1-node ❤️

@David-Kunz commented on GitHub (Sep 3, 2025): Now it's working, thanks again @rekram1-node ❤️
Author
Owner

@David-Kunz commented on GitHub (Sep 3, 2025):

Since this process took > 5 min, I think it would make sense to print some info.

@David-Kunz commented on GitHub (Sep 3, 2025): Since this process took > 5 min, I think it would make sense to print some info.
Author
Owner

@rekram1-node commented on GitHub (Sep 3, 2025):

wowwww over 5 min is crazy, even if it is 30 seconds I think we should be showing something totally agree

@rekram1-node commented on GitHub (Sep 3, 2025): wowwww over 5 min is crazy, even if it is 30 seconds I think we should be showing something totally agree
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1583