Open alexstaeding opened 10 months ago
its another cpu architecture and the same issue as: https://github.com/jusito/docker-ttt/issues/3#issuecomment-699648324
I don't think it's entirely due to the different architecture itself - otherwise, it would refuse to start with the same error as in #3 standard_init_linux.go:211: exec user process caused "exec format error"
.
macOS' translation layer Rosette can run amd64 programs, and this is used by default if an image does natively support the arm architecture.
I even specified the platform explicitly, which leads to an identical result (as above).
services:
server:
image: jusito/docker-ttt:gmod_ttt_debian
+ platform: linux/amd64
container_name: ttt-server
ports:
- "27015:27015/tcp"
In theory, the automatic translation should work; I don't know if something can be done in this image to fix the error related to the file. Searching for the problematic file serverfiles/steamapps/appmanifest_4020.acf
, I found this: https://github.com/GameServerManagers/LinuxGSM/issues/3143#issuecomment-751149852
I haven't looked deeply into it myself, so I don't know how relevant that is.
Also: any solution using Rosetta would only be a "nice to have" as this translation is only provided on a "best effort" basis.
thanks for the info, didn't know about this feature. Your best effort link shows issues with debian-10 because its outdated, updated develop to 12 maybe it will fix it. Ah and also added a very simplistic way of logging console to container log.
Was you able to test the recent "-develop" image on your M2 ?
Was you able to test the recent "-develop" image on your M2 ?
Sorry for the late update. Yes, I did try it. Unfortunately, it ends with the same error.
I correct, it is slightly different:
At the very least, there is now an additional warning/error "integer expression expected"
ttt-server | Checking Garry's Mod Dependencies
ttt-server | =================================
fetching GitHub debian-12.csv...OK
ttt-server | bc
ttt-server | binutils
ttt-server | bsdmainutils
ttt-server | bzip2
ttt-server | ca-certificates
ttt-server | cpio
ttt-server | curl
ttt-server | distro-info
ttt-server | file
ttt-server | gzip
ttt-server | hostname
ttt-server | jq
ttt-server | lib32gcc-s1
ttt-server | lib32stdc++6
ttt-server | libsdl2-2.0-0:i386
ttt-server | libtinfo5:i386
ttt-server | netcat-openbsd
ttt-server | python3
ttt-server | grep: /etc/apt/sources.list: No such file or directory
ttt-server | tar
ttt-server | tmux
ttt-server | unzip
ttt-server | util-linux
ttt-server | uuid-runtime
ttt-server | wget
ttt-server | xz-utils
ttt-server | Information! Required dependencies already installed.
ttt-server | fetching GitHub install_steamcmd.sh...OK
ttt-server |
ttt-server | Installing SteamCMD
ttt-server | =================================
ttt-server | fetching GitHub check_steamcmd.sh...OK
ttt-server | fetching GitHub core_steamcmd.sh...OK
######################################################################## 100.0%
ttt-server | OK
ttt-server | extracting steamcmd_linux.tar.gz...OK
ttt-server | fetching GitHub install_server_files.sh...OK
ttt-server |
ttt-server | Installing Garry's Mod Server
ttt-server | =================================
ttt-server | fetching GitHub update_steamcmd.sh...OK
ttt-server | /home/steam/lgsm/modules/check_system_requirements.sh: line 66: [: 0.5: integer expression expected
[ START ] Installing gmodserver: SteamCMD
ttt-server | Complete! Installing gmodserver: SteamCMD
[ ERROR ] Installing gmodserver: No appmanifest_4020.acf found
[ INFO ] Installing gmodserver: Forcing update to correct issue
[ START ] Installing gmodserver: SteamCMD
ttt-server | Complete! Installing gmodserver: SteamCMD
[ FAIL ] Installing gmodserver: Still no appmanifest_4020.acf found
ttt-server | fetching GitHub core_exit.sh...OK
ttt-server | [entrypoint.sh]update / installation done!
ttt-server | [prepareServer.sh]check configurations
ttt-server | [initConfig.sh]Request for replacing hostname to "My Server", source is found 1 times
ttt-server | [initConfig.sh]Request for replacing sv_password to "server-password", source is found 1 times
ttt-server | [initConfig.sh]Request for replacing sv_voiceenable to "1", source is found 1 times
ttt-server | [prepareServer.sh]force workshop download
ttt-server | [forceWorkshopDownload.sh]processing workshop collection 2176094350
ttt-server | [prepareServer.sh]install & mount gamefiles
ttt-server | [installAndMountAddons.sh]installing & mounting css
ttt-server exited with code 1
if (($(echo "${physmemtotalgb} < ${ramrequirementgb}" | bc -l))); then
, so we can ignore it in the logplatform: linux/amd64
steam checks the platform so that it still identifies the arm architecture?
This simple docker-compose works in a debian 12 VM, but not on macOS. Using a MacBook Pro M2 with macOS Sonoma.