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 10:43pm

this is going to be a stupid one

    • reply
    • like

    I can tell

      • reply
      • like

      ok same behavior

        • reply
        • like

        I disable thre thre board level web hooks and it deletes

          • reply
          • like

          tell me, is the delete waiting for the webhook to return or the other way around

            Edited
            • reply
            • like

            I do not see the webhook fire from the other server end (unless I wait till its ready

              • reply
              • like

              .....

                • reply
                • like

                log errors

                  • reply
                  • like

                  three in a row

                    • reply
                    • like

                    (maybe to match the three boards to delete?)

                      • reply
                      • like

                      ...

                        • reply
                        • like

                        Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: Exception while invoking method '/boards/remove' TypeError: Cannot read property 'title' of undefined Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object.<anonymous> (models/activities.js:125:17) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at packages/matb33collection-hooks.js:422:18 Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Array.forEach (<anonymous>) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Function..each..forEach (packages/underscore.js:139:11) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at after (packages/matb33_collection-hooks.js:421:9) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object.<anonymous> (packages/matb33_collection-hooks.js:436:12) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object.collection.<computed> [as insert] (packages/matb33_collection-hooks.js:150:21) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at ns.Collection.insert (packages/mongo/collection.js:523:39) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at ns.Collection.Mongo.Collection.<computed> [as insert] (packages/aldeed_collection2-core.js:232:19) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object.<anonymous> (models/boards.js:1396:16) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at packages/matb33_collection-hooks.js:598:28 Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Array.forEach (<anonymous>) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Function..each..forEach (packages/underscore.js:139:11) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at packages/matb33_collection-hooks.js:597:11 Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Array.forEach (<anonymous>) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Function..each._.forEach (packages/underscore.js:139:11) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object.<anonymous> (packages/matb33_collection-hooks.js:596:9) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object.collection.<computed> [as remove] (packages/matb33_collection-hooks.js:150:21) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at ns.Collection.CollectionPrototype._validatedRemove (packages/allow-deny/allow-deny.js:406:34) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at MethodInvocation.m.<computed> (packages/allow-deny/allow-deny.js:173:46) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at packages/check/match.js:118:15 Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1768:18) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at packages/ddp-server/livedata_server.js:719:19 Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12) Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at packages/ddp-server/livedata_server.js:717:46 Mar 1 22:45:31 ip-172-31-35-186 wekan.wekan[8136]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)

                          • reply
                          • like

                          same error as before no type

                            • reply
                            • like

                            title

                              • reply
                              • like

                              actuallyis says cannot read the title of undefined

                                • reply
                                • like

                                so its not getting the board object

                                  • reply
                                  • like

                                  the branch to working with the webhook is losing the object to delete?

                                    • reply
                                    • like

                                    Well, I made some fixes to that title, but I don't have script that I could use to verify have I fixed it

                                      • reply
                                      • like

                                      I don't know how you generate that error with some script

                                        • reply
                                        • like

                                        is it the title?

                                          • reply
                                          • like

                                          or is it not finding the object?

                                            • reply
                                            • like

                                            it seems that title is undefined

                                              • reply
                                              • like

                                              no title in undefined

                                                • reply
                                                • like

                                                Cannot read property 'title' of undefined

                                                  • reply
                                                  • like

                                                  to me (not knowing the code) sound like the object is empty or null

                                                    • reply
                                                    • like