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 20, 2019 at 8:21am

more info is at Wekan GitHub wiki sandstorm dev docs

    • reply
    • like

    August 21, 2019 at 2:16am

    The server was swapping

      • reply
      • like

      My object is to find what's the difference between standalone and sandstorm version

        • reply
        • like

        So I'll write many logs, thus I need development mode for efficiency.

          • reply
          • like

          August 21, 2019 at 3:52am

          I succeed using meteor-spk dev, I need to Ctrl-C and rebuild everytime when I change code, right?

            • reply
            • like

            Yes I think so

              • reply
              • like

              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