Skip to content

[Enhancement] custom-logo.png should be among the upload folders #1049

@ikke-t

Description

@ikke-t

[ x ]: I understand that the best way to get this enhancement is to create it myself and propose a Pull Request.

Is your feature request related to a problem? Please describe.**

When LB is run in container or otherwise permissions are strictly set for not being able to write to directories and files of intsallation, there is separate /Web/uploads/images directory for image uploads. Now custom-logo uploads the logo into Web/img, which container static images. This directory can't really be made persistent in container case as the directory contains static files which would be missing if we bind mount it to empty directory at host. Or PV in kube.

Describe the solution you'd like**

Change the site customization upload for custom-logo.png to reside in Web/uploads, which is used for other uploads as well and is made persistent in container.

Describe alternatives you've considered**

I bind mount the Web/img/custom-logo.png in kubernetes and podman from local filesystem directly into container. This of course makes the customization page useless.

Additional context**

favicon is another thing which would need to be persistent. The path should be similarly set relatively to Web/uploads dir. Here is how it's done: https://www.w3schools.com/html/html_favicon.asp

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions