Default Text Logo Not Working

AI-generated summary

The discussion revolves around a bug where the default text logo is not working on Discourse sites, resulting in the display of the default Discourse logo instead. LonghornRach reports that even without a logo set, the site should default to the site title, but the Discourse logo appears instead. vinothkannans explains that a recent change caused the logo_url setting to revert to its default value when empty, and suggests clearing it via the Rails console. pfaffman provides instructions for accessing the console in a standard install. John_Bartlet seeks clarification on the process, and LonghornRach thanks the contributors. jimmyfc23 notes this issue recurs with each release, prompting a request for a permanent fix. sam confirms that the issue is being addressed, with tgxworld having a PR ready and the fix expected in the next release. sam also suggests a temporary workaround using Paint.NET to create a text logo.

We do not have a logo for our site and I believe this means that it should default to our site title for a logo? However, I just see the Discourse logo. I don’t have any images uploaded in any of the logo settings, and am on the latest version of the software (414aa1f) at the time of this post.

6 Likes

After the recent changes in logo settings somehow the logo_url site setting (which is depreciated and hidden now) is changed to its default value /images/d-logo-sketch.png when it is empty. You should remove the value in the console like below.

rails c
SiteSetting.logo_url = ""
8 Likes

Hi there, I’m a bit of a newbie and I’m having the same isssue, where do I find the console?
Any help would be much appreciated

1 Like

If you did a standard install, you’d do this:

cd /var/discourse
./launcher enter app
rails c
SiteSetting.logo_url = ""
exit
6 Likes

Ah, thanks so much, I see.

Perfect, thanks @vinothkannans and @pfaffman

3 Likes

I’ve had to do this each time a new release is created, can we make this change permanent?

3 Likes

This is assigned to @tgxworld he is having a think about a more permanent solution here, we want to allow people to have text logos work.

4 Likes

Thanks. i am waiting

No point in waiting imo… Just download paint.net for now and draw a text logo for now. It is free: https://www.getpaint.net/

We will get to this, but you have a very trivial workaround.

4 Likes

PR for this is up in

https://github.com/discourse/discourse/pull/6843

I had to add proper default support to upload site settings in order to recover the feature in a sane manner.

10 Likes

This is fixed for the upcoming release in

https://github.com/discourse/discourse/commit/2956c52e57de71c3e885c058d6dbcc3289705534

I’m still discussing with @sam about the PR above.

8 Likes