Skip to content

Server error 500 when adding new app/site #1446

@kinslayer1982

Description

@kinslayer1982

Heimdall running in Docker behind Nginx reverse proxy. Trying to add a new app (or rather url) suddenly results in server error 500. I found many topics on the web reagrding this, but no solution. Blocking cookies doesn't help and instead results in an server error 419.
I updated the image from 2.5.8 to 2.6.3 with the same result.
Laravel log shows local.ERROR: Undefined array key "extension" {"exception":"[object] (ErrorException(code: 0): Undefined array key \"extension\" at /app/www/app/Http/Controllers/ItemController.php:232)
which didn't help me much.

After some fiddling around I found out the following:
Adding the site and selecting one of the icons it shows, results in the above mentioned error 500. Saving the image and manually uploading it works without a problem.
So Heimdall has a problem saving the displayed icon although it is displayed correctly and can be saved by right clicking and choosing save as...
For now I only faced this error on self hosted apps/sites, but not all of them, only some. This might be related to my reverse proxy or Docker, but I don't see why it should, as the icons are displayed correctly and can be saved like I said befor.

While a workaround is fine for now, it would be nice to fix this behaviour. Maybe someone can help with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions