Skip to content

Opencode2 Upgrade reports failure but completed successfully? #48171

Description

@c17r

Description

The last view beta releases have all gone this way

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\chris> opencode2 upgrade
┌  Upgrade
│
●  Using method: bun
│
●  From 0.0.0-beta-19296 → 0.0.0-beta-19381
│
■  Upgrade failed
│
■  Failed to update with bun
│
└  Failed

PS C:\Users\chris> opencode2 --version
opencode2 v0.0.0-beta-19381
PS C:\Users\chris> opencode2 upgrade
┌  Upgrade
│
●  Using method: bun
│
▲  OpenCode upgrade skipped: 0.0.0-beta-19381 is already installed
│
└  Done

PS C:\Users\chris>

Log file shows

timestamp=2026-09-09T13:37:25.584Z level=INFO run=f0619129 message="cli starting" version=0.0.0-beta-19296 channel=beta local=false args="[\"upgrade\"]" role=cli
timestamp=2026-09-09T13:37:25.588Z level=INFO run=f0619129 message="spawning process" command=npm args="[\"list\",\"-g\",\"--depth=0\",\"@opencode/cli\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:37:25.611Z level=INFO run=f0619129 message="spawning process" command=pnpm args="[\"list\",\"-g\",\"--depth=0\",\"@opencode/cli\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:37:25.621Z level=INFO run=f0619129 message="spawning process" command=bun args="[\"pm\",\"ls\",\"-g\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:37:25.629Z level=INFO run=f0619129 message="spawning process" command=yarn args="[\"global\",\"list\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:37:26.918Z level=INFO run=f0619129 message="spawning process" command=bun args="[\"install\",\"--global\",\"--trust\",\"--cache-dir\",\"C:\\\\Users\\\\chris\\\\.cache\\\\opencode\\\\update-KMsnzC\",\"@opencode/cli@0.0.0-beta-19381\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:37:32.652Z level=INFO run=49fd9f45 message="cli starting" version=0.0.0-beta-19381 channel=beta local=false args="[\"--version\"]" role=cli
timestamp=2026-09-09T13:37:52.677Z level=INFO run=0bcadfd8 message=event event.id=evt_08663a625001I5nbX0RSnOcaNM event.created=1788961072677 event.type=catalog.updated event.location.directory="C:\\Users\\chris" event.location.workspaceID=undefined event.data={}
timestamp=2026-09-09T13:37:52.825Z level=INFO run=0bcadfd8 message=event event.id=evt_08663a6b9001mWIaX41OfOFGM1 event.created=1788961072825 event.type=catalog.updated event.location.directory="d:\\odrive\\personal\\wc\\source\\js-llmboard" event.location.workspaceID=undefined event.data={}
timestamp=2026-09-09T13:40:52.763Z level=INFO run=0bcadfd8 message=event event.id=evt_08666659b001tueiMGYNVS50KC event.created=1788961252763 event.type=catalog.updated event.location.directory="D:\\odrive\\extend\\extend_src" event.location.workspaceID=undefined event.data={}
timestamp=2026-09-09T13:42:17.548Z level=INFO run=0bcadfd8 message="update check" current=0.0.0-beta-19296 latest=0.0.0-beta-19381 role=server
timestamp=2026-09-09T13:42:17.548Z level=INFO run=0bcadfd8 message="OpenCode update available" current=0.0.0-beta-19296 latest=0.0.0-beta-19381 action=notify role=server
timestamp=2026-09-09T13:42:40.514Z level=INFO run=1ab966ad message="cli starting" version=0.0.0-beta-19381 channel=beta local=false args="[\"--version\"]" role=cli
timestamp=2026-09-09T13:42:44.220Z level=INFO run=e37963c0 message="cli starting" version=0.0.0-beta-19381 channel=beta local=false args="[\"upgrade\"]" role=cli
timestamp=2026-09-09T13:42:44.223Z level=INFO run=e37963c0 message="spawning process" command=npm args="[\"list\",\"-g\",\"--depth=0\",\"@opencode/cli\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:42:44.232Z level=INFO run=e37963c0 message="spawning process" command=pnpm args="[\"list\",\"-g\",\"--depth=0\",\"@opencode/cli\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:42:44.241Z level=INFO run=e37963c0 message="spawning process" command=bun args="[\"pm\",\"ls\",\"-g\"]" cwd=undefined role=cli
timestamp=2026-09-09T13:42:44.248Z level=INFO run=e37963c0 message="spawning process" command=yarn args="[\"global\",\"list\"]" cwd=undefined role=cli

Plugins

No response

OpenCode version

opencode2

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11 (10.0.26200 Build 26200)

Terminal

Windows Terminal, Powershell

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions