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. Leantime upgrade to 3.4 is broken

Leantime upgrade to 3.4 is broken

Scheduled Pinned Locked Moved Leantime
12 Posts 3 Posters 740 Views 3 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.
  • M Offline
    M Offline
    max
    wrote on last edited by max
    #3

    Leantime have posted:
    🚨 Docker configuration updates
    Due to the user/group updates on the docker image there is a small chance you run into file permission issues on existing volumes check https://github.com/Leantime/docker-leantime?tab=readme-ov-file#common-issues--solutions for setting the permissions correctly.

    Additionally we updated the internal port to be 8080. Please make sure your docker compose files reflect the recent changes

    Highlights
    For a full list of 3.4 updates see: https://github.com/Leantime/leantime/releases/tag/v3.4.0
    ==> Fixed date issue in milestone, timesheet, sprint generation <==
    Fixed cron handler for long running schedule:work job to be able to run cron jobs in docker
    Misc other fixes

    1 Reply Last reply
    0
    • M Offline
      M Offline
      max
      wrote on last edited by
      #4

      @marcelfolaron can you add your wisdom please 🙂
      Could our issues be permissions or ports?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        max
        wrote on last edited by
        #5

        @nebulon Would you mind checking this?
        I see you are working on PHP 8.2 for Leantime

        1 Reply Last reply
        0
        • leantimeL Offline
          leantimeL Offline
          leantime
          wrote on last edited by
          #6

          Hey,
          Yeah Leantime 3.4.x requires PHP 8.2

          Some more info:
          With 3.4 we updated and hardened our dockerfile and docker compose config. Not sure if you all run the docker containers as root or not but if not you can pass in pgid and uid now.

          Inside the container Leantime is listening on port 8080 so if the docker compose file still maps to 80 internally that would need to change (external doesn’t matter). The user inside of the docker image is www-data:www-data

          With that said old volumes may have the wrong permissions depending on the set up. We added a docker startup script to handle that for most cases but if permissions are off that may not work.

          Lastly we tested the setup with various reverse proxy’s and it works in most environnents just make sure that:
          A. LEAN_APP_URL is set correctly
          B. The host server var is forwarded (ideally just forward any standard host variables)

          More on that here https://github.com/Leantime/docker-leantime
          And here
          https://github.com/Leantime/leantime/releases/tag/v3.4.0

          Leantime.io | Open Source Project Management

          1 Reply Last reply
          2
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by nebulon
            #7

            It's updated to php 8.3 now - https://git.cloudron.io/packages/leantime-app/-/merge_requests/10

            1 Reply Last reply
            1
            • J joseph moved this topic from Support on
            • M Offline
              M Offline
              max
              wrote on last edited by
              #8

              Thank you @girish and @marcelfolaron, I updated my test system with the fix and it worked fine, so I have updated production ones too.
              That was resolved remarkably quickly and saved me a lot of strife, amazing, thanks again 🙂

              1 Reply Last reply
              1
              • leantimeL Offline
                leantimeL Offline
                leantime
                wrote on last edited by
                #9

                Awesome, that was quick!

                Leantime.io | Open Source Project Management

                1 Reply Last reply
                0
                • leantimeL Offline
                  leantimeL Offline
                  leantime
                  wrote on last edited by leantime
                  #10

                  Oh while I see your package @girish
                  We fixed the cron issue and you can use the following command now (rather than calling that http endpoint:

                  php /var/www/html/bin/leantime schedule:work

                  This is the long running php process so if you have supervisor running that would be better.
                  Alternatively you can run the following command in a crontab which will execute and exit:

                  php /var/www/html/bin/leantime schedule:run

                  Leantime.io | Open Source Project Management

                  1 Reply Last reply
                  2
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #11

                    @leantime thanks! i will fix the package . I found this bug in the meantime - https://github.com/Leantime/leantime/issues/2980 .

                    1 Reply Last reply
                    1
                    • leantimeL Offline
                      leantimeL Offline
                      leantime
                      wrote on last edited by
                      #12

                      Thanks, on it!

                      Leantime.io | Open Source Project Management

                      1 Reply Last reply
                      1
                      • girishG girish referenced this topic 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