Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Cannot set up a server #1

Closed
Nuc1eoN opened this issue Jan 19, 2019 · 2 comments · Fixed by #26
Closed

Cannot set up a server #1

Nuc1eoN opened this issue Jan 19, 2019 · 2 comments · Fixed by #26

Comments

@Nuc1eoN
Copy link

Nuc1eoN commented Jan 19, 2019

Hey, so I am doing everything as described, but upon
docker run -d --net=host --name=csgo-dedicated -e cm2network/csgo
I still cannot reach my server.
I have tried a different docker Container provided here https://github.com/kaimallea/csgo, which has actually worked and I could reach my server.

Here is the complete output: https://gist.github.com/Nuc1eoN/c28e55a526628ecad27fadb85a9d3b27

@Nuc1eoN
Copy link
Author

Nuc1eoN commented Jan 19, 2019

Ok so I've already fixed the missing library thing

dlopen failed trying to load:
/home/steam/.steam/sdk32/steamclient.so
with error:
/home/steam/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

by adding:

# Fix for missing library
RUN mkdir /home/steam/.steam/sdk32
RUN ln -s /home/steam/steamcmd/linux32/steamclient.so /home/steam/.steam/sdk32/steamclient.so

To the dockerfile.
EDIT: Sorry apparently this line actually didn't fix it. But doesn't seem to be the main culprit anyway.

But the server still wont start.

@CM2Walki
Copy link
Owner

CM2Walki commented Feb 4, 2019

@Nuc1eoN
Please keep in mind that you have to pass SRCDS_TOKEN={YOURTOKEN} for the server to be reachable from public ips. Otherwise the server will be restricted to local networks only. You can obtain a token here:
https://steamcommunity.com/dev/managegameservers

I will add a clarification to the readme though.

@CM2Walki CM2Walki closed this as completed Feb 4, 2019
CM2Walki added a commit that referenced this issue Jun 19, 2020
CM2Walki added a commit that referenced this issue Jun 27, 2020
* * Introduced additional image layer to make maintenance\* Now pulling latest sourcemod and metamod\* Added more cvars to overwrite on launch

* Additional files

* * Hostname cvar

* Removed autoclean & autoremove

* Fixed #1 & #8

* Removed tv_autorecord from config

* Updated documentation

* Added reference to authkey

* Changed download link back to master

* Genericised docker & entry file

* Genericised docker & entry file

* Genericised docker & entry file

* Added nano reference to readme

* Fixed typo
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants