GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.32k stars 821 forks source link

unable to start csgo-server (using docker) #799

Closed jffz closed 8 years ago

jffz commented 8 years ago

Hi, just trying your scripts but seems to fail without any input to help me debuggin it :+1:

./csgoserver start [ FAIL ] Starting csgo-server: Applying botprofile.db fix: Counter Strike: Global Offensive [ FAIL ] Starting csgo-server: Applying valve.rc fix: Counter Strike: Global Offensive [ FAIL ] Starting csgo-server: Unable to start csgo-server

Nothing more in logs

UltimateByte commented 8 years ago

Hi,

Really ? Nothing in log/console ?

jffz commented 8 years ago

cat log/console/csgo-server-console.log Console logging disabled: Bug in tmux 1.8 breaks logging http://gameservermanagers.com/tmux-upgrade Currently installed: tmux 1.8

Ok just read the whole doc about it, i'm gonan try. Thanks

UltimateByte commented 8 years ago

Well you got your answer. Too old TMUX version.

What's your distro ?

jffz commented 8 years ago

ubuntu 14.04, i'm currently trying wiht fix in the previous url

Same with upgraded version of tmux :

./csgoserver start
    fetching functions/command_start.sh...OK
    fetching functions/check_systemdir.sh...OK
    fetching functions/check_logs.sh...OK
    fetching functions/check_ip.sh...OK
    fetching functions/check_tmux.sh...OK
    fetching functions/check_config.sh...OK
    fetching functions/fix_steamcmd.sh...OK
[  OK  ] Starting csgo-server: Applying steamclient.so general fix: Counter Strike: Global Offensive
    fetching functions/fix_csgo.sh...OK
[  OK  ] Starting csgo-server: Applying 730 steam_appid.txt fix: Counter Strike: Global Offensive
[ FAIL ] Starting csgo-server: Applying botprofile.db fix: Counter Strike: Global Offensive
[ FAIL ] Starting csgo-server: Applying valve.rc fix: Counter Strike: Global Offensive
    fetching functions/info_config.sh...OK
    fetching functions/logs.sh...OK
[ .... ] Starting csgo-server: csgo-serverfailed to connect to server: Connection refused
[ FAIL ] Starting csgo-server: Unable to start csgo-server

dpkg-query -l tmux
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version          Architecture     Description
+++-======================-================-================-==================================================
ii  tmux                   2.0-1~ppa1~t     amd64            terminal multiplexer

cat log/script/csgo-server-script.log
Apr 27 12:37:55 csgo-server: Starting: Unable to start csgo-server

cat log/script/csgo-server-script-27-04-2016-12-37-43.log
Apr 27 12:37:45 csgo-server: Starting: Applying steamclient.so general fix: Counter Strike: Global Offensive
mkdir: created directory '/home/csgoserver/.steam'
mkdir: created directory '/home/csgoserver/.steam/sdk32'
'/home/csgoserver/steamcmd/linux32/steamclient.so' -> '/home/csgoserver/.steam/sdk32/steamclient.so'
Apr 27 12:37:46 csgo-server: Starting: Complete! Applying steamclient.so general fix: Counter Strike: Global Offensive
Apr 27 12:37:48 csgo-server: Starting: Applying 730 steam_appid.txt fix: Counter Strike: Global Offensive
Apr 27 12:37:49 csgo-server: Starting: Complete! Applying 730 steam_appid.txt fix: Counter Strike: Global Offensive
Apr 27 12:37:50 csgo-server: Starting: Applying botprofile.db fix: Counter Strike: Global Offensive
Apr 27 12:37:51 csgo-server: Starting: Failure! Applying botprofile.db fix: Counter Strike: Global Offensive
Apr 27 12:37:52 csgo-server: Starting: Applying valve.rc fix: Counter Strike: Global Offensive
Apr 27 12:37:53 csgo-server: Starting: Failure! Applying valve.rc fix: Counter Strike: Global Offensive
Apr 27 12:37:53 csgo-server: Starting: csgo-server
Apr 27 12:37:54 csgo-server: Starting: Rotating log files
UltimateByte commented 8 years ago

We'd need @dgibbs64 who is more likely to know more about Ubuntu than me ! (Debian for the win !!)

jffz commented 8 years ago

I'm used to run csgo servers on debian but triied ubuntu for lgsm, i'm gonna try on debian just to be sure (i sent you a mail through your website)

UltimateByte commented 8 years ago

Works flawlessly on Debian for me, no workaround crap to do. I don't get how the heck ubuntu can still use tmux 1.8... About your mail, i think there's no need to PM outside of Github, and as i'm making a lot of things currently, i won't be any faster using another communication method. And on top of that, i'm not using ubuntu, and i can't recommend using dockers with LGSM from the feedbacks i've read.

However, if you still wanna use dockers, maybe you could make a topic on this github to share your experience, and give keys. We could even make a wiki page for that, if you're motivated enough. :p

jffz commented 8 years ago

OK, i will do it on debian without lgsm then. Could have saved me some times :p

I just fast looked at issues and found 1 topic talking about docker, could you give me those feedbacks url to check what's wrong please ?

UltimateByte commented 8 years ago

I don't get it. If you go on debian you can use LGSM without any trouble. It's supposed to work fine with ubuntu too, as the creator of this script is mainly using it, so he did most of the testing with ubuntu. Why would you need dockers ?

jffz commented 8 years ago

Still having the same issue with debian (on docker) so maybe it's docker related, i'm actally looking into what's locking lgsm into docker.

Why i want to use docker ? Because of a little project :D

UltimateByte commented 8 years ago

As i said, dockers are untested, so not advised for now. The problem isn't the OS, it's the docker. Try it without a docker and it should work. Unless you got suggestions on how to fix LGSM in order for it to work with it, then either forget dockers or forget LGSM.

jffz commented 8 years ago

Yes i know, i'm doin it without lgsm for now but i'll check later what's wrong with docker + lgsm adn tell you if i find something interesting.

UltimateByte commented 8 years ago

Yup, can be interesting, you're not the first one willing to use dockers ! :)

dgibbs64 commented 8 years ago

I tried docker a few times but I personally dont have the time or need to learn it currently. I do welcome users to submit bug fixes for docker if required.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.