CØSMIC
CØSMIC
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
!solved
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
Feel a bit stupid not checking the filesize lol
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
You're awesome, thanks!
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
I will test a bit later
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
Ahhh, thank you!
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
This is just for personal use to play with some friends
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
And I get this error:
Exception in thread "main" cpw.mods.niofs.union.UnionFileSystem$UncheckedIOException: java.util.zip.ZipException: zip END header not found
Caused by: java.util.zip.ZipException: zip END header not found
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.findEND(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initCEN(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(Unknown Source)
at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
.....
Exception in thread "main" cpw.mods.niofs.union.UnionFileSystem$UncheckedIOException: java.util.zip.ZipException: zip END header not found
Caused by: java.util.zip.ZipException: zip END header not found
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.findEND(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initCEN(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(Unknown Source)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(Unknown Source)
at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.base/java.nio.file.FileSystems.newFileSystem(Unknown Source)
.....
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
Which does show a successful download:
PS D:\dev\minecraft-server-cloud\gke> kubectl logs mc-fcdf58b65-68sv9 -c copy-file
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/10) Installing ca-certificates (20240705-r0)
(2/10) Installing brotli-libs (1.1.0-r2)
(3/10) Installing c-ares (1.28.1-r0)
(4/10) Installing libunistring (1.2-r0)
(5/10) Installing libidn2 (2.3.7-r0)
(6/10) Installing nghttp2-libs (1.62.1-r0)
(7/10) Installing libpsl (0.21.5-r1)
(8/10) Installing zstd-libs (1.5.6-r0)
(9/10) Installing libcurl (8.9.1-r2)
(10/10) Installing curl (8.9.1-r2)
Executing busybox-1.36.1-r29.trigger
Executing ca-certificates-20240705-r0.trigger
OK: 13 MiB in 24 packages
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8549 100 8549 0 0 77129 0 --:--:-- --:--:-- --:--:-- 77718
PS D:\dev\minecraft-server-cloud\gke> kubectl logs mc-fcdf58b65-68sv9 -c copy-file
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/10) Installing ca-certificates (20240705-r0)
(2/10) Installing brotli-libs (1.1.0-r2)
(3/10) Installing c-ares (1.28.1-r0)
(4/10) Installing libunistring (1.2-r0)
(5/10) Installing libidn2 (2.3.7-r0)
(6/10) Installing nghttp2-libs (1.62.1-r0)
(7/10) Installing libpsl (0.21.5-r1)
(8/10) Installing zstd-libs (1.5.6-r0)
(9/10) Installing libcurl (8.9.1-r2)
(10/10) Installing curl (8.9.1-r2)
Executing busybox-1.36.1-r29.trigger
Executing ca-certificates-20240705-r0.trigger
OK: 13 MiB in 24 packages
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8549 100 8549 0 0 77129 0 --:--:-- --:--:-- --:--:-- 77718
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
I have tried an init container:
initContainers:
- name: copy-file
image: alpine:latest
command: ["sh", "-c", "apk add curl && mkdir -p /data/mods && curl -o /data/mods/JustEnoughResources-1.19.2-1.2.3.243.jar https://www.curseforge.com/minecraft/mc-mods/just-enough-resources-jer/download/4862430"]
initContainers:
- name: copy-file
image: alpine:latest
command: ["sh", "-c", "apk add curl && mkdir -p /data/mods && curl -o /data/mods/JustEnoughResources-1.19.2-1.2.3.243.jar https://www.curseforge.com/minecraft/mc-mods/just-enough-resources-jer/download/4862430"]
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
Here is the error:
forge-1.19.2-43.3.5-universal.jar |Forge |forge |43.3.5 |NONE |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90[12:56:01] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
Mod §ejerintegration§r requires §6jeresources§r §o0.14.1.160 or above§r
....
forge-1.19.2-43.3.5-universal.jar |Forge |forge |43.3.5 |NONE |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90[12:56:01] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
Mod §ejerintegration§r requires §6jeresources§r §o0.14.1.160 or above§r
....
22 replies
AAdmincraft
Created by CØSMIC on 9/23/2024 in #questions
Help running Curseforge "All of Create" in Kubernetes using itzg/docker-minecraft-server image
Here is my k8s yaml:
apiVersion: apps/v1
kind: Deployment
metadata:
name: mc
spec:
replicas: 1
selector:
matchLabels:
app: mc
template:
metadata:
labels:
app: mc
spec:
containers:
- name: mc
image: itzg/minecraft-server
tty: true
stdin: true
ports:
- containerPort: 25565
env:
- name: TYPE
value: AUTO_CURSEFORGE
- name: CF_API_KEY
value: "XYZ"
- name: CF_PAGE_URL
value: "https://www.curseforge.com/minecraft/modpacks/aoc/files/5656821"
- name: MEMORY
value: "4G"
- name: VERSION
value: "1.19.2"
- name: EULA
value: "TRUE"
- name: ALLOW_FLIGHT
value: "TRUE"
volumeMounts:
- name: mc-data
mountPath: /data
volumes:
- name: mc-data
persistentVolumeClaim:
claimName: mc-pvc
apiVersion: apps/v1
kind: Deployment
metadata:
name: mc
spec:
replicas: 1
selector:
matchLabels:
app: mc
template:
metadata:
labels:
app: mc
spec:
containers:
- name: mc
image: itzg/minecraft-server
tty: true
stdin: true
ports:
- containerPort: 25565
env:
- name: TYPE
value: AUTO_CURSEFORGE
- name: CF_API_KEY
value: "XYZ"
- name: CF_PAGE_URL
value: "https://www.curseforge.com/minecraft/modpacks/aoc/files/5656821"
- name: MEMORY
value: "4G"
- name: VERSION
value: "1.19.2"
- name: EULA
value: "TRUE"
- name: ALLOW_FLIGHT
value: "TRUE"
volumeMounts:
- name: mc-data
mountPath: /data
volumes:
- name: mc-data
persistentVolumeClaim:
claimName: mc-pvc
22 replies