[Support] ich777 - Gameserver Dockers


4181 posts in this topic Last Reply

Recommended Posts

9 minutes ago, ich777 said:

Eventually try to contact your ISP about that if they block any ports, eventually they block UDP ports...?

 

Yes that's possible, look here:

 

Thanks to your help I found the solution.

 

The nintendo switch expect you to forward ports 1 through 65535 UDP according to it's official documentation. It's very stupid.

https://en-americas-support.nintendo.com/app/answers/detail/a_id/22272/~/how-to-set-up-a-routers-port-forwarding-for-a-nintendo-switch-console

 

I found it in the long list of ports I had forwarded and removed it. That made the server publicly available.

 

Thank you!

Link to post
  • Replies 4.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Summary: Support Thread for ich777 Gameserver Dockers (CounterStrike: Source & ConterStrike: GO, TeamFortress 2, ArmA III,... - complete list in the second post) Application: SteamCMD Do

Just thought I'd share my experience setting up a Valheim server with this docker app from @ich777(thank you!)   You don't need to worry about Steam authentication for Valheim, the default a

Dockers Available so far:   SteamCMD DedicatedServers: CounterStrike: Source CounterStrike: Global Offensive TeamFortress 2 ArmA3 - requested by @MrSage D

Posted Images

1 minute ago, numblock699 said:

Is there a way to update the server?

Please read the description of the container.

 

To update simply restart the container, if that doesn't work set the Variable 'Validate' to 'true' without quotes so that it validates the files and pulls the new update (please delete true after the update was successful since it will always validate the game files and the startup takes longer).

Link to post
1 minute ago, ich777 said:

Please read the description of the container.

 

To update simply restart the container, if that doesn't work set the Variable 'Validate' to 'true' without quotes so that it validates the files and pulls the new update (please delete true after the update was successful since it will always validate the game files and the startup takes longer).

 

Yes I just realized, sorry :) Brain not working :)

Link to post
20 hours ago, ich777 said:

Are you sure that you entered all right, I now tried it and I just can see it fine in my server browser (please note that you have to enter not the port that is displayed below, you have to enter the port 2467 since the serverport +1 is the query port):

grafik.png.b75fbeb5cd70d0227f2928e9b500f3a1.png

 

As i mentioned before i tried searching in steam on all 3 ports. No response on any, and also tried local IP which gave the same results.

In the docker area you change the GAME_PORT to what i want to use2466.

You remove the current UDP entry and add in a new Port Entry correct?

And i add it in like below? 2466-2468 on both sides.

 

portvalheim.jpg

Link to post
4 minutes ago, Joop said:

In the docker area you change the GAME_PORT to what i want to use2466.

You remove the current UDP entry and add in a new Port Entry correct?

And i add it in like below? 2466-2468 on both sides.

Exactly. Works just fine, eventually try from scratch and redownload a fresh copy of the Template from the CA App.

 

In my case, as you can see in the screenshot I can query the server and also can connect to it just fine with the new port.

Link to post
7 minutes ago, ich777 said:

Exactly. Works just fine, eventually try from scratch and redownload a fresh copy of the Template from the CA App.

 

In my case, as you can see in the screenshot I can query the server and also can connect to it just fine with the new port.

Just made another one fresh and all is good now :P.

No idea what caused the issue because it is basically the same.

Kept the folder but removed and readded the docker seemed to solve the issue.

Thanks for thinking and sharing your info.

Really appreaciate all of your work that you have been doing.

Keep it up, my guys are enjoying your work :D

Link to post

Starting my Valheim container this morning hoping to pull down the update, the server never loads and I just get this repeating in my logs:

Waiting for user info...'---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Connecting anonymously to Steam Public...Retrying. . .
Warning: failed to init SDL thread priority manager: SDL not found

Retrying. . .
Retrying. . .
Retrying. . .
Logged in OK
Waiting for user info...OK
---Update Server---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Connecting anonymously to Steam Public...Retrying. . .
Retrying. . .
Warning: failed to init SDL thread priority manager: SDL not found

Retrying. . .
Retrying. . .
Logged in OK

Session terminated, killing shell... ...killed.

Waiting for user info...'---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

 

Link to post
3 minutes ago, hammsandwich said:

Starting my Valheim container this morning hoping to pull down the update, the server never loads and I just get this repeating in my logs:

Is seems there is something wrong with your network connection so that SteamCMD can't actually connect to Steam itself, what you can try is to turn on the variable 'Validate' by setting it to 'true'.

 

Are all files in your game directory?

 

5 minutes ago, hammsandwich said:

Connecting anonymously to Steam Public...Retrying. . .

This line tells you that SteamCMD can't connect to Steam.

Can you log into Steam on your local computer?

 

It should look like:

Connecting anonymously to Steam Public...Logged in OK

 

Link to post

I am having a restarting issue as well. Here is my log:

 

---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.30 (3151074 / 1045271601)
Update state (0x5) verifying install, progress: 19.82 (207143364 / 1045271601)
Update state (0x5) verifying install, progress: 48.14 (503192245 / 1045271601)
Update state (0x5) verifying install, progress: 75.78 (792087413 / 1045271601)
Success! App '896660' fully installed.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Start Server---
CAppInfoCacheReadFromDiskThread took 3 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 61): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 61): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 61): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 61): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 61): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 61): STEAMAPPS_INTERFACE_VERSION008 / Apps
---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.30 (3151074 / 1045271601)
Update state (0x5) verifying install, progress: 19.92 (208191940 / 1045271601)
Update state (0x5) verifying install, progress: 48.54 (507386549 / 1045271601)
Update state (0x5) verifying install, progress: 76.50 (799644021 / 1045271601)
Success! App '896660' fully installed.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Start Server---
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 61): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 61): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 61): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 61): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 61): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 61): STEAMAPPS_INTERFACE_VERSION008 / Apps
---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.20 (2097152 / 1045271601)
Update state (0x5) verifying install, progress: 18.17 (189969392 / 1045271601)
Update state (0x5) verifying install, progress: 45.21 (472536433 / 1045271601)
Update state (0x5) verifying install, progress: 73.53 (768614585 / 1045271601)
Success! App '896660' fully installed.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Start Server---
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 63): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 63): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 63): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 63): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 63): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 63): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 63): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 63): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 63): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 63): STEAMAPPS_INTERFACE_VERSION008 / Apps

 

About every minute it goes through the above again. Thoughts? 

Link to post
4 minutes ago, ich777 said:

Is seems there is something wrong with your network connection so that SteamCMD can't actually connect to Steam itself, what you can try is to turn on the variable 'Validate' by setting it to 'true'.

 

Are all files in your game directory?

 

This line tells you that SteamCMD can't connect to Steam.

Can you log into Steam on your local computer?

 

It should look like:


Connecting anonymously to Steam Public...Logged in OK

 

It finally connected and updated. Very odd. Might need to check my DNS infra. Thanks.

Link to post
48 minutes ago, BergstromMN said:

I am having a restarting issue as well. Here is my log:

 




---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.30 (3151074 / 1045271601)
Update state (0x5) verifying install, progress: 19.82 (207143364 / 1045271601)
Update state (0x5) verifying install, progress: 48.14 (503192245 / 1045271601)
Update state (0x5) verifying install, progress: 75.78 (792087413 / 1045271601)
Success! App '896660' fully installed.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Start Server---
CAppInfoCacheReadFromDiskThread took 3 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 61): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 61): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 61): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 61): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 61): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 61): STEAMAPPS_INTERFACE_VERSION008 / Apps
---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.30 (3151074 / 1045271601)
Update state (0x5) verifying install, progress: 19.92 (208191940 / 1045271601)
Update state (0x5) verifying install, progress: 48.54 (507386549 / 1045271601)
Update state (0x5) verifying install, progress: 76.50 (799644021 / 1045271601)
Success! App '896660' fully installed.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Start Server---
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 61): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 61): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 61): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 61): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 61): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 61): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 61): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 61): STEAMAPPS_INTERFACE_VERSION008 / Apps
---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
---Update Server---
---Validating installation---
Redirecting stderr to '/serverdata/serverfiles/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'Anywayshl2' to Steam Public ...
Logged in OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.20 (2097152 / 1045271601)
Update state (0x5) verifying install, progress: 18.17 (189969392 / 1045271601)
Update state (0x5) verifying install, progress: 45.21 (472536433 / 1045271601)
Update state (0x5) verifying install, progress: 73.53 (768614585 / 1045271601)
Success! App '896660' fully installed.
---Prepare Server---
---Server ready---
---Starting Backup daemon---
---Start Server---
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
RecordSteamInterfaceCreation (PID 63): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 63): SteamUtils009 / Utils
Setting breakpad minidump AppID = 892970
RecordSteamInterfaceCreation (PID 63): SteamGameServer012 / GameServer
RecordSteamInterfaceCreation (PID 63): SteamUtils009 / Utils
RecordSteamInterfaceCreation (PID 63): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 63): SteamGameServerStats001 / GameServerStats
RecordSteamInterfaceCreation (PID 63): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 63): STEAMINVENTORY_INTERFACE_V002 / Inventory
RecordSteamInterfaceCreation (PID 63): STEAMUGC_INTERFACE_VERSION010 / UGC
RecordSteamInterfaceCreation (PID 63): STEAMAPPS_INTERFACE_VERSION008 / Apps

 

About every minute it goes through the above again. Thoughts? 


This is my issue as well. I've redownloaded the docker from the community apps and reinstalled and it seems that did not alleviate the issue. Only difference is that I log in anonymously.

Edited by RyanOver9000
Added information for clarity.
Link to post
1 hour ago, RyanOver9000 said:


This is my issue as well. I've redownloaded the docker from the community apps and reinstalled and it seems that did not alleviate the issue. Only difference is that I log in anonymously.

 

I have the same exact issue. It was working perfectly fine with 0.143.5. I tried to log in and the game says I was in an older build. So I updated the docker and since it doesn't show up, loop into itself and restart each 30sec-1min.

 

There is something that happened to this image.

Link to post
On 2/13/2021 at 1:50 PM, ich777 said:

He is talking about Valheim.

 

@Spectral Force may I ask if you experience any problems with Valheim that the world resets on a container stop/start/restart?

 

EDIT: I read somewhere about a world destroy bug...

@ich777 I just had this happen to me.

 

I think I am a victim of this issue. I have had Valheim server running for over a week now with 6 or so people playing on it without any issues. On Monday I noticed the cpu usage for the container was unusually high (apparently it's a bug that I didn't know at the time). I typically have a simple restart script run daily for my containers running game servers. I just use the community applications - user scripts and just run a simple docker restart 'container'. Some of them I do a docker stop then a cold copy/paste into a backup directory and then start the container again. Unfortunately, I did not do that for the Valheim server because of time constraints. On Tuesday after the daily restart happened I got word that players could not join the server. When they tried the screen would load all black and they were not prompted for a password. I restarted the container again so they could log into the server. At that time we found out that the world was reset and everything they built was gone. However, they do still have everything that is in their inventory. Unfortunately I do not have a back up since i did not set that up. Also unfortunately, it does not appear that I have a world.db.old or any kind of backups that the game did. At least not to my knowledge. The worlds folder only has the one database file and the one .fwl file.

 

I am not too familar with this server setup or game. I haven't even played the game yet but I spun up a server for my friends. Your other game servers work flawlessly so I figured everything would be all good. I saw the "world destroy bug" as well and I am only guessing that is what happened to me. I did have someone build a little shack yesterday to test out the daily restart again tonight to see if it happens every time the docker container is restarted. I will also be rewriting my script to do a copy/paste back up in case it happens again. I was trying to do some research and saw your post so I figured I would give you some info of my experience.

Edited by Russonti
Link to post
1 minute ago, Russonti said:

@ich777 I just had this happen to me.

 

I think I am a victim of this issue. I have had Valheim server running for over a week now with 6 or so people playing on it without any issues. On Monday I noticed the cpu usage for the container was unusually high (apparently it's a bug that I didn't know at the time). I typically have a simple restart script run daily for my containers running game servers. I just use the community applications - user scripts and just run a simple docker restart 'container'. Some of them I do a docker stop then a cold copy/paste into a backup directory and then start the container again. Unfortunately, I did not do that for the Valheim server because of time constraints. On Tuesday after the daily restart happened I got word that players could not join the server. When they tried the screen would load all black and they were not prompted for a password. I restarted the container again so they could log into the server. At that time we found out that the world was reset and everything they built was gone. However, they do still have everything that is in their inventory. Unfortunately I do not have a back up since i did not set that up. Also unfortunately, it does not appear that I have a world.db.old or any kind of backups that the game did. At least not to my knowledge. The worlds folder only has the one database file and the one .fwl file.

 

I am not too familar with this server setup or game. I haven't even played the game yet but I spun up a server for my friends. Your other game servers work flawlessly so I figured everything would be all good. I saw the "world destroy bug" as well and I am only guessing that is what happened to me. I did have someone build a little shack yesterday to test out the daily restart again tonight to see if it happens every time the docker container is restarted. I will also be rewriting my script to do a copy/paste back up in case it happens again. I was trying to do some research and saw your post so I figured I would give you some info of my experience.

At the top level  of your appdata there should be a backups folder that has a bunch of .tar.gz files.  The backup feature was on by default for me.  I also had the world-destroying-bug happen to me last night and this saved the day.

Link to post

Ok wow I found out what happened.

 

I made a custom backup of my world before even update the docker. When I update, it corrupted my world. So I deleted old files and restoring my world and it's working now.

Link to post

Is there a way to see what version of the Valheim server is running? I saw the developers released an updated version. I restarted the container and saw in the logs it did an update so I'm pretty sure I'm running the latest, but I just want to make sure.

Link to post

@BergstromMN, @RyanOver9000, @ddube

Please look at thread that @hammsandwich made, he now said that the update now works...

Are you sure that the container has exclusive access to the internet, without PiHole or any adblocking software in your Network?

What you can also try is to set a custom DNS for this container, to do so go tho the template and enable the 'Advanced View' and at 'Extra Parameters' add '--dns=8.8.8.8' <-this is the GoogleDNS server, choose whatever you like.

Evenutally this will solve the issue.

Please also note that SteamCMD can be sometimes really, I better might say "special"... :D

 

3 minutes ago, ddube said:

I made a custom backup of my world before even update the docker.

Please note that what @RyanOver9000 said, I've built in a special functionality that will automatically create a Backup folder in the main directory and take every 62 minutes backups of you world and will save the last 24 of them, so you will always have a backup and no manual backups are needed anymore... ;)

Link to post
Just now, ich777 said:

@BergstromMN, @RyanOver9000, @ddube

Please look at thread that @hammsandwich made, he now said that the update now works...

Are you sure that the container has exclusive access to the internet, without PiHole or any adblocking software in your Network?

What you can also try is to set a custom DNS for this container, to do so go tho the template and enable the 'Advanced View' and at 'Extra Parameters' add '--dns=8.8.8.8' <-this is the GoogleDNS server, choose whatever you like.

Evenutally this will solve the issue.

Please also note that SteamCMD can be sometimes really, I better might say "special"... :D

 

Please note that what @RyanOver9000 said, I've built in a special functionality that will automatically create a Backup folder in the main directory and take every 62 minutes backups of you world and will save the last 24 of them, so you will always have a backup and no manual backups are needed anymore... ;)

 

I saw that with the update, but I was running a version of last week and it didn't had the backup in it.

Link to post
2 minutes ago, mfjonesy said:

I restarted the container and saw in the logs it did an update so I'm pretty sure I'm running the latest, but I just want to make sure.

That's actually a feature request for the devolopers that they eventually show the currently running version at the start of the dedicated Linux server.

Please post this on the Valheim Discord/Forums/Steam Community Hub.

 

As far as I know, you can only see this in game in the community browser list (dependent on if your server is listed there.

Link to post
13 minutes ago, ich777 said:

@BergstromMN, @RyanOver9000, @ddube

Please look at thread that @hammsandwich made, he now said that the update now works...

Are you sure that the container has exclusive access to the internet, without PiHole or any adblocking software in your Network?

What you can also try is to set a custom DNS for this container, to do so go tho the template and enable the 'Advanced View' and at 'Extra Parameters' add '--dns=8.8.8.8' <-this is the GoogleDNS server, choose whatever you like.

Evenutally this will solve the issue.

Please also note that SteamCMD can be sometimes really, I better might say "special"... :D

 

Please note that what @RyanOver9000 said, I've built in a special functionality that will automatically create a Backup folder in the main directory and take every 62 minutes backups of you world and will save the last 24 of them, so you will always have a backup and no manual backups are needed anymore... ;)

 

@ich777 I don't have a backups folder in my main Valheim directory. Is this something new that you added?image.png.c1a011a6099db2b4517cdde10f0a446f.png
 

I also just noticed that a couple of my different game servers share the same steamcmd directory. Could that cause problems? Should I have each container use a different steamcmd directory? I apologize, I should have noticed that before and looked into it.
image.png.bdffdbf45374ddbdc51d4fac56dff282.png

Link to post
Quote

@BergstromMN, @RyanOver9000, @ddube

Please look at thread that @hammsandwich made, he now said that the update now works...

Are you sure that the container has exclusive access to the internet, without PiHole or any adblocking software in your Network?

What you can also try is to set a custom DNS for this container, to do so go tho the template and enable the 'Advanced View' and at 'Extra Parameters' add '--dns=8.8.8.8' <-this is the GoogleDNS server, choose whatever you like.

Evenutally this will solve the issue.

Please also note that SteamCMD can be sometimes really, I better might say "special"... :D

 

Please note that what @RyanOver9000 said, I've built in a special functionality that will automatically create a Backup folder in the main directory and take every 62 minutes backups of you world and will save the last 24 of them, so you will always have a backup and no manual backups are needed anymore... ;)

 

My issue is different from his, My connection to Steam is working fine and the server already uses 8.8.8.8 as it's primary and 8.8.4.4 as it's secondary DNS provider. The server process itself kills itself after around 30s to 1m.  I removed the restart=unless-stopped variable and verified that the container shuts down after 1min on its own.

I'm going to try what @ddube did to see if it has any effect.

Edited by RyanOver9000
Wrong quote
Link to post
11 minutes ago, Russonti said:

I don't have a backups folder in my main Valheim directory.

Then you have to force an update of the container of the Docker page (looks like you have the old version).

11 minutes ago, Russonti said:

I also just noticed that a couple of my different game servers share the same steamcmd directory.

That is actually a feature, you can share SteamCMD over multiple container since it's only needed at the startup of the containers and can be used from multiple containers at once. ;)

 

7 minutes ago, RyanOver9000 said:

My issue is different from his, My connection to Steam is working fine and the server already uses 8.8.8.8 as it's primary and 8.8.4.4 as it's secondary DNS provider. The server process itself kills itself after around 30s to 1m.  I removed the restart=unless-stopped variable and verified that the container shuts down after 1min on its own.

Have you already provided the log?

Are you sure that you have a password that is longer than 5 characters?

Link to post

Also for anyone having issues having people connect to your Valheim server even after setting up port forwarding correctly, try having them connect to your server using port 2457. I was having issues and just assumed my isp was blocking ports, but after using port 2457 instead it's all working beautifully!

Link to post
1 minute ago, mfjonesy said:

Also for anyone having issues having people connect to your Valheim server even after setting up port forwarding correctly, try having them connect to your server using port 2457.

-> see second recommended post at the top of this thread. :)

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.