[Support] binhex - MineOS-node


Recommended Posts

I was using mineos, but kept running into limitations on what i wanted to do.  Me and some buddies have run across Crafty Control for Minecraft and it is much much smoother and supports dockers.  And is much more modern for controlling Minecraft.  Was wondering if you could make a docker for the repo os it.

Link to comment

Hi guys - joining the party :(

 

Same issue here, too.

Still on unraid 6.8.3, pulling latest image or complete reinstall did not work.

 

[13Mar2021 22:37:22.522] ain/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[13Mar2021 22:37:22.809] ain/INFO] ixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/config/mineos/games/servers/createmod/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=SERVER
[13Mar2021 22:37:24.192] ain/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[13Mar2021 22:37:24.481] ain/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[13Mar2021 22:37:24.521] ain/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[13Mar2021 22:37:27.468] ain/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., nogui]
[13Mar2021 22:37:53.927] odloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 36.0.58, for MC 1.16.5 with MCP 20210115.111550
[13Mar2021 22:37:53.962] odloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v36.0.58 Initialized
[13Mar2021 22:37:57.050] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[13Mar2021 22:37:59.377] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: BETA Current: 36.0.58 Target: 36.0.58
[13Mar2021 22:38:07.765] ain/ERROR] [net.minecraft.world.gen.settings.DimensionGeneratorSettings/]: No key layers in MapLike[{}]; No key structures in MapLike[{}]; Not a registry ops
[13Mar2021 22:38:08.031] ain/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[13Mar2021 22:38:08.335] ain/FATAL] [net.minecraft.server.Main/]: Failed to start the minecraft server
java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted
at net.minecraft.world.storage.SaveFormat.<init>(SaveFormat.java:77) ~[?:?]
at net.minecraft.world.storage.SaveFormat.func_237269_a_(SaveFormat.java:85) ~[?:?]
at net.minecraft.server.Main.main(Main.java:115) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[forge-1.16.5-36.0.58.jar:36.0]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) odlauncher-8.0.9.jar:?]
at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forge-1.16.5-36.0.58.jar:?]
at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forge-1.16.5-36.0.58.jar:?]
at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forge-1.16.5-36.0.58.jar:?]
Caused by: java.nio.file.FileSystemException: .: Operation not permitted
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:100) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]
at sun.nio.fs.UnixPath.toRealPath(UnixPath.java:860) ~[?:?]
at net.minecraft.world.storage.SaveFormat.<init>(SaveFormat.java:75) ~[?:?]
... 15 more

 

Unraid log says exactly the same as in CmdrKeen's post.

 

MineOS starts fine, though. WebUI is also reachable. Logging in as nobody/my password works fine. Everything seems fine until I want to startup a server. Then the log says the above.

In my case it's a forge server latest version I am trying to start.

 

*UPDATE: Applying Docker in "Privileged" mode seems to work.

Edited by McFex
Link to comment
4 hours ago, McFex said:

Hi guys - joining the party :(

 

Same issue here, too.

Still on unraid 6.8.3, pulling latest image or complete reinstall did not work.

 


[13Mar2021 22:37:22.522] ain/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[13Mar2021 22:37:22.809] ain/INFO] ixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/config/mineos/games/servers/createmod/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=SERVER
[13Mar2021 22:37:24.192] ain/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[13Mar2021 22:37:24.481] ain/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[13Mar2021 22:37:24.521] ain/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[13Mar2021 22:37:27.468] ain/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., nogui]
[13Mar2021 22:37:53.927] odloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 36.0.58, for MC 1.16.5 with MCP 20210115.111550
[13Mar2021 22:37:53.962] odloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v36.0.58 Initialized
[13Mar2021 22:37:57.050] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[13Mar2021 22:37:59.377] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: BETA Current: 36.0.58 Target: 36.0.58
[13Mar2021 22:38:07.765] ain/ERROR] [net.minecraft.world.gen.settings.DimensionGeneratorSettings/]: No key layers in MapLike[{}]; No key structures in MapLike[{}]; Not a registry ops
[13Mar2021 22:38:08.031] ain/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[13Mar2021 22:38:08.335] ain/FATAL] [net.minecraft.server.Main/]: Failed to start the minecraft server
java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted
at net.minecraft.world.storage.SaveFormat.<init>(SaveFormat.java:77) ~[?:?]
at net.minecraft.world.storage.SaveFormat.func_237269_a_(SaveFormat.java:85) ~[?:?]
at net.minecraft.server.Main.main(Main.java:115) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[forge-1.16.5-36.0.58.jar:36.0]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) odlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) odlauncher-8.0.9.jar:?]
at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forge-1.16.5-36.0.58.jar:?]
at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forge-1.16.5-36.0.58.jar:?]
at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forge-1.16.5-36.0.58.jar:?]
Caused by: java.nio.file.FileSystemException: .: Operation not permitted
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:100) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) ~[?:?]
at sun.nio.fs.UnixPath.toRealPath(UnixPath.java:860) ~[?:?]
at net.minecraft.world.storage.SaveFormat.<init>(SaveFormat.java:75) ~[?:?]
... 15 more

 

Unraid log says exactly the same as in CmdrKeen's post.

 

MineOS starts fine, though. WebUI is also reachable. Logging in as nobody/my password works fine. Everything seems fine until I want to startup a server. Then the log says the above.

In my case it's a forge server latest version I am trying to start.

 

*UPDATE: Applying Docker in "Privileged" mode seems to work.

How do you apply Docker in privileged mode? 

Link to comment

I have the same issue - my server won't after the new update.

 

Seems to be some sort of a permission issue, but cannot chown the server to user "nobody". 

 

Downgraded to the previous image 2cd410a44e4873ebb215048d51509be07bacd89a-01 and the server work again.

Link to comment
6 hours ago, JKEJSER said:

I have the same issue - my server won't after the new update.

 

Seems to be some sort of a permission issue, but cannot chown the server to user "nobody". 

 

Downgraded to the previous image 2cd410a44e4873ebb215048d51509be07bacd89a-01 and the server work again.

 

After doing a lot of searching, I found this. I have the same issue as most of you with the Java errors when trying to start your Minecraft Server after the latest update to binhex's mineos.  I also CAN CONFIRM that downgrading the image like user JKEJSER suggested WORKS!!!

 

I should note that I am currently running Unraid Version 6.9.0 (I haven't updated to 6.9.1 yet.  =/ ).

 

Go here to grab that specific image: https://registry.hub.docker.com/r/binhex/arch-mineos-node/tags?page=1&ordering=last_updated&name=2cd

 

image.thumb.png.3f175a409d33d94ca348c5124f2a085f.png

 

 

1) Just stop the current docker.

2) Open up the Server Terminal located at the top right of Unraid

image.png.3781c221af31452c1cdd335839496646.png

 

3) Paste in the command to manually pull this image:

 

docker pull binhex/arch-mineos-node:2cd410a44e4873ebb215048d51509be07bacd89a-01

 

4) The image will install with this specific Image ID.

 

5) Once done, make sure you open the container settings and turn on "Privileged" and click Done.

image.png.589df89f20d824b27ac213a4daafd91d.png

 

6) Start the container back up and log back into MineOS.

 

Make note of the image ID after logging in at the top right under the login to confirm it loaded the correct image:

 

image.png.a69f94cc19b1ea985558949bfffc9169.png

 

7) Start the server backup!

image.thumb.png.ac37db0ee05d5d15c708a98b4d147234.png

 

 

 

 

Edited by ArKineX
  • Thanks 1
Link to comment
Quote

Due to the requirement to run Mineos-node as user 'root' group 'root' and thus chmod 777 on startup to allow user 'nobody' group 'user' to modify any file stored in config,

 

Can we also get it so we can modify the mods and world files.   Like you did with the configs permissions. Or hell how about the whole servers directory would be idea.  This is driving me nuts with these permissions.  Being heavy into mods, having to import a server every time we make a change is a pita.

 

Also, mineos no longer seems to want to start the server if custom Java arguments are put in.

 

When trying out Clowrym's mineos neither of these were issues.  Started with java arguments and was able to modify files fine.

 

 

Edited by Lewtz
Link to comment
13 hours ago, IzzE said:

reroll.thumb.png.3dbd99cacaf47ac1fbd8b43c35c54b6d.png

 

Just change the marked line too binhex/arch-mineos-node:2cd410a44e4873ebb215048d51509be07bacd89a-01

 

and you go back too a working image tested on Unraid 6.9.1 and no need for privliged.

 

Thanx for the shortcut to docker use the image you want via the method you show here!

 

I upgraded to 6.9.1 as well. As per your suggestion, I'm still running the working "2cd410"  image, but I turned "Privileged" off and restarted the container. It goes back to NOT working with it off.   So I stopped and turned it back on...and it works.  So it may work for some and may not for others.  I'm not sure why that is. Might be a Unraid 6.9.1 thing specifically, but not sure.

Link to comment

hi guys, so i see a lot of chatter about upgrading unraid from 6.8.x or 6.9.0 to 6.9.1, let me firstly say this has NOTHING to do with this issue, it is related to the java bump to v11 and/or the changes to chmod (im unable to replicate the issue).

 

for now i have rolled back all the recent changes so we are back to how it was with java8 and full chmod of all files in /config, so expect slow starts if you have thousands of files, please pull down the tagged 'latest' image via 'force update' and let me know how you get on.

  • Like 3
Link to comment

Thanks binhex, but "latest" didn't change the situation for me at all: I still get the permission issues starting existing servers and newly created servers.
I did have luck getting everything to run by switching the Docker to "privileged", but do not feel safe leaving that enabled.
 

Link to comment
12 hours ago, khorovatin said:

Thanks binhex, but "latest" didn't change the situation for me at all: I still get the permission issues starting existing servers and newly created servers.
I did have luck getting everything to run by switching the Docker to "privileged", but do not feel safe leaving that enabled.
 

left click on the icon in unraid ui, and select 'console' and then run the following and let me know what it returns:-

 

java -version

also what is the existing server and newly created servers?, mojang? paper? what versions.

Link to comment
1 hour ago, clb92 said:

sh-5.1# java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

My Minecraft server is an existing "Paper-1.16.5-latest" server.

ok that is the correct version, ok can you do the following:-

 

1. left click mineos icon, select console and run the following:-

 

chown -R root:root /config && chmod -R 777 /config

 

this could take some time to run, after its finished restart the container.

Link to comment
3 minutes ago, clb92 said:

Same result.

The chown and chmod commands took maybe 10-15 seconds to finish.

Restarted the container, logged into MineOS web interface, MC server tried to start (it's set to autostart) but failed with same persission error as before.

then i am completely confused as to what is going on?!, if permissions are correct and you are running the same image as me then why can't i see the issue you are experiencing, hmmmmm.

 

can anybody give me step by step instructions on how to replicate the issue, because i cannot see the problem and thus am really struggling to fix it.

 

steps i have done so far:-

 

1. run mineos-node 'latest'

2. create papermc server 1.16.5-latest and start it - running.

3. set it to automatic start on startup and restarted container

4. login to web ui and note papermc is running with no issue.

 

what am i missing guys?!

Link to comment

Just to chime in. I have the same permission error when running it non privileged. The more data you have to work with, the better.

 

binhex/arch-mineos-node latest

Unraid 6.9.1

 

Java version 

sh-5.1# java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

Logs/latest.log


[19:30:32] ain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[19:30:32] ain/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted
at cyg.<init>(SourceFile:98) ~inecraft_server.1.16.5.jar:?]
at cyg.a(SourceFile:105) ~inecraft_server.1.16.5.jar:?]
at net.minecraft.server.Main.main(SourceFile:117) inecraft_server.1.16.5.jar:?]
Caused by: java.nio.file.FileSystemException: .: Operation not permitted
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) ~[?:1.8.0_282]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_282]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_282]
at sun.nio.fs.UnixPath.toRealPath(UnixPath.java:837) ~[?:1.8.0_282]
at cyg.<init>(SourceFile:96) ~inecraft_server.1.16.5.jar:?]
... 2 more

I have forced update on the docker and made the chown command.

 

Thanks for your dedication to the dockers! This is not the only binhex i run :)

Link to comment

I've been testing some more.

 

I just tried with a completely empty config folder (just made a new folder in my appdata and mapped it to /config) and made sure (just one more time) to force update the image (it was already the latest).

MineOS web interface starts up just as expected after a short while. I go to Profiles and pull the latest 1.16.5 Mojang jar. I go to Create Server, leave everything at default except the name "Test". Click create. Go to the Server Status page. I wait for the 1.16.5 jar to show up in the dropdown, select it, and click the "Copy profile to live server files" button below. I select the 1.16.5 jar over in the Java Settings too. Leave everything else as default. (For the record, it says "Server Owner: root (0)" in the "Ownership and Disk Usage" box, in case that's useful.)

I then click Accept EULA and again the grey Accept EULA (which seems to do nothing) and then Start. At this point it show status as "Up". After maybe 10 seconds it will say status "Down" again. At this point I check the log where I see Java throwing the same "Operation not permitted" error as before.

 

Note however, that I did NOT remove my binhex-mineos-node container completely and start over with a fresh container template. Has anything changed in the template recently? Could my container template be outdated somehow?

 

EDIT: Just tried pulling a new fresh template from CA, leaving it at default (with a new empty folder in my appdata again), and going through same procedure as before - Same permissions error as before :(

Edited by clb92
  • Thanks 1
Link to comment

I believe i am also having a permissions issue, though it is behaving differently. 

I'm running several servers, a couple running papermc 1.16.5, one running papermc 1.8.8, one running forge 1.16.5, one running mojang snapshots.

everything runs fine until i want to update either papermc to the newer version or update the snapshot server to the newest snapshot. upon downloading the files to update (not applying the new .jar files or restarting the servers), i can no longer access the webui (microsoft edge says ERR_CONNECTION_REFUSED) until i restart the docker again (which takes about 3 minutes to start but doesn't seem to be stuck at setting permissions).

Link to comment

Binhex:  Thank you for all of the hard work you do!

 

I just wanted to add a couple more notes:

 

I'm running the image: binhex/arch-mineos-node:2cd410a44e4873ebb215048d51509be07bacd89a-01

 

Unraid 6.9.1

 

My java version is:

 

image.png.9dbb1e77e1e4e8775b9ec5509f4d7213.png

 

I'm running papermc 1.16.5 for both of my Minecraft Servers.

 

They both WORK on this image. But they ONLY work if the container is in "Privileged" mode. Otherwise I get the same issue as others above about "Operation not permitted".

 

image.thumb.png.eaad05f638a55325cb047af1221670e3.png

 

 

I'm not sure which MineOS image version these issues started at (I haven't tested).

 

 

Link to comment
9 hours ago, CmdrKeen said:

upon downloading the files to update (not applying the new .jar files or restarting the servers), i can no longer access the webui (microsoft edge says ERR_CONNECTION_REFUSED) until i restart the docker again (which takes about 3 minutes to start but doesn't seem to be stuck at setting permissions).

i too can replicate the download bug, mineos-node sometimes simply crashes if you attempt to download a new release, especially if you attempt 2 downloads simultaneously, no idea why at this point, it is interesting though that you do not see the permissions issue though, which docker image are you using, latest?

Link to comment
14 hours ago, clb92 said:

I've been testing some more.

 

I just tried with a completely empty config folder (just made a new folder in my appdata and mapped it to /config) and made sure (just one more time) to force update the image (it was already the latest).

MineOS web interface starts up just as expected after a short while. I go to Profiles and pull the latest 1.16.5 Mojang jar. I go to Create Server, leave everything at default except the name "Test". Click create. Go to the Server Status page. I wait for the 1.16.5 jar to show up in the dropdown, select it, and click the "Copy profile to live server files" button below. I select the 1.16.5 jar over in the Java Settings too. Leave everything else as default. (For the record, it says "Server Owner: root (0)" in the "Ownership and Disk Usage" box, in case that's useful.)

I then click Accept EULA and again the grey Accept EULA (which seems to do nothing) and then Start. At this point it show status as "Up". After maybe 10 seconds it will say status "Down" again. At this point I check the log where I see Java throwing the same "Operation not permitted" error as before.

 

Note however, that I did NOT remove my binhex-mineos-node container completely and start over with a fresh container template. Has anything changed in the template recently? Could my container template be outdated somehow?

 

EDIT: Just tried pulling a new fresh template from CA, leaving it at default (with a new empty folder in my appdata again), and going through same procedure as before - Same permissions error as before :(

ok thanks for this, i followed your instructions above to the letter and i did run into memory related issues, which is not surprising due to the default low value, so i did see this:-

[09:29:15] [Server thread/FATAL]: Error executing task on Chunk source main thread executor for minecraft:overworld
java.util.concurrent.CompletionException: java.lang.OutOfMemoryError: GC overhead limit exceeded

 

Once i had tweaked the default value for memory for the server to 2048 then it started without issue,, i double checked and i did NOT have privileged set so its not that, so it must be something else going on, can you answer the following:-

 

1. do you have any cpu pinning going on?

2. do you limit ram for the container?

3. what filesystem are you running, btrfs or xfs?

4. what is the location for the docker image, cache or array?

5. are you using unassigned devices?

6. how much ram does your host have in total?

7. what is the cpu in your host?.

8. just to confirm, you are logging into the webui as user 'nobody' right?

Link to comment
2 hours ago, binhex said:

i too can replicate the download bug, mineos-node sometimes simply crashes if you attempt to download a new release, especially if you attempt 2 downloads simultaneously, no idea why at this point, it is interesting though that you do not see the permissions issue though, which docker image are you using, latest?

I experienced that bug a couple times long time ago too. I doubt it's related to any of the other permissions stuff, to be honest.

 

1 hour ago, binhex said:

ok thanks for this, i followed your instructions above to the letter and i did run into memory related issues, which is not surprising due to the default low value, so i did see this:-


[09:29:15] [Server thread/FATAL]: Error executing task on Chunk source main thread executor for minecraft:overworld
java.util.concurrent.CompletionException: java.lang.OutOfMemoryError: GC overhead limit exceeded

 

Once i had tweaked the default value for memory for the server to 2048 then it started without issue,, i double checked and i did NOT have privileged set so its not that, so it must be something else going on, can you answer the following:-

 

1. do you have any cpu pinning going on?

2. do you limit ram for the container?

3. what filesystem are you running, btrfs or xfs?

4. what is the location for the docker image, cache or array?

5. are you using unassigned devices?

6. how much ram does your host have in total?

7. what is the cpu in your host?.

8. just to confirm, you are logging into the webui as user 'nobody' right?

1. No CPU pinning on any of my docker containers. I do use it for my VMs.

2. I don't think I'm limiting the RAM. I'm not sure where I would do that even. Never experienced any OutOfMemory errors at least, and inside MineOS I usually give the server 6-10GB to work with.

3. Using XFS on my array and BTRFS on my cache pool.

4. Docker volume is located in "/mnt/user/system/docker/docker.img" and the System share is set to "Cache: Prefer"

5. Yes, I am running Unassigned Devices (but not using any unassigned disks or mounts for anything related to Docker)

6. Host has 128 GB memory in total.

7. CPU is 2 x Intel Xeon E5-2670v2 @2.50GHz (in total 20 cores / 40 threads).

8. Yes, in MineOS I log in as "nobody" with the password I set in the container template.

 

Link to comment

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.