GameServerManagers / GameServerManagers/docker-gameserver

mcserver docker-compose (java version too old)

Open
#69 11 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
344
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Unfortunately the java version is too old!

```
[ FAIL ] Starting mcserver: Unable to start LinuxGSM

Tail log files
=================================
==> /data/log/console/mcserver-console.log <==
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
==> /data/log/script/mcserver-script.log <==
May 05 07:33:56.650 mcserver: START: FATAL: Unable to start LinuxGSM
May 05 07:33:56.659 mcserver: START: INFO: LinuxGSM version: v24.2.0
May 05 07:33:56.661 mcserver: START: FATAL: core_exit.sh exiting with code: 1
May 05 07:34:02.086 mcserver: DETAILS: PASS: Using cached IP as public IP address
May 05 07:34:02.413 mcserver: DETAILS: PASS: Using cached IP as public IP address
tail: cannot open '/data/log/console/*script.log' for reading: No such file or directory
tail: cannot open '/data/log/script/*console.log' for reading: No such file or directory
May 05 07:34:02.586 mcserver: DETAILS: INFO: LinuxGSM version: v24.2.0
May 05 07:34:02.588 mcserver: DETAILS: PASS: core_exit.sh exiting with code: 0
May 05 07:34:48.499 mcserver: MONITOR: PASS: Using cached IP as public IP address
May 05 07:34:48.674 mcserver: MONITOR: PASS: Using cached IP as public IP address
May 05 07:34:50.268 mcserver: MONITOR: INFO: Checking session: CHECKING
May 05 07:34:50.486 mcserver: MONITOR: FATAL: Checking session: FAIL
May 05 07:34:50.492 mcserver: MONITOR: INFO: Sending alert: mcserver is not running. Game server has been restarted
May 05 07:34:50.686 mcserver: MONITOR: PASS: Using cached IP as public IP address
May 05 07:34:51.425 mcserver: MONITOR: INFO: Checking session: Monitor is restarting mcserver
May 05 07:34:51.477 mcserver: RESTART: PASS: Using cached IP as public IP address
May 05 07:34:52.171 mcserver: STOP: PASS: Using cached IP as public IP address
May 05 07:34:52.826 mcserver: STOP: PASS: Using cached IP as public IP address
May 05 07:34:53.009 mcserver: STOP: INFO: LinuxGSM is already stopped
May 05 07:34:54.164 mcserver: START: PASS: Checking ubuntu-22.04.csv
May 05 07:34:54.410 mcserver: START: PASS: Using cached IP as public IP address
May 05 07:34:54.788 mcserver: START: PASS: Using cached IP as public IP address
May 05 07:34:55.400 mcserver: START: INFO: Rotating log files
tail: '/data/log/script/mcserver-script.log' has become inaccessible: No such file or directory
tail: '/data/log/console/mcserver-console.log' has become inaccessible: No such file or directory
tail: '/data/log/console/mcserver-console.log' has appeared; following new file
==> /data/log/console/mcserver-console.log <==
Error: LinkageError occurred while loading main class net.minecraft.bundler.Main
java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
tail: '/data/log/script/mcserver-script.log' has appeared; following new file
==> /data/log/script/mcserver-script.log <==
May 05 07:34:56.558 mcserver: START: FATAL: Unable to start LinuxGSM
May 05 07:34:56.581 mcserver: START: INFO: LinuxGSM version: v24.2.0
May 05 07:34:56.584 mcserver: START: FATAL: core_exit.sh exiting with code: 1
```

```
version: "3.8"
services:
linuxgsm-mc-volume:
image: gameservermanagers/gameserver:mc
container_name: mcserver
restart: unless-stopped
volumes:
- linuxgsm-mc:/data
ports:
- "25565:25565"

volumes:
linuxgsm-mc:
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.