Coder docker container DB is randomly failing
I’m experiencing a weird issue where while I have a Coder docker container running, the DB fails due to what it looks like is a bad migration? Not sure what’s happening, but while Coder is running, it randomly crashes and when I try to run it again I’m getting the errors in the screenshot. What could be causing this?
![No description](https://cdn.answeroverflow.com/1263667001092608031/IMG_0038.png)
8 Replies
<#1263667000782360607>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
It looks like there’s another DB being created. This issue keeps corrupting my DB. Any ideas?
Please open an issue on github with as much details as possible about your setup and error and reproduction steps.
Will do. I was able to find some more clues. It seems that the container is filling up the available storage and maxing it out.
![No description](https://cdn.answeroverflow.com/1264403408283107338/IMG_0042.png)
hey @feners4, any luck?
Hey @Phorcys , haven't found what's causing this. I opened an issue
GitHub
Coder Docker Container Stops Working / DB getting corrupted · Issue...
Description: My Coder server, running in a Docker environment, is experiencing what looks to be intermittent database connection failures. These issues occur randomly, disrupting normal operations....
(@kirby)
(@Atif)
Hi @feners4 Have you tried setting up a fresh coder installtion with a new clean database? We are not able to reproduce the issue at our end.