appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🐛 Bug Report: Teams are not deleted correctly

Open nbehler13 opened this issue 1 year ago • 2 comments

👟 Reproduction steps

Create a team with a given id. Add some users as members and delete all the users and the team afterwards. Repeat these steps for some time and after a while I get the error message, that I cannot create a team because the id is already taken. On the same side I cannot delete the team because there is no team found with the given id. Screenshot 2023-12-01 170422

👍 Expected behavior

A team should be deleted and it should be possible to create a team with the same id again.

👎 Actual Behavior

I cannot create the team neiter delete it. I simply cannot use the chosen team id again.

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

1.4.13

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

nbehler13 avatar Dec 01 '23 16:12 nbehler13

@nbehler13, thanks for creating this issue! 🙏🏼 The team deletion happens asynchronously in a background job. As such, would you please share the docker logs for the appwrite-worker-deletes container?

stnguyen90 avatar Dec 11 '23 18:12 stnguyen90

This issue has been labeled as a 'question', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days.

github-actions[bot] avatar May 03 '24 00:05 github-actions[bot]

This issue has been closed due to inactivity. If you still require assistance, please provide the requested information.

github-actions[bot] avatar May 17 '24 00:05 github-actions[bot]