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

Container gets stuck in a loop after failing to check GitHub module lgsm

JoKrus opened this issue · comments

commented

Hey,

I am currently trying to setup a TTT server using your image. I tried to provide my own environment variables and the default ones and the container gets always stuck in a loop while checking for GitHub module lgsm, since it always restarts the checking process.

fetching GitHub core_logs.sh...OK
[ .... ] Starting gmodserver: MyServerName
[  OK  ] Starting gmodserver: MyServerName
stopping server...
[entrypoint.sh]starting entrypoint.sh
[entrypoint.sh]updating...
[ .... ] Updating LinuxGSM gmodserver: 
[ .... ] Updating LinuxGSM gmodserver: Selecting repo
[  OK  ] Updating LinuxGSM gmodserver: Selecting repo: GitHub
checking GitHub linuxgsm.sh...OK
checking gmodserver...OK
checking GitHub config _default.cfg...OK
checking GitHub config debian-10.csv...OK
checking GitHub module check.sh...OK
checking GitHub module check_config.sh...OK
checking GitHub module check_deps.sh...OK
checking GitHub module check_executable.sh...OK
checking GitHub module check_glibc.sh...OK
checking GitHub module check_ip.sh...OK
checking GitHub module check_logs.sh...OK
checking GitHub module check_permissions.sh...OK
checking GitHub module check_root.sh...OK
checking GitHub module check_status.sh...OK
checking GitHub module check_steamcmd.sh...OK
checking GitHub module check_system_dir.sh...OK
checking GitHub module check_system_requirements.sh...OK
checking GitHub module check_tmuxception.sh...OK
checking GitHub module check_version.sh...OK
checking GitHub module command_install.sh...OK
checking GitHub module command_monitor.sh...OK
checking GitHub module command_start.sh...OK
checking GitHub module command_update_linuxgsm.sh...OK
checking GitHub module core_dl.sh...OK
checking GitHub module core_exit.sh...OK
checking GitHub module core_functions.sh...OK
checking GitHub module core_getopt.sh...OK
checking GitHub module core_legacy.sh...OK
checking GitHub module core_logs.sh...OK
checking GitHub module core_messages.sh...OK
checking GitHub module core_steamcmd.sh...OK
checking GitHub module core_trap.sh...OK
checking GitHub module fix.sh...OK
checking GitHub module fix_steamcmd.sh...OK
checking GitHub module info_distro.sh...OK
checking GitHub module info_game.sh...OK
checking GitHub module install_complete.sh...OK
checking GitHub module install_config.sh...OK
checking GitHub module install_gslt.sh...OK
checking GitHub module install_header.sh...OK
checking GitHub module install_logs.sh...OK
checking GitHub module install_server_dir.sh...OK
checking GitHub module install_server_files.sh...OK
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
[entrypoint.sh]starting entrypoint.sh
[entrypoint.sh]updating...
[ .... ] Updating LinuxGSM gmodserver: 
[ .... ] Updating LinuxGSM gmodserver: Selecting repo
[  OK  ] Updating LinuxGSM gmodserver: Selecting repo: GitHub
checking GitHub linuxgsm.sh...OK
checking gmodserver...OK
checking GitHub config _default.cfg...OK
checking GitHub config debian-10.csv...OK
checking GitHub module check.sh...OK
checking GitHub module check_config.sh...OK
checking GitHub module check_deps.sh...OK
checking GitHub module check_executable.sh...OK
checking GitHub module check_glibc.sh...OK
checking GitHub module check_ip.sh...OK
checking GitHub module check_logs.sh...OK
checking GitHub module check_permissions.sh...OK
checking GitHub module check_root.sh...OK
checking GitHub module check_status.sh...OK
checking GitHub module check_steamcmd.sh...OK
checking GitHub module check_system_dir.sh...OK
checking GitHub module check_system_requirements.sh...OK
checking GitHub module check_tmuxception.sh...OK
checking GitHub module check_version.sh...OK

Thanks for the report, I will look into this in the evening.

If I remember correctly I had the same issue a month ago, lgsm update failed.
Probably if you build the image yourself this will work, because it cant fail to remove a non existing module.
Other quick solution could be to mount the volume yourself and remove the module lgsm, without looking into it I cant tell you where it is, but it should be somewhere around the other modules. Lgsm will recognize that the files are deleted, and maybe after this update this error is resolved.

Edit:
rebuilding failed because a dependency needs to be updated.
Pushed an update to develop, therefore should be soon build by docker hub and available with tag:
gmod_ttt_debian-develop or latest-develop

commented

Since docker hub did not update, I tried to rebuild it with the develop branch but I had no success with it, Got stuck in the same loop again,

They changed the payment model, autobuild is only available for paid customers.

There is a minor bug in the build hook for docker hub, fixing it, testing it and will write you if its done.

Image is on docker hub, but only updated the -develop versions.
Alternatively develop branch contains a docker-compose.yml as example.
Please give me feedback if it works, if so I will also update master versions.

commented

Was able to use the latest-develop image and server is running

Thanks a lot for your support, really appreciated!