Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Leantime
  3. Change Logo

Change Logo

Scheduled Pinned Locked Moved Solved Leantime
19 Posts 6 Posters 2.7k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    samsls
    wrote on last edited by samsls
    #1

    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?

    1 Reply Last reply
    1
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #2

      Just guessing here, but you quite often have to put export at the beginning of lines in .env files

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • S Offline
        S Offline
        samsls
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          samsls
          wrote on last edited by
          #4

          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
          ?????

          girishG 1 Reply Last reply
          1
          • S Offline
            S Offline
            samsls
            wrote on last edited by
            #5

            I'm guessing i need to put my logo file somewhere that accessible from outside but where?

            jdaviescoatesJ 1 Reply Last reply
            1
            • S samsls

              I'm guessing i need to put my logo file somewhere that accessible from outside but where?

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #6

              @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.

              I use Cloudron with Gandi & Hetzner

              S 1 Reply Last reply
              0
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #7

                what about docs and logs?

                Conscious tech

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  samsls
                  wrote on last edited by
                  #8

                  Leantime indicates this page : https://github.com/Leantime/docker-leantime/blob/master/sample.env

                  1 Reply Last reply
                  0
                  • S samsls

                    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
                    ?????

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @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 need

                    yes, correct, this is the naming convention. If it end with .sh add export keyword. Otherwise, don't.

                    1 Reply Last reply
                    3
                    • jdaviescoatesJ jdaviescoates

                      @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.

                      S Offline
                      S Offline
                      samsls
                      wrote on last edited by
                      #10

                      @jdaviescoates any news from your side?
                      From mine, i'm still stuck.

                      jdaviescoatesJ robiR 2 Replies Last reply
                      0
                      • S samsls

                        @jdaviescoates any news from your side?
                        From mine, i'm still stuck.

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #11

                        @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)

                        I use Cloudron with Gandi & Hetzner

                        S 1 Reply Last reply
                        0
                        • S samsls

                          @jdaviescoates any news from your side?
                          From mine, i'm still stuck.

                          robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #12

                          @samsls what do the logs say when it's supposed to load and display the logo?

                          Conscious tech

                          1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by girish
                            #13

                            @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.

                            S 1 Reply Last reply
                            3
                            • girishG girish

                              @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.

                              S Offline
                              S Offline
                              samsls
                              wrote on last edited by
                              #14

                              @girish Thank you for your help !

                              1 Reply Last reply
                              1
                              • jdaviescoatesJ jdaviescoates

                                @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)

                                S Offline
                                S Offline
                                samsls
                                wrote on last edited by samsls
                                #15

                                @jdaviescoates Oh sorry to disturb you in this case. Thanks for your previous help.

                                1 Reply Last reply
                                1
                                • M Offline
                                  M Offline
                                  mflorido1987
                                  wrote on last edited by
                                  #16

                                  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!

                                  1 Reply Last reply
                                  0
                                  • nebulonN Offline
                                    nebulonN Offline
                                    nebulon
                                    Staff
                                    wrote on last edited by
                                    #17

                                    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.

                                    M 1 Reply Last reply
                                    1
                                    • nebulonN nebulon marked this topic as a question on
                                    • nebulonN nebulon

                                      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.

                                      M Offline
                                      M Offline
                                      mflorido1987
                                      wrote on last edited by
                                      #18

                                      @nebulon thank you

                                      1 Reply Last reply
                                      0
                                      • nebulonN Offline
                                        nebulonN Offline
                                        nebulon
                                        Staff
                                        wrote on last edited by
                                        #19

                                        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

                                        1 Reply Last reply
                                        3
                                        • girishG girish has marked this topic as solved on
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Bookmarks
                                        • Search