Closed albinmedoc closed 1 month ago
I don't know if you're allowed to mix and match the environment variable syntax. Try fixing that to see if that's the issue
CF_SLUG: "all-the-mods-9-to-the-sky"
CF_API_KEY="-------" #mismatch
I don't know if you're allowed to mix and match the environment variable syntax. Try fixing that to see if that's the issue
CF_SLUG: "all-the-mods-9-to-the-sky" CF_API_KEY="-------" #mismatch
Ohh, sorry. I'm using portainer and some environment variables are loaded from the UI using below:
env_file:
- stack.env
Those environment variables with '=' I added in the issue just to make it more clear. But I should have added them with ':'
I have found a fix.
By using the stable
-tag the server starts up. I thought the latest also were stable
So by changing the image to itzg/minecraft-server:stable
it's now working.
I thought the latest also were stable
Yes they are. The stable
is simply the most recently tagged version of the image.
Given such a strange, low-level JDK error my only theory is that the image became corrupted. Deleting and re-pulling the latest image might also fix it.
Describe the problem
After a container restart today the container didnt come back up. I have been running the server for about 1 week with daily restarts.
Container definition
Container logs