Closed pietru2004 closed 3 years ago
Seams like server has started after I added SpaceEngineers-Dedicated.cfg, could you add in setup to copy SpaceEngineers-Dedicated.cfg to /instances and save to /instances/Saves and change path to save in config?
Can I in any way have access to server console via docker screen ? Like in docker more info
And how to make port setup - what ports I need to move to enter server - I can't connect to server via 192.168.1.XX:27016
First of all, how did you start the docker container? It looks like you did something "wrong" on startup
well first error I have solved I just added .cfg of server to /instance
I have got to this structure Curently I can't connect to server - I have firewall set but I can't connect via SE and I needed to add port from docker to host
It should look like this. The SpaceEngineers-Dedicated.cfg is always in an instance created by the Windows GUI.
If you start the docker via docker-compose all ports should work. If you start it via docker command you must pass in all stuff that is setup in the compose file by hand.
something might be broken - this is what I see default - I added 27016/udp self
I started server via cockpit
what is this? I cant read this. What is cockpit?
well all above are settings provided by docker file - https://cockpit-project.org/
and sr if you can't read - some text on screens is in my lang - PL
klucz - key wartość - value
Oh i see cockpit is some docker admin tool, ok but i cant help here as i dont know how to setup my docker with cockpit.
I know how to setup cockpit stuff my problem is that I can't connect to server
port 27016 is open on firewall and on docker
yeha, and i can tell you that the port part is in the compose file, dont know how to set this up on cockpit :)
well I add here log of server SpaceEngineersDedicated_20201219_211314728.log
Maybe its just incompatible with cockpit, if so im sorry! currently i dont have time to try it myself with cockpit, maybe next year
do I need to worry about steam port ? <SteamPort 8766</SteamPort
if you use a firewall, yeah might be an issue
I try this - bottom post - https://www.reddit.com/r/spaceengineers/comments/4g17cv/dedicated_server_ports/
erm ok so it seams SE wiiki is outdated - it is need to use 2716 tcp and udp for server
and if you could update setup guide on here git - please; I mean telling to copy generated SpaceEngineers-Dedicated.cfg to /instance and save file to /instance/Saves folder + tell to use 27016 tcp and udp
the setup guide is correct for normal usage. You dont need the SpaceEngineers-Dedicated.cfg
in instances
because in the docker-compose you set the INSTANCE_NAME=yournameofinstancehere
and it will look up the config there. Also the 27016 port (you need only udp) is setup there.
well I was able to join server after using also tcp port (mayby you can tell disclaimer to tell to try use udp and tcp if you can't connect server)
I thinked bit and I know that simply only udp should work but this could be good ass added (anyway issue can be closed)
[COCKPIT] add port 27016 from docker to host twice, udp and tcp [JOIN ISSUE] try this solution https://www.reddit.com/r/spaceengineers/comments/4g17cv/dedicated_server_ports/
Does save need any special name? I get in log: 2020-12-19 17:44:25.358 - Thread: 1 -> MySandboxGame.Constructor() - END 2020-12-19 17:44:25.359 - Thread: 1 -> Server Name: 2020-12-19 17:44:25.361 - Thread: 1 -> World Name: 2020-12-19 17:44:25.420 - Thread: 1 -> Auto Restart Enabled 2020-12-19 17:44:25.433 - Thread: 1 -> MySandboxGame.Initialize() - START and it crashes server. World is in docker_folder_path/diff/appdata/space-engineers/instances/Saves Do I need to place SpaceEngineers-Dedicated.cfg in instances folder too?