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 1:10am
** SANDSTORM SUPERVISOR: Starting up grain. Sandbox type: privileged
** Starting Mongo...
2019-08-20T01:07:31.289+0000 I STORAGE Engine custom option: log=(prealloc=false,file_max=200KB)
about to fork child process, waiting until server is ready for connections.
forked process: 10
child process started successfully, parent exiting
** Starting Meteor...
Presence started serverId=gaFBDgwtcjdPDfTwG
Meteor APM: completed instrumenting the app
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
    • reply
    • like

    Grain log

      • reply
      • like

      August 20, 2019 at 7:51am

      Say that, I have wekan source code on my sandstorm machine.

        • reply
        • like

        Is it possible for me to use spk dev to run wekan sandstorm version in development mode?

          • reply
          • like

          Too heavy? How much RAM is at Sandstorm server?

            • reply
            • like

            Is server swapping?

              • reply
              • like

              I don't think using development mode would bring any difference. It just builds Wekan and starts it as it would start current version of Wekan.

                • reply
                • like

                I think command is meteor-spk dev

                  • reply
                  • like

                  before that you should ./rebuild-wekan.sh with option 2

                    • reply
                    • like

                    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