Back

Bug: Tables are not delete from the db container when Project is deleted from the console.

  • 0
  • Web
Punit Diwan
15 Sep, 2023, 09:31

the been the nvironment: AppWrite version: 1.4.1 OS: Linux

Use Case : When trying to delete the project from the web console and when I check backend database from the container, I found that the table count based on the tables related to the project based on the _id has not deleted. The logs from appwrite-delete-worker is attached.

The main line is : [critical] (Job{v1-deletes} | ID: 6764542f4f9a4bb71f9bb6c87db66423 | DeletesV1 | JSON Data Attached in file) has failed Utopia\Database\Exception: Collection "domains" not found in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php: 4053

TL;DR
Bug: Tables are not deleted from the db container when a Project is deleted from the console. - User reports that tables related to a project are not being deleted from the backend database when the project is deleted from the web console. - User suggests a temporary workaround of writing a cron job to manually delete the tables if there is no entry in the console_project table. - User requests that an issue be created on Github to track and fix this bug. - User provides the following details: - AppWrite version: 1.4.1 - OS: Linux - Error message: - [critical] (Job
Drake
15 Sep, 2023, 20:15

oye. thanks for catching this. would you please create an issue on github so. we don't lose track of this?

Punit Diwan
16 Sep, 2023, 02:02

Thanks for ur attention. Waiting for fix as it's impacting me. Right now as a work around I am thinking to write a crown job to delete the undeleted tables if there is no entry in console_ project table.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more