Closed codetakki closed 2 years ago
Here are complete logs after restart, funny enough it seams to download the forge package and then delete right before outputting error.
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/limited/exempt_local.policy -> jre/jdk-17.0.2+8-jre/conf/security/policy/limited/exempt_local.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_local.policy -> jre/jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_local.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_US_export.policy -> jre/jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_US_export.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/README.txt -> jre/jdk-17.0.2+8-jre/conf/security/policy/README.txt
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/java.security -> jre/jdk-17.0.2+8-jre/conf/security/java.security
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/java.policy -> jre/jdk-17.0.2+8-jre/conf/security/java.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/logging.properties -> jre/jdk-17.0.2+8-jre/conf/logging.properties
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/sound.properties -> jre/jdk-17.0.2+8-jre/conf/sound.properties
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libzip.so -> jre/jdk-17.0.2+8-jre/lib/libzip.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/psfontj2d.properties -> jre/jdk-17.0.2+8-jre/lib/psfontj2d.properties
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjimage.so -> jre/jdk-17.0.2+8-jre/lib/libjimage.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/jrt-fs.jar -> jre/jdk-17.0.2+8-jre/lib/jrt-fs.jar
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libj2pcsc.so -> jre/jdk-17.0.2+8-jre/lib/libj2pcsc.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/librmi.so -> jre/jdk-17.0.2+8-jre/lib/librmi.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libawt_headless.so -> jre/jdk-17.0.2+8-jre/lib/libawt_headless.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libfontmanager.so -> jre/jdk-17.0.2+8-jre/lib/libfontmanager.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjsvml.so -> jre/jdk-17.0.2+8-jre/lib/libjsvml.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libsyslookup.so -> jre/jdk-17.0.2+8-jre/lib/libsyslookup.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjavajpeg.so -> jre/jdk-17.0.2+8-jre/lib/libjavajpeg.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libj2gss.so -> jre/jdk-17.0.2+8-jre/lib/libj2gss.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libmanagement_ext.so -> jre/jdk-17.0.2+8-jre/lib/libmanagement_ext.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libsplashscreen.so -> jre/jdk-17.0.2+8-jre/lib/libsplashscreen.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjsound.so -> jre/jdk-17.0.2+8-jre/lib/libjsound.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/liblcms.so -> jre/jdk-17.0.2+8-jre/lib/liblcms.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/psfont.properties.ja -> jre/jdk-17.0.2+8-jre/lib/psfont.properties.ja
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libsctp.so -> jre/jdk-17.0.2+8-jre/lib/libsctp.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/tzdb.dat -> jre/jdk-17.0.2+8-jre/lib/tzdb.dat
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libmanagement_agent.so -> jre/jdk-17.0.2+8-jre/lib/libmanagement_agent.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/jexec -> jre/jdk-17.0.2+8-jre/lib/jexec
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libverify.so -> jre/jdk-17.0.2+8-jre/lib/libverify.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjawt.so -> jre/jdk-17.0.2+8-jre/lib/libjawt.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libdt_socket.so -> jre/jdk-17.0.2+8-jre/lib/libdt_socket.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libnio.so -> jre/jdk-17.0.2+8-jre/lib/libnio.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjsig.so -> jre/jdk-17.0.2+8-jre/lib/libjsig.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/classlist -> jre/jdk-17.0.2+8-jre/lib/classlist
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjli.so -> jre/jdk-17.0.2+8-jre/lib/libjli.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/server/classes.jsa -> jre/jdk-17.0.2+8-jre/lib/server/classes.jsa
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/server/libjvm.so -> jre/jdk-17.0.2+8-jre/lib/server/libjvm.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/server/libjsig.so -> jre/jdk-17.0.2+8-jre/lib/server/libjsig.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/server/classes_nocoops.jsa -> jre/jdk-17.0.2+8-jre/lib/server/classes_nocoops.jsa
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/blocked.certs -> jre/jdk-17.0.2+8-jre/lib/security/blocked.certs
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/cacerts -> jre/jdk-17.0.2+8-jre/lib/security/cacerts
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/public_suffix_list.dat -> jre/jdk-17.0.2+8-jre/lib/security/public_suffix_list.dat
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/default.policy -> jre/jdk-17.0.2+8-jre/lib/security/default.policy
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/jvm.cfg -> jre/jdk-17.0.2+8-jre/lib/jvm.cfg
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/libawt.so -> jre/jdk-17.0.2+8-jre/lib/libawt.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/jspawnhelper -> jre/jdk-17.0.2+8-jre/lib/jspawnhelper
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/libj2pkcs11.so -> jre/jdk-17.0.2+8-jre/lib/libj2pkcs11.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/modules -> jre/jdk-17.0.2+8-jre/lib/modules
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libnet.so -> jre/jdk-17.0.2+8-jre/lib/libnet.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libextnet.so -> jre/jdk-17.0.2+8-jre/lib/libextnet.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libprefs.so -> jre/jdk-17.0.2+8-jre/lib/libprefs.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libjdwp.so -> jre/jdk-17.0.2+8-jre/lib/libjdwp.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libjaas.so -> jre/jdk-17.0.2+8-jre/lib/libjaas.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libmanagement.so -> jre/jdk-17.0.2+8-jre/lib/libmanagement.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/jfr/default.jfc -> jre/jdk-17.0.2+8-jre/lib/jfr/default.jfc
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/jfr/profile.jfc -> jre/jdk-17.0.2+8-jre/lib/jfr/profile.jfc
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libjava.so -> jre/jdk-17.0.2+8-jre/lib/libjava.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libinstrument.so -> jre/jdk-17.0.2+8-jre/lib/libinstrument.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libmlib_image.so -> jre/jdk-17.0.2+8-jre/lib/libmlib_image.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libawt_xawt.so -> jre/jdk-17.0.2+8-jre/lib/libawt_xawt.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/NOTICE -> jre/jdk-17.0.2+8-jre/NOTICE
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/keytool -> jre/jdk-17.0.2+8-jre/bin/keytool
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/jrunscript -> jre/jdk-17.0.2+8-jre/bin/jrunscript
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/rmiregistry -> jre/jdk-17.0.2+8-jre/bin/rmiregistry
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/jfr -> jre/jdk-17.0.2+8-jre/bin/jfr
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/java -> jre/jdk-17.0.2+8-jre/bin/java
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/release -> jre/jdk-17.0.2+8-jre/release
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.dynalink/dynalink.md -> jre/jdk-17.0.2+8-jre/legal/jdk.dynalink/dynalink.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml.crypto/santuario.md -> jre/jdk-17.0.2+8-jre/legal/java.xml.crypto/santuario.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/unicode.md -> jre/jdk-17.0.2+8-jre/legal/java.base/unicode.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/aes.md -> jre/jdk-17.0.2+8-jre/legal/java.base/aes.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/c-libutl.md -> jre/jdk-17.0.2+8-jre/legal/java.base/c-libutl.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/LICENSE -> jre/jdk-17.0.2+8-jre/legal/java.base/LICENSE
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/public_suffix.md -> jre/jdk-17.0.2+8-jre/legal/java.base/public_suffix.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/asm.md -> jre/jdk-17.0.2+8-jre/legal/java.base/asm.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/ASSEMBLY_EXCEPTION -> jre/jdk-17.0.2+8-jre/legal/java.base/ASSEMBLY_EXCEPTION
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/icu.md -> jre/jdk-17.0.2+8-jre/legal/java.base/icu.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/cldr.md -> jre/jdk-17.0.2+8-jre/legal/java.base/cldr.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/ADDITIONAL_LICENSE_INFO -> jre/jdk-17.0.2+8-jre/legal/java.base/ADDITIONAL_LICENSE_INFO
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.smartcardio/pcsclite.md -> jre/jdk-17.0.2+8-jre/legal/java.smartcardio/pcsclite.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11wrapper.md -> jre/jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md -> jre/jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.localedata/thaidict.md -> jre/jdk-17.0.2+8-jre/legal/jdk.localedata/thaidict.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/colorimaging.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/colorimaging.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/mesa3d.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/mesa3d.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/giflib.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/giflib.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/harfbuzz.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/harfbuzz.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/lcms.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/lcms.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/jpeg.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/jpeg.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/xwd.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/xwd.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/libpng.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/libpng.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/xerces.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/xerces.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/jcup.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/jcup.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/dom.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/dom.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/xalan.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/xalan.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/bcel.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/bcel.md
2022/06/30 20:00:17 Installed!
[init] ERROR unable to locate the installed forge server jar
minecraft_server.1.18.2.jar
Running the ftb server manually with there own server installer works fine, even after that the docker container says it cant find the forge installed server
You might need to set that one up as a generic pack like https://github.com/itzg/docker-minecraft-server/blob/master/examples/docker-compose-generic-pack-atm7.yml
This either yielded the same error or i misunderstood what im supposed to do. Im not sure i sett it up correctly as i used the setup executable from FTB, witch isint a .zip What zip to use for this modpack I'm not sure, is it the forge server zip? Here are my ENV:
TYPE=FORGE
MAX_TICK_TIME=-1
MEMORY=6G
EULA=TRUE
ENABLE_RCON=true
RCON_PORT=25575
RCON_PASSWORD=minecraft
LEVEL_TYPE=DEFAULT
SERVER_PORT=25565
ONLINE_MODE=TRUE
SERVER_NAME=Takkis server
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
UID=1000
GID=1000
VERSION=1.18.2
FORGEVERSION=RECOMMENDED
SPONGEBRANCH=STABLE
SPONGEVERSION=
FABRICVERSION=LATEST
LEVEL=world
PVP=true
DIFFICULTY=easy
ENABLE_AUTOPAUSE=false
AUTOPAUSE_TIMEOUT_EST=3600
AUTOPAUSE_TIMEOUT_KN=120
AUTOPAUSE_TIMEOUT_INIT=600
AUTOPAUSE_PERIOD=10
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
JAVA_VERSION=jdk-17.0.3+7
JAVA_HOME=/opt/java/openjdk
GENERIC_PACK=serverinstall_96_2226
FTB sure makes things difficult in the spirit of trying to simplify things. Yeah, rather than offer a plain old zip file they only let you download their proprietary installer binary 😒
Meanwhile, I don't know what's wrong with that modpack in the first place since they bundled the Java runtime. It probably violates some redistribution licenses.
...actually, I wasn't able to recreate the problem. This started fine for me:
version: '3.8'
services:
mc:
image: itzg/minecraft-server
environment:
EULA: "true"
TYPE: FTBA
FTB_MODPACK_ID: "96"
volumes:
- data:/data
volumes:
data: {}
Creating a new directory and using that in volumes instead seams to have solved the issue. Why this is i don't know. Running it on /home/USER/servers/mcPlexi does not work, while /home/USER/servers/mcPlexi2 works perfectly... Guessing it's not the image's fault.
I'm having the same issue, ARM, docker-compose.
Logs, docker-compose.yml, and data directory contents after up
: https://gist.github.com/jtrenaud1s/28020eba3476ff28b35f5c51830b4b4c
EDIT: I solved the issue by updating the image and using the base, non-java8 image for the newer version of MC.
Hello,
I think the issue is happen when the run script is not used (like when set ` to
false) and this is due to
-maxdepth 2` here
https://github.com/itzg/docker-minecraft-server/blob/c83705157ca47a6900917cab9463bcadc9bfda42/scripts/start-deployCF#L125
This limit should be up to 6
for allow find jar file in ./libraries/net/minecraftforge/forge/mcVersion-forgeVersion/forge-...
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.
This is still an issue. When using https://www.curseforge.com/minecraft/modpacks/all-the-mods-7/download/3949730 as a CF_SERVER_MOD
, the command:
$ find -maxdepth 2 -type f \( -path "/libraries/*" -o -path "/mods/*" \) -prune -o -name "forge*.jar" -not -name "forge*installer.jar" -print
run from within the data
directory returns no results.
Changing it like so yields the following:
$ find -maxdepth 6 -type f \( -path "/libraries/*" -o -path "/mods/*" \) -prune -o -name "forge*.jar" -not -name "forge*installer.jar" -print
./libraries/net/minecraftforge/forge/1.18.2-40.1.68/forge-1.18.2-40.1.68-server.jar
./libraries/net/minecraftforge/forge/1.18.2-40.1.68/forge-1.18.2-40.1.68-universal.jar
./libraries/net/minecraftforge/forgespi/4.0.15-4.x/forgespi-4.0.15-4.x.jar
It does seem odd that multiple results are returned.
I think the query to find the forge jar needs a little work.
I was able to get All the Mods 7 0.4.29
(try to help anyone searching) working with the following environment:
TYPE=FORGE
VERSION=1.18.2
FORGEVERSION=40.1.68
GENERIC_PACK=/modpacks/atm7/0.4.29.zip
as alluded to in https://github.com/itzg/docker-minecraft-server/issues/1582#issuecomment-1171637383
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.
Describe the problem
When starting a new image for FTB Plexiglass modpack following error acours:
[init] ERROR unable to locate the installed forge server jar
When check the folder the "forge-installer" is missing, butt adding the correct one (forge-1.18.2-40.1.52-installer) manually does not change anything.Container definition
Container logs
minecraft_server.1.18.2.jar