mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #421] [Issue]: Sidecar runtime install returns 403 with valid admin secret #178
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/421
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Installing the local sidecar runtime returns
Download request failed (403): Sidecar runtime install is disabled, even afterADMIN_SECRETis correctly set in.envand the matching value is entered in Settings → Advanced → Admin Access. Discord post: https://discord.com/channels/1417099416812392641/1501008711064359114Expected behavior
With
ADMIN_SECRETset in.envand the matching secret entered in Settings → Advanced → Admin Access, clicking "Install local runtime" should authorize the request and download the official sidecar runtime for the device.Actual behavior
The runtime download is blocked with a 403 response:
Sidecar runtime install is disabled. The local model file (gemma-4-E2B-it-Q8_0.gguf) is detected and shows a green checkmark, but with no runtime installed the local model is non-functional. Setup stalls at "Downloading local runtime (Install local runtime)… 0%".Steps to reproduce
ADMIN_SECRET=<value>in.envand restart Marinara Engine.gemma-4-E2B-it-Q8_0.ggufis detected (green check).Download request failed (403): Sidecar runtime install is disabled.Environment
b40bb19)Logs, screenshots, or video
Screenshot attached: Local AI Model panel showing detected GGUF, runtime status "Setting up now • Auto detect • Auto offload • 8.2k ctx • 4.1k max", and the 403 error banner:
Download request failed (403): Sidecar runtime install is disabled.Additional context
The 403 message reads as if the sidecar install endpoint is disabled at the server/feature-flag level rather than failing auth — the wording is "install is disabled" rather than "unauthorized" or "invalid secret." Possible causes worth checking: a feature flag gating sidecar installs that ignores
ADMIN_SECRET, the admin secret not being read on this code path, or the install endpoint being shipped disabled in this build.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@NeedRam commented on GitHub (May 5, 2026):
I'm having the exact same issue on a fresh install
Download request failed (403): Sidecar runtime install is disabled
Edit:
I changed SIDECAR_RUNTIME_INSTALL_ENABLED=true in the .env and it worked
@SpicyMarinara commented on GitHub (May 5, 2026):
Fixed.