Juanan
(Juanan Pereira)
1
Hi,
I’m trying to configure Juniper’s footer logo. It appears as a broken link even though the header logo works correctly.
Inspecting the HTML code I can see that the header logo is using the correct domain https://mydomain/static/images/logo.b6c374d66d57.png but the footer logo is wrongly pointing to localhost. https://localhost/static/images/logo.b6c374d66d57.png (and thus, the error)
How can I change the domain of that footer logo?
After double checking the lms.env.json file I can see that LMS_BASE is pointing to my domain.
I also ran this command:
paver update_assets lms --settings=production
and restarted the server
sudo /edx/bin/supervisorctl restart edxapp_worker: lms cms
to no avail. Any help will be much appreciated.
morenol
(Luis Moreno)
2
Hi @Juanan,
Could you say which version of the platform you are using?
Since Juniper, the .json config files are not longer used. Instead, it is using the /edx/etc/lms.yml and /edx/etc/studio.yml files.
If you are using juniper that could be the problem, on the other hand here is the place where it is calculated the source of the footer logo: https://github.com/edx/edx-platform/blob/b13f207e1f5ec313998d08a106d7c0d2d4eee6c6/lms/djangoapps/branding/api.py#L445
You should check your configs related to the Django staticfiles_storage
1 Like
Juanan
(Juanan Pereira)
3
Thanks for the heads up. Yes, I was using Juniper and indeed, I was changing the wrong file.
zanstro
(Zanstro)
4
Hello,
I am facing the exact same issue. After a fresh installation of Koa the footer URL to logo has localhost instead of the domain of LMS.
I tried to run this command:
paver update_assets lms --settings=production
but it didn’t help.
Thank you in advance for your help.
jramnai
(JayRam Nai)
5
Hello @zanstro and welcome to the community,
Set the value of SITE_NAME
in /edx/etc/lms.yml
file, restart the LMS service and you will be able to see the logo in the footer.
1 Like
zanstro
(Zanstro)
6
Hello @jramnai,
that was the problem, I have left it as localhost. Thank you so much for the solution!
1 Like