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

Update recently? deleting

Update recently? deleting

Wekan / Bugs · February 28, 2020 at 4:04pm (Edited 5 years ago)

was there an update last evening or the day before?

deleting archived cards do not stay deleted. Refreshing screen and they return in the list of archived things to delete

HOW do you clear out all cards from the system not using the GUI? Its suddenly happening on all three systems with no code changes.

Can we roll back to the last version. THis is broken

other issues: when updating with new cards from the api looking at the contents of the new cards put the GUI into some sort of wait mode. Until you refresh the screen several times you get this behavior that indicates its not connecting to Mongo or something

In fact the deleting the archived boards works and on screen refresh they are still there seems like its never deleting from Mongo at all

Another hint: in addition to the GUI thinking the archived card is deleted and when you refresh its not, the webhooks are not being sent out when the delete happens. So it seems that the GUI is disconnected from the mongo and webhook piece entirely.

Question: in addition to rolling back the code, using snap installed wekan, what is the correct way to get into mongo shell under snap wekan? I can at least see what is in the database then and perhaps clear it out

LMK

more hints, I can't delete archived cards but I can restore them. When I do I cannot disable or remove webhooks associated

HOw do I get into wekan under snap mongo to clear these out?

Load previous messages

February 29, 2020 at 1:01am

While original MongoDB is here https://github.com/mongodb/mongo

    • reply
    • like

    Percona website also has .deb packages etc

      • reply
      • like

      for installing

        • reply
        • like

        It is also possible to export all MongoDB data to JSON files https://github.com/wekan/wekan/wiki/Export-from-Wekan-Sandstorm-grain-.zip-file

          • reply
          • like

          For corruption in general, solution is to do daily backups. Many databases like MySQL, PostgreSQL and others can have database corruption also.

            • reply
            • like

            at least daily. More often, if possible.

              • reply
              • like

              Well, some years ago when I worked as SysAdmin/Cloud Architect, I helped coworker, that had Mac laptop. Upgrading to newer version of macOS had corrupted all local MySQL databases. I could not recover anything from those, only solution was to download newer database dumps and reinstall all local databases that where used from Drupal development.

                • reply
                • like

                February 29, 2020 at 3:10am

                I understand. And thank you again for your thoughts and all the detail. Really!! For the record this is AWS EBS so its not data corruption or anything related. I set aside additional ebs drive just to host the mongo data component not use the root drive. Now You mention several things in the thread before your last post. First you mentioned that the software was trying to remove a collection and you were surprised. You also mentioned or asked actually if this system was exposed to the internet. Since the issue was database related and since Mongodb has a history of strong arm warning folks not to every run mongo without auth (yes they get ugly) then this was a dialogue I wanted to explore. Yes indeed local host access is very secure. When I started this thread I asked about a code change that got released recently as I had three system with related symptoms (logical conclusion) right? ok well if that was not it and you saw the error about issues that did not make sense about removing a collection (your reaction) then if it not a mongo internet data breach then that kind of leaves two path outside of that. One, that the wekan software corrupts after a certain point (which as we have high traffic (dev) and low traffic (demo) and this happened all at the same time that does not makes sense either. Logs show nothing related to a denial of service issue. In point of fact one of these systems is on secure gov cloud even. Which going further down the rabbit hole could indicate that someone hacked all three systems (hacked in this case means a virus or other on wekan. Occam's razor tells me this is not likely, so I was just looking for the simple reason. I get backups. Of course. If my data is transitory (puting aside login accounts and access tokens obviously) then I can and will replace all the data anyway automatically in a second. Why do you think then why am I backing up? What in your opinion broke and why?

                  • reply
                  • like

                  February 29, 2020 at 11:52am

                  Do you have some script, that by running it you can duplicate Wekan breaking?

                    • reply
                    • like

                    I could not figure out exact reason from above info. It's just guessing.

                      • reply
                      • like

                      It can be Wekan, Meteor or MongoDB bug, or bug in some dependency code

                        • reply
                        • like

                        And for any bug, it needs minimal code example to reproduce bug

                          • reply
                          • like

                          For example, someone recently reported that exporting one board did not work, when using Wekan Snap. Exporting other boards did work. He sent copy of that database to me, so I could test it. I noticed that with Wekan Docker version, it was possible to export that one board. The fix to Snap was to upgrade to newer version of Meteor, and then publish automatic Wekan Snap update.

                            • reply
                            • like

                            I have no idea how exporting one board and version of Meteor is related to each other.

                              • reply
                              • like

                              So in general, I care only about those bugs that can be reproduced.

                                • reply
                                • like

                                Other bugs could come and go depending on status of each dependency.

                                  • reply
                                  • like

                                  I do trust worldwide community of all Wekan dependencies, that everything will improve. And if some dependency package does not work, I can switch it to some other dependency.

                                    • reply
                                    • like

                                    February 29, 2020 at 3:27pm

                                    thanks. No I do not have some way of making it break (yet).

                                      • reply
                                      • like

                                      Question: if it was something to do with meteor, could I even fix it? Meaning would I be able to upgrade Meteor inside snap myself? I thought that the version of wekan was tied to a particular version at any given time of meteor and in turn Node.js? If I could upgrade would not the next automatic upgrade of wekan either overwrite that or get stuck if the version of node or meteor was newer? My issue is if I could figure out this does not mean that I could fix this long term, or are my assumptions wrong with that?

                                        • reply
                                        • like

                                        February 29, 2020 at 8:32pm

                                        ok well the issue came back again

                                          • reply
                                          • like

                                          refreshing the gui in the browser and I see all the archived boards I deleted

                                            • reply
                                            • like

                                            where do I look for the actual errors again?

                                              • reply
                                              • like

                                              sudo snap logs wekan.wekan 2020-02-28T22:54:12Z wekan.wekan[30813]: > Starting add-description-title-allowed migration. 2020-02-28T22:54:12Z wekan.wekan[30813]: > Finishing add-description-title-allowed migration. 2020-02-28T22:54:12Z wekan.wekan[30813]: > Starting add-description-text-allowed migration. 2020-02-28T22:54:12Z wekan.wekan[30813]: > Finishing add-description-text-allowed migration. 2020-02-28T22:54:12Z wekan.wekan[30813]: Meteor APM: completed instrumenting the app 2020-02-28T22:54:15Z wekan.wekan[30813]: (node:365) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 2020-02-28T22:54:43Z wekan.wekan[30813]: Exception while invoking method 'ATCreateUserServer' Error: getaddrinfo ENOTFOUND mailserver.examples.com 2020-02-28T22:54:43Z wekan.wekan[30813]: at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26) 2020-02-28T22:56:15Z wekan.wekan[30813]: Exception while invoking method 'ATCreateUserServer' Error: getaddrinfo ENOTFOUND mailserver.examples.com 2020-02-28T22:56:15Z wekan.wekan[30813]: at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26)

                                                • reply
                                                • like

                                                at this point the gui is not stateful with the mongodb

                                                  • reply
                                                  • like

                                                  do not see anything in the mongo logs

                                                    • reply
                                                    • like