[FreeNAS 9 Plugin] - MineOS

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Okay forgive me please if this is repeat issue. Whenever my main server ( freenass ) reboot all of my other plugins BUT mineos start. I am forever having to go into the freenas GUI >> Plugins >> installed to start my MINEOS. I tried using the following command from the CLI in hopes it would start my MINEOS plugin /sbin/mount -t linprocfs linprocfs /mnt/MEGAHDD/mineos_2/usr/compat/linux/proc but alas it did not so I am missing something. I would like to resolve this issue so if my Freenas server does restart it will not have to worry about my MC server staying down. Thank you for any and all help and if I have to I will take a few flames for possibly re-posting this issue again.
The command you listed does not start the mineos plugin, but it is required to be run before the plugin can be stared. You should be adding this command to Tasks > Init/Shutdown Scripts > Post Init
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have another question, first of all, kudos to Joshua Parker Ruehlig for answering these questions so long after the original post, but my question is how do I add to the whitelist/op files? I'd prefer not to ssh because I'm not too familiar with it, I tried to edit the file in a cifs share I created but it gave me the message that the file was locked and I wasn't able to edit it. Is there a way I can do this through the web gui?
I just use ssh, if you want a gui to ssh use sftp.
 

thetallest

Dabbler
Joined
Jul 5, 2012
Messages
32
The command you listed does not start the mineos plugin, but it is required to be run before the plugin can be stared. You should be adding this command to Tasks > Init/Shutdown Scripts > Post Init

Thank you for answering my post. So if I put that command in the Post Init area when my Freenass reboots this will or will not start the plugin on its own rather than me having to start the stupid thing every time my freenas box reboots >?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thank you for an answer. So if I put that command in the Post Init area when my Freenass reboots this will or will not start the plugin on its own rather than me having to start the stupid thing every time my freenas box reboots >?
that on its own will not start the plugin. but if you add that command, then start the plugin (which will enable it in the jail's /etc/rc.conf), it will start successfully upon (re)boot.

If you think the plugin is stupid then don't use it. I spent a lot of time making it easy to get MineOS install and there are even instructions to add the startup command in the plugin's FreeNAS configuration menu, and the Opening Post of this thread.
 

thetallest

Dabbler
Joined
Jul 5, 2012
Messages
32
that on its own will not start the plugin. but if you add that command, then start the plugin (which will enable it in the jail's /etc/rc.conf), it will start successfully upon (re)boot.

If you think the plugin is stupid then don't use it. I spent a lot of time making it easy to get MineOS install and there are even instructions to add the startup command in the plugin's FreeNAS configuration menu, and the Opening Post of this thread.

Sorry I did not mean to imply that the plugin was stupid it is not is GREAT I love it. I was just wanting to start on its own. I will put your suggestion to work. Thank you for your help
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Sorry I did not mean to imply that the plugin was stupid it is not is GREAT I love it. I was just wanting to start on its own. I will put your suggestion to work. Thank you for your help
no hard feelings, hope it works. I know the system I have in production works even after a reboot.
 

thetallest

Dabbler
Joined
Jul 5, 2012
Messages
32
That worked !! Thank you so much I have been searching for this answer for 6 months now. I guess I was asking the question in the wrong area. YOU ROCK !!!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
That worked !! Thank you so much I have been searching for this answer for 6 months now. I guess I was asking the question in the wrong area. YOU ROCK !!!
sweet
 

kveak

Cadet
Joined
Apr 16, 2016
Messages
2
I was wondering if there was a way to change what the start button on the server actions page runs.

I am trying to run a Direwolf FTB instance. I can get it to run from the shell but I had to update Java and run it from a script in the server directory (which makes me keep the SSH session open). I also tried to do a on reboot cron tab entry for the script but it doesnt work either.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I was wondering if there was a way to change what the start button on the server actions page runs.

I am trying to run a Direwolf FTB instance. I can get it to run from the shell but I had to update Java and run it from a script in the server directory (which makes me keep the SSH session open). I also tried to do a on reboot cron tab entry for the script but it doesnt work either.
I'd ask on the mineos forum. I think there are ways to define a custom jar, but not sure about a custom script.

also the freenas version of mineos is getting old, newer versions might handle this better.
 

kveak

Cadet
Joined
Apr 16, 2016
Messages
2
I'd ask on the mineos forum. I think there are ways to define a custom jar, but not sure about a custom script.

also the freenas version of mineos is getting old, newer versions might handle this better.

Thanks for the reply. I will check over there, maybe see about updating it before I do that as well.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thanks for the reply. I will check over there, maybe see about updating it before I do that as well.
problem is you can't update cause newer ones rely on node 4+ which I dont think will work on our freebsd9 based jails. I think I can update the plugin + dependencies once we have freebsd 10+ based jails
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Doesn't FreeNAS 9.10 already have FreeBSD 10 jails?
I'm too scared to delete my plugin jails, so I don't know yet lol. but maybe someone can confirm if the plugin jail template is 9 or 10 based

if it's 10, I may be able to build an updated mineos plugin
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
What is the login credentials for sftp?
the jail doesn't have ssh on by default, I use ssh/sftp to my freenas and browse to the jail from there
 

JoshuaHolme

Cadet
Joined
Apr 11, 2016
Messages
7
the jail doesn't have ssh on by default, I use ssh/sftp to my freenas and browse to the jail from there
Maybe it'll just be easier to ask this. I'm trying to use MineOS to host a Tekkit Server and there doesn't seem to be any guides online, and the ones that are there require you to create a custom profile which you can't do anymore in the current version of MineOS. Hve you ever done this or do you have any input?
 

JTheNASBuilder

Dabbler
Joined
Feb 4, 2014
Messages
28
@Joshua Parker Ruehlig: You might want to update the first post with a note about manually updating mineOS via "service mineos update" as, at present, manually updating it breaks the web GUI authentication process for mineOS. I don't know enough to comment as to why that is, but the update process spits out a huge amount of errors related to node/posix/npm stuff and then after that you can no longer authenticate.

@Everyone else: I'm leaving a note here as a breadcrumb for anyone else who has run into the same frustrating issue I have. If you run a Minecraft server with the Dynmap plugin (a fantastic little plugin that essentially rubs a web server for you that allows for Google Earth style browsing of your Minecraft world) and you've run into a mysterious issue where mineOS seems to have crapped the bed, Dynmap is to blame. I don't know *why* exactly, but both I (and several people who have posted on the mineOS discourse page) seem to have stumbled on an issue with mineOS and running a server with Dynmap where, at some point after installing the plugin (and seemingly related to the large number of files Dynmap generates) it crashes mineOS. Why that happens is beyond me, but at the moment the solution seems to be simply abandoning Dynmap.
 
Top