Back

PDOException while adding or removing any document. came randomly but now the error persist. fixes?

  • 0
  • Databases
steve jobs
6 May, 2023, 18:27

whats this error while adding or deleting any document, it came randomly after working fine. but after it came. it persist and i canot write of delete document now in any collections :/

is there any known solution ? or will it be resolved automatically?

TL;DR
Issue: The user is experiencing a PDOException error while adding or removing any documents in their application. The error occurred randomly but now persists. Potential Fix: - Try to reproduce the issue and report it on GitHub with the steps to help troubleshoot and fix it. - The user deleted the problematic collection and recreated it with a different collection ID, which resolved the issue for them. - Restart the appwrite server by running `docker-compose down`, shutting down the host server, and then running `docker-compose up -d --force-recreate --remove-orphans`. Additional Information: The user noticed that the issue reappears when
steve jobs
6 May, 2023, 18:39

quick fix , run docker-compose down and then shut down the entire host server and restart it. then run docker-compose up -d --force-recreate --remove-orphans ro restart the appwrite server..

steve jobs
6 May, 2023, 18:41

and the issue is not there.. but the issue reappears as soon as i try to remove one specific document in a collection with both "many to many" and "one to many" relationship. don't know if it has anything to do with it. but that's the initial thing i notice

steve jobs
6 May, 2023, 19:06

i deleted that collection which was causing the trouble and recreated it with another collection ID. as i am starting by development its not an issue to recreate collection.. but imagine this kind of error poping in between production Server// ??

Drake
6 May, 2023, 19:14

weird..if you can reliably reproduce the issue, you can create an issue on github with the steps and we can try to troubleshoot to see what's wrong and fix it

steve jobs
6 May, 2023, 19:20

Sure, i will try to reproduce the issue,. May be its a technical glitch caused by series of steps.. i will report of this is reproduced again

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