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 / General

Developing Wekan for Sandstorm

Developing Wekan for Sandstorm

Wekan / General · June 26, 2019 at 4:39am (Edited 5 years ago)

Hello, I'm new to here and trying to add a new feature to Wekan for Sandstorm.

Is this document still up to date? https://github.com/wekan/wekan-maintainer/wiki/Building-Wekan-for-Sandstorm

I think there is a way to build from source code rather than an image to keep everything updated, or the image is always updated?

I am at the very start point of a Wekan developer, hope I can eventually reach the goal. Thank you!

Load previous messages

August 21, 2019 at 4:08am

If server is swapping, it does not have enough RAM

    • reply
    • like

    that makes everything super slow

      • reply
      • like

      You should run Wekan on server that has enough RAM

        • reply
        • like

        rebooting server can help temporarily, but when loading big board, most likely it starts swapping again, if you don't change to server that has more RAM

          • reply
          • like

          August 21, 2019 at 5:18am

          But the old version works well

            • reply
            • like

            That from June or July

              • reply
              • like

              So I think my code or some new code has some wrong memory usage

                • reply
                • like

                That old version uses Meteor 1.6.x and new version uses Meteor 1.8.1 so there are very many updates and security fixes to all dependencies. Currently all Wekan platforms use Meteor 1.8.1, I don't think it would make any sense to go some older version.

                  • reply
                  • like

                  Instead, I plan to continue updating dependencies to newer versions where possible.

                    • reply
                    • like

                    To get security fixes etc.

                      • reply
                      • like

                      I did think about your code, that you added search to work also on archive, so maybe your code also loads all from archive immediately? I'm not sure, because I did not look more closely. I also don't know how much you have at archive.

                        • reply
                        • like

                        Also, Wekan has new features like that WYSIWYG comment editor that adds more new code

                          • reply
                          • like

                          Usually adding features does not mean having less code :D

                            • reply
                            • like

                            August 22, 2019 at 2:56am

                            Nope, my code won't load anything from archive until the filter is selected.

                              • reply
                              • like

                              August 22, 2019 at 5:26am

                              When I trace the code, I found boardBody component's onCreated() is finished, but onRendered() will not be called, and browser's console has these errors:

                                • reply
                                • like

                                I'll try to dig into these logs

                                  • reply
                                  • like

                                  Seems like on this gran Meteor.user() will sometimes return null

                                    Edited
                                    • reply
                                    • like

                                    August 22, 2019 at 6:34am

                                    Oh never mind, this is because I move a grain's backup to another sandstorm server :/

                                      • reply
                                      • like

                                      August 23, 2019 at 1:12am

                                      You could try is there any difference when using newest Wekan v3.25 experimental Sandstorm version.

                                        • reply
                                        • like

                                        August 26, 2019 at 10:07am

                                        OK I finally found the bug, it's just one line

                                          Edited
                                          • reply
                                          • like

                                          I have requested a PR, please check it and publish to Sandstorm App Market. Thank you very much.

                                            Edited
                                            • reply
                                            • like

                                            August 28, 2019 at 3:50pm

                                            Please test newest experimental Wekan.

                                              • reply
                                              • like

                                              I did make that fix Sandstorm-only. I don't know is it required at Standalone Wekan.

                                                • reply
                                                • like

                                                I released new Wekan with your fix a moment ago.

                                                  • reply
                                                  • like