[Support] binhex - MineOS-node


Recommended Posts

anybody else have an issue where the docker takes almost 20 minutes to finish loading so i can access the webui?

The log will stay at this screen for 17-18 minutes or so before finishing booting, and any time i need to restart the docker it does the same thing.

 

image.png.087b662b8905ba80226c224402bec409.png

Eventually it finishes booting and the log looks like this (note the timestamps to see the delay):

image.png.5e6078462a6269f20185cad54eb238a1.png

Edited by CmdrKeen
Link to comment
7 minutes ago, CmdrKeen said:

anybody else have an issue where the docker takes almost 20 minutes to finish loading so i can access the webui?

Mine loads promptly, as long as I have enough storage. I accidentally ran out of space because I didn't delete old archives, and it took forever to start until I manually deleted some of them. BTW, the drive the files were on still showed free space, and other apps were fine, but the mineos internal logs showed out of space when trying to create snapshots and archives. Didn't troubleshoot further because removing the extra archives fixed it.

 

You could try moving your active games profile folder to another location temporarily and see if it starts promptly.

Link to comment
43 minutes ago, JonathanM said:

Mine loads promptly, as long as I have enough storage. I accidentally ran out of space because I didn't delete old archives, and it took forever to start until I manually deleted some of them. BTW, the drive the files were on still showed free space, and other apps were fine, but the mineos internal logs showed out of space when trying to create snapshots and archives. Didn't troubleshoot further because removing the extra archives fixed it.

 

You could try moving your active games profile folder to another location temporarily and see if it starts promptly.

 

I just tried moving the entire "games" directory inside a new folder so it was in a different location. the docker is still taking a very long time to boot. last time I rebooted it (about 20 minutes ago) it never actually fully booted into a working webui. it finished booting but i was never able to get to the login page at all, just showed "unable to connect".

Link to comment
  • 2 weeks later...
On 6/18/2022 at 12:38 AM, CmdrKeen said:

anybody else have an issue where the docker takes almost 20 minutes to finish loading so i can access the webui?

The log will stay at this screen for 17-18 minutes or so before finishing booting, and any time i need to restart the docker it does the same thing.

 

image.png.087b662b8905ba80226c224402bec409.png

Eventually it finishes booting and the log looks like this (note the timestamps to see the delay):

image.png.5e6078462a6269f20185cad54eb238a1.png

Yes, I'm having this issue too now. No problems two days ago, but it takes forever to start up now. I'm seeing it stuck exactly like in your first screenshot. Haven't waited long enough for it to reach "MineOS-node started" yet.

I'm actually looking for an alternative to MineOS, as it also no longer has PaperMC profiles built-in anyway.

Link to comment
2022-06-27 18:41:45.839973 [info] Host is running unRAID
2022-06-27 18:41:45.856789 [info] System information Linux 95ec76292e68 5.15.46-Unraid #1 SMP Fri Jun 10 11:08:41 PDT 2022 x86_64 GNU/Linux
2022-06-27 18:41:45.877158 [info] OS_ARCH defined as 'x86-64'
2022-06-27 18:41:45.897022 [info] PUID defined as '0'
2022-06-27 18:41:45.921104 [info] PGID defined as '0'
2022-06-27 18:41:45.956221 [info] UMASK defined as '0000'
2022-06-27 18:41:45.975433 [info] Permissions already set for '/config'
2022-06-27 18:41:46.000004 [info] Deleting files in /tmp (non recursive)...
2022-06-27 18:41:46.021029 [info] WEBUI_PASSWORD defined as 'XXXXXXXXXXXX'
2022-06-27 18:41:46.074090 [info] JAVA_VERSION defined as 'latest'
2022-06-27 18:41:46.099727 [info] Starting Supervisor...
2022-06-27 18:41:46,284 INFO Included extra file "/etc/supervisor/conf.d/mineos-node.conf" during parsing
2022-06-27 18:41:46,284 INFO Set uid to user 0 succeeded
2022-06-27 18:41:46,287 INFO supervisord started with pid 7
2022-06-27 18:41:47,289 INFO spawned: 'shutdown-script' with pid 79
2022-06-27 18:41:47,290 INFO spawned: 'start-script' with pid 80
2022-06-27 18:41:47,290 INFO reaped unknown pid 8 (exit status 0)
2022-06-27 18:41:48,291 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

Hi I've an issue with the umask setting.

I've tried to set umask to 0000 or 000 but in both cases the files in the folder /config/mineos/games/servers/[NAMESERVER]/plugins/Skript those file permissions are not set to chmod 777 as they should be.

total 52
-rw-rw-r--  1 root root 19566 Jun 27 20:14 config.sk
-rw-rw-r--  1 root root  1640 Jun 27 20:14 features.sk
drwxrwxr-x+ 1 root root    68 Jun 27 20:14 lang/
-rw-rw-r--  1 root root 22420 Jun 27 20:14 materials.json
drwxrwxr-x+ 1 root root   668 Jun 27 20:14 scripts/
-rw-rw-r--  1 root root   100 Jun 27 20:14 variables.csv

I need the file to be editable by everyone because I've mounted the path /config/mineos/games/ in a folder in unraid. Than I've shared the folder with SMB but nobody can modify those files.

Any suggestion?

Link to comment
  • 2 weeks later...
On 6/27/2022 at 9:05 AM, clb92 said:

Yes, I'm having this issue too now. No problems two days ago, but it takes forever to start up now. I'm seeing it stuck exactly like in your first screenshot. Haven't waited long enough for it to reach "MineOS-node started" yet.

I'm actually looking for an alternative to MineOS, as it also no longer has PaperMC profiles built-in anyway.

 

I had previously used the MineOS docker from Clowrym and only switched to binhex's when i was having some instability and performance issues with Clowrym 's and realized it had not been updated in almost 2 years.

 

since i posted that on the 17th of last month i have switched back to Clowrym's MineOS docker and have had no issues with it whatsoever (other than some shenanigans getting my minecraft servers transferred). I honestly was not able to figure out why it was taking so long to start and why it would suddenly lose the ability to have a webui.

also being able to download PaperMC directly from MineOS again is nice

Edited by CmdrKeen
Link to comment
On 6/27/2022 at 3:47 PM, Paz said:
2022-06-27 18:41:45.839973 [info] Host is running unRAID
2022-06-27 18:41:45.856789 [info] System information Linux 95ec76292e68 5.15.46-Unraid #1 SMP Fri Jun 10 11:08:41 PDT 2022 x86_64 GNU/Linux
2022-06-27 18:41:45.877158 [info] OS_ARCH defined as 'x86-64'
2022-06-27 18:41:45.897022 [info] PUID defined as '0'
2022-06-27 18:41:45.921104 [info] PGID defined as '0'
2022-06-27 18:41:45.956221 [info] UMASK defined as '0000'
2022-06-27 18:41:45.975433 [info] Permissions already set for '/config'
2022-06-27 18:41:46.000004 [info] Deleting files in /tmp (non recursive)...
2022-06-27 18:41:46.021029 [info] WEBUI_PASSWORD defined as 'XXXXXXXXXXXX'
2022-06-27 18:41:46.074090 [info] JAVA_VERSION defined as 'latest'
2022-06-27 18:41:46.099727 [info] Starting Supervisor...
2022-06-27 18:41:46,284 INFO Included extra file "/etc/supervisor/conf.d/mineos-node.conf" during parsing
2022-06-27 18:41:46,284 INFO Set uid to user 0 succeeded
2022-06-27 18:41:46,287 INFO supervisord started with pid 7
2022-06-27 18:41:47,289 INFO spawned: 'shutdown-script' with pid 79
2022-06-27 18:41:47,290 INFO spawned: 'start-script' with pid 80
2022-06-27 18:41:47,290 INFO reaped unknown pid 8 (exit status 0)
2022-06-27 18:41:48,291 INFO success: shutdown-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

Hi I've an issue with the umask setting.

I've tried to set umask to 0000 or 000 but in both cases the files in the folder /config/mineos/games/servers/[NAMESERVER]/plugins/Skript those file permissions are not set to chmod 777 as they should be.

total 52
-rw-rw-r--  1 root root 19566 Jun 27 20:14 config.sk
-rw-rw-r--  1 root root  1640 Jun 27 20:14 features.sk
drwxrwxr-x+ 1 root root    68 Jun 27 20:14 lang/
-rw-rw-r--  1 root root 22420 Jun 27 20:14 materials.json
drwxrwxr-x+ 1 root root   668 Jun 27 20:14 scripts/
-rw-rw-r--  1 root root   100 Jun 27 20:14 variables.csv

I need the file to be editable by everyone because I've mounted the path /config/mineos/games/ in a folder in unraid. Than I've shared the folder with SMB but nobody can modify those files.

Any suggestion?

 

the files in question which you listed in your second quote bubble are not set to allow global modifying, so if the user modifying them is not the owner or of the same group, they cannot. if you were to chmod that directory recursively with 777 it would allow global write permissions. ( from the console for the docker: chmod +R 777 /config/mineos/games/servers/[NAMESERVER]/plugins/Skript )

 

this is not a permanent fix...the closest thing i was able to find personally was to separate mineos files to their own share in unraid, and modify unraid's samba config for that new share to add "force user = root", "force group = root", and "create mask = 777" to /etc/samba/smb-shares.conf, then restart samba. this makes every new file you add automatically be owned by root and have full permissions. obviously this is not perfect and not advised, however it was the only thing that worked relatively well for me. additionally, these changes would go away every time the unraid server restarts as the smb-share.conf file i edited gets reset every boot.

  • Thanks 1
Link to comment
  • 2 weeks later...
  • 1 month later...
On 6/1/2020 at 4:39 AM, binhex said:

this is due to the requirement to run this as root, thus any files/folders created are owned by user root, group root. 

if you want to allow other users to access it then you will have to chmod /config recursively, e.g.:-

 

chmod -R 777 /mnt/cache/appdata/binhex-mineos-node

this will then permit other users read and write to all files/folders for this container. obviously if mineos-node creates any additional files then you would need to chmod those as well, i know this is a pain but there is no way around it (ive tried!).

 

edit - decided to include the chmod on startup and also some magic incantations to set rwx on newly created directories, so this should cover most cases, look out for new image soon.

 

Hi there. I have a question in regards to this post. I'm trying to help my son setup a Minecraft Server. I've setup a MineOS easily for him. But now that he's getting in to advanced things I don't know what to do.

 

1) I've been trying to figure out how to share "/mnt/user/appdata/binhex-mineos-node/mineos/games" to his username so he can take care of his imports, mods and backups and such. I've read the samba tweaks but I don't understand the settings noted in these other posts. Is there a write-up or tutorial for doing this?

 

2) He wants to use a Fabric mod. Again, is there any write-up on how to do this?

 

Right now he's been using a Windows10 VM for his Fabric server but that whole thing is resource heavy and I would really like to get him back to this docker.

 

Thanks in advance

 

Vin

Link to comment
  • 2 weeks later...

Ok, so I figured it all out so I'll answer my own question here in case someone stumbles on this if they have the same questions...

 

1) so to share the MineOS directory I had to do the following

- shutdown the Array

- So to Settings >  then select SMB (windows Icon)

- under the SMB Extras (middle section) I added the following at the bottom

 

[MineOSServer]
path = /mnt/user/appdata/binhex-mineos-node/mineos
comment = 
browseable = yes
valid users = username
write list = username
vfs objects =

 

- MineOSServer = Share name

- The path there was the path for me. you'll have to confirm if you installed it in the same location.

- You can only have 1 user listed from what I can tell. I tried user1/user2 and then I tried replacing the seperator with ", | : ;" and nothing worked.

 

But everything is accessible from my sons Windows 10 PC.

----------------------------------------------------

 

2) For creating a Fabric modded server. There was no way to manually create this type of server. But we were able to import one.

 

Now that we have access to the share from his PC, we archived the server from the Win10 VM that we were using, took the .tar archive and moved it to the "/mnt/user/appdata/binhex-mineos-node/mineos/games/import" [this is my import folder, yours may be different] then from there we were able to restore the server in the MineOS GUI.

 

We also had to add a profile for Fabric. Again we couldn't select one. so we downloaded the Server .jar file and we added it to this path "/mnt/user/appdata/binhex-mineos-node/mineos/games/profiles/Fabric_1.19.2_014.9" we created that Fabric folder in there.

 

Once we had that in that there we could start the server and it worked.

 

----------------------------------------------------

Lets talk optimizations...

 

Our map and mods list is a extensive.. I have a lot of RAM in our server so I'm assigning is 12288MB (12GB) for both -XMX and -XMS

 

in the first additional Java Arguments box I have:

 

I don't recall right now why I used -XMN and MaxGCPause Millies are but I had a reason...

 

Now the ParallelGCThreads=x is used to assign number of Threads to the Server. I have 24 threads so I assigned 12threads.. the ConGCThreads needs to be your core count DIVIDED by 4. so as I used 12 cores, I assigned 3 here...

-Xmn1024m -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=12 -XX:ConcGCThreads=3

 

in the first additional Java Arguments box I have:

nogui

 

----------------------------------------------------

 

Scheduling... So we wanted to run restores every hour and Archives once a day. for this we used the Scheduling tab. This Unraid MineOS uses CRON. overall pretty simple..

 

for the timing I used this CRON timing generator to get the correct timing key: https://crontab-generator.org/

 

just enter an "x" in the "Command to execute" field, select your time from the bullets and click generate...

 

you only need the timing section.. Ignore ">/dev/null" and everything after that.

 

I just selected the time I wanted to run a restore point " 0 * * * * " for every hour, select "Create a Restore Point" then submit.

 

Don't forget to Start it with the Green button.

 

Then I did the same thing for "Save-all and create archive: and this one is at 5:01am " 1 5 * * * "

 

I also did a "restart" at 6am...

 

I'm currently working on Pruning and deleting Restore points and Archives. I think I have everything but I want to let the server run a few days before I test these things out and report.

 

Hopes this helps someone

 

Vin

 

 

 

 

Edited by Vinster411
  • Like 1
  • Thanks 1
Link to comment
  • 3 weeks later...

I'm having an issue where after a couple of days running on my unraid server the webui becomes inaccessible. My browser can no longer access it, the logs don't show any errors. The only thing that occurs on my server is a back up and auto update process, i'm wondering if it has issues with the docker shutting down and restarting after a backup. Any assistance would be greatly appreciated, currently I usually have to reinstall the docker container to get the ui working again.

Link to comment
  • 5 weeks later...
On 9/29/2022 at 3:42 AM, cenzar said:

I'm having an issue where after a couple of days running on my unraid server the webui becomes inaccessible. My browser can no longer access it, the logs don't show any errors. The only thing that occurs on my server is a back up and auto update process, i'm wondering if it has issues with the docker shutting down and restarting after a backup. Any assistance would be greatly appreciated, currently I usually have to reinstall the docker container to get the ui working again.

 

I have the same issue. MY workaround is at the moment to enable "privileged mode", restart docker, disable "privileged mode", restart docker again. 

 

Most of the time the WebUI is then reachable after some seconds...

Link to comment
  • 2 months later...

I'm running into an issue where my restore points stopped being created on after 5:00pm on December 3rd.  The manual and automatic restore point creation via the MineOS GUI doesn't work.  In the Restore Points box, it says "Uh oh!! Restore point attempt failed a few seconds ago."  In the top-right corner, the pop-up window says "[world] backup failed 1".

There are no updates for the MineOS docker, the world is still accessible, and creating an Archive backup works fine. It is just the Restore Points. I've tried running the server from 19.1 to 19.3, but that didn't resolve the issue, either.  Stopped/Started the docker, rebooted the unRAID server, and updated the unRAID server, too.  Any ideas on where I could start investigating?

Screenshot.PNG

Edited by ZurkeyDurkey
Uploaded screenshot.
Link to comment
  • 4 weeks later...
On 9/29/2022 at 3:42 AM, cenzar said:

I'm having an issue where after a couple of days running on my unraid server the webui becomes inaccessible. My browser can no longer access it, the logs don't show any errors. The only thing that occurs on my server is a back up and auto update process, i'm wondering if it has issues with the docker shutting down and restarting after a backup. Any assistance would be greatly appreciated, currently I usually have to reinstall the docker container to get the ui working again.

 

Have you found a solution for your issue?

 

Br,

Johannes

 

Link to comment
  • 1 month later...
On 9/5/2022 at 9:49 AM, Vinster411 said:

We also had to add a profile for Fabric. Again we couldn't select one. so we downloaded the Server .jar file and we added it to this path "/mnt/user/appdata/binhex-mineos-node/mineos/games/profiles/Fabric_1.19.2_014.9" we created that Fabric folder in there.

 

Once we had that in that there we could start the server and it worked.

Hey Vin, thanks for sharing how you managed to get a fabric server running in MineOS.

 

I'm attempting to do the same but am stuck at this point. Have created a folder for fabric but it doesn't show up in the dropdown for server profiles.

How did you start the server?

Cheers,
Chris.
 

chrome_JXElcDuUUE.gif

Termius_zqOozFXCgB.png

Link to comment
  • 1 month later...

Fixed my previous posted issue by nuking MineOS and completely re-installing it. Got a new issue now. Doesn't seem to have any impact on performance, but keeps logging an attempted connection every few seconds.

com.mojang.authlib.GameProfile@14c59377[id=<null>,name=pfclown,properties={},legacy=false] (/193.35.18.210:51472) lost connection: Disconnected

I get messages like this with the same IP, but different port. This occurs when MineOS docker is running, but the world doesn't need to be started for these logs to keep appearing. Attaching screenshot. 

1.PNG

Link to comment
On 5/6/2023 at 11:20 AM, JonathanM said:

Block that IP range on your firewall. It's an automated hack attempt.

 

 



I'm such an idiot, I forgot I turned off Threat Management to do throughput tests and never turned it back on.  But, thanks for confirming that those appear to be malicious attempts.  I got the issue resolved.

Rather than make a separate post, there is one minor issue I have just been dealing with. After deleting my world (just folder "world"), and uninstalling/reinstalling the Docker for MineOS, I restored my server as "world2". But, an old cron job still seems to be running. It is doing hourly archive backups of "world" still. I think it is actual backups of "world2", but I can't confirm. I keep having to delete these backups before the SSD fills up. There is no visible Cron job running for this.  Any thoughts?

Link to comment
  • 7 months later...
On 1/22/2023 at 4:44 AM, ebnerjoh said:

 

Have you found a solution for your issue?

 

Br,

Johannes

 

I am running into a similar issue running a modpack, the web server seems to die before the minecraft server even finished initializing, but the Minecraft server is reachable and operates as normal. I just don't have any admin control over anything. The log viewer was getting rate limited, maybe it has to do with that?

Link to comment
  • 1 month later...

I just installed unraid 3 days ago, and of course i had to play with docker and mineOs - what could go wrong...

Well apparently a lot..

 

During the installation of MineOs i was really missing the nice guide for dummies..

Reading through this topic, i found the video where it explaind and show how to install a server, would be nice to have it somewhere in the start or a link to it as part of the docker link - There might be a link but i did not find it ..

 

When trying to configure my first server of course i ran into the issue that the permissions where wrong an i had to run the chmod -R 777 /config 

Would be cool if that would be mentioned "early" some where, could have saved me some frustrations.

 

When i tried to configure the server

Broadcast to LAN   and entered an IP -> Crash
[Server thread/WARN]: **** FAILED TO BIND TO PORT!

 

Finally.. As so many other people i wanted to install some mods on the server for the kids.. Yes they can be somewhat persuasive..

The mod in quesion is Valhelsia-6-6.1.0, i can download it.. I can run the installer and copy everything to the folder on binhex-mineos-node\mineos\games\servers\Valhelsia

But how do i actualy make it use the mods? Im pretty sure i missed something obvious, but since this obiosly is my first rodeo.. Mayby a hit somewhere would be cool :)

 

Hope i can get some help and finally get it up and running with the mod.

 

 

 

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.