Restart not applying update #407

Closed
opened 2026-02-16 17:26:38 -05:00 by yindo · 4 comments
Owner

Originally created by @Sir-Goose on GitHub (Jun 30, 2025).

Originally assigned to: @thdxr on GitHub.

I get the toast that opencode has updated and i can restart it to update but it doesn't actually update. it does update after running bun update though.

https://github.com/user-attachments/assets/0faf187a-38fe-4765-a46c-a8c9e1617732

Originally created by @Sir-Goose on GitHub (Jun 30, 2025). Originally assigned to: @thdxr on GitHub. I get the toast that opencode has updated and i can restart it to update but it doesn't actually update. it does update after running bun update though. https://github.com/user-attachments/assets/0faf187a-38fe-4765-a46c-a8c9e1617732
yindo closed this issue 2026-02-16 17:26:38 -05:00
Author
Owner

@thdxr commented on GitHub (Jun 30, 2025):

can you open opencode then go check the latest logfile in ~/.local/share/opencode/log/ and find all lines with service=installation

@thdxr commented on GitHub (Jun 30, 2025): can you open opencode then go check the latest logfile in `~/.local/share/opencode/log/` and find all lines with `service=installation`
Author
Owner

@Sir-Goose commented on GitHub (Jul 1, 2025):

INFO 2025-07-01T13:19:40 +803ms service=installation method=npm target=0.1.171 stdout=
added 4 packages, and changed 2 packages in 412ms
stderr= upgraded
INFO 2025-07-01T13:19:40 +0ms service=bus type=installation.updated publishing

@Sir-Goose commented on GitHub (Jul 1, 2025): INFO 2025-07-01T13:19:40 +803ms service=installation method=npm target=0.1.171 stdout= added 4 packages, and changed 2 packages in 412ms stderr= upgraded INFO 2025-07-01T13:19:40 +0ms service=bus type=installation.updated publishing
Author
Owner

@thdxr commented on GitHub (Jul 3, 2025):

it's detecting that it's installed with npm not bun. is it possible you also installed with npm? if you remove should fix

@thdxr commented on GitHub (Jul 3, 2025): it's detecting that it's installed with `npm` not bun. is it possible you also installed with npm? if you remove should fix
Author
Owner

@Sir-Goose commented on GitHub (Jul 3, 2025):

ahaha you are correct. it was installed with both bun and npm and the bun version was the one opening but the npm install was being updated. removed the npm install and it now auto updates correctly.

Image
@Sir-Goose commented on GitHub (Jul 3, 2025): ahaha you are correct. it was installed with both bun and npm and the bun version was the one opening but the npm install was being updated. removed the npm install and it now auto updates correctly. <img width="805" alt="Image" src="https://github.com/user-attachments/assets/61038d9e-5fcc-48d0-bd76-5b02f761e79d" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#407