[FreeNAS 9 Plugin] - MineOS

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'm not enough of a java/minecraft expert to decipher that. I suggest you ask on a FTB specific forum
 

Joshua Parker Ruehlig

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

Ayeohdee

Dabbler
Joined
Mar 8, 2016
Messages
25
Most of this is Greek to me =( lol. I have a post over on the FTB forums with a few pictures. While I am at the question asking session of my night I've got one more. Why is it that when i go into the jail files for mineos via cifs on my desktop I do not have permission to edit server files as well as a few others. It says i need permission from unix user 199? I am guessing this has to due with my lack of knowledge in permissions on freenas.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Most of this is Greek to me =( lol. I have a post over on the FTB forums with a few pictures. While I am at the question asking session of my night I've got one more. Why is it that when i go into the jail files for mineos via cifs on my desktop I do not have permission to edit server files as well as a few others. It says i need permission from unix user 199? I am guessing this has to due with my lack of knowledge in permissions on freenas.
I kinda explain this here
https://forums.freenas.org/index.ph...plugins-write-permissions-to-your-data.27273/
basically freenas uses UNIX permissions, and mineos runs minecraft servers using a user in the jail. by default his is mcserver (UID=199).

There's multiple ways to solve the issue of editing the file, some of which could probably screw stuff up. change the permission level of the file, change the owner of the file, change the user CIFS does file operations as, edit the file using a different method like over SSH/SFTP.
 

Ayeohdee

Dabbler
Joined
Mar 8, 2016
Messages
25
Hello again,
I am still dealing with the FTB issue with many different jars. I have found a few that work and I've been looking for help over at FTB. One issue that's not going to go away is Java. Can I easily update the java version mineos is running from?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hello again,
I am still dealing with the FTB issue with many different jars. I have found a few that work and I've been looking for help over at FTB. One issue that's not going to go away is Java. Can I easily update the java version mineos is running from?
not super easily. but you could try installing a new Java to the jail.
pkg install openjdk8
I believe mineos might see the new install
 

Ayeohdee

Dabbler
Joined
Mar 8, 2016
Messages
25
I ran that command and 2 things installed but it said couldnt find catalog. I realized I hadn't stopped the plugin so thinking that might have caused a problem I ran it again after disabling and it came with this and I am at a loss
Installing freetype2: 2.5.3_2
Installing javavmwrapper: 2.5
Installing java-zoneinfo: 2014.c
Installing giflib-nox11: 4.2.3_2
Installing alsa-lib: 1.0.27.2_2
Installing libxcb: 1.10_2
Installing libSM: 1.2.2_2,1
Installing libX11: 1.6.2_2,1
Installing libXext: 1.3.2_2,1
Installing libXrender: 0.9.8_2
Installing libXt: 1.1.4_2,1
Installing libXfixes: 5.0.1_2
Installing libXi: 1.7.2_2,1
Installing libXtst: 1.2.2_2
Installing openjdk8: 8.5.13_7

The installation will require 198 MB more space

62 MB to be downloaded

Proceed with installing packages [y/N]: y
recordproto-1.14.2.txz 100% 3192 3.1KB/s 3.1KB/s 00:00
pkg: recordproto-1.14.2 failed checksum from repository
 

Pheran

Patron
Joined
Jul 14, 2015
Messages
280
I'm running a simple Minecraft server with MineOS (works great!) but now I want to update the server to 1.9.2 and the Profiles screen only displays through 1.9. Any way to convince it that 1.9.2 exists? Thanks.

EDIT: Never mind, I'm an idiot, just had to select Refresh Profile List from the drop-down in the upper right corner. Thanks for a great plugin!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'm running a simple Minecraft server with MineOS (works great!) but now I want to update the server to 1.9.2 and the Profiles screen only displays through 1.9. Any way to convince it that 1.9.2 exists? Thanks.

EDIT: Never mind, I'm an idiot, just had to select Refresh Profile List from the drop-down in the upper right corner. Thanks for a great plugin!
Welcome!
 

rafadavidc

Dabbler
Joined
Mar 26, 2016
Messages
38
I just deployed FreeNAS 9.10 in my home. I installed the MineOS plugin available right now (version unknown, I'm at work), and got 1.9.2 up and running. Curiously, servers for Pocket Edition and Forge stop several seconds after starting. I thought this might be fixed with an update, so in the shell, I ran 'service mineos update', and it wrecked the whole jail. Had to restart from scratch.

I just wanted to report this finding. If there is any other information I can provide for those that might look into this, please let me know and I'll give you everything I can. For now, I'm OK with the standard Mojang server I'm running and this isn't a critical issue I need solved.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
yeah, the newer mineos relies on newer node which I couldn't package with the FreeBSD9 based plugin. now that FreeNAS 9.10 is based on FreeBSD10 I actually might be able to get the latest mineos working. but I'm not working on it at the moment.

Hmm, not sure why pocket edition and forge don't work, but checking /var/log/mineos.log might give clues.
 

rafadavidc

Dabbler
Joined
Mar 26, 2016
Messages
38
Here's an excerpt of the log from when I just created a new server called PocketTest on port 25566, up to when I gave up trying to start it. Meanwhile, my other one continues to run on the default port.

{"level":"info","message":"[test] transmittting existing file contents: logs/latest.log (635 bytes)","timestamp":"2016-04-05T01:42:3
{"command":"create","server_name":"PocketTest","properties":{"server-port":"25566","difficulty":"1","gamemode":"1"},"level":"info","
{"level":"info","message":"[PocketTest] Server created in filesystem.","timestamp":"2016-04-05T01:48:18.512Z"}
{"level":"info","message":"[PocketTest] Discovered server","timestamp":"2016-04-05T01:48:18.912Z"}
{"level":"error","message":"[PocketTest] Create tail on logs/latest.log failed","timestamp":"2016-04-05T01:48:18.913Z"}
{"level":"info","message":"[PocketTest] Watching for file generation: logs/latest.log","timestamp":"2016-04-05T01:48:18.913Z"}
{"level":"error","message":"[PocketTest] Create tail on server.log failed","timestamp":"2016-04-05T01:48:18.913Z"}
{"level":"info","message":"[PocketTest] Watching for file generation: server.log","timestamp":"2016-04-05T01:48:18.913Z"}
{"level":"error","message":"[PocketTest] Create tail on proxy.log.0 failed","timestamp":"2016-04-05T01:48:18.913Z"}
{"level":"info","message":"[PocketTest] Watching for file generation: proxy.log.0","timestamp":"2016-04-05T01:48:18.913Z"}
{"level":"info","message":"[PocketTest] mcserver (undefined) joined server namespace","timestamp":"2016-04-05T01:48:18.932Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"modify_sc\"","timestamp":"2016-04-05T01:48:28.290Z"}
{"level":"info","message":"[PocketTest] received request \"modify_sc\"","timestamp":"2016-04-05T01:48:28.292Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"modify_sc\"","timestamp":"2016-04-05T01:48:29.606Z"}
{"level":"info","message":"[PocketTest] received request \"modify_sc\"","timestamp":"2016-04-05T01:48:29.606Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"modify_sc\"","timestamp":"2016-04-05T01:48:30.273Z"}
{"level":"info","message":"[PocketTest] received request \"modify_sc\"","timestamp":"2016-04-05T01:48:30.273Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"copy_profile\"","timestamp":"2016-04-05T01:48:31.036Z"}
{"level":"info","message":"[PocketTest] received request \"copy_profile\"","timestamp":"2016-04-05T01:48:31.036Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"modify_sc\"","timestamp":"2016-04-05T01:48:37.442Z"}
{"level":"info","message":"[PocketTest] received request \"modify_sc\"","timestamp":"2016-04-05T01:48:37.442Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"modify_sc\"","timestamp":"2016-04-05T01:48:39.353Z"}
{"level":"info","message":"[PocketTest] received request \"modify_sc\"","timestamp":"2016-04-05T01:48:39.354Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"backup\"","timestamp":"2016-04-05T01:48:43.682Z"}
{"level":"info","message":"[PocketTest] received request \"backup\"","timestamp":"2016-04-05T01:48:43.683Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"archive\"","timestamp":"2016-04-05T01:48:45.275Z"}
{"level":"info","message":"[PocketTest] received request \"archive\"","timestamp":"2016-04-05T01:48:45.275Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"accept_eula\"","timestamp":"2016-04-05T01:48:52.416Z"}
{"level":"info","message":"[PocketTest] received request \"accept_eula\"","timestamp":"2016-04-05T01:48:52.416Z"}
{"level":"info","message":"[PocketTest] eula.txt detected: ACCEPTED (eula=true)","timestamp":"2016-04-05T01:48:52.878Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"start\"","timestamp":"2016-04-05T01:48:53.701Z"}
{"level":"info","message":"[PocketTest] received request \"start\"","timestamp":"2016-04-05T01:48:53.701Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"accept_eula\"","timestamp":"2016-04-05T01:53:48.692Z"}
{"level":"info","message":"[PocketTest] received request \"accept_eula\"","timestamp":"2016-04-05T01:53:48.692Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"start\"","timestamp":"2016-04-05T01:53:49.478Z"}
{"level":"info","message":"[PocketTest] received request \"start\"","timestamp":"2016-04-05T01:53:49.478Z"}
{"level":"info","message":"[PocketTest] undefined issued command : \"start\"","timestamp":"2016-04-05T01:55:03.704Z"}
{"level":"info","message":"[PocketTest] received request \"start\"","timestamp":"2016-04-05T01:55:03.705Z"}
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I would ask on the mineos forum, and post back here if they say something is wrong with the plugin.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Maybe a stupid question, but how do I access the /var folder through freenas?
I usually use SFTP through a file browser (on linux).
Or if I'm not pulling/pushing files I use SSH.
 

JoshuaHolme

Cadet
Joined
Apr 11, 2016
Messages
7
I usually use SFTP through a file browser (on linux).
Or if I'm not pulling/pushing files I use SSH.
I was able to set up a CIFs share to the /var/games/minecraft folder and access it from my Mac so if I ever need to change anything in the folder I'll be able to thanks for the help though
 

thetallest

Dabbler
Joined
Jul 5, 2012
Messages
32
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.
 

JoshuaHolme

Cadet
Joined
Apr 11, 2016
Messages
7
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?
 
Top