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:40pm

trying to paste it

    • reply
    • like

    its too long

      • reply
      • like

      can I paste a file in here?

        • reply
        • like

        You can try

          • reply
          • like

          drag drop

            • reply
            • like

            Or alternatively to https://paste.ubuntu.com/

              • reply
              • like

              Mar 1 22:27:37 ip-172-31-35-186 mongod.27019[9482]: [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended. Mar 1 22:27:37 ip-172-31-35-186 mongod.27019[9482]: [initandlisten] Mar 1 22:27:37 ip-172-31-35-186 mongod.27019[9482]: [initandlisten] Error getting directory iterator '/sys/block': Permission denied Mar 1 22:27:37 ip-172-31-35-186 mongod.27019[9482]: [initandlisten] Initializing full-time diagnostic data capture with directory '/var/snap/wekan/common/diagnostic.data' Mar 1 22:27:37 ip-172-31-35-186 mongod.27019[9482]: [initandlisten] waiting for connections on port 27019 Mar 1 22:27:37 ip-172-31-35-186 mongod.27019[9482]: [HostnameCanonicalizationWorker] Starting hostname canonicalization worker Mar 1 22:27:37 ip-172-31-35-186 kernel: [631920.465596] kauditd_printk_skb: 5 callbacks suppressed Mar 1 22:27:37 ip-172-31-35-186 kernel: [631920.465597] audit: type=1400 audit(1583101657.912:117): apparmor="DENIED" operation="open" profile="snap.wekan.mongodb" name="/sys/block/" pid=9482 comm="mongod" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Mar 1 22:27:38 ip-172-31-35-186 mongod.27019[9482]: [conn1] received client metadata from 127.0.0.1:40464 conn1: { driver: { name: "nodejs

                • reply
                • like

                let me turn off the web hooks and see if it deletes again

                  • reply
                  • like

                  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