Closed thiphariel closed 6 years ago
It fails to download the game. Try running this inside docker, you may see more logs bash /steamcmd/steamcmd.sh +runscript /install.txt
Allright I'll try ! Thanks
After checking in the docker direclty, my /steamcmd directory is empty... So I can't run steamcmd.sh
ahah.
Any idea about this ?
EDIT : Oh, my container seems not have acess to internet...
SteamUpdater: Error: Steam needs to be online to update. Please confirm your network connection and try again.
Should I give it some access ? If yes, how ?
If I edit /etc/resolv.conf
I can connect through the Internet... But it's override when I reboot
EDIT 2 : Soooo, I edit /etc/resolv.conf
to get internet, then I ran your command to install the game and it works. But my current setup is kinda not good ahah
Do you know why my container do not have access to internet by default ? Thanks
Not sure, but I don't think you have to edit /etc/resolv.conf. The settings should be passed from host. Maybe describe more how you start the docker and paste docker-compose.yml here for us to check.
I leave it as default for testons purpose (it’s from your fork, wanna try mods)
docker-compose up
version: '2'
services:
conanexiles0:
image: alinmear/docker-conanexiles
restart: always
environment:
- "CONANEXILES_ServerSettings_ServerSettings_AdminPassword=ThanksForThisSmartSolution"
- "CONANEXILES_Engine_OnlineSubSystemSteam_ServerName='My Cool Server'"
- "CONANEXILES_Engine_OnlineSubSystemSteam_ServerPassword=MySecret"
- "CONANEXILES_INSTANCENAME=exiles0"
- "CONANEXILES_Game_RconPlugin_RconEnabled=1"
- "CONANEXILES_Game_RconPlugin_RconPassword=REDACTED"
- "CONANEXILES_Game_RconPlugin_RconPort=25575"
- "CONANEXILES_Game_RconPlugin_RconMaxKarma=60"
- "CONANEXILES_Game_DiscordPlugin_Token=[DISCORD TOKEN]"
- "CONANEXILES_Game_DiscordPlugin_Channel=[DISCORD CHANNEL ID]"
ports:
- 7777:7777/udp
- 7778:7778/udp
- 27015:27015/udp
volumes:
- data:/conanexiles
volumes:
data:
driver: local
Humm, the docker-compose.yml looks pretty simple, and should not introduce any errors. The issue may come from how you install your docker environment.
BTW, you can't launch the server that way if you want to use my fork, it doesn't work.
docker build -t conan_exiles_server .
in "docker-conanexiles" directory(my fork)docker-compose.yml
(suggest you to copy this file to other directory and modify it there)
2.1 set image: conan_exiles_server
, instead of image: alinmear/docker-conanexiles
2.2 remove CONANEXILES_INSTANCENAME=exiles0
, I didn't consider instances case, so I'm not sure if this instance name break anything.
2.3 if you don't use discrod, remove CONANEXILES_Game_DiscordPlugin_Token=[DISCORD TOKEN]
I paste my docker-compose.yml here for your reference
version: '2'
services:
conanexiles:
image: conan_exiles_server
restart: always
environment:
- "CONANEXILES_Engine_OnlineSubSystemSteam_ServerName=[TW][AceLan] Conan Exiles Server"
- "CONANEXILES_ServerSettings_ServerSettings_IsBattlEyeEnabled=True"
- "CONANEXILES_ServerSettings_ServerSettings_ServerRegion=2"
...
ports:
- 7777:7777/udp
- 7778:7778/udp
- 27015:27015/udp
volumes:
- ./mydata:/conanexiles
redis:
image: redis:alpine
restart: always
Ok so, it was really an internet thing problem. I add a default config to the docker daemon dns and everything is ok now. Thanks for your help :)
Hey guys, I know its been a long time but I'm having some dramas with getting this to work. I've yet to implement Acelan's suggestion above so will advise once I've done that.
The thing I was curious about now was with respect to these lines:
- "CONANEXILES_Game_DiscordPlugin_Token=[DISCORD TOKEN]" - "CONANEXILES_Game_DiscordPlugin_Channel=[DISCORD CHANNEL ID]"
Is Token, the chatbot's url? Is Channel, the channel ID of the discord channel itself?
Also, regarding your docker-compose file:
volumes: - ./mydata:/conanexiles
Does that mean I have to mkdir a /mydata folder in my linux system. Is that like a link between the created folder and the docker container? If you could explain this I'd be greatly appreciative.
Cheers, more to follow (eventually)
Mick,
Hi. Sorry for the noob question, but how does you boot the server with your Dockerfile ? I tried a
docker-compose up
where thedocker-compose.yml
is located but I got many errors and the server won't boot.I don't understand if your script downloads by itself all server files or if I need to have them and add the folder into a volume.
Again, sorry if the question is stupid :D
Thanks.
Here are the logs :
And again and again ... :)