I noticed a bug when I updated my server today (last update was before caves), I understood the new cave system and so reinstalled completely the server to be sure to avoid any problem with previous version.
I was using the command line parameter -persistent_storage_root Configs and a subfolder called Configs was then created in data/ and configuration files where inside this folder.
It is not working anymore, if you use this command line parameter with only a folder name, it tries to create it under bin/ and then fail to read/save config files, server then stop itself.
./dontstarve_dedicated_server_nullrenderer -port 15047 -players 64 -persistent_storage_root Configs -cluster Server -shard Master
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
PersistRootStorage is now Configs//DoNotStarveTogether/Server/Master/
Starting Up
Version: 166529
Current time: Thu Feb 18 05:38:52 2016
System Name: Linux
Host Name: sd-56097
Release(Kernel) Version: 3.2.0-98-generic
Kernel Build Timestamp: #138-Ubuntu SMP Mon Jan 11 12:33:01 UTC 2016
Machine Arch: x86_64
Don't Starve Together: 166529 LINUX
NNN Build Date: 147
Parsing command line
Command Line Arguments: -port 15047 -players 64 -persistent_storage_root Configs -cluster Server -shard Master
THREAD - started 'GAClient' (4136663872)
CurlRequestManager::ClientThread::Main()
Legacy saves detected. Migrating to new structure...
ProfileIndex:4.41
[Connect] PendingConnection::Reset(true)
Network tick rate: U=15(2), D=0
Network tick rate: U=15(2), D=0
Error trying to change cluster setting (NETWORK->cluster_intention) from '' to 'cooperative'
OnLoadPermissionList: Configs//DoNotStarveTogether/Server/blocklist.txt (Failure)
OnLoadPermissionList: Configs//DoNotStarveTogether/Server/adminlist.txt (Failure)
OnLoadUserIdList: Configs//DoNotStarveTogether/Server/whitelist.txt (Failure)
cGame::InitializeOnMainThread
Renderer initialize: Okay
AnimManager initialize: Okay
Buffers initialize: Okay
cDontStarveGame::DoGameSpecificInitialize()
FMOD Error: An invalid object handle was used.
GameSpecific initialize: Okay
cGame::StartPlaying
LOADING LUA
DoLuaFile scripts/main.lua
DoLuaFile loading buffer scripts/main.lua
scripts/main.lua(166,1) running main.lua
Could not load modindex
ModIndex: Beginning normal load sequence for dedicated server.
DownloadMods(0)
[CRITICAL] Failed to save file: Configs//DoNotStarveTogether/Server/Master/save/modindex
[CRITICAL] Fingerprint:hbrjsjvntkdggkflsioqfhginfnnnpeiddjlioijddrjsjvnpjdggkfltmoqfhgiejnnnpeiofjlioijldrjsjvnsmdggkfltioqfhgipgnnnpeingjlioijaerjsjvnnkdggkflghoqfhgingnnnpeipdjlioijacrjsjvntkdggkfllioqfhgiofnnnpeioejlioijmdrjsjvnjkdggkflghoqfhgiejnnnpeingjlioijbdrjsjvnojdggkflkhoqfhgiofnnnpeimejlioijlhrjsjvnrmdggkfljioqfhgiqgnnnpeioejlioijbdrjsjvnojdggkfltmoqfhgiqgnnnpeildjlioijcerjsjvnjkdggkfltmoqfhgigfnnnpeijdjlioijadrjsjvnvkdggkflsioqfhgipfnnnpeipdjlioijmerjsjvn.
[CRITICAL] Failed to save file: Configs//DoNotStarveTogether/Server/Master/save/modindex
[CRITICAL] Fingerprint:hbrjsjvntkdggkflsioqfhginfnnnpeiddjlioijddrjsjvnpjdggkfltmoqfhgiejnnnpeiofjlioijldrjsjvnsmdggkfltioqfhgipgnnnpeingjlioijaerjsjvnnkdggkflghoqfhgingnnnpeipdjlioijacrjsjvntkdggkfllioqfhgiofnnnpeioejlioijmdrjsjvnjkdggkflghoqfhgiejnnnpeingjlioijbdrjsjvnojdggkflkhoqfhgiofnnnpeimejlioijlhrjsjvnrmdggkfljioqfhgiqgnnnpeioejlioijbdrjsjvnojdggkfltmoqfhgiqgnnnpeildjlioijcerjsjvnjkdggkfltmoqfhgigfnnnpeijdjlioijadrjsjvnvkdggkflsioqfhgipfnnnpeipdjlioijmerjsjvn.
FMOD Error: An invalid object handle was used.
LOADING LUA SUCCESS
PlayerDeaths could not load morgue
PlayerHistory could not load player_history
bloom_enabled false
Could not load saveindex
OnFilesLoaded()
OnUpdatePurchaseStateComplete
Load FE
Load FE: done
[CRITICAL] Failed to save file: Configs//DoNotStarveTogether/Server/Master/save/modindex
[CRITICAL] Fingerprint:hbrjsjvntkdggkflsioqfhginfnnnpeiddjlioijddrjsjvnpjdggkfltmoqfhgiejnnnpeiofjlioijldrjsjvnsmdggkfltioqfhgipgnnnpeingjlioijaerjsjvnnkdggkflghoqfhgingnnnpeipdjlioijacrjsjvntkdggkfllioqfhgiofnnnpeioejlioijmdrjsjvnjkdggkflghoqfhgiejnnnpeingjlioijbdrjsjvnojdggkflkhoqfhgiofnnnpeimejlioijlhrjsjvnrmdggkfljioqfhgiqgnnnpeioejlioijbdrjsjvnojdggkfltmoqfhgiqgnnnpeildjlioijcerjsjvnjkdggkfltmoqfhgigfnnnpeijdjlioijadrjsjvnvkdggkflsioqfhgipfnnnpeipdjlioijmerjsjvn.
[CRITICAL] Failed to save file: Configs//DoNotStarveTogether/Server/Master/save/boot_modindex
[CRITICAL] Fingerprint:hbrjsjvntkdggkflsioqfhginfnnnpeiddjlioijddrjsjvnpjdggkfltmoqfhgiejnnnpeiofjlioijldrjsjvnsmdggkfltioqfhgipgnnnpeingjlioijaerjsjvnnkdggkflghoqfhgingnnnpeipdjlioijacrjsjvntkdggkfllioqfhgiofnnnpeioejlioijmdrjsjvnjkdggkflghoqfhgiejnnnpeingjlioijbdrjsjvnojdggkflkhoqfhgiofnnnpeimejlioijlhrjsjvnrmdggkfljioqfhgiqgnnnpeioejlioijbdrjsjvnojdggkfltmoqfhgiqgnnnpeildjlioijcerjsjvnjkdggkfltmoqfhgirfnnnpeijdjlioijldrjsjvnijdggkfltjoqfhgigfnnnpeijdjlioijadrjsjvnvkdggkflsioqfhgipfnnnpeipdjlioijmerjsjvn.
ModIndex: Load sequence finished successfully.
[string "scripts/mainfunctions.lua"]:827: Unable to write to config directory. Please make sure you have permissions for your Klei save folder.
LUA ERROR stack traceback:
=[C]:-1 in (global) assert (C) <-1--1>
scripts/mainfunctions.lua:827 in () ? (Lua) <816-828>
[string "scripts/mainfunctions.lua"]:827: Unable to write to config directory. Please make sure you have permissions for your Klei save folder.
LUA ERROR stack traceback:
=[C]:-1 in (global) assert (C) <-1--1>
scripts/mainfunctions.lua:827 in () ? (Lua) <816-828>
Reset() returning
[200] Account Failed (6): "E_INVALID_TOKEN"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! Your Server Will Not Start !!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
No auth token could be found.
To generate a cluster_token you must
open the console from a logged-in game
client with the tilda key (~ / \ufffd) and type:
TheNet:GenerateClusterToken()
This will create 'cluster_token.txt' in
your client settings directory. Copy this
into your cluster settings directory.
[Connect] PendingConnection::Reset(true)
I deleted and reinstalled server then. I found that if you use complete path it works correctly like this -persistent_storage_root /home/user/server_folder/data/Configs it correctly creates a folder called Configs in which folders and files are generated, server then works and you can join it.
Start server with command line containing -persistent_storage_root XXX where XXX is the subfolder where you want config files to be stored
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now