Back

Cannot reach "data" tab in documents anymore

  • 0
  • Self Hosted
  • Databases
  • Web
elnur
30 Oct, 2023, 11:45

Per title, it started after a failed relationship was created.

What to do?

TL;DR
User is experiencing an issue where they cannot access the "data" tab in their documents due to a failed many-to-many relationship. Deleting the relationship allows access to the data. User suggests creating a GitHub issue to help solve the bug. User has tried different attribute names but the issue persists. Deleting the "processing" attribute causes both collections to be stuck. User has replicated the issue with three separate dummy collections. The relationship vanished on its own but is still present in another collection. Access to data is blocked in collections with failed relationships. Creating a new collection without the failed relationship resolves the issue. Solution: Delete the failed many-to-many relationship
elnur
30 Oct, 2023, 11:51

It works if I create a new collection where the previously failed relationship does not exist.

elnur
30 Oct, 2023, 11:51

Eg, in any collection where the relationship that failed to create I cannot access my documents data.

elnur
30 Oct, 2023, 11:59
elnur
30 Oct, 2023, 12:01

The attribute has now been removed from one collection. eg I can access the documents data once again. For some reason the attribute (relationship) vanished, I didnt do anything. However, the relationship is still present in the other collection and its status is "PROCESSING". Eg, I cannot access the data in those documents either.

D5
30 Oct, 2023, 13:16

Are you able to replicate the exact steps in any project?

elnur
30 Oct, 2023, 13:17

I have replicated it with three seperate dummy collections with the same attributes. For some reason this relationship fails.

elnur
30 Oct, 2023, 13:18

And doesn't go away when attempting to delete it.

elnur
30 Oct, 2023, 13:18

This time on the seperate collections I did try and delete the "processing" attribute first which made both "stuck" instead of one going away and the other staying in "processing".

elnur
30 Oct, 2023, 13:20

I tried different attribute names for the relationship, still "failed".

elnur
30 Oct, 2023, 13:21
D5
30 Oct, 2023, 13:21

Great! Could you please create a GitHub issue with the steps needed to replicate the bug? That way the appwrite team will work to solve it πŸ˜„

elnur
30 Oct, 2023, 13:26

It seems that the issue is that multiple many-to-many relationships fails. If I remove my previous many-to-many relationship it works.

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