Coder Social home page Coder Social logo

jamesits / docker-dst-server Goto Github PK

View Code? Open in Web Editor NEW
465.0 9.0 97.0 145 KB

Don't Starve Together dedicated server in Docker!

Home Page: https://hub.docker.com/r/jamesits/dst-server

License: GNU General Public License v2.0

Shell 17.93% Lua 71.10% Dockerfile 10.97%
docker-image dont-starve-together

docker-dst-server's Introduction

Don't Starve Together Dedicated Server Docker Image

They write their server setup instructions like sh*t, so we made this Docker image to simplify things.

Please read the whole document before putting your hands on your server.

Build Status


Versioning

The DST server code changes a lot. We offer multiple variants (tags) on Docker Hub:

  • latest or vanilla are less frequently updated images, recommended for day-to-day use
  • nightly is a nightly built image, so it (hopefully) comes with the latest server code
  • steamcmd-rebase works the same way as latest but is based on cm2network/steamcmd:root

All variants except nightly also have a -slim tagged version which does not come with DST server pre-installed; required files will be downloaded every time the container is launched. The -slim versions cannot be launched offline.

Running

Prerequisites

  • Linux x86_64 and runs Docker (18.05.0-ce or later).
  • You may need a public IP to make your server accessable from Internet.
  • You need 4 UDP ports exposed to the public network. (See FAQ for details.)
  • CPU: 1 core is somewhat enough for a small-scale server (but don't try 60 ticks, start from 15 or 30).
  • Memory: We recommend reserving 1GiB Memory for the server, plus 60MiB per active user.
  • Disk size: the Docker image takes 1.5GiB, and you need at least another 5MiB for maps, configs and logs. 4GiB available disk space is recommended.

Start server

Let's assume you are saving your server config and status to ${HOME}/.klei/DoNotStarveTogether. (This is the default location when it is running outside Docker, so we'll use this as an example. If you want to save it to other location, just mount that directory read-write to the /data folder of the container.)

Start server:

docker run -v ${HOME}/.klei/DoNotStarveTogether:/data -p 10999-11000:10999-11000/udp -p 12346-12347:12346-12347/udp -e "DST_SERVER_ARCH=amd64" -it jamesits/dst-server:latest

If you use docker-compose, an example config is provided.

Stop server

Just press Ctrl+C and wait a little while to let itself spin down. (If the server is saving data, don't press ^C twice to force kill the server.)

To programmatically shut down the server, send a SIGINT to the supervisord process.

Note: the server may take up to ~5min to save map and fully shut down.

Server Configuration

If you don't already have a set of server config in your data directory, we will generate one for you. Start server once using the command above, and you will see:

Creating default server config...
Please fill in `DoNotStarveTogether/Cluster_1/cluster_token.txt` with your cluster token and restart server!

To generate a cluster token (as of 2019-11-02):

  1. Open a genuine copy of Don't Starve Together client and log in
  2. Click "Play" to go to the main menu
  3. click "account" button on the bottom left of the main menu
  4. In the popup browser, click "GAMES" on the top nav bar
  5. Click "Don't Starve Toegther Servers" button on the top right
  6. Scroll down to "ADD NEW SERVER" section, fill in a server name (it is not important), and copy the generated token

The token looks like pds-g^aaaaaaaaa-q^jaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=. Then either set DST_CLUSTER_TOKEN environment variable during docker run, or paste the token into your_data_directory/DoNotStarveTogether/Cluster_1/cluster_token.txt.

If you need to add mods, change world generation config, etc., please do it now. Don't forget to edit your_data_directory/DoNotStarveTogether/Cluster_1/cluster.ini and get your server an unique name!

After you finish this, re-run start server command, and the server should be running.

Build Docker image locally

(In most cases you don't need this; just pull the prebuilt image from Docker Hub.)

git clone https://github.com/Jamesits/docker-dst-server.git docker-dst-server
cd docker-dst-server
docker build . -t dst-server:latest

There are some arguments you can set via --build-arg:

  • BASE_IMAGE: the FROM image (recent Debian or Ubuntu based images are supported)
  • STEAMCMD_PATH: where is steamcmd.sh in the base image
  • DST_DOWNLOAD: set to 1 to embed DST server into the image
  • DST_USER: the user to run server as (inside container)
  • DST_GROUP: the group to run server as (inside container)

Known Issues

  • On Docker environment which doesn't support UDP port forwarding, LAN only server cannot be used. (Still you can enable Steam punchthrough and search for your server in Online catalog. )
  • Docker IPv6 support is another sh*t and we currently don't have any idea on it. Help and advices are always welcomed. (see #7.)

FAQ

How to update server or mods?

Restart the server. Updates will be downloaded automatically.

How to connect to a LAN only server?

Run c_connect("IP address", port) or c_connect("IP address", port, "password") in client console.

How to check if the server is online?

You can try the 3rd party website Don't Starve Together Server List.

What port does this server require?

You need to expose UDP 10999 (master) and 11000 (caves) for client to connect; udp 12346 and 12347 for steam connection. Don't NAT these ports to different port numbers.

The server use another 2 high UDP ports for unknown communication, and UDP 10998 (listen on localhost) for communication between cluster servers.

Here is a netstat -tulpn output on our test server:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
udp        0      0 0.0.0.0:12346           0.0.0.0:*                           54/./dontstarve_ded 
udp        0      0 0.0.0.0:12347           0.0.0.0:*                           53/./dontstarve_ded 
udp        0      0 0.0.0.0:38223           0.0.0.0:*                           53/./dontstarve_ded 
udp        0      0 0.0.0.0:36517           0.0.0.0:*                           54/./dontstarve_ded 
udp        0      0 127.0.0.1:10998         0.0.0.0:*                           54/./dontstarve_ded 
udp        0      0 0.0.0.0:10999           0.0.0.0:*                           54/./dontstarve_ded 
udp        0      0 0.0.0.0:11000           0.0.0.0:*                           53/./dontstarve_ded 

Error! App '343050' state is 0x202 after update job.

Your disk is full.

Error! App '343050' state is 0x602 after update job.

Usually there is a file system permission issue preventing steamcmd from writing to your game installation directory.

Client high latency or lagging

Possible causes:

  • High packet drop rate
  • High server tick rate with low-performance clients (e.g. notebook users with tick rate 60)

How can I copy local data to server?

Local data is stored in <User Documents>\Klei\DoNotStarveTogether\<Random Number>.

There are two situations:

  1. Local data has cave enabled.
    Just copy the Cluster_X to server and rename to Cluster_1, then it should work.
  2. Local data has no cave.
    Copy everything in client_save except session and Cluster_X/save/session to server Cluster_1/save.
    If your local data is not in slot 1, you also have to modify saveindex because the server recognize only the first slot.
    The server will create a cave for you. If you don't want the cave, you have to modify supervisor.conf to disable cave server.

How can I enable mods after copy local data to server?

Open Cluster_X/Master/modoverrides.lua and you will see something like workshop-XXXXX where XXXXX is a number.
Open Cluster_1/mods/dedicated_server_mods_setup.lua on server and write ServerModSetup("XXXXX").

Maintainer

Thanks

License

Don't Starve Together Dedicated Server Docker Image
Copyright (C) 2015-2018 James Swineson (Jamesits) and Mingye Wang (Arthur2e5)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

References

docker-dst-server's People

Contributors

artoria2e5 avatar ermyril avatar jamesits avatar jlncrnt avatar ntsjsh avatar ysc3839 avatar zh99998 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-dst-server's Issues

Failed getting version check details

2023-07-09T09:55:15.163746490Z 2023-07-09 09:55:15,163 INFO success: dst-server-cave entered RUNNING state, process has stayed up for > than 40 seconds (startsecs)
2023-07-09T09:55:15.163787841Z 2023-07-09 09:55:15,163 INFO success: dst-server-master entered RUNNING state, process has stayed up for > than 40 seconds (startsecs)
2023-07-09T09:56:05.887404530Z [00:01:31]: Failed getting version check details

Hi. Why I always got this error? When this error occurs, I am unable to search for my server or enter the cave after entering the game

Mods cannot be initated and downloaded

Here is the step I built the server.

1 Use docker-compose to create a container.
2 Stop the container
3 edit "dedicated_server_mods_setup.lua", "cluster.ini" and "cluster_token".
4 restart the container
The result is that I can find the server with no mods.

I suspect this part logs could show the error

[00:00:01]: loaded modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:01]: taskgrouplist: default Together
[00:00:01]: taskgrouplist: classic Classic
[00:00:01]: taskgrouplist: cave_default Underground
[00:00:01]: taskgrouplist: lavaarena_taskset The Forge
[00:00:01]: taskgrouplist: quagmire_taskset The Gorge
[00:00:01]: running main.lua

[00:00:01]: loaded modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.

RecordSteamInterfaceCreation (PID 70): STEAMUGC_INTERFACE_VERSION015 /
RecordSteamInterfaceCreation (PID 71): STEAMUGC_INTERFACE_VERSION015 /

The cave is inaccessible

When I created the world on Steam and moved the leveldataoverride. lua and modoverride. lua of Master and Caves to the corresponding locations on the server, the Caves were blocked by vines and could not be accessed.
And I also observed unpredictable changes in the content of worldgenoverride.lua when restarting the Dock server. May I ask how Master and Caves are set up and linked?
These files that are not related to Master and Caves connections have a significant impact on world connectivity and have caused me a lot of trouble. I would greatly appreciate it if someone could take the time out of their busy schedule to answer this question.
Blocked Cave

new "netstat -tulpn" resulte

root@8143098648f5:/# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
udp        0      0 0.0.0.0:43907           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:49010           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:34881           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:27016           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:27017           0.0.0.0:*                           -                   
udp        0      0 127.0.0.1:10888         0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:10998           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:10999           0.0.0.0:*                           -  

Caves's new default port is 10998, maybe this can help someone

Proper IPv6 support

Verification needed:

DST Server

  • IPv6 Support
  • Listen on IPv6 address
  • IPv6 only environment

DST Client

  • IPv6 Support
  • IPv6 only environment

Klei auth server

  • IPv6 Support
  • IPv6 only environment

Docker

  • Enable IPv6
    (Note: enable IPv6 from Docker daemon directly will cause the daemon to fail. Additional undocumented steps needed.)
  • Auto NAT (like IPv4)

Mod issue

从日志可以看到mod被下载了,但是只有ugc v2版本的mod,老的v1版本的mod没有被自动安装。
start up log:

[00:00:01]: loaded modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.
[00:00:05]: DownloadPublishedFile [10] 378160973
[00:00:05]: DownloadPublishedFile [10] 458587300
[00:00:05]: DownloadPublishedFile [10] 462372013
[00:00:05]: DownloadPublishedFile [10] 462434129
[00:00:05]: DownloadPublishedFile [10] 661253977
[00:00:05]: DownloadPublishedFile [10] 676297854
[00:00:05]: DownloadPublishedFile [10] 829829879
[00:00:09]: OnDownloadPublishedFile [37] 378160973
[00:00:10]: OnDownloadPublishedFile [37] 458587300
[00:00:11]: OnDownloadPublishedFile [37] 462372013
[00:00:12]: OnDownloadPublishedFile [37] 462434129
[00:00:13]: OnDownloadPublishedFile [37] 661253977
[00:00:15]: OnDownloadPublishedFile [37] 676297854
[00:00:16]: OnDownloadPublishedFile [37] 829829879
[00:00:36]: FinishDownloadingServerMods Complete!

image

image

dedicated_server_mods_setup.lua:

--There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.

--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
	--The Workshop id can be found at the end of the url to the mod's Workshop page.
	--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
	--ServerModSetup("350811795")

--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
	--The Workshop id can be found at the end of the url to the collection's Workshop page.
	--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
	--ServerModCollectionSetup("379114180")
ServerModSetup("378160973")
ServerModSetup("458587300")
ServerModSetup("462372013")
ServerModSetup("462434129")
ServerModSetup("661253977")
ServerModSetup("666155465")
ServerModSetup("676297854")
ServerModSetup("829829879")

More worlds

emmm,I want to know how could i create more words and start them.
more words just the dst-server have more words in Cluster_1 floder, this floder have another word except 'Cave' and 'Master',it maybe have 'Master1' floder and the 'Master1' floder represent anthoer word.
so, i want to know how can i add one or more word into dst-server.
Tips: i have find that i should revise the supervisor.conf file ,but i don't know how to change it.
That's all i thought.

Segmentation fault error. Not starting. Not docker, neither docker-compose

docker run -v ${HOME}/.klei/DoNotStarveTogether:/data -p 10999-11000:10999-11000/udp -p 12346-12347:12346-12347/udp -it jamesits/dst-server:latest
Updating server...
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/root/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Downloading update (195 of 53847 KB)...
[  0%] Downloading update (3819 of 53847 KB)...
[  7%] Downloading update (7306 of 53847 KB)...
[ 13%] Downloading update (10043 of 53847 KB)...
[ 18%] Downloading update (12516 of 53847 KB)...
[ 23%] Downloading update (15005 of 53847 KB)...
[ 27%] Downloading update (17487 of 53847 KB)...
[ 32%] Downloading update (20143 of 53847 KB)...
[ 37%] Downloading update (22677 of 53847 KB)...
[ 42%] Downloading update (25176 of 53847 KB)...
[ 46%] Downloading update (27665 of 53847 KB)...
[ 51%] Downloading update (30159 of 53847 KB)...
[ 56%] Downloading update (32641 of 53847 KB)...
[ 60%] Downloading update (35512 of 53847 KB)...
[ 65%] Downloading update (36756 of 53847 KB)...
[ 68%] Downloading update (38002 of 53847 KB)...
[ 70%] Downloading update (39371 of 53847 KB)...
[ 73%] Downloading update (40615 of 53847 KB)...
[ 75%] Downloading update (41859 of 53847 KB)...
[ 77%] Downloading update (43104 of 53847 KB)...
[ 80%] Downloading update (44478 of 53847 KB)...
[ 82%] Downloading update (45723 of 53847 KB)...
[ 84%] Downloading update (46967 of 53847 KB)...
[ 87%] Downloading update (48208 of 53847 KB)...
[ 89%] Downloading update (49571 of 53847 KB)...
[ 92%] Downloading update (50815 of 53847 KB)...
[ 94%] Downloading update (52060 of 53847 KB)...
[ 96%] Downloading update (53304 of 53847 KB)...
[ 98%] Downloading update (53847 of 53847 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
max open descriptors set to 2048
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/root/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1642451655
-- type 'quit' to exit --
Loading Steam API...OK
@ShutdownOnFailedCommand 1
"@ShutdownOnFailedCommand" = "1"
@NoPromptForPassword 1
"@NoPromptForPassword" = "1"

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
force_install_dir /opt/dst_server
Please use force_install_dir before logon!
app_update 343050
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Warning: failed to init SDL thread priority manager: SDL not found
 Update state (0x61) downloading, progress: 2.30 (11534336 / 502502748)
 Update state (0x61) downloading, progress: 26.37 (132530374 / 502502748)
 Update state (0x61) downloading, progress: 38.28 (192340851 / 502502748)
 Update state (0x61) downloading, progress: 49.88 (250647844 / 502502748)
 Update state (0x61) downloading, progress: 63.77 (320460915 / 502502748)
 Update state (0x61) downloading, progress: 80.43 (404148776 / 502502748)
 Update state (0x61) downloading, progress: 100.00 (502502748 / 502502748)
 Update state (0x81) verifying update, progress: 41.00 (206034162 / 502502748)
 Update state (0x81) verifying update, progress: 89.13 (447869482 / 502502748)
 Update state (0x101) committing, progress: 0.00 (0 / 502502748)
 Update state (0x101) committing, progress: 48.59 (244163038 / 502502748)
Success! App '343050' fully installed.
quit
Updating mods...
[00:00:00]: PersistRootStorage is now /data//DoNotStarveTogether/Cluster_1/Master/
[00:00:00]: Starting Up
[00:00:00]: Version: 494138
[00:00:00]: Current time: Sat Feb  5 13:08:48 2022

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: 070f96500c13
[00:00:00]: Release(Kernel) Version: 3.10.0-957.27.2.el7.x86_64
[00:00:00]: Kernel Build Timestamp: #1 SMP Mon Jul 29 17:46:05 UTC 2019
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 494138 LINUX
[00:00:00]: Build Date: 7659
[00:00:00]: Mode: 32-bit
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -persistent_storage_root /data -ugc_directory /data/ugc -only_update_server_mods
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: Mounting file system databundles/klump.zip successful.
[00:00:00]: THREAD - started 'GAClient' (4130233152)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: Mounting file system databundles/shaders.zip successful.
[00:00:00]: Mounting file system databundles/fonts.zip successful.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip successful.
[00:00:00]: Mounting file system databundles/bigportraits.zip successful.
[00:00:00]: Mounting file system databundles/images.zip successful.
[00:00:00]: Mounting file system databundles/scripts.zip successful.
[00:00:00]: [Steam] SteamGameServer_Init(10999, 12346)
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
Setting breakpad minidump AppID = 322330
[00:00:01]: [Steam] SteamGameServer_Init success
[00:00:01]: ProfileIndex:3.27
[00:00:01]: [Connect] PendingConnection::Reset(true)
[00:00:01]: THREAD - started 'Ping Job Thread' (4069522240)
[00:00:01]: Platform: 1
[00:00:01]: Network tick rate: U=15(2), D=0
[00:00:01]: Network tick rate: U=15(2), D=0
[00:00:01]: OnLoadPermissionList: /data//DoNotStarveTogether/Cluster_1/blocklist.txt (Success)
[00:00:01]: OnLoadPermissionList: /data//DoNotStarveTogether/Cluster_1/adminlist.txt (Success)
[00:00:01]: OnLoadUserIdList: /data//DoNotStarveTogether/Cluster_1/whitelist.txt (Success)
[00:00:01]: Token retrieved from: /data//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:01]: Token retrieved from: /data//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:01]: cGame::InitializeOnMainThread
[00:00:01]: Renderer initialize: Okay
[00:00:01]: AnimManager initialize: Okay
[00:00:01]: Buffers initialize: Okay
[00:00:01]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:01]: GameSpecific initialize: Okay
[00:00:01]: cGame::StartPlaying
[00:00:01]: THREAD - started 'StreamInput' (4065327936)
[00:00:01]: AppVersion::GetArchitecture() x32
[00:00:01]: LOADING LUA
[00:00:01]: DoLuaFile scripts/main.lua
[00:00:01]: DoLuaFile loading buffer scripts/main.lua
[00:00:01]:   taskgrouplist:	default	Together
[00:00:01]:   taskgrouplist:	classic	Classic
[00:00:01]:   taskgrouplist:	cave_default	Underground
[00:00:01]:   taskgrouplist:	lavaarena_taskset	The Forge
[00:00:01]:   taskgrouplist:	quagmire_taskset	The Gorge
[00:00:01]: running main.lua

[00:00:01]: loaded modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:01]: FinishDownloadingServerMods Complete!
src/vstdlib/strtools.cpp (990) : pDest != NULL
src/vstdlib/strtools.cpp (990) : pDest != NULL
Segmentation fault
Error on line 71; RET 139.

Permission Denied after install

hey,

i try to install the docker on an qnap NAS with the command
docker run -v ${HOME}/.klei/DoNotStarveTogether:/data -p 10999-11000:10999-11000/udp -p 12346-12347:12346-12347/udp -it jamesits/dst-server:latest

after downloading and installing i get the following error:

updating mods...
su: warning: cannot change directory to /data: Permission denies
su: failed to execute /bin/sh: Permission denied
Error on line 50; RET 126.

is this a problem in combination with qnap?
or my fault?

Clarify how to change server name or search for it

I believe it should be made clearer in the README.md what the name of the server is and how to change it. I was for more than half an hour trying to debug because I thought the name the server would appear with on the lobby would be the same we gave in the cluster token section.

关于服务器的网络连接问题

我一开始部署的时候整个服务器的请求是通过代理的,于是地区被判定为代理所在地,导致大家连接都很卡。
但是如果我不让服务器走代理,docker 启动时候的下载就很慢,几乎下不动。
请问有没有什么好办法让 docker 下载的时候走代理,但是与官方服务器通信的时候不走代理呢?

Server up with errors

[00:00:10]: Event data unavailable: lavaarena_event_server/lavaarena_achievement_quest_defs
[00:00:10]: LOADING LUA SUCCESS
[00:00:10]: PlayerDeaths could not load morgue
[00:00:10]: PlayerHistory could not load player_history
[00:00:10]: ServerPreferences could not load server_preferences
[00:00:10]: bloom_enabled       true
[00:00:10]: OnFilesLoaded()
[00:00:10]: OnUpdatePurchaseStateComplete
[00:00:10]: Loading world: session/B9C4A44FA5C835FE/0000000002
[00:00:10]: Save file is at version 5.1
[00:00:10]: Klump load on boot started.
[00:00:10]: Klump files loaded:         0
[00:00:10]:     Unload FE
[00:00:10]:     Unload FE done
[00:00:24]:     LOAD BE
[00:00:15]:     LOAD BE
2022-03-31 08:12:08,027 INFO exited: dst-server-master (terminated by SIGKILL; not expected)
2022-03-31 08:12:08,328 INFO gave up: dst-server-master entered FATAL state, too many start retries too quickly
[00:00:32]:     LOAD BE: done
[00:00:32]: Begin Session: B9C4A44FA5C835FE
[00:00:32]: saving to server_temp/server_save
[00:00:32]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:32]: Loading 18 new character(s)
[00:00:33]: Total 18 character(s) loaded
[00:00:36]: Loading Nav Grid
[00:00:36]: World generated on build 500432 with save version: 5.1, using seed: 1648660330
[00:00:36]: [Shard] Secondary shard is waiting for LUA...
[00:00:37]: Can't find prefab archive_sound_area
[00:00:37]: SpawnSaveRecord [nil, archive_sound_area] FAILED
[00:00:37]: Can't find prefab archive_sound_area
[00:00:37]: SpawnSaveRecord [nil, archive_sound_area] FAILED
[00:00:37]: Can't find prefab archive_sound_area
[00:00:37]: SpawnSaveRecord [nil, archive_sound_area] FAILED
2022-03-31 08:12:23,431 INFO exited: dst-server-cave (terminated by SIGKILL; not expected)
2022-03-31 08:12:24,550 INFO gave up: dst-server-cave entered FATAL state, too many start retries too quickly

image

Just like this display

I don't know what error happpens.

If you need other info, i can take it for you.

Inquiry About Using FRP Service for Mapping Local Server to Public Network

Hello,

I am very interested in your project docker-dst-server, which greatly facilitates the running and management of dedicated servers for Don't Starve Together. I have a question regarding network configuration and would appreciate your guidance.

I am wondering if it's possible to use FRP (Fast Reverse Proxy) service to map a locally run DST server to the public internet. My server does not have a public IP, and I plan to use FRP to enable access from external networks.

Could you provide any guidance or suggestions on how to configure FRP and Docker to achieve this? Any information or advice you can offer would be incredibly helpful.

Thank you very much for your time and assistance!

Best regards,
mole828

translate by chatgpt

How do we disable caves or do other low-level overrides?

What is the easiest way to disable caves, without just making the shards unable to connect to each other?

I also wanted to generate the world with a specific seed, but it seems this requires editing a file which is stored inside the docker image.

I can't get this to run

I've tried a number of different ways but every time I get stuck on "DoLuaFile Could not load lua file scripts/main.lua", I think the issue is "Mounting file system databundles/scripts.zip skipped." because that lua file is in that zip file. Unfortunately I can't figure out why it's not loading the zip file

Full Log:

[00:00:00]: PersistRootStorage is now /data//DoNotStarveTogether/Cluster_1/Master/
[00:00:00]: Starting Up
[00:00:00]: Version: 400152
[00:00:00]: Current time: Fri Mar 20 02:21:23 2020

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: 3f1c820944ef
[00:00:00]: Release(Kernel) Version: 4.19.106-coreos
[00:00:00]: Kernel Build Timestamp: #1 SMP Wed Feb 26 21:43:18 -00 2020
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 400152 LINUX
[00:00:00]: Build Date: 5773
[00:00:00]: Mode: 32-bit
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -persistent_storage_root /data -only_update_server_mods
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: THREAD - started 'GAClient' (4134042432)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: Mounting file system databundles/klump.zip skipped.
[00:00:00]: Mounting file system databundles/shaders.zip skipped.
[00:00:00]: Mounting file system databundles/fonts.zip skipped.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip skipped.
[00:00:00]: Mounting file system databundles/bigportraits.zip skipped.
[00:00:00]: Mounting file system databundles/images.zip skipped.
[00:00:00]: Mounting file system databundles/scripts.zip skipped.
[00:00:00]: ProfileIndex:4.52
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: THREAD - started 'Ping Job Thread' (4127193920)
[00:00:00]: Platform: 1
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: THREAD - started 'StreamInput' (4122999616)
[00:00:00]: OnLoadPermissionList: /data//DoNotStarveTogether/Cluster_1/blocklist.txt (Success)
[00:00:00]: OnLoadPermissionList: /data//DoNotStarveTogether/Cluster_1/adminlist.txt (Success)
[00:00:00]: OnLoadUserIdList: /data//DoNotStarveTogether/Cluster_1/whitelist.txt (Success)
[00:00:00]: Token retrieved from: /data//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:00]: Token retrieved from: /data//DoNotStarveTogether/Cluster_1/cluster_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: Renderer initialize: Okay
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile Could not load lua file scripts/main.lua
[00:00:00]: Error loading main.lua
[00:00:00]: Failed mSimulation->Reset()
[00:00:00]: Error during game initialization!
[00:00:00]: attempt to call a nil value
LUA ERROR stack traceback:
[00:00:00]: attempt to call a nil value
LUA ERROR stack traceback:
[00:00:00]: Collecting garbage...
[00:00:00]: lua_gc took 0.00 seconds
[00:00:00]: ~ShardLuaProxy()
[00:00:00]: ~cEventLeaderboardProxy()
[00:00:00]: ~ItemServerLuaProxy()
[00:00:00]: ~InventoryLuaProxy()
[00:00:00]: ~NetworkLuaProxy()
[00:00:00]: ~SimLuaProxy()
[00:00:00]: lua_close took 0.00 seconds
[00:00:00]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager.
[00:00:00]: CurlRequestManager::ClientThread::Main() complete
[00:00:00]: HttpClient2 discarded 0 callbacks.
[00:00:00]: Shutting down

Game update problem

Hi, when the game is updated, I have to manually restart the container every time to let the game server update, how can I make the dedicated server update automatically?

mv: cannot remove '/data/DoNotStarveTogether/Cluster_1/cluster_token.txt': Device or resource busy

The current script is a bit annoying when someone tries to map the cluster_token into the volume, like:

volumes:
- /opt/game_dst/cluster_token.txt:/data/DoNotStarveTogether/Cluster_1/cluster_token.txt:ro

This results in the following error message due to the fact cluster_token.txt' is only mapped into the file directory:

mv: cannot remove '/data/DoNotStarveTogether/Cluster_1/cluster_token.txt': Device or resource busy
Error on line 35; RET 1.

https://github.com/Jamesits/docker-dst-server/blob/master/entrypoint.sh#L35

Please either do not modify cluster_token.txt, or at least do not modify it when it is already correct.

Caves Problem

I have been try servers time but I just could not enter the sinkhole."The earth it self reject me”is what Wilson says.Maybe there is something wrong with my configuration.

about the config

Where should I put the cluster_token.txt? I try everywhere but no one works...
should it be like this?
~/.klei/DoNotStarveTogether/DoNotStarveTogether/Cluster_1/cluster_token.txt

[suggestion] Keep server files persistent?

Every time the server restarts, it downloads the server files from steamcmd, it might be useful for some people to write the files to a persistent volume, and instead of downloading every time, just check if the files are current or not, would result in a faster startup time as there is no waiting time for server downloads. Could also be useful for multiple containers using the same core files as this would save on storage (granted, not a lot, but it is still storage)

Can't run on Swarmpit. Remains Starting. Does not continue.

image

image

The system can work properly. and can join the server, but the Swarmpit's status is kept in Starting state unchanged. (usually After a period of time, the Swarmpit's system will change to Failed and the Dst server will restart, recursively.

Server gets SIGKILL and keeps restarting forever

Hello,
I followed all instructions and installed it in a Ubuntu server
Docker version 20.10.7, build 20.10.7-0ubuntu1~21.04.2

I used the docker composer file provided in this repo.

Whenever I use docker-compose up after setting the token, it gives me this error after a while:


dst-server_1  | 2021-11-04 20:16:43,641 INFO success: dst-server-cave entered RUNNING state, process has stayed up for > than 40 seconds (startsecs)
dst-server_1  | 2021-11-04 20:16:45,333 INFO success: dst-server-master entered RUNNING state, process has stayed up for > than 40 seconds (startsecs)
dst-server_1  | 2021-11-04 20:20:42,629 INFO exited: dst-server-master (terminated by SIGKILL; not expected)
dst-server_1  | 2021-11-04 20:20:42,655 INFO spawned: 'dst-server-master' with pid 113
dst-server_1  | [00:00:00]: PersistRootStorage is now /data//DoNotStarveTogether/Cluster_1/Master/
dst-server_1  | [00:00:00]: Starting Up
dst-server_1  | [00:00:00]: Version: 483468
dst-server_1  | [00:00:00]: Current time: Thu Nov  4 20:20:42 2021
[...]

And keeps restarting like this for a while

sometimes I get exceptions:

dst-server_1  | 2021-11-04 20:21:22,764 INFO success: dst-server-master entered RUNNING state, process has stayed up for > than 40 seconds (startsecs)
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1345, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 531, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 447, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/compose/cli/log_printer.py", line 217, in watch_events
    for event in event_stream:
  File "/usr/lib/python3/dist-packages/compose/project.py", line 504, in yield_loop
    yield build_container_event(event)
  File "/usr/lib/python3/dist-packages/compose/project.py", line 472, in build_container_event
    container = Container.from_id(self.client, event['id'])
  File "/usr/lib/python3/dist-packages/compose/container.py", line 48, in from_id
    return cls(client, client.inspect_container(id), has_been_inspected=True)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/container.py", line 758, in inspect_container
    self._get(self._url("/containers/{0}/json", container)), True
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 230, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

Mods Problem

I am Trying to download some Mods in the workshop ,so i edit the"dedicated_server_mods_setup.lua"file in Mods Folder,but everytime i start the server,It just becoming default,and no mods has been download.how can i fix that.

Could not load lua file scripts/main.lua

This issue is for archive purpose since there are none document on the Internet for this.

Symptoms:

dontstarve_dedicated_server_nullrenderer refuse to start, reporting "Could not load lua file scripts/main.lua"

Logs:

[00:00:00]: PersistRootStorage is now /root/.klei//DoNotStarveTogether/Cluster_1/Master/
[00:00:00]: Version: 276940
[00:00:00]: Current time: Thu Jul 12 13:03:06 2018

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: 83edffb1ffd4
[00:00:00]: Release(Kernel) Version: 4.4.0-122-generic
[00:00:00]: Kernel Build Timestamp: #146-Ubuntu SMP Mon Apr 23 15:34:04 UTC 2018
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 276940 LINUX
[00:00:00]: Build Date: 3954
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -shard Master 
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: Mounting file system databundles/klump.zip skipped.
[00:00:00]: Mounting file system databundles/shaders.zip skipped.
[00:00:00]: Mounting file system databundles/fonts.zip skipped.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip skipped.
[00:00:00]: Mounting file system databundles/bigportraits.zip skipped.
[00:00:00]: Mounting file system databundles/images.zip skipped.
[00:00:00]: Mounting file system databundles/scripts.zip skipped.
[00:00:00]: THREAD - started 'GAClient' (4129975104)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: ProfileIndex:6.59
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/Cluster_1/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/Cluster_1/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/Cluster_1/whitelist.txt (Failure)
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: Renderer initialize: Okay
[00:00:00]: THREAD - started 'StreamInput' (4122999616)
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile Could not load lua file scripts/main.lua
[00:00:00]: Error loading main.lua
[00:00:00]: Failed mSimulation->Reset()
[00:00:00]: Error during game initialization!
Updates 0Seconds elapsed: 0.0428979 fps:0
Saving Dedicated server data...
[00:00:00]: attempt to call a nil value
LUA ERROR stack traceback:
[00:00:00]: attempt to call a nil value
LUA ERROR stack traceback:
[00:00:00]: Collecting garbage...
[00:00:00]: lua_gc took 0.00 seconds
[00:00:00]: ~ShardLuaProxy()
[00:00:00]: ~cEventLeaderboardProxy()
[00:00:00]: ~ItemServerLuaProxy()
[00:00:00]: ~InventoryLuaProxy()
[00:00:00]: ~NetworkLuaProxy()
[00:00:00]: ~SimLuaProxy()
[00:00:00]: lua_close took 0.00 seconds
[00:00:00]:  Manager - ORPHANED UNKNOWN RESOURCES:
[00:00:00]: shaders/ui_yuv.ksh - 1
[00:00:00]: CurlRequestManager::ClientThread::Main() complete
[00:00:00]: HttpClient2 discarded 0 callbacks.
[00:00:00]: Shutting down

It seems unable to download mods

I have this problem,The game is fine, but the mod is not loaded,my mod dir is only have these file:

dedicated_server_mods_setup.lua  INSTALLING_MODS.txt  MAKING_MODS.txt  modsettings.lua

It seems the mod was not downloaded automatically.

Here are all the logs for the container:

logs.txt

# cat dedicated_server_mods_setup.lua 
--There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.

--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
	--The Workshop id can be found at the end of the url to the mod's Workshop page.
	--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
	--ServerModSetup("350811795")

--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
	--The Workshop id can be found at the end of the url to the collection's Workshop page.
	--Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
	--ServerModCollectionSetup("379114180")
	--
ServerModSetup("362175979")
ServerModSetup("378160973")

微信截图_20211031131625

Originally posted by @kirito41dd in #37 (comment)

Localized language

hello,my engilsh not good.
It seems that the character language is not displayed according to the language I set,
1:Language of characters
2:Blueprints and papers dropped by boss

Caves and Not can search on server

Before it not work in another issues, now i rebuild my server and it works, but now, all looks like in the right way, but i can't see it on the Don't Strave Together Sever list.

and now i change is the server name and description. and i add the token.

The Caves can't link to the Master

[00:12:49]: [Shard] Connecting to master...
[00:12:59]: [Shard] Connection to master failed. Waiting to reconnect...
[00:13:05]: About to start a shard with these settings:
[00:13:05]:   ShardName: Caves
[00:13:05]:   ShardID: 3602431866
[00:13:05]:   ShardRole: SECONDARY
[00:13:05]:   MasterHost: 127.0.0.1
[00:13:05]:   MasterBind: (null)
[00:13:05]:   MasterPort: 10998
[00:13:05]: [Shard] Connecting to master...
[00:13:15]: [Shard] Connection to master failed. Waiting to reconnect...
[00:13:20]: About to start a shard with these settings:
[00:13:20]:   ShardName: Caves
[00:13:20]:   ShardID: 3602431866
[00:13:20]:   ShardRole: SECONDARY
[00:13:20]:   MasterHost: 127.0.0.1
[00:13:20]:   MasterBind: (null)
[00:13:20]:   MasterPort: 10998
[00:13:20]: [Shard] Connecting to master...
[00:13:30]: [Shard] Connection to master failed. Waiting to reconnect...
[00:13:35]: About to start a shard with these settings:
[00:13:35]:   ShardName: Caves
[00:13:35]:   ShardID: 3602431866
[00:13:35]:   ShardRole: SECONDARY
[00:13:35]:   MasterHost: 127.0.0.1
[00:13:35]:   MasterBind: (null)
[00:13:35]:   MasterPort: 10998
[00:13:35]: [Shard] Connecting to master...

image

and this is logs

https://gist.github.com/allinu/181ff16d7a41ac594c0906cdaf292713

Adding official configurations will prevent me from entering the cave.

Dedicated Server Linux/Ubuntu with Docker and the hardware resources is enough.
After running the provided Docker Run command in a brand new environment, I can enter the master world and caves.
However, after adding leveldataoverride.lua, modoverride.lua (These configuration files were obtained after creating a public cloud archive world in Don't Starve Together in Steam, Archive created from Steam on PC can be accessed normally from Master World) and mods to the Master and Caves folders and restarting, the Master world cave will appear blocked by vines.
I speculate that it may be a port or cluster matching issue in the configuration of files such as leveldataoverride. lua, server. ini, and cluster. ini, as well as a configuration reset caused by Docker restart. Will language and regional settings be affected?

Could not load mod_config_data/modconfiguration_workshop-MODID_CLIENT

Description

All mods can be downloaded, some mods can be enabled but some cannot. I have no idea why this occurs.
 

My confs

First I set up a server on my windows desktop, and I copy the server conf Master/modoverrides.lua and Caves/modoverrides.lua to my Linux server, then I edit the mods/dedicated_server_mods_setup.lua on my Linux server according to the modoverrides.lua.

On my windows desktop, it works well, so I wonder why this conf don't work on my linux server.

mods/dedicated_server_mods_setup.lua

--# Simple Health Bar DST
ServerModSetup("1207269058")
--# Fast Travel (GUI)
ServerModSetup("1530801499")
--# Myth Characters-神话人物
ServerModSetup("1699194522")
--# [Arknights]Amiya
ServerModSetup("1892210190")
--# Myth Words Theme-神话书说
ServerModSetup("1991746508")
--# Insight (Show Me+)
ServerModSetup("2189004162")
--# Finder Redux
ServerModSetup("2281925291")
--# Show Me(中文)
ServerModSetup("2287303119")
--# 五格装备栏(幽冥汉化版)
ServerModSetup("2373346252")
--# Bug tracker
ServerModSetup("2427481232")
--# Increased Stack size
ServerModSetup("2519429353")
--# 大背包 Big Bag-新
ServerModSetup("2574469496")
--# Extra Equip Slot Plus +
ServerModSetup("2823530744")
--# Display Food Values
ServerModSetup("347079953")
--# Wormhole Marks [DST]
ServerModSetup("362175979")
--# Global Positions
ServerModSetup("378160973")
--# Food Values - Item Tooltips (Server and Client)
ServerModSetup("458940297")
--# Restart
ServerModSetup("462434129")
--# Quick Pick
ServerModSetup("501385076")
--# Marisa Kirisame
ServerModSetup("684041335")
--# Reimu(DST)
ServerModSetup("684722436")
--# 45 Inventory Slots
ServerModSetup("786556008")
--# 999 Stack Size
ServerModSetup("831523966")
--# 5x5 box & icebox
ServerModSetup("913454779")

 

Master/modoverrides.lua and Caves/modoverrides.lua


return {
  ["workshop-1207269058"]={ configuration_options={  }, enabled=true },
  ["workshop-1530801499"]={
    configuration_options={ Hunger_Cost=1, Ownership=false, Sanity_Cost=1 },
    enabled=true
  },
  ["workshop-1699194522"]={ configuration_options={  }, enabled=true },
  ["workshop-1892210190"]={ configuration_options={ Language="nil", TuneMode="normal" }, enabled=true },
  ["workshop-1991746508"]={ configuration_options={ Language="A", ShowBuff=true }, enabled=true },
  ["workshop-2189004162"]={
    configuration_options={
      DEBUG_ENABLED=false,
      DEBUG_SHOW_DISABLED=false,
      DEBUG_SHOW_NOTIMPLEMENTED=false,
      DEBUG_SHOW_PREFAB=false,
      alt_only_information=false,
      appeasement_value="undefined",
      attack_range_type="undefined",
      battlesong_range="both",
      blink_range=true,
      boss_indicator=true,
      bottle_indicator=true,
      crash_reporter=false,
      display_attack_range="undefined",
      display_cawnival="undefined",
      display_crafting_lookup_button=true,
      display_fertilizer="undefined",
      display_finiteuses=true,
      display_fishing_information="undefined",
      display_food="undefined",
      display_harvestable=true,
      display_health="undefined",
      display_hunger="undefined",
      display_insight_menu_button=true,
      display_mob_attack_damage="undefined",
      display_perishable="undefined",
      display_pickable=true,
      display_plant_stressors="undefined",
      display_pollination="undefined",
      display_sanity="undefined",
      display_sanityaura="undefined",
      display_shared_stats="undefined",
      display_shelter_info="undefined",
      display_spawner_information="undefined",
      display_timers="undefined",
      display_unwrappable="undefined",
      display_upgradeable="undefined",
      display_weather="undefined",
      display_weighable="undefined",
      display_world_events="undefined",
      display_worldmigrator="undefined",
      display_yotb_appraisal="undefined",
      display_yotb_winners="undefined",
      domestication_information="undefined",
      extended_info_indicator=true,
      follower_info="undefined",
      food_effects=true,
      food_memory="undefined",
      food_order="interface",
      food_style="long",
      food_units=true,
      fuel_highlighting=false,
      fuel_highlighting_color="RED",
      fuel_verbosity="undefined",
      growth_verbosity="undefined",
      herd_information="undefined",
      highlighting=true,
      highlighting_color="GREEN",
      hover_range_indicator=true,
      hunt_indicator="undefined",
      info_preload="undefined",
      info_style="text",
      item_worth="undefined",
      itemtile_display="percentages",
      klaus_sack_markers="undefined",
      language="automatic",
      lightningrod_range=1,
      naughtiness_verbosity="undefined",
      nightmareclock_display="undefined",
      notable_indicator=true,
      orchestrina_indicator="undefined",
      pipspook_indicator=true,
      refresh_delay="undefined",
      repair_values="undefined",
      sinkhole_marks=2,
      soil_moisture=2,
      soil_nutrients="undefined",
      soil_nutrients_needs_hat="undefined",
      stewer_chef="undefined",
      text_coloring=true,
      time_style="gametime",
      unique_info="undefined",
      weapon_damage="undefined",
      wortox_soul_range=true,
      ["信息控制"]=0,
      ["指示器"]=0,
      ["杂项"]=0,
      ["格式"]=0,
      ["调试"]=0,
      ["食物相关"]=0
    },
    enabled=true
  },
  ["workshop-2281925291"]={
    configuration_options={ ACTIVEITEM=true, ["Client and server options"]=0, INGREDIENT=true, TINT=1 },
    enabled=true
  },
  ["workshop-2287303119"]={
    configuration_options={
      [""]=0,
      T_crop=true,
      chestB=-1,
      chestG=-1,
      chestR=-1,
      display_hp=1,
      food_estimation=-1,
      food_order=0,
      food_style=0,
      item_info_mod=0,
      lang="Auto",
      show_buddle_item=1,
      show_food_units=-1,
      show_uses=-1
    },
    enabled=true
  },
  ["workshop-2373346252"]={ configuration_options={  }, enabled=true },
  ["workshop-2427481232"]={ configuration_options={  }, enabled=true },
  ["workshop-2519429353"]={ configuration_options={ MAXSTACKSIZE=99 }, enabled=true },
  ["workshop-2574469496"]={
    configuration_options={
      BAGINBAG=false,
      BAGSIZE=1,
      BIGBAGPICK=false,
      BIGBAGWATER=false,
      CONTAINERDRAG_SWITCH="KEY_F1",
      FRESH=false,
      HEATROCKTEMPERATURE=false,
      KEEPFRESH=false,
      LANG=1,
      LIGHT=false,
      NICEBIGBAGSIZE=2,
      RECIPE=3,
      STACK=false,
      WALKSPEED=0.75
    },
    enabled=true
  },
  ["workshop-2823530744"]={
    configuration_options={
      amulet_slot=true,
      backpack_slot=true,
      chesspiece_fix=true,
      compass_slot=false,
      drop_hand_item_when_heavy=true,
      render_strategy="none",
      show_compass=true,
      slots_num=0
    },
    enabled=true
  },
  ["workshop-347079953"]={
    configuration_options={ DFV_Language="EN", DFV_MinimalMode="default" },
    enabled=true
  },
  ["workshop-362175979"]={ configuration_options={ ["Draw over FoW"]="disabled" }, enabled=true },
  ["workshop-378160973"]={
    configuration_options={
      ENABLEPINGS=true,
      FIREOPTIONS=2,
      OVERRIDEMODE=false,
      SHAREMINIMAPPROGRESS=true,
      SHOWFIREICONS=true,
      SHOWPLAYERICONS=true,
      SHOWPLAYERSOPTIONS=2
    },
    enabled=true
  },
  ["workshop-458940297"]={
    configuration_options={
      DFV_ClientPrediction="default",
      DFV_FueledSettings="default",
      DFV_Language="EN",
      DFV_MinimalMode="default",
      DFV_PercentReplace="default",
      DFV_ShowACondition="default",
      DFV_ShowADefence="default",
      DFV_ShowAType="default",
      DFV_ShowDamage="default",
      DFV_ShowFireTime="default",
      DFV_ShowInsulation="default",
      DFV_ShowTemperature="default",
      DFV_ShowUses="default"
    },
    enabled=true
  },
  ["workshop-462434129"]={
    configuration_options={
      MOD_RESTART_ALLOW_KILL=true,
      MOD_RESTART_ALLOW_RESTART=true,
      MOD_RESTART_ALLOW_RESURRECT=true,
      MOD_RESTART_CD_BONUS=0,
      MOD_RESTART_CD_KILL=3,
      MOD_RESTART_CD_MAX=0,
      MOD_RESTART_CD_RESTART=5,
      MOD_RESTART_CD_RESURRECT=7,
      MOD_RESTART_FORCE_DROP_MODE=0,
      MOD_RESTART_IGNORING_ADMIN=true,
      MOD_RESTART_MAP_SAVE=2,
      MOD_RESTART_RESURRECT_HEALTH=0,
      MOD_RESTART_TRIGGER_MODE=1,
      MOD_RESTART_WELCOME_TIPS=true,
      MOD_RESTART_WELCOME_TIPS_TIME=6
    },
    enabled=true
  },
  ["workshop-501385076"]={
    configuration_options={
      quick_cook_on_fire=true,
      quick_harvest=true,
      quick_pick_cactus=true,
      quick_pick_plant_normal_ground=true
    },
    enabled=true
  },
  ["workshop-684041335"]={
    configuration_options={
      broom_damage=45,
      destruction=1,
      grenade_damage=150,
      hakkero_damage=33,
      hakkero_durability=20,
      health=100,
      hunger=90,
      hunger_multi=4.5,
      lang=0,
      magic_broom_durability=60,
      marisavolume=0.2,
      master_damage=300,
      normal_broom_damage=25,
      normal_broom_durability=50,
      sanity=250,
      speed_multi=1.5,
      speed_multi1=1.1
    },
    enabled=true
  },
  ["workshop-684722436"]={ configuration_options={ ccraft=1, lang=0 }, enabled=true },
  ["workshop-786556008"]={
    configuration_options={ ENABLEBACKPACK=false, EXTRASLOT=0, INVENTORYSIZE=45 },
    enabled=true
  },
  ["workshop-831523966"]={ configuration_options={ soul_stack=20, stack_size=999 }, enabled=true },
  ["workshop-913454779"]={ configuration_options={  }, enabled=true }
}

 

Environment


maker-dst-dst-server-1  | [00:00:00]: Starting Up
maker-dst-dst-server-1  | [00:00:00]: Version: 532704
maker-dst-dst-server-1  | [00:00:00]: Current time: Tue Nov 29 07:04:49 2022
maker-dst-dst-server-1  |
maker-dst-dst-server-1  | [00:00:00]: System Name: Linux
maker-dst-dst-server-1  | [00:00:00]: Host Name: d1963d13eda0
maker-dst-dst-server-1  | [00:00:00]: Release(Kernel) Version: 5.10.0-18-amd64
maker-dst-dst-server-1  | [00:00:00]: Kernel Build Timestamp: #1 SMP Debian 5.10.140-1 (2022-09-02)
maker-dst-dst-server-1  | [00:00:00]: Machine Arch: x86_64
maker-dst-dst-server-1  | [00:00:00]: Don't Starve Together: 532704 LINUX
maker-dst-dst-server-1  | [00:00:00]: Build Date: 8506
maker-dst-dst-server-1  | [00:00:00]: Mode: 32-bit

 

Part of log

maker-dst-dst-server-1  | [00:00:01]: Running main.lua
maker-dst-dst-server-1  |
maker-dst-dst-server-1  | [00:00:01]: loaded modindex
maker-dst-dst-server-1  | [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.
maker-dst-dst-server-1  |
maker-dst-dst-server-1  | [00:00:01]: SUCCESS: Loaded modoverrides.lua
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-2519429353
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-1207269058
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-2189004162
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-2287303119
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-2574469496
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-1892210190
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-2823530744
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-913454779
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-1699194522
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-2427481232
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-1991746508
maker-dst-dst-server-1  | [00:00:01]: modoverrides.lua enabling workshop-378160973
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-2287303119
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-2519429353
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-2574469496
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-378160973
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-1892210190
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-2823530744
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-1207269058
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-2189004162
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-1699194522
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-1991746508
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-913454779
maker-dst-dst-server-1  | [00:00:01]: ModIndex:GetModsToLoad inserting forcedmoddir,    workshop-2427481232
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-2287303119_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-2287303119 (Show Me (中文)) Version:0.58.6
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-2519429353_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-2519429353 (Increased Stack size) Version:1.118
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-2574469496_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-2574469496 (A Big Bag(大背包)) Version:2.2.9
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-378160973_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-378160973 (Global Positions) Version:1.7.4
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-1892210190_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-1892210190 ([Arknights]Amiya) Version:1.3.1
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-2823530744_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-2823530744 (Extra Equip Slots Plus +) Version:1.0.4
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-1207269058_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-1207269058 ( Simple Health Bar DST) Version:2.16
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-2189004162_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-2189004162 (Insight) Version:3.4.5
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-1699194522_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-1699194522 ([DST]Myth Characters) Version:9.8.5
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-1991746508_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-1991746508 ([DST]Myth Words) Version:9.8.12
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-913454779_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-913454779 (5x5 box & icebox) Version:1.2.5
maker-dst-dst-server-1  | [00:00:01]: Could not load mod_config_data/modconfiguration_workshop-2427481232_CLIENT
maker-dst-dst-server-1  | [00:00:01]: Loading mod: workshop-2427481232 (Bug tracker) Version:2.0.4
maker-dst-dst-server-1  | [00:00:01]: applying configuration_options from modoverrides.lua to mod workshop-251942               9353
maker-dst-dst-server-1  | [00:00:01]: Overriding mod workshop-2519429353's option MAXSTACKSIZE with value 99
maker-dst-dst-server-1  | [00:00:01]: applying configuration_options from modoverrides.lua to mod workshop-120726               9058
maker-dst-dst-server-1  | [00:00:01]: applying configuration_options from modoverrides.lua to mod workshop-218900               4162

CURL ERROR: (lobby-sing.kleientertainment.com) Operation too slow.

[01:35:29]: Failed to send server broadcast message
[01:35:53]: Registering secondary shard in Sing lobby
[01:35:55]: [Shard] Error while registering secondary shard server: NOT_IN_DB
[01:36:30]: CURL ERROR: (lobby-sing.kleientertainment.com) Operation too slow. Less than 5 bytes/sec transferred the last 60 seconds
[01:36:30]: Failed to send server broadcast message
[01:37:30]: CURL ERROR: (lobby-sing.kleientertainment.com) Operation too slow. Less than 5 bytes/sec transferred the last 60 seconds
[01:37:30]: Failed to send server broadcast message
[01:38:30]: CURL ERROR: (lobby-sing.kleientertainment.com) Operation too slow. Less than 5 bytes/sec transferred the last 60 seconds
[01:38:30]: Failed to send server broadcast message
[01:39:30]: CURL ERROR: (lobby-sing.kleientertainment.com) Operation too slow. Less than 5 bytes/sec transferred the last 60 seconds
[01:39:30]: Failed to send server broadcast message

Many people have encountered such information in the log, but there is no clear solution. Hope to get your help!

语言本地化问题

人物说话的语言和boss掉落的蓝图还有制作书显示的都是英文,而不是我设置的中文,我本以为是mod的问题,但是排查之后好像不是。望解答,感谢!

Abnormal language of game characters

Hello, I am a gamer from China. I found a small problem. In the game, the character only speaks English. This happens even if I set the language of the game client to Chinese. I hope the game characters speak Chinese, how to solve this problem

latest无法启用Mod

现象

mods文件夹中有workshop-*文件夹,但服务器启动后mod并没有启用。

复现过程

mkdir -p ~/dst/c1/DoNotStarveTogether/Cluster_1
cd ~/dst/c1/DoNotStarveTogether/Cluster_1
touch adminlist.txt cluster_token.txt
echo xxxxxx > adminlist.txt
echo xxxxxx > cluster_token.txt
vim cluster.ini
mkdir mods
touch mods/dedicated_server_mods_setup.lua
echo ServerModCollectionSetup("xxxxxxxx") >> mods/dedicated_server_mods_setup.lua
docker run -v ${HOME}/dst/c1:/data -v ${HOME}/dst/supervisorMaster.conf:/etc/supervisor/supervisor.conf -p 10999-11000:10999-11000/udp -p 12346-12347:12346-12347/udp -it --rm --name=dst jamesits/dst-server

cluster.ini中的内容:

[GAMEPLAY]
game_mode = endless
max_players = 16
pvp = true
pause_when_empty = true


[NETWORK]
lan_only_cluster = false
cluster_intention = cooperative
cluster_password = xxxx
cluster_description = xxxx
cluster_name = xxxx
offline_cluster = false
cluster_language = zh


[MISC]
console_enabled = true


[SHARD]
shard_enabled = false
bind_ip = 127.0.0.1
master_ip = 127.0.0.1
master_port = 10999
cluster_key = defaultPass

supervisorMaster.conf中的内容:

[supervisord]
nodaemon=true

[unix_http_server]
file=/var/run/supervisor.sock

[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[program:dst-server-master]
user=dst
command=dontstarve_dedicated_server_nullrenderer -persistent_storage_root /data -shard Master
startsecs=40
startretries=0
autorestart=unexpected
exitcodes=0
stopwaitsecs=720
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0

docker version

Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:25:58 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea838
  Built:            Wed Nov 13 07:24:29 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

docker images

REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
jamesits/dst-server   latest              209e2b24184e        2 months ago        2.07GB

日志

cfp.vim-cn.com

[Error] Master Server Broadcast Error: NO_NAME

After i tried to rename “cluster_name” to another one which contained Chinese string on my Synology Docker and saved this changed config, then rebooting game server, an error occured “ Master Server Broadcast Error: NO_NAME”.
批注 2020-08-23 183149

Cannot Install Mods - dedicated_server_mods_setup.lua deleted/recreated after restart

Hi,
Firstly, thank you for creating this docker image for a dedicated DST server!

I've managed to get my steamcmd-rebase instance running via a custom yml docker compose file.
The server starts normally and I'm able to login from the game client, but I can't seem to install mods. The "dedicated_server_mods_setup.lua" keep being deleted & recreated.

My step-by-step as follows:

  1. Stop my DST container (docker stop containerid)
  2. Edit the "dedicated_server_mods_setup.lua" with the list of ServerModSetup("xxxxx")
  3. Restart my DST container (docker start containerid)

Everytime I do that, i noticed that all the files in the "mods" folder are modified and all my edited listing is removed.

I saw some previous Issue posted by I couldn't find any instructions on what I can do to fix this.

Thanks in advance!

Segmentation fault on docker run

I'm getting the following issue when starting the server:

...
[00:00:01]: ProfileIndex:5.55
[00:00:01]: [Connect] PendingConnection::Reset(true)
[00:00:01]: THREAD - started 'Ping Job Thread' (4082080576)
[00:00:01]: Platform: 1
[00:00:01]: Network tick rate: U=15(2), D=0
[00:00:01]: Network tick rate: U=15(2), D=0
[00:00:01]: OnLoadPermissionList: /data//DoNotStarveTogether/Cluster_1/blocklist.txt (Success)
[00:00:01]: OnLoadPermissionList: /data//DoNotStarveTogether/Cluster_1/adminlist.txt (Success)
[00:00:01]: OnLoadUserIdList: /data//DoNotStarveTogether/Cluster_1/whitelist.txt (Success)
[00:00:01]: THREAD - started 'StreamInput' (4079979328)
[00:00:01]: cGame::InitializeOnMainThread
[00:00:01]: Renderer initialize: Okay
[00:00:01]: AnimManager initialize: Okay
[00:00:01]: Buffers initialize: Okay
[00:00:01]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:01]: GameSpecific initialize: Okay
[00:00:01]: cGame::StartPlaying
[00:00:01]: LOADING LUA
[00:00:01]: DoLuaFile scripts/main.lua
[00:00:01]: DoLuaFile loading buffer scripts/main.lua
[00:00:01]:   taskgrouplist:    default Together
[00:00:01]:   taskgrouplist:    classic Classic
[00:00:01]:   taskgrouplist:    cave_default    Underground
[00:00:01]:   taskgrouplist:    lavaarena_taskset       The Forge
[00:00:01]:   taskgrouplist:    quagmire_taskset        The Gorge
[00:00:01]: running main.lua

[00:00:01]: Could not load modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.

[00:00:01]: FinishDownloadingServerMods Complete!
src/tier1/fileio.cpp (4914) : Assertion Failed: s_bExit
src/tier1/fileio.cpp (4914) : Assertion Failed: s_bExit
src/tier1/fileio.cpp (4916) : Assertion Failed: m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (4916) : Assertion Failed: m_vecRegisteredWriters.Count() == 0
Segmentation fault
Error on line 71; RET 139.

Steam needs to be online to update

When building locally.

 ---> Running in f06bbe1ac662
Redirecting stderr to '/root/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[  0%] Checking for available update...
SteamUpdater: Error: Download failed: http error 0
[  0%] Download Complete.
[----] Verifying installation...
[  0%] Downloading Update...
[  0%] Checking for available update...
SteamUpdater: Error: Download failed: http error 0
[  0%] Download Complete.
SteamUpdater: Error: Steam needs to be online to update.  Please confirm your network connection and try again.
[  0%] !!! Fatal Error: Steam needs to be online to update.  Please confirm your network connection and try again.
The command '/bin/sh -c mkdir -p "$DST_INSTALLATION_DIR"        && $STEAMCMD_INSTALLATION_DIR/steamcmd.sh +login anonymous +force_install_dir $DST_INSTALLATION_DIR +app_update 343050 validate +quit   && cat /root/Steam/logs/stderr.txt       && mkdir -p "$DST_DATA_DIR"/DoNotStarveTogether         && cp "$DST_INSTALLATION_DIR"/mods/dedicated_server_mods_setup.lua "$DST_DATA_DIR"/DoNotStarveTogether/' returned a non-zero code: 7

Related: moby/moby#22304

Only V2 Mods (UGC) are getting downloaded

I tried to install some mods on my dedicated server and for some strange reason only 1 of them was downloaded.
I tryied to find out what was happening and i found out that there are 2 version of mods. The ones that are inside the mods folder (V1) and the others which are inside a ugc folder (V2). Even if you put v1 mods inside modoverrides.lua and in dedicated_server_mods_setup.lua they are never downloaded. A temporary solution i found is manually putting the v1 mod source files from my local machine inside the mods folder at my server, but this solution requires manuall update of the mods and its not optimal.

Some context to recreate this. Try installing this v1 mods:

Global Position (workshop-1623498822):
https://steamcommunity.com/sharedfiles/filedetails/?id=1623498822

Restart (workshop-462434129):
https://steamcommunity.com/sharedfiles/filedetails/?id=462434129

Their files will be located under: steamapps\common\Don't Starve Together\mods\workshop-XXXX
While V2 Mod files are located under: steamapps\common\workshop\content\322330

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.