Back

[SOLVED] 500 Internal Error when clicking on Database and Collection

  • 0
  • Self Hosted
  • Flutter
  • General
munsra
6 Aug, 2023, 14:13

Hi everybody. I'm having a problem with Appwrite Cloud Service.

How to reproduce:

  • Delete an attribute on a collection (it showed that this attribute was deleted but wasn't).
  • Create a new attribute (it remains stuck "processing")
  • Delete the collection
  • Try to create the collection again (it doesn't show me anything)
  • Go into this collection. IT SHOWED ME THE 500 INTERNAL ERROR.
  • Create a new Database and click into it. IT SHOWED ME THE 500 INTERNAL ERROR.

Appwrite Cloud is the 1.1.2 version.

TL;DR
There was a 500 Internal Error when clicking on a Database and Collection in Appwrite Cloud. The issue was caused by doing database operations during a database backup, which paused all other operations. The error resolved itself after some time. It is recommended to host the appwrite by yourself if it is a production app. There is a known issue with the collection not being fully deleted and causing errors when attempting to recreate it. The issue has been reported on GitHub. Upgrading to newer versions may solve this problem.
munsra
6 Aug, 2023, 14:13

It seams that this is the problem. https://github.com/appwrite/appwrite/issues/5354

D5
6 Aug, 2023, 14:14

It takes a while to get it deleted

D5
6 Aug, 2023, 14:14

(behind scenes the collection still exists but hidden and then after a while, it gets deleted)

D5
6 Aug, 2023, 14:15

So that's why if you try creating the same collection you see an error

D5
6 Aug, 2023, 14:15

In newer versions if I'm not wrong this seems to have been solved

munsra
6 Aug, 2023, 14:17

Thank you so much πŸ˜€ do you know how long does it takes?

D5
6 Aug, 2023, 14:18

I think about next month

munsra
6 Aug, 2023, 14:18

nice πŸ˜†

munsra
6 Aug, 2023, 14:19

So should I host appwrite by my own?

D5
6 Aug, 2023, 14:20

@munsra But try doing the same (reproducing the error) and after some time try again to see if it persists, in case it persists (for example, doesn't gets deleted after an hour) then tell me, because that probably means something is wrong with any database

D5
6 Aug, 2023, 14:20

If you have a production app, I think it's more recommend, if not or a really small app, then you should be fine with cloud

munsra
6 Aug, 2023, 15:17

Now is working!

Drake
6 Aug, 2023, 16:35

It should be faster than that πŸ‘€

Drake
6 Aug, 2023, 16:35

You were doing database operations during a database backup. While the database is backing up, all database operations are paused.

D5
6 Aug, 2023, 16:43

Cloud update?

D5
6 Aug, 2023, 16:44

[SOLVED] 500 Internal Error when clicking on Database and Collection

Drake
6 Aug, 2023, 16:44

Oh uh I meant the delete

D5
6 Aug, 2023, 16:45

Yes, I said about an hour, I suppose it should not persist after too many time πŸ˜…

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