[GH-ISSUE #421] [Issue]: Sidecar runtime install returns 403 with valid admin secret #178

Closed
opened 2026-10-20 17:25:57 +07:00 by bsakaguchi · 2 comments
Owner

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 after ADMIN_SECRET is correctly set in .env and the matching value is entered in Settings → Advanced → Admin Access. Discord post: https://discord.com/channels/1417099416812392641/1501008711064359114

Expected behavior

With ADMIN_SECRET set in .env and 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

  1. Set ADMIN_SECRET=<value> in .env and restart Marinara Engine.
  2. In the UI, go to Settings → Advanced → Admin Access and enter the same secret.
  3. Open the Local AI Model panel — confirm gemma-4-E2B-it-Q8_0.gguf is detected (green check).
  4. Click to install the local sidecar runtime.
  5. Observe Download request failed (403): Sidecar runtime install is disabled.

Environment

  • Marinara Engine version: v1.5.7 (build 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.

Image

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:

  • I DID NOT read this template and provide the requested details.
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 after `ADMIN_SECRET` is correctly set in `.env` and the matching value is entered in Settings → Advanced → Admin Access. Discord post: https://discord.com/channels/1417099416812392641/1501008711064359114 ## Expected behavior With `ADMIN_SECRET` set in `.env` and 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 1. Set `ADMIN_SECRET=<value>` in `.env` and restart Marinara Engine. 2. In the UI, go to Settings → Advanced → Admin Access and enter the same secret. 3. Open the Local AI Model panel — confirm `gemma-4-E2B-it-Q8_0.gguf` is detected (green check). 4. Click to install the local sidecar runtime. 5. Observe `Download request failed (403): Sidecar runtime install is disabled`. ## Environment - Marinara Engine version: v1.5.7 (build 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`. <img width="1578" height="1545" alt="Image" src="https://github.com/user-attachments/assets/84bb52a0-817f-4ee0-b63c-a2ce31b9807c" /> ## 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: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:25:57 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

<!-- gh-comment-id:4376814755 --> @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
Author
Owner

@SpicyMarinara commented on GitHub (May 5, 2026):

Fixed.

<!-- gh-comment-id:4378015309 --> @SpicyMarinara commented on GitHub (May 5, 2026): Fixed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#178
No description provided.