Change Logo
-
wrote on Nov 7, 2023, 9:13 AM last edited by
Just guessing here, but you quite often have to put
export
at the beginning of lines in.env
files -
wrote on Nov 7, 2023, 9:36 AM last edited by
You're completely right. So i add it and restart, but even with export, it doesn't work.
In case i tried to change browser for cache but no luck too. -
wrote on Nov 7, 2023, 9:43 AM last edited by
I'm guessing i need to put my logo file somewhere that accessible from outside but where?
-
wrote on Nov 7, 2023, 10:00 AM last edited by
@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. -
wrote on Nov 7, 2023, 10:08 AM last edited by
what about docs and logs?
-
wrote on Nov 7, 2023, 10:37 AM last edited by
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.wrote on Nov 8, 2023, 3:21 PM last edited by@jdaviescoates any news from your side?
From mine, i'm still stuck. -
@jdaviescoates any news from your side?
From mine, i'm still stuck.wrote on Nov 8, 2023, 3:49 PM last edited by@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)
wrote on Nov 13, 2023, 8:25 AM last edited by samsls Nov 13, 2023, 8:26 AM@jdaviescoates Oh sorry to disturb you in this case. Thanks for your previous help.
-
wrote on Dec 5, 2023, 4:13 AM last edited by
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 Dec 6, 2023, 3:56 PM
-
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.
wrote on Dec 7, 2023, 12:26 AM last edited by@nebulon thank you
-
This should be fixed with latest package. There was a one-character typo which caused those side-effects https://git.cloudron.io/cloudron/leantime-app/-/commit/afd06057dcf74911d5c9aaf1ff242b3d0e6a4cc6
-