valheim-server-docker
valheim-server-docker copied to clipboard
After the auto restart (daily or due to update), players are unable to connect
This issue started probably a month or two ago. I have bepinex enabled.
I had the daily restart enabled, but every day players reported they could not connect to the server and so I had to restart the whole container.
Eventually I disabled the daily restart, and now, whenever a Valheim update happens and the container does the internal restart, again players can't connect and I have to restart the container.
I have been having this issue for the past two days, the server does the update and get stuck waiting on itself to shutdown
+1 for the issue. Server gets stuck on reboot every night
valheim | Nov 24 05:00:14 supervisord: valheim-updater Redirecting stderr to '/home/valheim/Steam/logs/stderr.txt'
valheim | Nov 24 05:00:14 supervisord: valheim-updater Logging directory: '/home/valheim/Steam/logs'
valheim | Nov 24 05:00:14 supervisord: valheim-updater [ 0%] Checking for available updates...
valheim | Nov 24 05:00:14 supervisord: valheim-updater [----] Verifying installation...
valheim | Nov 24 05:00:14 supervisord: valheim-updater Steam Console Client (c) Valve Corporation - version 1700160359
valheim | Nov 24 05:00:14 supervisord: valheim-updater -- type 'quit' to exit --
valheim | Nov 24 05:00:14 supervisord: valheim-updater Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
valheim | Nov 24 05:00:14 supervisord: valheim-updater OK
valheim | Nov 24 05:00:14 supervisord: valheim-updater
valheim | Nov 24 05:00:14 supervisord: valheim-updater Connecting anonymously to Steam Public...
valheim | 2023-11-24 05:00:14,799 INFO waiting for valheim-server to stop
valheim | Nov 24 05:00:14 supervisord: valheim-backup (deflated 69%)
valheim | Nov 24 05:00:14 supervisord: valheim-backup adding: <xxxxxx>
valheim | Nov 24 05:00:14 supervisord: valheim-backup (deflated 8%)
valheim | Nov 24 05:00:14 supervisord: valheim-backup adding: <xxxxxx>
valheim | Nov 24 05:00:15 supervisord: valheim-server Memory Statistics:
valheim | Nov 24 05:00:15 supervisord: valheim-server [ALLOC_TEMP_TLS] TLS Allocator
valheim | Nov 24 05:00:15 supervisord: valheim-server StackAllocators :
valheim | Nov 24 05:00:15 supervisord: valheim-server [ALLOC_TEMP_MAIN]
valheim | Nov 24 05:00:15 supervisord: valheim-server Peak usage frame count: [0-1.0 KB]: 276429 frames, [1.0 KB-2.0 KB]: 2 frames, [2.0 KB-4.0 KB]: 3 frames, [4.0 KB-8.0 KB]: 4 frames, [8.0 KB-16.0 KB]: 2 frames, [16.0 KB-32.0 KB]: 1306187 frames, [32.0 KB-64.0 KB]: 2 frames, [64.0 KB-128.0 KB]: 411 frames, [256.0 KB-0.5 MB]: 26 frames, [0.5 MB-1.0 MB]: 1 frames, [2.0 MB-4.0 MB]: 1 frames, [4.0 MB-8.0 MB]: 14 frames
valheim | Nov 24 05:00:15 supervisord: valheim-server Initial Block Size 4.0 MB
valheim | Nov 24 05:00:15 supervisord: valheim-server Current Block Size 7.7 MB
valheim | Nov 24 05:00:15 supervisord: valheim-server Peak Allocated Bytes 7.7 MB
valheim | Nov 24 05:00:15 supervisord: valheim-server Overflow Count 210
valheim | Nov 24 05:00:15 supervisord: valheim-server [ALLOC_TEMP_Background Job.worker 4]
valheim | Nov 24 05:00:15 supervisord: valheim-server Initial Block Size 32.0 KB
valheim | Nov 24 05:00:15 supervisord: valheim-server Current Block Size 32.0 KB
valheim | Nov 24 05:00:15 supervisord: valheim-server Peak Allocated Bytes 0 B
valheim | Nov 24 05:00:15 supervisord: valheim-server Overflow Count 0
valheim | Nov 24 05:00:15 supervisord: valheim-server [ALLOC_TEMP_Loading.PreloadManager]
valheim | Nov 24 05:00:15 supervisord: valheim-server Initial Block Size 256.0 KB
valheim | Nov 24 05:00:15 supervisord: valheim-server Current Block Size 0.5 MB
valheim | Nov 24 05:00:15 supervisord: valheim-server Peak Allocated Bytes 511.0 KB
valheim | Nov 24 05:00:15 supervisord: valheim-server Overflow Count 176217
valheim | Nov 24 05:00:15 supervisord: valheim-server [ALLOC_TEMP_Background Job.worker 3]
valheim | Nov 24 05:00:15 supervisord: valheim-server Initial Block Size 32.0 KB
valheim | Nov 24 05:00:15 supervisord: valheim-server Current Block Size 32.0 KB
valheim | Nov 24 05:00:15 supervisord: valheim-server Peak Allocated Bytes 0 B
valheim exited with code 137
Not sure if it's a docker image issue, but can't find any reports regarding the server bugs
it seems this is no longer maintained, I switched over to https://github.com/mbround18/valheim-docker, took all of 5 mins to set up and is maintained regularly
Last commit for this one is 2023-06-10. For the new one in the link, 2023-11-18, so yea. Just some other issues now.
same problem here. so the solution is to switch to the other docker?
I switched to the image supposed by @XC3N, works fine
I'm having this issue as well. I just set up a cron job to run docker compose -f valheim/compose.yml restart