fail installing by mise-en-place with ubi backend #3085

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

Originally created by @pix303 on GitHub (Nov 24, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Trying to install with mise-en-place with ubi backend in a WSL2 Ubuntu 24 instance i recive this error:

❯ mise use -g ubi:github.com/sst/opencode
mise ERROR Failed to install ubi:github.com/sst/opencode@latest:
   0: HTTP status client error (404 Not Found) for url (https://api.github.com/repos/github.com/sst/opencode/releases)

Location:
   src/http.rs:308

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Maybe is missing something in github release configuration?
Thanks in advance

OpenCode version

not able to instal lastest version

Steps to reproduce

mise use -g ubi:github.com/sst/opencode

Operating System

Ubuntu 24.04 (WSL2 instance)

Terminal

bash

Originally created by @pix303 on GitHub (Nov 24, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Trying to install with [mise-en-place](https://mise.jdx.dev) with `ubi` backend in a WSL2 Ubuntu 24 instance i recive this error: ```bash ❯ mise use -g ubi:github.com/sst/opencode mise ERROR Failed to install ubi:github.com/sst/opencode@latest: 0: HTTP status client error (404 Not Found) for url (https://api.github.com/repos/github.com/sst/opencode/releases) Location: src/http.rs:308 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information ``` Maybe is missing something in github release configuration? Thanks in advance ### OpenCode version not able to instal lastest version ### Steps to reproduce mise use -g ubi:github.com/sst/opencode ### Operating System Ubuntu 24.04 (WSL2 instance) ### Terminal bash
yindo added the bug label 2026-02-16 17:38:33 -05:00
yindo closed this issue 2026-02-16 17:38:33 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 24, 2025):

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

  • #1112: Add opencode to mise package manager - Discusses using mise use -g ubi:sst/opencode and the ubi backend pulling releases from GitHub

The error you're experiencing (HTTP 404 Not Found on https://api.github.com/repos/github.com/sst/opencode/releases) appears to be related to how the ubi backend constructs the GitHub API URL. Note that the URL has github.com/sst/opencode instead of just sst/opencode, which is incorrect for the GitHub API endpoint.

Feel free to ignore if this addresses your specific case or if you need additional troubleshooting steps.

@github-actions[bot] commented on GitHub (Nov 24, 2025): This issue might be a duplicate of existing issues. Please check: - #1112: Add opencode to `mise` package manager - Discusses using `mise use -g ubi:sst/opencode` and the ubi backend pulling releases from GitHub The error you're experiencing (HTTP 404 Not Found on `https://api.github.com/repos/github.com/sst/opencode/releases`) appears to be related to how the ubi backend constructs the GitHub API URL. Note that the URL has `github.com/sst/opencode` instead of just `sst/opencode`, which is incorrect for the GitHub API endpoint. Feel free to ignore if this addresses your specific case or if you need additional troubleshooting steps.
Author
Owner

@cj81499 commented on GitHub (Nov 24, 2025):

Try mise use -g ubi:sst/opencode.

fwiw, mise use -g opencode should work too (via the aqua backend for mise), but there's something wrong with that atm.

$ mise use -g --verbose opencode
DEBUG ARGS: /home/<USERNAME>/.local/bin/mise use -g --verbose opencode
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: opencode@latest
INFO  opencode@1.0.107       install
Error: 
   0: Failed to install aqua:sst/opencode@latest: 
         0: no asset found: opencode-linux-x64.zip
            Available assets:
            opencode-darwin-arm64.zip
            opencode-darwin-x64-baseline.zip
            opencode-darwin-x64.zip
            opencode-linux-arm64-musl.tar.gz
            opencode-linux-arm64.tar.gz
            opencode-linux-x64-baseline-musl.tar.gz
            opencode-linux-x64-baseline.tar.gz
            opencode-linux-x64-musl.tar.gz
            opencode-linux-x64.tar.gz
            opencode-windows-x64-baseline.zip
            opencode-windows-x64.zip

      Location:
         src/backend/aqua.rs:351

      Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
      Run with RUST_BACKTRACE=full to include source snippets.

Location:
   src/toolset/mod.rs:272

Version:
   2025.11.7 linux-x64 (2025-11-20)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
@cj81499 commented on GitHub (Nov 24, 2025): Try `mise use -g ubi:sst/opencode`. fwiw, `mise use -g opencode` _should_ work too (via the `aqua` backend for `mise`), but there's something wrong with that atm. ```sh $ mise use -g --verbose opencode DEBUG ARGS: /home/<USERNAME>/.local/bin/mise use -g --verbose opencode DEBUG config: ~/.config/mise/config.toml DEBUG install_some_versions: opencode@latest INFO opencode@1.0.107 install Error: 0: Failed to install aqua:sst/opencode@latest: 0: no asset found: opencode-linux-x64.zip Available assets: opencode-darwin-arm64.zip opencode-darwin-x64-baseline.zip opencode-darwin-x64.zip opencode-linux-arm64-musl.tar.gz opencode-linux-arm64.tar.gz opencode-linux-x64-baseline-musl.tar.gz opencode-linux-x64-baseline.tar.gz opencode-linux-x64-musl.tar.gz opencode-linux-x64.tar.gz opencode-windows-x64-baseline.zip opencode-windows-x64.zip Location: src/backend/aqua.rs:351 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. Location: src/toolset/mod.rs:272 Version: 2025.11.7 linux-x64 (2025-11-20) Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. ```
Author
Owner

@pix303 commented on GitHub (Nov 24, 2025):

Oh thanks... my fault! I accidentally left the github.com/ prefix!
Thanks again.
Yes i confirm that backend aqua return an error

@pix303 commented on GitHub (Nov 24, 2025): Oh thanks... my fault! I accidentally left the github.com/ prefix! Thanks again. Yes i confirm that backend aqua return an error
Author
Owner

@rekram1-node commented on GitHub (Nov 25, 2025):

We publish tarballs not zips for linux now so it broke that, will fix

@rekram1-node commented on GitHub (Nov 25, 2025): We publish tarballs not zips for linux now so it broke that, will fix
Author
Owner

@rekram1-node commented on GitHub (Nov 25, 2025):

I think aqua has the correct stuff, but ubi backend isn't synced (if I understand correctly)

@rekram1-node commented on GitHub (Nov 25, 2025): I think aqua has the correct stuff, but ubi backend isn't synced (if I understand correctly)
Author
Owner

@rekram1-node commented on GitHub (Nov 25, 2025):

once this gets merged itll be fixed: https://github.com/jdx/mise/pull/7025

@rekram1-node commented on GitHub (Nov 25, 2025): once this gets merged itll be fixed: https://github.com/jdx/mise/pull/7025
Author
Owner

@cj81499 commented on GitHub (Nov 26, 2025):

That PR has merged and I can confirm this is working again (for me). Thanks!

@cj81499 commented on GitHub (Nov 26, 2025): That PR has merged and I can confirm this is working again (for me). Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3085