Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / Bugs

Stuck at wekan-ldap: updating npm dependencies -- ldapjs...

Stuck at wekan-ldap: updating npm dependencies -- ldapjs...

Wekan/Bugs · July 19, 2020 at 10:17am

Stuck at wekan-ldap: updating npm dependencies -- ldapjs...

Wekan / Bugs · July 19, 2020 at 10:17am (Edited 4 years ago)

I am trying to run wekan from source

I followed the instructions on the wiki and have uncommented the build section from the docker-compose file and did docker-compose up -d --build

I am running it on windows 10 machine

anyone facing / faces similar issue ?


July 20, 2020 at 4:42am

On Linux KVM VM running on NVME disk building Docker container does take about about 11 minutes. When it looks it's "stuck" it is still doing a lot. That build process creates directory wekan/.build/bundle of about 50k files. Windows filesystem is slower that Linux filesystem.

    • reply
    • like

    If you have not made source code changes, you can also use prebuilt bundle with just Windows version Node+MongoDB, without Docker. At Wekan website https://wekan.github.io is Download button Windows, that goes to wiki page that at top a) has info, direct link: https://github.com/wekan/wekan/wiki/Windows

      • reply
      • like

      If you wait long enough, it's possible that your Docker build on Windows 10 does finish.

        • reply
        • like

        :angry: windows 10 slow filesystem I have a ubuntu 18.04 on dual boot ( not working right now something wrong with grub ) will check into this and also try the windows docker

          • reply
          • like

          also as replied in another thread my goal is to change source code and do some dev so will need this working

            • reply
            • like

            sorry for duplicate question here

              • reply
              • like

              July 20, 2020 at 6:44am

              No problem

                • reply
                • like

                When making changes to source code you can not use prebuilt bundle

                  • reply
                  • like

                  You need to build from source

                    • reply
                    • like

                    There is existing Wekan-Gogs integration https://github.com/wekan/wekan-gogs

                      • reply
                      • like

                      You can look at it for inspiration to integration to Gitea

                        • reply
                        • like

                        You can also send pull requests to that integration and Wekan https://github.com/wekan/wekan

                          • reply
                          • like

                          For UI changes, you can send pull request for new theme https://github.com/wekan/wekan/wiki/Custom-CSS-themes

                            • reply
                            • like

                            Or add some new config options to Board Settings

                              • reply
                              • like

                              I do recommend sending all your changes to this upstream Wekan https://blog.wekan.team/2018/02/benefits-of-contributing-your-features-to-upstream-wekan/

                                • reply
                                • like

                                Because it's a huge amount of work to maintain separate fork of Wekan

                                  • reply
                                  • like

                                  I'm releasing new version of Wekan about once a day

                                    • reply
                                    • like

                                    So in case of fork, you would need to merge changes and fix merge conflicts very often

                                      • reply
                                      • like

                                      If you don't have any important files on your Ubuntu 18.04 then you could install Ubuntu 20.04 on top of it

                                        • reply
                                        • like

                                        Or alternatively, from Ubuntu 20.04 live USB copy files to your Windows partition

                                          • reply
                                          • like

                                          For some new laptops, booting to Linux requires disabling Secure Boot and enabling Legacy Boot

                                            • reply
                                            • like

                                            at BIOS/UEFI settings

                                              • reply
                                              • like

                                              The time to build could change in future, if there are fixes to build time bottlenecks. For example, previously building Wekan did take about one hour - after changing one dependency to older version, time dropped to 11 minutes.

                                                • reply
                                                • like

                                                Some future fix could also change time from 11 minutes to much less, or some more. It remains to be seen, there are updates to dependencies very often.

                                                  • reply
                                                  • like