Logo upload problem

AI-generated summary

The discussion is about a Logo upload problem. TeoStel is having trouble uploading a logo to their Discourse site, running release v3.5.0.beta4 +296. The logo is not shown correctly, but other pictures are uploaded and displayed correctly. nolo suggests that the issue might be due to the logo being served over http, and recommends forcing https by adding DISCOURSE_FORCE_HTTPS: true to the env section. This resolves the initial issue, but TeoStel still has a problem with the white logo not showing up in dark mode. nolo advises checking if dark mode is defined in the site settings and enabling the scheme switcher for easier debugging. Following this advice, TeoStel is able to resolve the issue.

Hello there,
I just started my Discourse journey and the problem I have is with uploading logo. It is not shown correctly on the site. I am running release v3.5.0.beta4 +296 (latest), and main site logo is not working. Other pictures (as I checked few), were uploaded and are being show correctly. I’ve checked the permissions, and it looks fine, what I noticed the content of the optimized/1x directory the logo files are missing, but these logo files exists in original/1x. Do you have an idea how to fix this?

best
TS

Quick update. For some reason now, logo is visible for admin only. Although white version is uploaded and assigned to Logo dark, system displays main one assigned to light theme. Still looking for ideas.

Your logo is served over http:

image

Some browsers will just show a warning in the console. Others will block the request and you’ll get the broken link icon. I guess you need to explicitly force https, see for example

thank you @manuel , that was it.

The last issue is the white logo is not showing up in dark mode.

Do you have dark mode defined on this site setting?

image

You should probably also enable the scheme switcher, so you can debug this easier:

image

thanks @manuel , that did the trick. cheers. TS