(Re)installing frontend via admin panel is broken #3567

Closed
opened 2026-08-31 19:37:20 +00:00 by phnt · 0 comments
Member

Browser and OS

Brave 1.93.138; Chromium: 151.0.7922.173

Instance URL

N/A

Backend version information

BE develop @ 124f4ece1d

Frontend version information

FE develop @ 7e8f63c714

Browser extensions

No response

Known instance/user customizations

No response

Bug description

When (re)installing FE via the admin panel, an invalid request is made:

HTTP response:

{
    "error": "Missing field: name.",
    "errors": [
        {
            "message": "Missing field: name",
            "title": "Invalid value",
            "source": {
                "pointer": "/name"
            }
        }
    ]
}

BE logs:

path=/api/v1/pleroma/admin/frontends/install [debug] POST /api/v1/pleroma/admin/frontends/install
path=/api/v1/pleroma/admin/frontends/install [debug] Processing with Pleroma.Web.AdminAPI.FrontendController.install/2
  Parameters: %{}
  Pipelines: [:admin_api, :require_admin]
path=/api/v1/pleroma/admin/frontends/install [debug] QUERY OK source="oauth_tokens" db=0.4ms idle=1085.0ms
SELECT o0."id", o0."token", o0."refresh_token", o0."scopes", o0."valid_until", o0."user_id", o0."app_id", o0."inserted_at", o0."updated_at" FROM "oauth_tokens" AS o0 WHERE (o0."token" = $1) ["xKcGIyAkIg7jXksoOFCe6V6cNKsKAI2jzmWKPMBsKbQ"]
path=/api/v1/pleroma/admin/frontends/install user=phnt [error] Strict ApiSpec: request denied to /api/v1/pleroma/admin/frontends/install with params %{}
path=/api/v1/pleroma/admin/frontends/install user=phnt [debug] Sent 400 in 19ms
path=/api/v1/pleroma/admin/frontends/install user=phnt [info] Sent 400 in 115ms
path=/api/v1/pleroma/admin/frontends/install user=phnt [debug] Pleroma.Web.AdminAPI.FrontendController halted in Pleroma.Web.ApiSpec.CastAndValidate.call/2

Reproduction steps

  1. Log in as admin
  2. Go to admin panel and frontend config
  3. Try to reinstall an already existing version of FE, or install pl-fe
  4. The above errors will be seen in logs and network devtools

Bug seriousness

  • How annoying it is: Mildly
  • How often does it happen: Every time
  • How many people does it affect: Users running recent-ish version of FE develop
  • Is there a workaround for it:
    • Update via the Mix task
    • Revert back to FE bundled with BE by removing the config or deleting the FE files and installing FE again.
### Browser and OS Brave 1.93.138; Chromium: 151.0.7922.173 ### Instance URL N/A ### Backend version information BE develop @ 124f4ece1d ### Frontend version information FE develop @ 7e8f63c714 ### Browser extensions _No response_ ### Known instance/user customizations _No response_ ### Bug description When (re)installing FE via the admin panel, an invalid request is made: HTTP response: ``` { "error": "Missing field: name.", "errors": [ { "message": "Missing field: name", "title": "Invalid value", "source": { "pointer": "/name" } } ] } ``` BE logs: ``` path=/api/v1/pleroma/admin/frontends/install [debug] POST /api/v1/pleroma/admin/frontends/install path=/api/v1/pleroma/admin/frontends/install [debug] Processing with Pleroma.Web.AdminAPI.FrontendController.install/2 Parameters: %{} Pipelines: [:admin_api, :require_admin] path=/api/v1/pleroma/admin/frontends/install [debug] QUERY OK source="oauth_tokens" db=0.4ms idle=1085.0ms SELECT o0."id", o0."token", o0."refresh_token", o0."scopes", o0."valid_until", o0."user_id", o0."app_id", o0."inserted_at", o0."updated_at" FROM "oauth_tokens" AS o0 WHERE (o0."token" = $1) ["xKcGIyAkIg7jXksoOFCe6V6cNKsKAI2jzmWKPMBsKbQ"] path=/api/v1/pleroma/admin/frontends/install user=phnt [error] Strict ApiSpec: request denied to /api/v1/pleroma/admin/frontends/install with params %{} path=/api/v1/pleroma/admin/frontends/install user=phnt [debug] Sent 400 in 19ms path=/api/v1/pleroma/admin/frontends/install user=phnt [info] Sent 400 in 115ms path=/api/v1/pleroma/admin/frontends/install user=phnt [debug] Pleroma.Web.AdminAPI.FrontendController halted in Pleroma.Web.ApiSpec.CastAndValidate.call/2 ``` ### Reproduction steps 1. Log in as admin 2. Go to admin panel and frontend config 3. Try to reinstall an already existing version of FE, or install pl-fe 4. The above errors will be seen in logs and network devtools ### Bug seriousness * How annoying it is: Mildly * How often does it happen: Every time * How many people does it affect: Users running recent-ish version of FE develop * Is there a workaround for it: * Update via the Mix task * Revert back to FE bundled with BE by removing the config or deleting the FE files and installing FE again.
hj closed this issue 2026-09-30 15:00:24 +00:00
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
pleroma/pleroma-fe#3567
No description provided.