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

March 1, 2020 at 5:02pm

you did it already?

    • reply
    • like

    No

      • reply
      • like

      haha

        • reply
        • like

        ok

          • reply
          • like

          THank you again sir

            • reply
            • like

            I'm just now starting to make commits, releases etc

              • reply
              • like

              it will maybe take about 1 - 2 hours

                • reply
                • like

                February 22nd

                  • reply
                  • like

                  that sounds about right with my issues in terms of timing

                    • reply
                    • like

                    Do you mean about Wekan release then? https://github.com/wekan/wekan/blob/master/CHANGELOG.md

                      • reply
                      • like

                      There is Meteor updates etc

                        • reply
                        • like

                        final test which is powerful

                          • reply
                          • like

                          the last two boards had not deleted

                            • reply
                            • like

                            so I restored them

                              • reply
                              • like

                              then I disabled each web hook

                                • reply
                                • like

                                then archived

                                  • reply
                                  • like

                                  then I deleted

                                    • reply
                                    • like

                                    all gone on refresh

                                      • reply
                                      • like

                                      the web hooks block the gui deletes

                                        • reply
                                        • like

                                        and finally found the code error

                                          • reply
                                          • like

                                          Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: Exception while invoking method '/boards/remove' TypeError: Cannot read property 'title' of undefined Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.<anonymous> (models/activities.js:126:28) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at packages/matb33collection-hooks.js:422:18 Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Array.forEach (<anonymous>) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Function..each..forEach (packages/underscore.js:139:11) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at after (packages/matb33_collection-hooks.js:421:9) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.<anonymous> (packages/matb33_collection-hooks.js:436:12) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.collection.<computed> [as insert] (packages/matb33_collection-hooks.js:150:21) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at ns.Collection.insert (packages/mongo/collection.js:520:39) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at ns.Collection.Mongo.Collection.<computed> [as insert] (packages/aldeed_collection2-core.js:232:19) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.<anonymous> (models/lists.js:382:16) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at packages/matb33_collection-hooks.js:598:28 Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Array.forEach (<anonymous>) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Function..each..forEach (packages/underscore.js:139:11) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at packages/matb33_collection-hooks.js:597:11 Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Array.forEach (<anonymous>) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Function..each..forEach (packages/underscore.js:139:11) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.<anonymous> (packages/matb33_collection-hooks.js:596:9) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.collection.<computed> [as remove] (packages/matb33_collection-hooks.js:150:21) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at ns.Collection.remove (packages/mongo/collection.js:620:31) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at models/boards.js:1190:15 Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Array.forEach (<anonymous>) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at boardRemover (models/boards.js:1188:62) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Object.<anonymous> (models/boards.js:1394:5) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at packages/matb33_collection-hooks.js:598:28 Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Array.forEach (<anonymous>) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Function..each._.forEach (packages/underscore.js:139:11) Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at packages/matb33_collection-hooks.js:597:11 Mar 1 17:06:42 ip-172-31-35-186 wekan.wekan[30813]: at Array.forEach (<anonymous>)

                                            • reply
                                            • like

                                            Hmm? It can not remove board that does not have title

                                              • reply
                                              • like

                                              all boards are named

                                                • reply
                                                • like

                                                I'll look at those code lines

                                                  • reply
                                                  • like