Open Spawn43 opened 2 years ago
Currently facing the same issue. This error only happens if I run the command in detached mode. If run it with interactive + tty, it works just fine. Not sure what is the reason for this.
Just figured a way around this. You can use both the -it
flag and the -d
flag (ie run it detached but with the tty), and the server runs fine! I am guesssing this has something to do with how the server reads input? Anyway this workaround I suggested works. Here is the command for your reference:
podman run -d -it --rm -v ./world:/root/.local/share/Terraria/Worlds:Z -p 7777:7777 ryshe/terraria -world /root/.local/share/Terraria/Worlds/<World-Name>.wld -config /root/.local/share/Terraria/Worlds/config.json
I'm trying to run this through portainer using an existing world. When i attempt to run the container i get as far as world saved before the crash.
To my understanding i've done everything correct I've bound the /root/.local/share/Terraria/Worlds to my worlds folder, and then put in the enviroment variable for the world name. Any idea on how to fix this would be greatly appreciated