Back

Cannot update collections data using appwrite console - server error

  • 0
  • Self Hosted
  • Databases
Chris
15 Nov, 2023, 06:43

Hello team, i am facing a challenge for a while now, whenever i try to update data on my collection using appwrite console i get the server error message.

TL;DR
User is facing a server error when trying to update data in a collection using the Appwrite console. There are 3 relationships in the document. Other users suggest checking for invalid values in the relationships and clarify if the issue occurs in all collections or just one. User has tried multiple solutions like running migration command and restarting Docker containers, but they did not work. It is not clear if the user is self-hosting or using Appwrite cloud. There is no solution mentioned in the thread.
D5
15 Nov, 2023, 06:56

Does it work now?

Chris
15 Nov, 2023, 06:58

No it doesn't

D5
15 Nov, 2023, 08:30

@Chris This is self-hosting or appwrite cloud?

Haimantika
15 Nov, 2023, 08:44

@Chris are you still facing the error?

Chris
15 Nov, 2023, 13:25

Self hosting

Chris
15 Nov, 2023, 13:28

Yes, i've tried multiple solutions like running migration command restarting docker containers but they didn't work.

D5
15 Nov, 2023, 14:31

What do you get after running: docker compose logs appwrite?

Chris
17 Nov, 2023, 06:20

Hi @D5 sorry for late reply

Chris
17 Nov, 2023, 06:21

Am getting the above log when i run docker compose logs appwrite

Ernest
17 Nov, 2023, 06:32

Do you have relationship(s) in your collection? It may seem as though you're entering invalid values. Also, does it happen on every collection in the db or a collection (not quite clear from your initial question)?

Chris
17 Nov, 2023, 06:40

I do have relationship(s), and yes all my collections fail to update data. @Ernest

D5
17 Nov, 2023, 08:28

What's the code for that, and what's the relationship?

Chris
17 Nov, 2023, 08:43

Am updating it manually from the console, and the document has 3 relationships which are Many to One. @D5

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