[FreeNAS 9 Plugin] - MineOS

Pheran

Patron
Joined
Jul 14, 2015
Messages
280
Oddly enough, I just installed a fresh copy of the latest MineOS node version in a brand new jail (not using the plugin) and got the same error, so something weird is going on with my system. I'm just not sure what.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Oddly enough, I just installed a fresh copy of the latest MineOS node version in a brand new jail (not using the plugin) and got the same error, so something weird is going on with my system. I'm just not sure what.
did you have linprocfs mounted? The plugin does this when you stop and start it from the FreeNAS WebUI > Plugins > Installed tab.
 

Pheran

Patron
Joined
Jul 14, 2015
Messages
280
did you have linprocfs mounted? The plugin does this when you stop and start it from the FreeNAS WebUI > Plugins > Installed tab.

Yes I do, and sorry, I'm posting in too many threads. This was caused by a bug in the current MineOS-node git repo, so I highly recommend that no one update right now, or your MineOS will crash and burn too. See here for more info:

https://discourse.codeemo.com/t/fresh-mineos-install-on-freenas-jail-fails-to-start/1926
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

Pheran

Patron
Joined
Jul 14, 2015
Messages
280

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi. When I hit start after creating a server nothing happens. Any ideas?
Did you check the logs for that server? On the first run you may need to accept the EULA.
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Hi. The EULA is set to true. If i look in the mineos log it shows this when I hit "start", but nothing after,
"{"level":"info","message":"[ChrisCraft] received request \"start\"","timestamp":"2017-06-27T14:18:06.826Z"}"
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi. The EULA is set to true. If i look in the mineos log it shows this when I hit "start", but nothing after,
"{"level":"info","message":"[ChrisCraft] received request \"start\"","timestamp":"2017-06-27T14:18:06.826Z"}"
Have you tried updating node/MineOS?
I give instructions how to do so in the Opening Post.
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Yes it says it is up to date. I'm not sure what you mean by node though?


root@mineos_1:/ # service mineos onestop
Stopping mineos.
Waiting for PIDS: 38327, 38327.
root@mineos_1:/ # service mineos oneupdate
Already up-to-date.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yes it says it is up to date. I'm not sure what you mean by node though?


root@mineos_1:/ # service mineos onestop
Stopping mineos.
Waiting for PIDS: 38327, 38327.
root@mineos_1:/ # service mineos oneupdate
Already up-to-date.
Did you ever run these commands? That would update your node version.
Code:
pkg install -y npm
sed -i '' -e 's|^\(command="\).*\("\)$|\1/usr/local/bin/node\2|' /usr/local/etc/rc.d/mineos
sed -i '' -e 's|^\(start_precmd="\).*\("\)$|\1export PATH=$PATH:/usr/local/bin:/usr/pbi/mineos-amd64/bin\2|' /usr/local/etc/rc.d/mineos
sed -i '' -e 's|^\([[:space:]]*\)/.*/npm\([[:space:]].*\)$|\1CXX=c++ /usr/local/bin/npm\2|' /usr/local/etc/rc.d/mineos
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Hi. Ye I have run those ones too.

Code:
root@mineos_1:/ # pkg install -y npm											
Updating FreeBSD repository catalogue...										
[mineos_1] Fetching meta.txz: 100%	940 B   0.9kB/s	00:01				 
[mineos_1] Fetching packagesite.txz: 100%	6 MiB   6.1MB/s	00:01		   
Processing entries: 100%														
FreeBSD repository update completed. 26608 packages processed.				 
All repositories are up to date.												
Checking integrity... done (0 conflicting)									 
The most recent version of packages are already installed					   
root@mineos_1:/ # sed -i '' -e 's|^\(command="\).*\("\)$|\1/usr/local/bin/node\2
|' /usr/local/etc/rc.d/mineos												   
root@mineos_1:/ # sed -i '' -e 's|^\(start_precmd="\).*\("\)$|\1export PATH=$PAT
H:/usr/local/bin:/usr/pbi/mineos-amd64/bin\2|' /usr/local/etc/rc.d/mineos	   
root@mineos_1:/ # sed -i '' -e 's|^\([[:space:]]*\)/.*/npm\([[:space:]].*\)$|\1C
XX=c++ /usr/local/bin/npm\2|' /usr/local/etc/rc.d/mineos						
root@mineos_1:/ #
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi. Ye I have run those ones too.

Code:
root@mineos_1:/ # pkg install -y npm											
Updating FreeBSD repository catalogue...										
[mineos_1] Fetching meta.txz: 100%	940 B   0.9kB/s	00:01				
[mineos_1] Fetching packagesite.txz: 100%	6 MiB   6.1MB/s	00:01		  
Processing entries: 100%														
FreeBSD repository update completed. 26608 packages processed.				
All repositories are up to date.												
Checking integrity... done (0 conflicting)									
The most recent version of packages are already installed					  
root@mineos_1:/ # sed -i '' -e 's|^\(command="\).*\("\)$|\1/usr/local/bin/node\2
|' /usr/local/etc/rc.d/mineos												  
root@mineos_1:/ # sed -i '' -e 's|^\(start_precmd="\).*\("\)$|\1export PATH=$PAT
H:/usr/local/bin:/usr/pbi/mineos-amd64/bin\2|' /usr/local/etc/rc.d/mineos	  
root@mineos_1:/ # sed -i '' -e 's|^\([[:space:]]*\)/.*/npm\([[:space:]].*\)$|\1C
XX=c++ /usr/local/bin/npm\2|' /usr/local/etc/rc.d/mineos						
root@mineos_1:/ #
Hmm, can you confirm linprocfs is loaded?
From your FreeNAS host, 'mount | grep linprocfs'
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300

[root@Server ~]# mount | grep linprocfs
linprocfs on /mnt/Jails/mineos_1/usr/compat/linux/proc (linprocfs, local)
[root@Server ~]#


Could it be my system isn't able to run it? It cant run the new 11 VM stuff. When I connect with VNC the server stops, sometimes crashing the FreeNAS web GUI with it.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

[root@Server ~]# mount | grep linprocfs
linprocfs on /mnt/Jails/mineos_1/usr/compat/linux/proc (linprocfs, local)
[root@Server ~]#


Could it be my system isn't able to run it? It cant run the new 11 VM stuff. When I connect with VNC the server stops, sometimes crashing the FreeNAS web GUI with it.
linprocfs is not dependent on those CPU features.

Edit
Hmm, you have linprocfs mounted properly. Not sure why the plugin would not work for you.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
OK thanks for your time.
Another thing I thought off. Do later versions of minecraft need java8?

maybe try verifying what version of java you have. and 'pkg install openjdk8'
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
:eek: Progress. Thanks man. Seems running that Java command is all what was needed.

unknown.png
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
:eek: Progress. Thanks man. Seems running that Java command is all what was needed.

unknown.png
awesome. man that would be nice if I could update this plugin to include the latest node and java so this just all worked.

Hopefully I can make something nice for FreeNAS11.
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
No this is great man. Just need to mention to install Java 8. I cant use the VM stuff so plugins like this are the only way I am able to run game servers.
 
Top