Closed ericdeering closed 2 months ago
Same here... Any workarounds/fixes?
Same here... Any workarounds/fixes?
Hi, I'm on vacations when I come back I will give a check
Hi, thank you very much. And thank you for your efforts in this project. It saved me a lot of time.
Have a nice time!
I have try to debug the problem...
this is an error of linuxgsm.sh which is run by the docker image https://linuxgsm.com/servers/sdtdserver/
All of the files download in the docker container outsite of the volumes (very nice!)
Please try to cleanup the image and container and start from scratch. Maybe there was a mistake of linuxgsm itself during installation.
Here a debug run of linuxgsm.sh inside my container (allready installed!)
sdtdserver@gameserver-7days:~/lgsm$ bash -x tmp/linuxgsm.sh
+ '[' -f .dev-debug ']'
+ version=v24.2.3
+ shortname=core
+ gameservername=core
+ commandname=CORE
+++ readlink -f tmp/linuxgsm.sh
++ dirname /home/sdtdserver/lgsm/tmp/linuxgsm.sh
+ rootdir=/home/sdtdserver/lgsm/tmp
+++ readlink -f tmp/linuxgsm.sh
++ basename /home/sdtdserver/lgsm/tmp/linuxgsm.sh
+ selfname=linuxgsm.sh
+ lgsmdir=/home/sdtdserver/lgsm/tmp/lgsm
+ '[' -n '' ']'
+ logdir=/home/sdtdserver/lgsm/tmp/log
+ lgsmlogdir=/home/sdtdserver/lgsm/tmp/log/lgsm
+ steamcmddir=/home/sdtdserver/.steam/steamcmd
+ '[' -n '' ']'
+ serverfiles=/home/sdtdserver/lgsm/tmp/serverfiles
+ modulesdir=/home/sdtdserver/lgsm/tmp/lgsm/modules
+ tmpdir=/home/sdtdserver/lgsm/tmp/lgsm/tmp
+ '[' -n '' ']'
+ datadir=/home/sdtdserver/lgsm/tmp/lgsm/data
+ lockdir=/home/sdtdserver/lgsm/tmp/lgsm/lock
+ sessionname=linuxgsm.sh
+ '[' -f /home/sdtdserver/lgsm/tmp/lgsm/data/linuxgsm.sh.uid ']'
+ serverlist=/home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv
+ serverlistmenu=/home/sdtdserver/lgsm/tmp/lgsm/data/serverlistmenu.csv
+ '[' -n '' ']'
+ configdir=/home/sdtdserver/lgsm/tmp/lgsm/config-lgsm
+ configdirserver=/home/sdtdserver/lgsm/tmp/lgsm/config-lgsm/core
+ configdirdefault=/home/sdtdserver/lgsm/tmp/lgsm/config-default
+ userinput=
+ userinput2=
+ '[' -n '' ']'
+ githubuser=GameServerManagers
+ '[' -n '' ']'
+ githubrepo=LinuxGSM
+ '[' -n '' ']'
+ githubbranch=master
++ command -v curl
+ '[' '!' /usr/bin/curl ']'
++ whoami
+ '[' sdtdserver == root ']'
+ '[' core == core ']'
+ fn_bootstrap_fetch_file_github lgsm/data serverlist.csv /home/sdtdserver/lgsm/tmp/lgsm/data nochmodx norun forcedl nomd5
+ github_file_url_dir=lgsm/data
+ github_file_url_name=serverlist.csv
+ '[' master == master ']'
+ '[' GameServerManagers == GameServerManagers ']'
+ '[' CORE '!=' UPDATE-LGSM ']'
+ remote_fileurl=https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.2.3/lgsm/data/serverlist.csv
+ remote_fileurl_backup=https://bitbucket.org/GameServerManagers/LinuxGSM/raw/v24.2.3/lgsm/data/serverlist.csv
+ remote_fileurl_name=GitHub
+ remote_fileurl_backup_name=Bitbucket
+ local_filedir=/home/sdtdserver/lgsm/tmp/lgsm/data
+ local_filename=serverlist.csv
+ chmodx=nochmodx
+ run=norun
+ forcedl=forcedl
+ md5=nomd5
+ fn_bootstrap_fetch_file https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.2.3/lgsm/data/serverlist.csv https://bitbucket.org/GameServerManagers/LinuxGSM/raw/v24.2.3/lgsm/data/serverlist.csv GitHub Bitbucket /home/sdtdserver/lgsm/tmp/lgsm/data serverlist.csv nochmodx norun forcedl nomd5
+ remote_fileurl=https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.2.3/lgsm/data/serverlist.csv
+ remote_fileurl_backup=https://bitbucket.org/GameServerManagers/LinuxGSM/raw/v24.2.3/lgsm/data/serverlist.csv
+ remote_fileurl_name=GitHub
+ remote_fileurl_backup_name=Bitbucket
+ local_filedir=/home/sdtdserver/lgsm/tmp/lgsm/data
+ local_filename=serverlist.csv
+ chmodx=nochmodx
+ run=norun
+ forcedl=forcedl
+ md5=nomd5
+ '[' '!' -f /home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv ']'
+ '[' -n https://bitbucket.org/GameServerManagers/LinuxGSM/raw/v24.2.3/lgsm/data/serverlist.csv ']'
+ counter=0
+ remote_fileurls_array=(remote_fileurl remote_fileurl_backup)
+ for remote_fileurl_array in "${remote_fileurls_array[@]}"
+ '[' remote_fileurl == remote_fileurl ']'
+ fileurl=https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.2.3/lgsm/data/serverlist.csv
+ fileurl_name=GitHub
+ counter=1
+ '[' '!' -d /home/sdtdserver/lgsm/tmp/lgsm/data ']'
+ mkdir -p /home/sdtdserver/lgsm/tmp/lgsm/data
+ trap fn_fetch_trap INT
+ echo -en 'fetching GitHub serverlist.csv...\c'
fetching GitHub serverlist.csv...++ curl --connect-timeout 10 -s --fail -L -o /home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.2.3/lgsm/data/serverlist.csv
+ curlcmd=
+ local exitcode=0
+ '[' -f /home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv ']'
++ head /home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv
++ grep DOCTYPE
+ '[' -n '' ']'
+ '[' 0 '!=' 0 ']'
+ echo -en OK
OK+ sleep 0.3
+ echo -en '\033[2K\r'
+ '[' -f '' ']'
+ '[' nochmodx == chmodx ']'
+ trap - INT
+ break
+ '[' -f /home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv ']'
+ '[' norun == run ']'
+ '[' '!' -f /home/sdtdserver/lgsm/tmp/lgsm/data/serverlist.csv ']'
+ '[' '' == list ']'
+ '[' '' == l ']'
+ '[' '' == install ']'
+ '[' '' == i ']'
+ '[' '' ']'
+ fn_install_getopt
+ userinput=empty
+ echo -e 'Usage: tmp/linuxgsm.sh [option]'
Usage: tmp/linuxgsm.sh [option]
+ echo -e ''
+ echo -e 'Installer - Linux Game Server Managers - Version v24.2.3'
Installer - Linux Game Server Managers - Version v24.2.3
+ echo -e https://linuxgsm.com
https://linuxgsm.com
+ echo -e ''
+ echo -e Commands
Commands
+ echo -e 'install\t\t| Select server to install.'
install | Select server to install.
+ echo -e 'servername\t| Enter name of game server to install. e.g tmp/linuxgsm.sh csgoserver.'
servername | Enter name of game server to install. e.g tmp/linuxgsm.sh csgoserver.
+ echo -e 'list\t\t| List all servers available for install.'
list | List all servers available for install.
+ exit
Normally core_modules.sh is downloaded during fresh installation see line 113/114 of linuxgsm.sh
echo -en "fetching ${fileurl_name} ${local_filename}...\c"
curlcmd=$(curl --connect-timeout 10 -s --fail -L -o "${local_filedir}/${local_filename}" "${fileurl}" 2>&1)
Looks like this issue was on my end. For some reason my docker containers were unable to connect to the internet. I reinstalled ubuntu server 24.04 LTS and its working correctly again. Thank you for the assistance.
Removing the container and images did the trick :)
Problem When attempting to start the server its fails to start.
Steps to Recreate Attempt to start the docker container using the compose file provided via the usage page.
Expectation I expected the server to be downloaded and launched.
Screenshots
Versions:
Docker/Docker-compose docker compose up -d --force-recreate
Additional context Only things changed in docker compose were my adding the paths to my volumes and commenting out ports I didn't plan to use.