Skip to content

[BUG]: Logo won't update #2698

@scottybo

Description

@scottybo

How are you running AnythingLLM?

Docker (remote machine)

What happened?

After deploying the latest release which includes light mode, the custom logo upload no longer works. In addition, the logo that was already uploaded was replaced by the AnythingLLM logo.

Are there known steps to reproduce?

  1. Update to the latest version
  2. Go to settings
  3. Upload a new logo (either by choosing to replace, or remove and then upload)

The following error will show in the console on page load after attempting to change the logo

Failed to fetch logo: TypeError: Failed to construct 'URL': Invalid URL
    at Object.fetchLogo (index.js:67:41190)
    at c (index.js:253:5242)
    at index.js:253:5484
    at Cs (index.js:40:24263)
    at mo (index.js:40:42315)
    at index.js:40:40658
    at L (index.js:25:1582)
    at MessagePort.K (index.js:25:1950)

When attempting to upload a new logo, the following error shows in the console

Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at Object.fetchLogo (index.js:67:41190)
    at p (index-2a107869.js:1:6259)

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions