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
8 Replies
Codercord
Codercord2mo ago
<#1263667000782360607>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
feners4
feners42mo ago
It looks like there’s another DB being created. This issue keeps corrupting my DB. Any ideas?
Atif
Atif2mo ago
Please open an issue on github with as much details as possible about your setup and error and reproduction steps.
feners4
feners42mo ago
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
Phorcys
Phorcys2mo ago
hey @feners4, any luck?
feners4
feners44w ago
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....
Phorcys
Phorcys6d ago
(@kirby) (@Atif)
Atif
Atif5d ago
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.
Want results from more Discord servers?
Add your server