jusito / docker-ttt

GMOD TTT server image

Home Page:https://hub.docker.com/r/jusito/docker-ttt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

removing module lgsm...FAIL

lucas2350d opened this issue · comments

Hey jusito,
I would like to run your Docker image on my NAS. I make the following settings:
Set a volume folder to /home/steam/serverfiles
enter my workshop ID and API key, set server name and password and install CSS and HL2

after a few seconds the following problem appears:

mkdir: cannot create directory ‘/home/steam/serverfiles/garrysmod’: Permission denied
and other Permission errors in /home

Can you help me?
Thanks

Hey Lucas,
can you provide me the exact command you used, just replace secrets with dummy value?

Thanks for replying, in the meantime I got the server started once with this command:

docker run -d
-p 27015:27015/udp
-e SERVER_PORT=27015
-e INSTALL_CSS=true
-e WORKSHOP_COLLECTION_ID=######
-e SERVER_NAME="#####"
-e SERVER_PASSWORD="#####"
-e SERVER_DEFAULT_MAP="ttt_minecraft_b5"
-v TTTDev:/home/steam/serverfiles
-p 27015:27015/tcp
-e SERVER_RCON_PASSWORD="########"
--name "MyTTTServer"
jusito/docker-ttt:latest

now the start is no longer possible with the following log error message:
checking GitHub module install_stats.sh...OK
checking GitHub module install_steamcmd.sh...OK
checking GitHub module lgsm...ERROR
rm: cannot remove 'lgsm': Is a directory
removing module lgsm...FAIL

after that the Container crashed

If the server is starting only the first time but not the second, probably an update broke it.
The linuxgsm version in docker hub is outdated, in the first boot it will just install itself and start but doesn't check for an update. At every later start it checks if lgsm is already installed and if so perform an update. I have to admit I thought this bug is already fixed, because was issue #9 .

You can recreate the image locally, or you wait until I push a new one.

Ok thanks for the answer
So it is not fixed even in the Develop version?
Is there an easy way for me to take this update query out?

updated develop image, can you please try:

docker pull jusito/docker-ttt:gmod_ttt_debian-develop
docker run ... jusito/docker-ttt:gmod_ttt_debian-develop

Thank you I have tested it a few times now and it works.

I still have one question. I have saved my ttt settings under /home/steam/serverfiles/garrysmod/cfg/server.cfg. unfortunately they are not taken over in the game.

or are the server.cfg not used at all and everything has to be stored in gmodserver.cfg?

This are my settings:
net_maxfilesize "9999"
// TTT SETTINGS
ttt_always_use_mapcycle
ttt_round_limit "10"
ttt_minimum_players "2"
ttt_preptime_seconds "25"
ttt_posttime_seconds "15"
ttt_firstpreptime "30"
ttt_traitor_pct "0.3334"
ttt_traitor_max "5"
ttt_detective_pct "0.3334"
ttt_detective_max "2"
ttt_karma_low_autokick "0"
ttt_namechange_kick "0"
ttt_idle_limit "99999"
ttt_time_limit_minutes "9999999"
ttt_fretta_mapvoting 1
ttt_postround_dm "1"

ok got it. The ttt values must also be entered in gmodserver.cfg

Thank you very much for everything

yes if you use docker exec -it CONTAINER details you will see that linuxgsm changes the location of the cfg.

You are welcome.