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 6:35am

You could sent it too

    • reply
    • like

    send

      • reply
      • like

      March 1, 2020 at 12:42pm

      only thing I see in those daily syslogs are NTP server timed out connections

        • reply
        • like

        will fix that and keep looking for something relevant

          • reply
          • like

          thanks

            • reply
            • like

            At least I can see in those logs when the three server were last updated with the current version of wekan

              • reply
              • like

              March 1, 2020 at 3:12pm

              ok, really narrowed the issue. WEBHOOKS

                • reply
                • like

                procedure1. did five times (manually build in GUI four cards with four list items with four cards each. Deleted and then refreshed screen . NO Issues

                  • reply
                  • like

                  procedure2. did five times (automated build via API 3 cards each with seven list items and each with three cards. Then I removed the three webhooks (one per board.) then deleted and refreshed. No Issue

                    • reply
                    • like

                    Procedure3 : identical to procedure 2 except left webhooks in place. Failed. meaning that they said they were deleted but on browser refresh they were still there

                      • reply
                      • like

                      I expect these will delet by themselves overthe next hour or so one at a time. The issue is that until last week this activity worked flawlessly 60 or more times a days during testing. and now three systems are getting delayed on the archived and then delete function in the GUI.

                        • reply
                        • like

                        Its completely repeatable.

                          • reply
                          • like

                          all populations are identical (create board by owner public) (add other member)( add webhook integration) (add seven list elements)( add three card elements on first list item) (build three total boards).

                            • reply
                            • like

                            Servers receiving webhooks are on the same VPC with that port open. API receiving is the web hook in a standard manner. Testing of webhook api endpoint works 100 times in a rows with POSTMAN with same payload that comes in from the webhook. All webhooks work correctly when they fire. Firing of webhooks happen when the refresh browser shows that board has finally deleted. There are no network errors anywhere that would explain the webhook not returning. There are no activites on the receiving api endpoint of the server getting the webhook until the wekan application decides to delete that board. I have no idea if the web hooks fires first and then deletes or deletes and then fires the webhook or of they are done in parallel. But they are time synched.

                              • reply
                              • like

                              webhook syntax is :http><ipaddress:> <port>< api endpoint>

                                • reply
                                • like

                                NO auth is included in the webhook

                                  • reply
                                  • like

                                  this is a ONE way web hook (not selected two way

                                    • reply
                                    • like

                                    you should be able to repeat this without any more details from me

                                      • reply
                                      • like

                                      LMK your thoughts or if my procedure is flawed

                                        • reply
                                        • like

                                        Thanks again

                                          • reply
                                          • like

                                          as expected the first of the three boards that was attempted to be deleted with the gui is now gone on browser refresh, the other two (in order) remain

                                            • reply
                                            • like

                                            that single webhook fired at the same time and worked without server errors and did what it was supposed to do on my end, it deleted several database rows in two different tables ( a card table for each card - 3 rows) and a list table that for each board has a row with all list ids for that board - 7 rows)

                                              • reply
                                              • like

                                              going to fix that NTP issue then try and figure out when the nightly check and update that is indicates is run between 2 and 4 AM shows a change in code

                                                • reply
                                                • like

                                                Would like to figure out when exactly that code was changed and then if possible what the version sub id is.

                                                  • reply
                                                  • like

                                                  thanks

                                                    • reply
                                                    • like