[Support] Goobaroo - Modded Minecraft Java Servers


Recommended Posts

This is my log file it seem to be the same no matter what iv done

 

 

 

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(ZipFileSystem.java:1320)
        at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1534)
        at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:179)
        at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125)
        at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:120)
        at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:528)
        at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:475)
        at cpw.mods.securejarhandler/cpw.mods.niofs.union.UnionFileSystem.openFileSystem(UnionFileSystem.java:112)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
        at java.base/java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
        at cpw.mods.securejarhandler/cpw.mods.niofs.union.UnionFileSystem.<init>(UnionFileSystem.java:107)
        at cpw.mods.securejarhandler/cpw.mods.niofs.union.UnionFileSystemProvider.newFileSystemInternal(UnionFileSystemProvider.java:115)
        at cpw.mods.securejarhandler/cpw.mods.niofs.union.UnionFileSystemProvider.newFileSystem(UnionFileSystemProvider.java:105)
        at cpw.mods.securejarhandler/cpw.mods.jarhandling.impl.Jar.<init>(Jar.java:84)
        at cpw.mods.securejarhandler/cpw.mods.jarhandling.SecureJar.from(SecureJar.java:70)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.AbstractModProvider.createMod(AbstractModProvider.java:38)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModLocator.lambda$scanMods$0(AbstractJarFileModLocator.java:19)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
        at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
        at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
        at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
        at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
        at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.AbstractJarFileModLocator.scanMods(AbstractJarFileModLocator.java:19)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:74)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:166)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:86)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:112)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:100)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
        at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
        at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
        at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
        at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:102)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:55)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:87)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
        at java.util.zip.ZipFile.<init>(ZipFile.java:186) ~[?:?] {}
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at net.minecraftforge.fml.loading.ModDirTransformerDiscoverer.visitFile(ModDirTransformerDiscoverer.java:54) ~[fmlloader-1.19.2-43.1.47.jar%2367!/:1.0] {}
        at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?] {}
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] {}
        at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?] {}
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?] {}
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] {}
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] {}
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?] {}
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?] {}
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] {}
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?] {}
        at net.minecraftforge.fml.loading.ModDirTransformerDiscoverer.scan(ModDirTransformerDiscoverer.java:44) ~[fmlloader-1.19.2-43.1.47.jar%2367!/:1.0] {}
        at net.minecraftforge.fml.loading.ModDirTransformerDiscoverer.candidates(ModDirTransformerDiscoverer.java:27) ~[fmlloader-1.19.2-43.1.47.jar%2367!/:1.0] {}
        at cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService.candidates(ITransformerDiscoveryService.java:48) ~[modlauncher-10.0.8.jar%2354!/:10.0.8+10.0.8+main.0ef7e830] {}
        at cpw.mods.modlauncher.TransformationServicesHandler.lambda$discoverServices$14(TransformationServicesHandler.java:125) ~[modlauncher-10.0.8.jar%2354!/:?] {}
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?] {}
        at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) [?:?] {}
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?] {}
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?] {}
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) [?:?] {}
        at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) [?:?] {}
        at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) [?:?] {}
        at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) [?:?] {}
        at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) [?:?] {}
        at cpw.mods.modlauncher.TransformationServicesHandler.discoverServices(TransformationServicesHandler.java:127) [modlauncher-10.0.8.jar%2354!/:?] {}
        at cpw.mods.modlauncher.Launcher.run(Launcher.java:86) [modlauncher-10.0.8.jar%2354!/:?] {}
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2354!/:?] {}
        at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2354!/:?] {}
        at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2354!/:?] {}
        at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}
[04:42:00] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/data/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER

** Press ANY KEY to close this window ** 

Link to comment

I am using unraid docker and let me tell you a bit clearer what has happened, for the last for days I have been trying to make a server with forge and all the mods 8 pack on curseforge downloaded to windows managed to create a server with the modpack everything working find while on windows.

 

Transferred it over to the unraid server but because im new to minecraft server stuff couldn't find the universal file that I needed to run, after the last 1-2 days searching for it I managed to find it, but have not managed to find how to link the file path to where it is with something like MineOS or crafty 

 

when to start trying to get it to run again last night and saw that you had posted that exact thing I was trying to do and you had put it in a app and btw Thank you hopefully it will make life a bit easier but I am having trouble with launching it after it all installs

everything seems to install fine and then I go to the docker tab and try to launch the server it. Docker says that it has started and then within a few seconds it just stops and just cant figure out why 

 

Last thing I am a bit of a noob when it comes to unraid only been using it for about a month so could you point me to where I might find the log and I will gladly post it for you 

 

once again THANK YOU for any help that you can give me 

Link to comment

yes I was happy when i saw it and have had a go at installing it,

everything installs fine for me but when I when I try to run it does for a few second and then stops itself but I have no idea why

I'm only trying to play it on my local network and from my server to the pc so the server can handle all the loading things

I think these were the files you asked for

debug.log latest.log

Link to comment

It seems like the install was partially completed.  Either because it was interrupted or you ran out of space.  The install saves its files to `/mnt/user/appdata/allthemods8`.  If you delete the `Server-Files-0.1.8.zip` file in that directory and start the container, it will re-install.  Give that a try first.

 

The first startup takes a while as it is installing forge and patching everything.  The install takes about a 1 Gb of space.

Link to comment

Thank you dude it's running perfectly, did as you said deleted the file and it started installing the rest of it.

it's having people like you around that makes life that little and makes you have at least some hope in humanity next time i get some spare cash I will come and drop you a tip and again many, many, many thanks dude

 

could I just ask one more question which would be how come it installs like that. Is it the way it's programmed to which install or did it conflict with something or maybe both just wondering just so I can watch out for it next time I install something and nothing is happening?

 

if you don't want to answer feel free to ignore it was just wondering that was all many thanks again

  • Like 1
Link to comment

Docker containers are meant to be fixed stand alone versions of a particular piece of software.  They are highly portable as they include everything that is needed to run an application.

 

In the case of these servers, they start with a Java container, using the appropriate version 8, 11, 17 what ever.  Then in my case a launch script is written to download the server for what ever mod pack the container is configured to install.  It then runs the initial setup and installs it.  I have to tweak the install process or write it in the case of ATM, as all they give is a readme with the install instructions for setting up a server.  But for all the versions I publish it will always queue the install off of wether it finds the ZIP file with the server install in its appdata directory, if it is there, it assumes it is already installed.  When it upgrades it removes the previous version, downloads the new version and does an upgrade.

Link to comment
  • Goobaroo changed the title to [Support] Goobaroo - Modded Minecraft Server Containers

I would suggest something like:

 

SFN="${SERVER_FILES_NAME:=Server-Files-0.1.10.zip}"
SFU="${SERVER_FILES_URL:=https://edge.forgecdn.net/files/4061/376/$SFN}"
if ! [[ -f '$SFN' ]]; then
        rm -fr defaultconfigs config kubejs libraries mods Simple.zip forge*.jar
        curl -Lo '$SFN' '$SFU' && unzip -u -o '$SFN' -d /data
        if [[ -d $(echo $SFN| sed 's/.zip//') ]]; then
                mv -f $(echo $SFN | sed 's/.zip//')/* /data
                rm -fr $(echo $SFN | sed 's/.zip//')
        fi
        java -jar $(ls forge-*-installer.jar) --installServer
fi


To somewhat decouple your update feedback to experienced users.

Link to comment
4 hours ago, CK98 said:

I would suggest something like:

 

SFN="${SERVER_FILES_NAME:=Server-Files-0.1.10.zip}"
SFU="${SERVER_FILES_URL:=https://edge.forgecdn.net/files/4061/376/$SFN}"
if ! [[ -f '$SFN' ]]; then
        rm -fr defaultconfigs config kubejs libraries mods Simple.zip forge*.jar
        curl -Lo '$SFN' '$SFU' && unzip -u -o '$SFN' -d /data
        if [[ -d $(echo $SFN| sed 's/.zip//') ]]; then
                mv -f $(echo $SFN | sed 's/.zip//')/* /data
                rm -fr $(echo $SFN | sed 's/.zip//')
        fi
        java -jar $(ls forge-*-installer.jar) --installServer
fi


To somewhat decouple your update feedback to experienced users.

 

I'm not entirely clear what you're trying to say here.

 

The File name changes between server releases.

The URI is coming from a CDN so the path changes with each release and pack as well.

 

As a whole the launch.sh is generated in an automated CI/CD stack.  While they are templated, the information about where and what to download do change. Occasionally the launch.sh needs to be updated to combat quirks in the server install or bugs introduced in order to successfully complete.

 

Edited by Goobaroo
expansion
Link to comment

@A_MrNew versions of the containers get updated fairly frequently.  If you're looking at the settings of any docker container, if there is no version defined then it is defaulting to the `latest` tag which should float to the newest version.

 

For example: goobaroo/stoneblock3 is equal to goobaroo/stoneblock3:latest where goobaroo/stoneblock3:1.0.0 specifies a version.

 

You'll see in your docker list an update button when there is a new version, this is a function of unraid.

 

image.png.c3ff54e908ae3455b97da073e4ddac5a.png

 

Which container are you asking about?

 

Edit: If you mean automatically update dockers when a newer version is out, you can do that with the CA Auto Update Applications plugin.  Their support thread is here

Edited by Goobaroo
Link to comment

Hi I've installed the ftbdirewolf20_118 Docker and after install and downloading I get this error in the logs. 

 

Quote

Aborted
+ ./start.sh
/launch.sh: line 45: ./start.sh: No such file or directory
+ ID=95
+ VER=2239
+ cd /data
+ [[ true = \f\a\l\s\e ]]
+ echo eula=true
+ [[ -f serverinstall_95_2239 ]]
+ [[ -n FTB Presents Direwolf20 1.18 v1.9.1 Server Powered by Docker ]]
+ sed -i '/motd\s*=/ c motd=FTB Presents Direwolf20 1.18 v1.9.1 Server Powered by Docker' /data/server.properties
sed: can't read /data/server.properties: No such file or directory
+ [[ -n world ]]
+ sed -i '/level-name\s*=/ c level-name=world' /data/server.properties
sed: can't read /data/server.properties: No such file or directory
+ [[ -n sgt_bbilko ]]
+ echo sgt_bbilko
+ awk -v RS=, '{print}'
+ [[ -n '' ]]
+ sed -i 's/server-port.*/server-port=25565/g' server.properties
sed: can't read server.properties: No such file or directory
+ [[ -f run.sh ]]
+ chmod 755 run.sh
+ [[ -f start.sh ]]
+ [[ -f run.sh ]]
+ [[ -f user_jvm_args.txt ]]
+ echo -Xms4096m -Xmx6144m
+ [[ -f run.sh ]]
+ ./run.sh
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00001499453dfe04, pid=14, tid=15
#
# JRE version: OpenJDK Runtime Environment (17.0.2+8) (build 17.0.2+8-86)
# Java VM: OpenJDK 64-Bit Server VM (17.0.2+8-86, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# J 1823 c2 java.util.stream.StreamSupport.stream(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream; [email protected] (19 bytes) @ 0x00001499453dfe04 [0x00001499453dfd20+0x00000000000000e4]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /data/hs_err_pid14.log
Compiled method (c1) 2999 1574 ! 3 cpw.mods.niofs.union.UnionFileSystem::newDirStream (217 bytes)
total in heap [0x000014993e0f0210,0x000014993e0f46a0] = 17552
relocation [0x000014993e0f0370,0x000014993e0f06f0] = 896
constants [0x000014993e0f0700,0x000014993e0f0720] = 32
main code [0x000014993e0f0720,0x000014993e0f34a0] = 11648
stub code [0x000014993e0f34a0,0x000014993e0f3640] = 416
oops [0x000014993e0f3640,0x000014993e0f3670] = 48
metadata [0x000014993e0f3670,0x000014993e0f3750] = 224
scopes data [0x000014993e0f3750,0x000014993e0f3e68] = 1816
scopes pcs [0x000014993e0f3e68,0x000014993e0f43b8] = 1360
dependencies [0x000014993e0f43b8,0x000014993e0f43d8] = 32
handler table [0x000014993e0f43d8,0x000014993e0f4618] = 576
nul chk table [0x000014993e0f4618,0x000014993e0f46a0] = 136
Compiled method (c1) 2999 1574 ! 3 cpw.mods.niofs.union.UnionFileSystem::newDirStream (217 bytes)
total in heap [0x000014993e0f0210,0x000014993e0f46a0] = 17552
relocation [0x000014993e0f0370,0x000014993e0f06f0] = 896
constants [0x000014993e0f0700,0x000014993e0f0720] = 32
main code [0x000014993e0f0720,0x000014993e0f34a0] = 11648
stub code [0x000014993e0f34a0,0x000014993e0f3640] = 416
oops [0x000014993e0f3640,0x000014993e0f3670] = 48
metadata [0x000014993e0f3670,0x000014993e0f3750] = 224
scopes data [0x000014993e0f3750,0x000014993e0f3e68] = 1816
scopes pcs [0x000014993e0f3e68,0x000014993e0f43b8] = 1360
dependencies [0x000014993e0f43b8,0x000014993e0f43d8] = 32
handler table [0x000014993e0f43d8,0x000014993e0f4618] = 576
nul chk table [0x000014993e0f4618,0x000014993e0f46a0] = 136
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Aborted
+ ./start.sh
/launch.sh: line 45: ./start.sh: No such file or directory

 

I saw similar issues in the thread and tried:

 

chown -R nobody:users /mnt/user/appdata/ftbdirewolf20_118

chmod 777 /mnt/user/appdata/ftbdirewolf20_118



Getting this outcome on ls -lah

 

Quote

root@thevault:~# ls -lah /mnt/user/appdata/ftbdirewolf20_118/
total 51M
drwxrwxrwx 1 nobody users  462 Nov  6 01:22 ./
drwxrwxrwx 1 nobody users 1.2K Nov  5 23:59 ../
drwxrwxrwx 1 nobody users 9.8K Nov  6 00:02 config/
drwxrwxrwx 1 nobody users  374 Nov  6 00:02 defaultconfigs/
-rwxrwxrwx 1 nobody users   10 Nov  6 11:40 eula.txt*
-rwxrwxrwx 1 nobody users 202K Nov  6 11:40 hs_err_pid14.log*
-rw-r--r-- 1 nobody users 202K Nov  6 01:22 hs_err_pid145.log
-rw-r--r-- 1 nobody users 207K Nov  6 03:06 hs_err_pid15.log
-rwxrwxrwx 1 nobody users 202K Nov  6 00:15 hs_err_pid175.log*
drwxrwxrwx 1 nobody users  138 Nov  6 00:00 kubejs/
drwxrwxrwx 1 nobody users  168 Nov  6 00:10 libraries/
drwxrwxrwx 1 nobody users   44 Nov  6 00:02 log4jfix/
-rwxrwxrwx 1 nobody users  45M Apr 13  2022 minecraft_server.1.18.2.jar*
drwxrwxrwx 1 nobody users  17K Nov  6 00:02 mods/
-rwxrwxrwx 1 nobody users   12 Nov  6 11:40 ops.txt*
drwxrwxrwx 1 nobody users   72 Nov  6 00:02 resourcepacks/
-rw-r--r-- 1 nobody users  363 Nov  6 01:20 run.bat
-rwxr-xr-x 1 nobody users  366 Nov  6 01:20 run.sh*
-rwxr-xr-x 1 nobody users 5.3M Nov  6 01:16 serverinstall_95_2239*
-rwxrwxrwx 1 nobody users   20 Nov  6 11:40 user_jvm_args.txt*
-rwxrwxrwx 1 nobody users 402K Nov  6 01:22 version.json*

 



Any thoughts??

 

 

Edited by bbilko
Link to comment

@bbilko Java is crashing on the first attempt to start up.  Do you have enough free system memory?  It is allocating 6GB to the docker container.  What is in the hs_err_pid14.log?  What CPU is in your unraid server?


# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00001499453dfe04, pid=14, tid=15
#
# JRE version: OpenJDK Runtime Environment (17.0.2+8) (build 17.0.2+8-86)
# Java VM: OpenJDK 64-Bit Server VM (17.0.2+8-86, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# J 1823 c2 java.util.stream.StreamSupport.stream(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream; [email protected] (19 bytes) @ 0x00001499453dfe04 [0x00001499453dfd20+0x00000000000000e4]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /data/hs_err_pid14.log

Link to comment

Ahhh, I'd missed that assumed it was crashing due to permissions. 

I can allocate more memory, I have plenty spare on the server. 

It's a pair of AMD Opteron™ 4386 @ 2800 MHz and 64gb of Ram. 


Would the container be able to use more than one CPU if I allocate them? 

 

 

Link to comment
On 7/24/2022 at 4:33 AM, DarthLlama said:

  

Hey again @Goobaroo, I updated the OceanBlock Docker as it said it had an update. I'm assuming to take care of the user permissions you mentioned. I did the command (customized for the ftboceanblock folder) and I still get the below error in my logs when turning the docker on, then it shuts off. Any suggestions?

+ ID=91
+ VER=2230
+ cd /data
+ [[ true = \f\a\l\s\e ]]
+ echo eula=true
+ [[ -f serverinstall_91_2230 ]]
+ [[ -n FTB OceanBlock v1.14.0 Server Powered by Docker ]]
+ sed -i '/motd\s*=/ c motd=FTB OceanBlock v1.14.0 Server Powered by Docker' /data/server.properties
+ [[ -n world ]]
+ sed -i '/level-name\s*=/ c level-name=world' /data/server.properties
+ [[ -n Kalaup,aRand0mB0t ]]
+ echo Kalaup,aRand0mB0t
+ awk -v RS=, '{print}'
+ [[ -n '' ]]
+ sed -i 's/server-port.*/server-port=25565/g' server.properties
+ [[ -f run.sh ]]
+ [[ -f start.sh ]]
+ [[ -f run.sh ]]
+ [[ -f start.sh ]]
++ ls forge-1.16.5-36.2.33-installer.jar forge-1.16.5-36.2.33.jar
+ FORGE_JAR='forge-1.16.5-36.2.33-installer.jar
forge-1.16.5-36.2.33.jar'
+ curl -Lo log4j2_112-116.xml https://launcher.mojang.com/v1/objects/02937d122c86ce73319ef9975b58896fc1b491d1/log4j2_112-116.xml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1131  100  1131    0     0  13962      0 --:--:-- --:--:-- --:--:-- 13962
+ java -server -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Dfml.queryResult=confirm -Dlog4j.configurationFile=log4j2_112-116.xml -Xms6144m -Xmx9182m -jar forge-1.16.5-36.2.33-installer.jar forge-1.16.5-36.2.33.jar nogui
+ ID=91
+ VER=2230
+ cd /data
+ [[ true = \f\a\l\s\e ]]
+ echo eula=true
+ [[ -f serverinstall_91_2230 ]]
+ [[ -n FTB OceanBlock v1.14.0 Server Powered by Docker ]]
+ sed -i '/motd\s*=/ c motd=FTB OceanBlock v1.14.0 Server Powered by Docker' /data/server.properties
+ [[ -n world ]]
+ sed -i '/level-name\s*=/ c level-name=world' /data/server.properties
+ [[ -n Kalaup,aRand0mB0t ]]
+ echo Kalaup,aRand0mB0t
+ awk -v RS=, '{print}'
+ [[ -n '' ]]
+ sed -i 's/server-port.*/server-port=25565/g' server.properties
+ [[ -f run.sh ]]
+ [[ -f start.sh ]]
+ [[ -f run.sh ]]
+ [[ -f start.sh ]]
++ ls forge-1.16.5-36.2.33-installer.jar forge-1.16.5-36.2.33.jar
+ FORGE_JAR='forge-1.16.5-36.2.33-installer.jar
forge-1.16.5-36.2.33.jar'
+ curl -Lo log4j2_112-116.xml https://launcher.mojang.com/v1/objects/02937d122c86ce73319ef9975b58896fc1b491d1/log4j2_112-116.xml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1131  100  1131    0     0  14500      0 --:--:-- --:--:-- --:--:-- 14500
+ java -server -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Dfml.queryResult=confirm -Dlog4j.configurationFile=log4j2_112-116.xml -Xms6144m -Xmx9182m -jar forge-1.16.5-36.2.33-installer.jar forge-1.16.5-36.2.33.jar nogui
JVM info: Oracle Corporation - 1.8.0_312 - 25.312-b07
java.net.preferIPv4Stack=true
Found java version 1.8.0_312
Exception in thread "main" 
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
        at java.awt.Window.<init>(Window.java:536)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1763)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1838)
        at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696)
        at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:863)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637)
        at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:177)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)
JVM info: Oracle Corporation - 1.8.0_312 - 25.312-b07
java.net.preferIPv4Stack=true
Found java version 1.8.0_312
Exception in thread "main" 
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
        at java.awt.Window.<init>(Window.java:536)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1763)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1838)
        at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696)
        at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:863)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637)
        at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:177)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)

 

 

I found a workaround for the "no X11 Display error" that seems to work for me on the FTBOceanBlock Container I just set an environment variable with the name DISPLAY and add the value :0.0 

 

After this i got the following error: 

 

§7java.lang.UnsatisfiedLinkError: /usr/local/openjdk-8/lib/amd64/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory

 

I fixed this by manually installing these packages in the container. libxrender1 libxtst6 libxi6

docker exec "container" apt install libxrender1 libxtst6 libxi6 -y

 

After that everything worked perfectly. I hope this helps.

 

variable.png

Edited by Gr8Lightning
Link to comment

@Gr8Lightning & @DarthLlama I found that the forge installer is left behind and getting sucked into your startup command.   I can make sure installers get cleaned up, but if you manually delete the forge-*-installer.jar files in your install directories, everything will work.

 

java -server -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Dfml.queryResult=confirm -Dlog4j.configurationFile=log4j2_112-116.xml -Xms6144m -Xmx9182m -jar forge-1.16.5-36.2.33-installer.jar forge-1.16.5-36.2.33.jar nogui

Edited by Goobaroo
Consolidation of posts.
Link to comment

Hi Goobaroo,

 

I've tried completely reinstalling the server but I am still getting the following error. Anything else that I can try?

 

Spoiler
2022/11/13 19:10:39 Installed!
+ [[ -n FTB Presents Direwolf20 1.18 v1.9.1 Server Powered by Docker ]]
+ sed -i '/motd\s*=/ c motd=FTB Presents Direwolf20 1.18 v1.9.1 Server Powered by Docker' /data/server.properties
sed: can't read /data/server.properties: No such file or directory
+ [[ -n world ]]
+ sed -i '/level-name\s*=/ c level-name=world' /data/server.properties
sed: can't read /data/server.properties: No such file or directory
+ [[ -n rsmrules05 ]]
+ echo rsmrules05
+ awk -v RS=, '{print}'
+ [[ -n '' ]]
+ sed -i 's/server-port.*/server-port=25565/g' server.properties
sed: can't read server.properties: No such file or directory
+ [[ -f run.sh ]]
+ chmod 755 run.sh
+ [[ -f start.sh ]]
+ [[ -f run.sh ]]
+ [[ -f user_jvm_args.txt ]]
+ echo -Xms4096m -Xmx6144m
+ [[ -f run.sh ]]
+ ./run.sh
Aborted
+ ./start.sh
/launch.sh: line 45: ./start.sh: No such file or directory
  Patching net/minecraft/client/gui/screens/TitleScreen$Warning32Bit 1/1
  Patching net/minecraft/client/resources/model/SimpleBakedModel 1/1
  Patching com/mojang/blaze3d/platform/GlStateManager 1/1
  Patching net/minecraft/client/multiplayer/MultiPlayerGameMode 1/1
  Patching net/minecraft/client/gui/screens/inventory/CreativeModeInventoryScreen$ItemPickerMenu 1/1
  Patching net/minecraft/client/renderer/entity/ItemRenderer 1/1
  Patching com/mojang/blaze3d/vertex/VertexFormatElement$Usage$SetupState 1/1
The server installed successfully
You can delete this installer file now if you wish
2022-11-13 19:10:40,377 main WARN Advanced terminal features are not available in this environment
[19:10:40] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 40.1.69, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[19:10:40] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.2 by Oracle Corporation
[19:10:40] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/data/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=SERVER
[19:10:42] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/fmlcore/1.18.2-40.1.69/fmlcore-1.18.2-40.1.69.jar is missing mods.toml file
[19:10:42] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/javafmllanguage/1.18.2-40.1.69/javafmllanguage-1.18.2-40.1.69.jar is missing mods.toml file
[19:10:42] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/lowcodelanguage/1.18.2-40.1.69/lowcodelanguage-1.18.2-40.1.69.jar is missing mods.toml file
[19:10:42] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /data/libraries/net/minecraftforge/mclanguage/1.18.2-40.1.69/mclanguage-1.18.2-40.1.69.jar is missing mods.toml file
[19:10:42] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[19:10:47] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[19:10:47] [main/ERROR] [mixin/]: Mixin config tklib.mixin.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config myrtrees-common.mixins.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config supercircuitmaker.mixin.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config blockshot.mixins.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config itshallnottick.mixins.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config polylib.mixins.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config flatbedrock.mixins.json does not specify "minVersion" property
[19:10:48] [main/ERROR] [mixin/]: Mixin config minetogether.mixins.json does not specify "minVersion" property
[19:10:48] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [shetiphian.core.mixins.MixinConnector]
[19:10:48] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [com.leobeliik.extremesoundmuffler.MixinConnector]
[19:10:48] [main/INFO] [mixin/]: Successfully loaded Mixin Connector [shetiphian.endertanks.mixins.MixinConnector]
[19:10:48] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []
[19:10:48] [main/WARN] [mixin/]: Reference map 'createdeco.refmap.json' for createdeco.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'compactmachines.refmap.json' for compactmachines.mixin.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'farmersrespite.refmap.json' for farmersrespite.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'myrtrees-common-refmap.json' for myrtrees-common.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'supercircuitmaker.refmap.json' for supercircuitmaker.mixin.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'insanelib.refmap.json' for insanelib.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'polylib-common-refmap.json' for polylib.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'bloodmagic.refmap.json' for bloodmagic.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:48] [main/WARN] [mixin/]: Reference map 'nethersdelight.refmap.json' for nethersdelight.mixins.json could not be read. If this is a development environment you can ignore this message
[19:10:49] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/gui/components/PlayerTabOverlay (java.lang.ClassNotFoundException: net.minecraft.client.gui.components.PlayerTabOverlay)
[19:10:49] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.gui.components.PlayerTabOverlay was not found wyml.mixins.json:MixinPlayerTabOverlay
[19:10:49] [main/FATAL] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER
[19:10:49] [main/WARN] [mixin/]: Error loading class: net/minecraft/client/player/LocalPlayer (java.lang.RuntimeException: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER)
[19:10:49] [main/WARN] [mixin/]: @Mixin target net.minecraft.client.player.LocalPlayer was not found ars_nouveau.mixins.json:elytra.ClientElytraMixin
[19:10:49] [main/WARN] [mixin/]: Error loading class: biomesoplenty/common/worldgen/BOPSurfaceRuleData (java.lang.ClassNotFoundException: biomesoplenty.common.worldgen.BOPSurfaceRuleData)
[19:10:49] [main/WARN] [mixin/]: Error loading class: terrablender/worldgen/TBSurfaceRuleData (java.lang.ClassNotFoundException: terrablender.worldgen.TBSurfaceRuleData)
[19:10:49] [main/WARN] [mixin/]: Error loading class: org/lwjgl/system/CallbackI$S (java.lang.ClassNotFoundException: org.lwjgl.system.CallbackI$S)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000014d26107b6ca, pid=160, tid=164
#
# JRE version: OpenJDK Runtime Environment (17.0.2+8) (build 17.0.2+8-86)
# Java VM: OpenJDK 64-Bit Server VM (17.0.2+8-86, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x71c6ca]  G1RebuildRemSetTask::G1RebuildRemSetHeapRegionClosure::do_heap_region(HeapRegion*)+0x4ea
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /data/hs_err_pid160.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

** Press ANY KEY to close this window ** 

 

 

Edited by Siggz
Link to comment
  • Goobaroo changed the title to [Support] Goobaroo - Modded Minecraft Java Servers

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.