Back

Functions leave an executor container after some times

  • 0
  • Self Hosted
  • Functions
Ibaraki Douji
12 May, 2024, 08:37

After creating a function it works well but after a week or two all the execution starts failing with this error : An internal curl error has occurred while starting runtime! Error Msg: Docker Error: docker: Error response from daemon: Conflict. The container name "/appwrite-executor-ai-66102bed9283faad8ebd" is already in use by container "f3024415bacfd8d839385965be2ab8e25181a54bf92534df46ee68ffa8db586c". You have to remove (or rename) that container to be able to reuse that name. And after i remove the executor container it works again. Is it a configuration that i'm missing or maybe is it because i deployed multiple worker-functions to have multiple sync runs ?? or maybe another thing ?

If you need more logs from the containers could you provide a link or steps to get the debug logs from the various containers.

TL;DR
Functions are failing with a Docker conflict error due to container naming conflicts. Remove the executor container to fix the issue. Consider adjusting configurations or managing container names to prevent conflicts.
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