PhasecoreX / docker-red-discordbot

The newest Red-Discordbot in a convenient container
GNU General Public License v3.0
284 stars 36 forks source link

[BUG REPORT] All settings wiped, all cogs unloaded #98

Open 7eventy7 opened 3 days ago

7eventy7 commented 3 days ago

Hey there, having a really weird issue. My docker containers all automatically backup and restart once a week and this time when the bot restarted it messed up heavily. I'm not sure what else is broken but it made all the cogs I had loaded vanish, they don't even show up in unloaded anymore. The official discord does not support docker installs so you are my next best resource for figuring out what's happening. I'm seeing a few other people have had this issue before, but I haven't been able to pin-point why this happens or what can be done to update without clearing everything.

Before auto update: image

After auto update: image

PhasecoreX commented 3 days ago

When your containers backed up and restarted, was the /data volume mounted back again? In my setup, I have my /data volume mounted to disk, not a named volume. Never have had an issue updating or restarting the container.

Can you provide info on how you are running your container? The docker-compose.yml or the docker run command for example. Be sure to remove the token if it is still present (it doesn't need to be after the first run).

7eventy7 commented 3 days ago

Seems like that might be the issue? Thanks for your quick reply, do you know how I could fix this without re-configuring the whole bot? image

PhasecoreX commented 3 days ago

I don't know what that container manager is, but it is weird that it mentions /config instead of /data. I don't use /config in this image.