You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Linux/Fedora RPM] “Install and Restart” closes and relaunches OpenCode Desktop but does not upgrade the app #23538
OpenCode Desktop’s in-app updater does not actually install updates on my Fedora system.
When the app launches and an update is available, I get the bottom-right notification offering “Install and Restart” or “Not Yet.” If I click “Install and Restart,” the app closes and relaunches immediately, but the update is not applied. After relaunch, I see the same update notification again for the same target version.
Current example:
Installed version: 1.14.17
Update offered: 1.14.19
This is not a one-off version-specific issue. I have been seeing the same behavior repeatedly across multiple releases, likely since before 1.14.10. Updating manually by downloading the latest RPM from GitHub Releases and installing it with DNF works, so the issue appears to be specific to the in-app update flow rather than the package itself.
Environment:
OS: Fedora Workstation 43
Desktop: KDE Plasma
Session: Wayland
Package type: RPM
Install method: DNF install of the RPM package
OpenCode CLI is also installed
Additional notes:
No plugins are being used
No privilege escalation prompt appears during the update attempt
No error message or failure notification is shown
The only result is that the app restarts without updating, and the same upgrade notification reappears
Plugins
None
OpenCode version
Installed version: 1.14.17
Steps to reproduce
Launch OpenCode Desktop on Fedora.
Wait for the update notification to appear in the bottom-right corner.
Click “Install and Restart.”
The app closes and relaunches immediately.
After relaunch, the same update notification appears again for the same target version.
These issues describe the same core problem: the in-app "Install and Restart" flow closes and relaunches the app without applying the update. Your issue is specific to Linux/Fedora RPM, which may or may not share the same root cause, but the symptoms are identical. It may be worth checking those threads for any workarounds or related findings.
Same here, on Fedora 44 with Gnome. I get nothing interesting in the terminal - OpenCode just exits and starts again with no relevant output. It is not a duplicate because it's Linux and not Windows, it doesn't work after like 5 tries, and no installation or similar seems to be initalized at all.
Here is me starting OpenCode 1.14.19, pressing the "Install and restart" text, and then quitting after OpenCode has started the second time.
z-nexx@fedora:~/Hämtningar$ OpenCode
Wayland session detected; using native Wayland first with X11 fallback (auto backend). Set OC_FORCE_X11=1 to force X11.
2026-04-22T18:32:04.034451Z INFO opencode_lib: Initializing app
2026-04-22T18:32:04.047990Z INFO opencode_lib: Spawning sidecar on http://127.0.0.1:37861
2026-04-22T18:32:04.048026Z INFO opencode_lib::cli: Spawning sidecar port=37861
2026-04-22T18:32:04.148875Z INFO opencode_lib::cli: Loaded shell environment with -il shell="/bin/bash" env_count=59
2026-04-22T18:32:04.149395Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-04-22T18:32:05.838574Z INFO sidecar: opencode_lib::cli: opencode server listening on http://127.0.0.1:37861
2026-04-22T18:32:05.895956Z INFO opencode_lib::server: Server ready elapsed=1.746550769s
2026-04-22T18:32:05.896190Z INFO opencode_lib: Sidecar health check OK
2026-04-22T18:32:05.896201Z INFO opencode_lib: Loading task finished
2026-04-22T18:32:05.896221Z INFO opencode_lib: Loading done, completing initialisation
2026-04-22T18:32:10.581669Z INFO opencode_lib: Killed server
2026-04-22T18:32:10.585197Z INFO opencode_lib: Received Exit
2026-04-22T18:32:10.585258Z INFO opencode_lib: Server state missing
z-nexx@fedora:~/Hämtningar$ Wayland session detected; using native Wayland first with X11 fallback (auto backend). Set OC_FORCE_X11=1 to force X11.
2026-04-22T18:32:10.781211Z INFO opencode_lib: Initializing app
2026-04-22T18:32:10.795864Z INFO opencode_lib: Spawning sidecar on http://127.0.0.1:35505
2026-04-22T18:32:10.795901Z INFO opencode_lib::cli: Spawning sidecar port=35505
2026-04-22T18:32:10.871432Z INFO opencode_lib::cli: Loaded shell environment with -il shell="/bin/bash" env_count=61
2026-04-22T18:32:10.871999Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-04-22T18:32:12.554902Z INFO sidecar: opencode_lib::cli: opencode server listening on http://127.0.0.1:35505
2026-04-22T18:32:12.616108Z INFO opencode_lib::server: Server ready elapsed=1.744081835s
2026-04-22T18:32:12.616369Z INFO opencode_lib: Sidecar health check OK
2026-04-22T18:32:12.616404Z INFO opencode_lib: Loading task finished
2026-04-22T18:32:12.616434Z INFO opencode_lib: Loading done, completing initialisation
2026-04-22T18:32:17.439197Z INFO opencode_lib: Received Exit
2026-04-22T18:32:17.439247Z INFO opencode_lib: Killed server
lsb_release -a
Distributor ID: Linuxmint
Description: Linux Mint 22.3
Release: 22.3
Codename: zena Uname -a: 6.17.0-23-generic #23~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 16:11:48 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Installed OpenCode Desktop using .deb package. Currently the software reports a version of 1.14.33 (OpenCode Desktop
v1.14.33) in the settings, triggering a notification to update. Clicking 'Install and restart' from notifications, closes, reopens, but does not increment version seen on settings.
Downloading .deb file and running dpkg -i shows its internally updating, but not incrementing properly.
(Reading database ... 915934 files and directories currently installed.)
Preparing to unpack opencode-desktop-linux-amd64.deb ... Unpacking opencode (1.14.39) over (1.14.39) ...
Setting up opencode (1.14.39) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1+mint1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
DNF/RPM reports the package was upgraded successfully:
opencode-1.14.48-1.x86_64
But the installed CLI sidecar still reports an older version:
/usr/bin/opencode-cli --version
# 1.14.33
The desktop launcher/alternative appears to point to the newly installed app correctly:
readlink -f /usr/bin/@opencode-aidesktop
/opt/OpenCode/@opencode-aidesktop
update-alternatives --display @opencode-aidesktop
@opencode-aidesktop - status is auto.
link currently points to /opt/OpenCode/@opencode-aidesktop
/opt/OpenCode/@opencode-aidesktop - priority 100
Current `best' version is /opt/OpenCode/@opencode-aidesktop.
The UI still shows OpenCode Desktop v1.14.33 and keeps showing an update notification for v1.14.48, even after manually installing the v1.14.48 RPM.
So this may not only be the in-app updater failing. The v1.14.48 RPM seems to install as v1.14.48 at the package level, but still includes or uses an older opencode-cli/sidecar version (1.14.33), which may be what the UI is displaying/checking against.
Install transaction also printed this scriptlet warning:
/usr/bin/@opencode-aidesktop has not been configured as an alternative for @opencode-aidesktop
I have the same problem on Zorin OS 18.1 x86_64. OpenCode says its on v1.14.25. The pop-up comes up saying an update is available for v1.14.49. Clicking on Install and restart closes opencode and restarts it but the same pop-up comes up again.
Activity
github-actions commentedon Apr 20, 2026
This issue might be a duplicate of existing issues. Please check:
These issues describe the same core problem: the in-app "Install and Restart" flow closes and relaunches the app without applying the update. Your issue is specific to Linux/Fedora RPM, which may or may not share the same root cause, but the symptoms are identical. It may be worth checking those threads for any workarounds or related findings.
z-nexx commentedon Apr 22, 2026
Same here, on Fedora 44 with Gnome. I get nothing interesting in the terminal - OpenCode just exits and starts again with no relevant output. It is not a duplicate because it's Linux and not Windows, it doesn't work after like 5 tries, and no installation or similar seems to be initalized at all.
Here is me starting OpenCode 1.14.19, pressing the "Install and restart" text, and then quitting after OpenCode has started the second time.
SGL2586 commentedon May 6, 2026
lsb_release -a
Distributor ID: Linuxmint
Description: Linux Mint 22.3
Release: 22.3
Codename: zena
Uname -a: 6.17.0-23-generic #23~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 16:11:48 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Installed OpenCode Desktop using .deb package. Currently the software reports a version of 1.14.33 (OpenCode Desktop
v1.14.33) in the settings, triggering a notification to update. Clicking 'Install and restart' from notifications, closes, reopens, but does not increment version seen on settings.
Downloading .deb file and running dpkg -i shows its internally updating, but not incrementing properly.
(Reading database ... 915934 files and directories currently installed.)
Preparing to unpack opencode-desktop-linux-amd64.deb ...
Unpacking opencode (1.14.39) over (1.14.39) ...
Setting up opencode (1.14.39) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1+mint1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
sbt987 commentedon May 6, 2026
oh good it's not just me then #26045
is there any way to verify that updating once internally updates it to v1.14.39 without downloading the deb and trying to overwrite?
sbt987 commentedon May 8, 2026
yeah I confirmed the same thing as @SGL2586 is happening to me when I try to install via the deb.
Terminal output:
Unpacking opencode (1.14.41) over (1.14.41) ...
So OpenCode Desktop's internal detection of the installed version is faulty. It still shows v1.14.33 in the Settings popup.
Closing #26045 as duplicate.
cpu-16 commentedon May 12, 2026
I can reproduce a related Fedora/RPM update/version mismatch on Fedora with the latest desktop RPM.
Manual install command used:
DNF/RPM reports the package was upgraded successfully:
But the installed CLI sidecar still reports an older version:
/usr/bin/opencode-cli --version # 1.14.33The desktop launcher/alternative appears to point to the newly installed app correctly:
The UI still shows OpenCode Desktop v1.14.33 and keeps showing an update notification for v1.14.48, even after manually installing the v1.14.48 RPM.
So this may not only be the in-app updater failing. The v1.14.48 RPM seems to install as v1.14.48 at the package level, but still includes or uses an older
opencode-cli/sidecar version (1.14.33), which may be what the UI is displaying/checking against.Install transaction also printed this scriptlet warning:
Environment:
opencode-1.14.48-1.x86_64opencode-desktop-linux-x86_64.rpm1.14.33catalyst1987 commentedon May 13, 2026
I have the same problem on Zorin OS 18.1 x86_64. OpenCode says its on v1.14.25. The pop-up comes up saying an update is available for v1.14.49. Clicking on Install and restart closes opencode and restarts it but the same pop-up comes up again.
pawel-wlodarski commentedon May 26, 2026
I resolved problem with chat, short solution below:
OpenCode Desktop not updating on Linux (Ubuntu) – quick fix
Problem
1.15.x)1.14.x).debdoes nothingCannot connect to local serverRoot cause
Broken
.debupgrade:/usr/bin/opencode-cli(old version)✅ Fix (recommended clean reinstall)
github-actions commentedon Jul 26, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.