Change Logo
-
Hello there,
I again need your help.
I'm trying to change the leantime's logo.
So i tried to update the new logo in /app/data/logo.png or /app/data/logo/logo.png.I modified the .env file like this and restart
LEAN_DEFAULT_TIMEZONE = 'Europe/Paris' # Set default timezone
LEAN_LOGO_PATH = '/app/data/SL_SYSTEM_VIOLET_260x70.png'timestamp is ok but logo path is not applied.
Could you lead me to the good direction please?
-
Just guessing here, but you quite often have to put
export
at the beginning of lines in.env
files -
@samsls said in Change Logo:
I'm guessing i need to put my logo file somewhere that accessible from outside but where?
Yeah, I just had a play around too and I couldn't get it to work either. I tried putting it in
/app/data/leantime/public/userfiles
using the file manager, but that didn't seem to work. And using a URL for an image file stored on Surfer, but that didn't work either. -
Leantime indicates this page : https://github.com/Leantime/docker-leantime/blob/master/sample.env
-
FYI without export, the LEAN_DEFAULT_TIMEZONE works perfectly.
Maybe girish can confirm but if there is an env.sh, you need to add export
and
when there is env you don't need
?????@samsls said in Change Logo:
Maybe girish can confirm but if there is an env.sh, you need to add export
and
when there is env you don't needyes, correct, this is the naming convention. If it end with
.sh
add export keyword. Otherwise, don't. -
@samsls said in Change Logo:
I'm guessing i need to put my logo file somewhere that accessible from outside but where?
Yeah, I just had a play around too and I couldn't get it to work either. I tried putting it in
/app/data/leantime/public/userfiles
using the file manager, but that didn't seem to work. And using a URL for an image file stored on Surfer, but that didn't work either.@jdaviescoates any news from your side?
From mine, i'm still stuck. -
@jdaviescoates any news from your side?
From mine, i'm still stuck.@samsls I only had a quick play to try and help you, I've not looked any further as I'm not even using Leantime myself yet ( I'll likely take a better look once Cloudron OIDC works with Leantime)
-
@jdaviescoates any news from your side?
From mine, i'm still stuck. -
@samsls what I found is that
LEAN_LOGO_PATH
is not really used anywhere in the code. Leantime has moved to some theming system and you have to change the logo in the themes ini file. I will investigate a bit more tomorrow. It seems the docs and code are not in sync.https://github.com/Leantime/leantime/blob/5dd09fb9c15231ab129befa69bf436dd9be0acb5/app/Core/Environment.php#L48 is the list of env vars it uses.
-
@samsls what I found is that
LEAN_LOGO_PATH
is not really used anywhere in the code. Leantime has moved to some theming system and you have to change the logo in the themes ini file. I will investigate a bit more tomorrow. It seems the docs and code are not in sync.https://github.com/Leantime/leantime/blob/5dd09fb9c15231ab129befa69bf436dd9be0acb5/app/Core/Environment.php#L48 is the list of env vars it uses.
-
@samsls I only had a quick play to try and help you, I've not looked any further as I'm not even using Leantime myself yet ( I'll likely take a better look once Cloudron OIDC works with Leantime)
@jdaviescoates Oh sorry to disturb you in this case. Thanks for your previous help.
-
Hello. I am having the same issue. I can't seem to update the logo in the Company Settings.
Did someone solve this? If yes, please advise! Thank you!
-
There is a UI in company settings to change the logo, however saving this does transfer the logo as well as the REST API returning a 200 status code, but the logo itself is subsequently not changed. Looks like an upstream bug, I am still investigating.
-
N nebulon marked this topic as a question on
-
There is a UI in company settings to change the logo, however saving this does transfer the logo as well as the REST API returning a 200 status code, but the logo itself is subsequently not changed. Looks like an upstream bug, I am still investigating.
@nebulon thank you
-
G girish has marked this topic as solved on