בעיית העלאת לוגו

סיכום מבוסס בינה מלאכותית

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

עדכון מהיר. מסיבה כלשהי עכשיו, הלוגו נראה רק למנהלים. למרות שהגירסה הלבנה הועלתה ומיועדת ל-Logo dark, המערכת מציגה את הלוגו הראשי המיועד לנושא בהיר. עדיין מחפש רעיונות.

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

תודה @nolo, זה היה זה.

הבעיה האחרונה היא שהלוגו הלבן לא מופיע במצב כהה.

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

תודה @nolo, זה עשה את העבודה. לחיים. TS