[Support] binhex - MineOS-node


Recommended Posts

11 minutes ago, IzzE said:

[10:41:46] 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'

[10:41:46] ain/FATAL]: Failed to start the minecraft server

java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted

at net.minecraft.server.v1_16_R3.Convertable.<init>(Convertable.java:42) ~[patched_1.16.5.jar:git-Paper-466]

at net.minecraft.server.v1_16_R3.Convertable.a(Convertable.java:50) ~[patched_1.16.5.jar:git-Paper-466]

at net.minecraft.server.v1_16_R3.Main.main(Main.java:112) ~[patched_1.16.5.jar:git-Paper-466]

at org.bukkit.craftbukkit.Main.main(Main.java:276) ~[patched_1.16.5.jar:git-Paper-466]

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 io.papermc.paperclip.Paperclip.main(Paperclip.java:58) ~[paperclip.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.server.v1_16_R3.Convertable.<init>(Convertable.java:40) ~[patched_1.16.5.jar:git-Paper-466]

... 8 more

 

got these errors after the patch. as DynaxoMan says running as privliged makes it work again.

what are you logging into the web ui as?, it should be username 'nobody' then password of 'mineos' (unless changed via env var), i would suspect you are attempting to login as username 'root' which is incorrect.

Link to comment
1 minute ago, binhex said:

what are you logging into the web ui as?, it should be username 'nobody' then password of 'mineos' (unless changed via env var), i would suspect you are attempting to login as username 'root' which is incorrect.

I'm logged in as nobody/mineos.

Link to comment
3 minutes ago, binhex said:

ok ,can you detail what you are doing to trigger this?, what server type?, what version, the more details the better.

I've just pulled the new image, and now i'm trying to boot the servers (paper) latest 1.16.5


The problems started after the new image but there is like you say something with the ownership of the files i noticed the server were now owned by root instead of nobody and deleting the "perms" file in appdata didn't help.

Link to comment

Same thing happened to me once I updated the container.

Container logs:

 

Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2021-03-12 01:05:09.206100 [info] Host is running unRAID
2021-03-12 01:05:09.220444 [info] System information Linux 6742fc3c0e04 5.10.19-Unraid #1 SMP Sat Feb 27 08:00:30 PST 2021 x86_64 GNU/Linux
2021-03-12 01:05:09.240847 [info] OS_ARCH defined as 'x86-64'
2021-03-12 01:05:09.261576 [info] PUID defined as '0'
2021-03-12 01:05:09.346306 [info] PGID defined as '0'
2021-03-12 01:05:09.391288 [info] UMASK defined as '000'
2021-03-12 01:05:09.408985 [info] Permissions already set for volume mappings
2021-03-12 01:05:09.444222 [info] Deleting files in /tmp (non recursive)...
2021-03-12 01:05:09.462838 [info] WEBUI_PASSWORD defined as 'mineos'
2021-03-12 01:05:09.620495 [info] Starting Supervisor...
2021-03-12 01:05:09,864 INFO Included extra file "/etc/supervisor/conf.d/mineos-node.conf" during parsing
2021-03-12 01:05:09,864 INFO Set uid to user 0 succeeded
2021-03-12 01:05:09,867 INFO supervisord started with pid 6
2021-03-12 01:05:10,869 INFO spawned: 'shutdown-script' with pid 70
2021-03-12 01:05:10,871 INFO spawned: 'start-script' with pid 71
2021-03-12 01:05:10,871 INFO reaped unknown pid 7 (exit status 0)
2021-03-12 01:05:10,879 DEBG 'start-script' stdout output:
[info] Starting MineOS-node...

2021-03-12 01:05:10,879 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-03-12 01:05:10,879 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-03-12 01:05:11,017 DEBG 'start-script' stdout output:
Starting mineos daemon...

2021-03-12 01:05:11,329 DEBG 'start-script' stdout output:
mineos daemon started. PID: 81

2021-03-12 01:05:11,332 DEBG 'start-script' stdout output:
[info] MineOS-node started

2021-03-12 01:05:11,332 DEBG 'start-script' stdout output:
[info] Running chmod for /config (no exclusions)...

2021-03-12 01:05:12,499 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22743530855728 for <Subprocess at 22743530855056 with name start-script in state RUNNING> (stdout)>
2021-03-12 01:05:12,499 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22743531017360 for <Subprocess at 22743530855056 with name start-script in state RUNNING> (stderr)>
2021-03-12 01:05:12,499 INFO exited: start-script (exit status 0; expected)
2021-03-12 01:05:12,499 DEBG received SIGCHLD indicating a child quit


This is also signed in via nobody/mineos. 

From the server logs (inside MineOS)

Failed to start the minecraft server

java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted 

 

Seems to indicate a permissions issue.

I can also confirm running the container (as a test) as privileged allows everything to work again.

Link to comment
2 hours ago, Rockstar said:

Seems to indicate a permissions issue.

ok ive had a quick investigate and ive tweaked the permissions for the location of java, i can successfully start the web ui, download the paper jar and start a paper server, so it looks ok to me, please pull down the latest image either via 'force update' or check for updates, update all.

Link to comment
25 minutes ago, binhex said:

ok ive had a quick investigate and ive tweaked the permissions for the location of java, i can successfully start the web ui, download the paper jar and start a paper server, so it looks ok to me, please pull down the latest image either via 'force update' or check for updates, update all.

Same error as before =(

Link to comment
8 minutes ago, binhex said:

hmmm, ok can you describe the process to make it error, and include the error message too.

[14:16:27] 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'

[14:16:27] ain/FATAL]: Failed to start the minecraft server

java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted

at net.minecraft.server.v1_16_R3.Convertable.<init>(Convertable.java:42) ~[patched_1.16.5.jar:git-Paper-466]

at net.minecraft.server.v1_16_R3.Convertable.a(Convertable.java:50) ~[patched_1.16.5.jar:git-Paper-466]

at net.minecraft.server.v1_16_R3.Main.main(Main.java:112) ~[patched_1.16.5.jar:git-Paper-466]

at org.bukkit.craftbukkit.Main.main(Main.java:276) ~[patched_1.16.5.jar:git-Paper-466]

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 io.papermc.paperclip.Paperclip.main(Paperclip.java:58) ~[paperclip.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.server.v1_16_R3.Convertable.<init>(Convertable.java:40) ~[patched_1.16.5.jar:git-Paper-466]

... 8 more

 

From the mineos server log.

 

2021-03-12 14:15:28.454037 [info] Host is running unRAID
2021-03-12 14:15:28.480431 [info] System information Linux 60d3bb19b963 5.10.19-Unraid #1 SMP Sat Feb 27 08:00:30 PST 2021 x86_64 GNU/Linux
2021-03-12 14:15:28.512521 [info] OS_ARCH defined as 'x86-64'
2021-03-12 14:15:28.545766 [info] PUID defined as '0'
2021-03-12 14:15:28.716804 [info] PGID defined as '0'
2021-03-12 14:15:28.825518 [info] UMASK defined as '000'
2021-03-12 14:15:28.855062 [info] Permissions already set for volume mappings
2021-03-12 14:15:28.893914 [info] Deleting files in /tmp (non recursive)...
2021-03-12 14:15:28.926850 [info] WEBUI_PASSWORD defined as 'mineos'
2021-03-12 14:15:29.262347 [info] Starting Supervisor...
2021-03-12 14:15:29,551 INFO Included extra file "/etc/supervisor/conf.d/mineos-node.conf" during parsing
2021-03-12 14:15:29,551 INFO Set uid to user 0 succeeded
2021-03-12 14:15:29,554 INFO supervisord started with pid 6
2021-03-12 14:15:30,557 INFO spawned: 'shutdown-script' with pid 70
2021-03-12 14:15:30,558 INFO spawned: 'start-script' with pid 71
2021-03-12 14:15:30,559 INFO reaped unknown pid 7 (exit status 0)
2021-03-12 14:15:30,569 DEBG 'start-script' stdout output:
[info] Starting MineOS-node...

2021-03-12 14:15:30,569 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-03-12 14:15:30,570 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2021-03-12 14:15:30,694 DEBG 'start-script' stdout output:
Starting mineos daemon...

2021-03-12 14:15:31,126 DEBG 'start-script' stdout output:
mineos daemon started. PID: 81

2021-03-12 14:15:31,128 DEBG 'start-script' stdout output:
[info] MineOS-node started

2021-03-12 14:15:31,128 DEBG 'start-script' stdout output:
[info] Running chmod for /config (no exclusions)...

2021-03-12 14:15:31,525 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 22811675561360 for <Subprocess at 22811675560688 with name start-script in state RUNNING> (stdout)>
2021-03-12 14:15:31,525 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 22811675722992 for <Subprocess at 22811675560688 with name start-script in state RUNNING> (stderr)>
2021-03-12 14:15:31,526 INFO exited: start-script (exit status 0; expected)
2021-03-12 14:15:31,526 DEBG received SIGCHLD indicating a child quit

 

from the container log.

 

I just uppdated, started the container then tried to start the server.

Link to comment
14 minutes ago, binhex said:

just created a brand new mojang and paper server, and no issues starting both:-

 

image.thumb.png.6dae3609c7d06388b928c5c7a33a83df.png

 

settings for paper:-

image.thumb.png.09d3f93ee28e6c41b71755b50352b9ad.png

 

settings for mojang:-

image.thumb.png.e22457b35e64c1255e47da22021c4e80.png

Just made a new container downloaded mojang and paper tried both same error.

 

Are you running the container as privliged?

Link to comment
4 minutes ago, IzzE said:

Are you running the container as privliged?

no.

 

can you do this to verify you are running the latest image:- unraid web ui/docker/ click on 'advanced view' then click on 'force update' for the mineos-node container.

 

Link to comment
1 minute ago, IzzE said:

Latest image still no luck 

ok can you go to unraid web ui/docker/left click mineos-node icon, select console and then run the following:-

 

ls -alR /config/mineos/ > /config/debug.txt

then attach 'debug.txt' to a post here.

Link to comment

Just chiming in to say I'm having the same problem. I just upgraded to Unraid 6.9.0 and cannot start my Minecraft 1.16.4 Standard server any more. Nothing else changed except the upgrade to the new version of Unraid.

 

I've also tried the forced upgrade of the MineOS Docker, but nothing has helped.

 

Edit: I created the debug.txt mentioned above and compared it to the posted one and, other than version numbers, mine looks virtually identical. Same file ownership (root:root) too.

Edited by khorovatin
Adding information
Link to comment

I haven't been running any servers for the past 6 months or so, but just went to create a new one today

Got similar error messages as those here. 

Forced docker update and it pulled down new docker.

Went to create/start server and getting same errors
 

[14:37:46] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:37:46] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted
	at cyg.<init>(SourceFile:98) ~[minecraft_server.1.16.5.jar:?]
	at cyg.a(SourceFile:105) ~[minecraft_server.1.16.5.jar:?]
	at net.minecraft.server.Main.main(SourceFile:117) [minecraft_server.1.16.5.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 cyg.<init>(SourceFile:96) ~[minecraft_server.1.16.5.jar:?]
	... 2 more

 

I have NOT updated to the 6.9 uNRaid yet though

Link to comment

I get the same problem on unraid 6.9.1 on both a forge and spigot server.

 

[12Mar2021 17:50:08.152] [main/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.35.jar:36.0]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?]
	at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forge-1.16.5-36.0.35.jar:?]
	at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forge-1.16.5-36.0.35.jar:?]
	at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forge-1.16.5-36.0.35.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

 

Link to comment

I've updated to the newest version of the docker (and I'm running unraid 6.8.3)
The docker starts, but will not let me connect to the webui at all (waited over 10 minutes and nothing more appears in the log and no further progress).

I've tried chmod -R 777 /mnt/user/appdata/binhex-mineos-node/ and I've tried running the docker as priviledged, and I've tried running host mode or bridge mode, and no difference. I believe it is starting minecraft servers, but no webui access whatsoever.

image.png.bae0f979b6406d539c12484140b0a137.png

image.png.b4bed3c7fa6bc063a29053d2d13eed8d.png

Link to comment

Same issue here after updating Unraid and the binhex-mineos-node image (confirmed I have the latest too). Running "Paper-1.16.5-latest" Minecraft server. I can connect just fine to the MineOS web interface, but the server status is "Down". Manually trying to start it fails after maybe 10 seconds. Getting this in the MineOS's log:

[18:01:38] 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'
[18:01:38] ain/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: java.nio.file.FileSystemException: .: Operation not permitted
at net.minecraft.server.v1_16_R3.Convertable.<init>(Convertable.java:42) ~[patched_1.16.5.jar:git-Paper-445]
at net.minecraft.server.v1_16_R3.Convertable.a(Convertable.java:50) ~[patched_1.16.5.jar:git-Paper-445]
at net.minecraft.server.v1_16_R3.Main.main(Main.java:112) ~[patched_1.16.5.jar:git-Paper-445]
at org.bukkit.craftbukkit.Main.main(Main.java:276) ~[patched_1.16.5.jar:git-Paper-445]
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 io.papermc.paperclip.Paperclip.main(Paperclip.java:58) ~[paperclip.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.server.v1_16_R3.Convertable.<init>(Convertable.java:40) ~[patched_1.16.5.jar:git-Paper-445]
... 8 more

 

Edited by clb92
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.