Closed HiltonWS closed 1 year ago
I can't recreate this issue, as shown in my testing here:
I suspect your docker/k8s installation is not configured to pull the correct platform from the multi-architecture manifest.
@itzg Today with the lastest version I have this issue
[init] Changing gid of minecraft to 1000 groupmod: group 'minecraft' does not exist /start: line 52: /usr/sbin/gosu: Success
May some trash in my configuration?
It´s running a FORGE instance.
Update
Using SKIP_SUDO = TRUE, its works.
I still am unable to recreate this issue using the following deployment on a Mac Apple silicon (aarch64):
apiVersion: apps/v1
kind: Deployment
metadata:
name: mc
labels:
app: mc
spec:
replicas: 1
template:
metadata:
name: mc
labels:
app: mc
spec:
containers:
- name: mc
image: itzg/minecraft-server:java17
imagePullPolicy: IfNotPresent
env:
- name: EULA
value: "true"
- name: TYPE
value: FORGE
- name: FORGE_VERSION
value: 43.1.55
- name: VERSION
value: 1.19.2
selector:
matchLabels:
app: mc
Clean up the cache and images, reinstall the Forge mod (All the Mods 8), using the latest version without sudo, facing now this error today
[init] Running as uid=0 gid=0 with /data as 'drwxrwxr-x 7 1000 1003 4096 Jan 8 00:18 /data'
[init] Resolved version given 1.19.2 into 1.19.2 and major version 1.19
Exception in thread "main" java.lang.ClassFormatError: Incompatible magic value 816775220 in class file org/xml/sax/InputSource
I'm using a raspberry pi 4 inside a Kubernetes cluster with micro8 with the latest Ubuntu LTS version.
Describe the problem
Helo when using the Java17 version or the latest version the arm 64 bits version does not start.
Created with Kubernetes, repository https://github.com/HiltonWS/minecraft-server
Container definition
Container logs