Didstopia / rust-server

Provides a dedicated linux server for Rust (the game) running inside a Docker container.
MIT License
241 stars 104 forks source link

Autoupdate function kills container #19

Closed LordRofl closed 5 years ago

LordRofl commented 7 years ago

Environment (OS/Distro, Docker version etc.)

Ubuntu 16.04

Today after a rustupdate, the server seems to detect the update and kicks all and shutdown (quit) But after not comming back online i saw that the dockercontainer was stopped and i had to manually start it again.

Some Logs: ... xxx/76561198282330729/☢Blitzz☢ kicked: Kicked: No Reason Given xxx/76561198177009247/AzokCz kicked: Kicked: No Reason Given Invalidate Network Cache took 0.02 seconds Saved 67,268 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.03). Saving complete Config Saved [Raknet] Server Shutting Down (quit) Exiting..

predominant commented 7 years ago

Are you using the latest tag?

LordRofl commented 7 years ago

shure!

MattPark commented 6 years ago

Weird I am getting this too. Usually several times in the morning then, sometimes in the evening.

[event] assets/prefabs/npc/cargo plane/cargo_plane.prefab
Saved 38,383 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
Saving complete
Saved 38,365 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
Saving complete
[event] assets/prefabs/npc/cargo plane/cargo_plane.prefab
Saved 38,363 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
Saving complete
Saved 38,375 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
Saving complete
Saved 38,380 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
Saving complete
[event] assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab
Saved 38,385 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
Saving complete
Invalidate Network Cache took 0.01 seconds
Saved 38,396 ents, serialization(0.00), write(0.01), disk(0.17) totalstall(0.02).
Saving complete
Config Saved
[Raknet] Server Shutting Down (quit)
timelf123 commented 6 years ago

set your container to restart=always or unless-stopped

MattPark commented 6 years ago

Yes, that's working fine it just restarts the container 10-15 times a day. I can't figure out the pattern. Not maxing out on ram or gpu either

LordRofl commented 6 years ago

It works with parameter --restart=always in docker run command. Thank you, this can be closed. But you should mention it in your Installinstructions.