-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bughelp wantedreason/upstreamCaused by an upstream vendor (Mojang, Forge, Bukkit, etc) issueCaused by an upstream vendor (Mojang, Forge, Bukkit, etc) issue
Description
Describe the problem
I tried to run Magma server but docker log stuck on Forge installation.
Between at the same time, the server itself is launched in the background. (I saw that by forge installer log file and HTOP)
Container definition
version: "3.8"
services:
mc:
image: itzg/minecraft-server:java8
ports:
- 25565:25565
environment:
EULA: "TRUE"
VERSION: "1.12.2"
TYPE: "MAGMA"
MEMORY: "7G"
EXEC_DIRECTLY: "TRUE"
USE_FLARE_FLAGS: "TRUE"
USE_SIMD_FLAGS: "TRUE"
tty: true
stdin_open: true
restart: always
volumes:
- ./minecraft-data:/data
Container logs
mc_1 | [init] 2022-07-07 13:34:14+00:00 Changing ownership of /data to 1000 ...
mc_1 | + export HOME=/data
mc_1 | + HOME=/data
mc_1 | ++ id -u
mc_1 | ++ id -g
mc_1 | ++ ls -lnd /data
mc_1 | + log 'Running as uid=1000 gid=1000 with /data as '\''drwxrwxr-x 2 1000 1000 4096 Jul 7 13:34 /data'\'''
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | [init] 2022-07-07 13:34:14+00:00 Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Jul 7 13:34 /data'
mc_1 | + '[' '!' -e /data/eula.txt ']'
mc_1 | + isTrue TRUE
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | + return 0
mc_1 | + writeEula
mc_1 | ++ date
mc_1 | + echo '# Generated via Docker
mc_1 | # Thu Jul 7 13:34:14 UTC 2022
mc_1 | eula=true
mc_1 | '
mc_1 | + isTrue false
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | + return 1
mc_1 | + isTrue false
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | + return 1
mc_1 | + [[ -n '' ]]
mc_1 | + [[ -n '' ]]
mc_1 | + fixJavaPath
mc_1 | + which java
mc_1 | + export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
mc_1 | + VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
mc_1 | + case "X$VERSION" in
mc_1 | + VANILLA_VERSION=1.12.2
mc_1 | + export VANILLA_VERSION
mc_1 | ++ get_major_version 1.12.2
mc_1 | ++ version=1.12.2
mc_1 | ++ echo 1.12.2
mc_1 | ++ cut -d. -f 1-2
mc_1 | + MAJOR_VANILLA_VERSION=1.12
mc_1 | + export MAJOR_VANILLA_VERSION
mc_1 | + log 'Resolved version given 1.12.2 into 1.12.2 and major version 1.12'
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | [init] 2022-07-07 13:34:14+00:00 Resolved version given 1.12.2 into 1.12.2 and major version 1.12
mc_1 | + cd /data
mc_1 | + export ORIGINAL_TYPE=MAGMA
mc_1 | + ORIGINAL_TYPE=MAGMA
mc_1 | + isTrue false
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | + return 1
mc_1 | + isTrue false
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | + return 1
mc_1 | + [[ -n '' ]]
mc_1 | + [[ -n '' ]]
mc_1 | + [[ -n '' ]]
mc_1 | + [[ -n '' ]]
mc_1 | + [[ -n '' ]]
mc_1 | + versionLessThan 1.7
mc_1 | + mc-image-helper compare-versions 1.12.2 lt 1.7
mc_1 | + log 'Resolving type given MAGMA'
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | [init] 2022-07-07 13:34:15+00:00 Resolving type given MAGMA
mc_1 | + case "${TYPE^^}" in
mc_1 | + evaluateJavaCompatibilityForForge
mc_1 | ++ mc-image-helper java-release
mc_1 | + javaRelease=8
mc_1 | + versionLessThan 1.18
mc_1 | + mc-image-helper compare-versions 1.12.2 lt 1.18
mc_1 | + (( javaRelease > 8 ))
mc_1 | + exec /start-deployMagma
mc_1 | + : 1.12.2
mc_1 | ++ curl -fsSL https://api.magmafoundation.org/api/v2/1.12.2/latest
mc_1 | + latestMeta='{"name":"efb9116e","tag_name":"efb9116e","created_at":"2022-07-01T19:37:54.053Z","link":"https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar","installer_link":"https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar","git_commit_url":"https://git.magmafoundation.org/magmafoundation/Magma/commit/efb9116e"}'
mc_1 | + '[' 0 '!=' 0 ']'
mc_1 | ++ jq -r .tag_name
mc_1 | ++ echo '{"name":"efb9116e","tag_name":"efb9116e","created_at":"2022-07-01T19:37:54.053Z","link":"https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar","installer_link":"https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar","git_commit_url":"https://git.magmafoundation.org/magmafoundation/Magma/commit/efb9116e"}'
mc_1 | + tagName=efb9116e
mc_1 | + markerFile=.magma-installed-1.12.2-efb9116e
mc_1 | + '[' -f .magma-installed-1.12.2-efb9116e ']'
mc_1 | + '[' '!' -f .magma-installed-1.12.2-efb9116e ']'
mc_1 | ++ echo '{"name":"efb9116e","tag_name":"efb9116e","created_at":"2022-07-01T19:37:54.053Z","link":"https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar","installer_link":"https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar","git_commit_url":"https://git.magmafoundation.org/magmafoundation/Magma/commit/efb9116e"}'
mc_1 | ++ jq -r .installer_link
mc_1 | + assetUrl=https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar
mc_1 | + '[' 0 '!=' 0 ']'
mc_1 | + '[' -z https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar ']'
mc_1 | + magmaHandleInstaller https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar efb9116e .magma-installed-1.12.2-efb9116e
mc_1 | + url=https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar
mc_1 | + tagName=efb9116e
mc_1 | + markerFile=.magma-installed-1.12.2-efb9116e
mc_1 | + installerFile=magma-installer-1.12.2-efb9116e.jar
mc_1 | + log 'Downloading Magma installer file for 1.12.2 @ efb9116e'
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | [init] 2022-07-07 13:34:16+00:00 Downloading Magma installer file for 1.12.2 @ efb9116e
mc_1 | + curl -o magma-installer-1.12.2-efb9116e.jar -fsSL https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar
mc_1 | + echo forge
mc_1 | + export FORGE_INSTALLER=magma-installer-1.12.2-efb9116e.jar
mc_1 | + FORGE_INSTALLER=magma-installer-1.12.2-efb9116e.jar
mc_1 | + export FORGE_INSTALLER_CUSTOM_VERSION=efb9116e
mc_1 | + FORGE_INSTALLER_CUSTOM_VERSION=efb9116e
mc_1 | + exec /start-deployForge https://git.magmafoundation.org/api/v4/projects/7/packages/maven/org/magmafoundation/Magma/1.12.2-efb9116e/Magma-1.12.2-efb9116e.jar efb9116e .magma-installed-1.12.2-efb9116e
mc_1 | + resolve_versions
mc_1 | + [[ -z magma-installer-1.12.2-efb9116e.jar ]]
mc_1 | + [[ -z magma-installer-1.12.2-efb9116e.jar ]]
mc_1 | + [[ ! -e magma-installer-1.12.2-efb9116e.jar ]]
mc_1 | + shortForgeVersion=1.12.2-efb9116e
mc_1 | + installMarker=/data/.forge-installed-1.12.2-efb9116e
mc_1 | + '[' '!' -e /data/.forge-installed-1.12.2-efb9116e ']'
mc_1 | + install
mc_1 | + '[' '!' -e magma-installer-1.12.2-efb9116e.jar ']'
mc_1 | + rm -f run.sh
mc_1 | + log 'Installing Forge 1.12.2-efb9116e. This might take a minute or two...'
mc_1 | + local oldState
mc_1 | ++ shopt -po xtrace
mc_1 | + oldState='set -o xtrace'
mc_1 | + shopt -u -o xtrace
mc_1 | [init] 2022-07-07 13:34:17+00:00 Installing Forge 1.12.2-efb9116e. This might take a minute or two...
mc_1 | + mkdir -p mods
mc_1 | + tries=3
mc_1 | + true
mc_1 | + java -jar magma-installer-1.12.2-efb9116e.jar --installServer
Metadata
Metadata
Assignees
Labels
bughelp wantedreason/upstreamCaused by an upstream vendor (Mojang, Forge, Bukkit, etc) issueCaused by an upstream vendor (Mojang, Forge, Bukkit, etc) issue
Projects
Status
Done