Closed kjablonski closed 6 years ago
what commands are you doing and show the game config page
Same problem here, when i add an admin the generated config contains "admins": "foo"
, but should contain "admins": ["foo"]
I can reproduce this issue, I think as a workaround you can just enter the admins value as an array ["admin_user"]
.
I'm working on fixing a few bugs with the settings form for the next release including this one so hopefully I'll have a fix soon.
that wont work, as things will be escaped :)
this is also an issue at "Visibility" and "Tags"
Yep, noted while trying to get my server up again for 0.16. The settings form likes to force things to string format, even if they look like lists/arrays, so you end up with things like "admins": [\"username\"]
in the JSON. Having other issues relating to connectivity with Factorio itself, too, which doesn't help testing.
Are there any usable workarounds for this? I can't start a server at all anymore.
re: workaround, Edit the server-settings file manually after configuring everything else with the webUI, I guess.
I tried this, but starting the server from the webUI seems to overwrite any manual changes to the config files
Sorry for the delay with this bug. I think I have a fix now and have made a new version (0.7.1) which should hopefully fix it. If you could give that a test and see if it's working for you that would be great.
I pulled the latest version, seems to have the exact same issue.
Oops!! Its working. I Just needed to rebuild the dockerfile with the 0.7.1 env var. Thanks!
I've updated the dockerfile with the new version so you can pull the latest container once the build finishes.
I was trying to add myself as an Admin and after I add my username and restart the server, I get the following error:
0.000 Error Util.cpp:62: Value must be a list or dictionary in property tree at ROOT.admins 2017/11/27 13:38:20 [0.000 Error Util.cpp:62: Value must be a list or dictionary in property tree at ROOT.admins]
FSM version: 0.6 factorio version: 0.15.37