[FreeNAS 9 Plugin] - MineOS

Joined
Jul 10, 2016
Messages
521
No, there's no pre-set limit. Some of the ATLauncher and/or Feed-The-Beast modpacks are massive and require a lot memory; they may not even start under 3GB. Just don't shoot yourself in the foot and leave 8GB for FreeNAS! :)
 

sjp770

Dabbler
Joined
Jul 26, 2018
Messages
19
Yeah no worries. I have 10Gb allocated for a 4x4TB zfs pool on 11.2. U2. Might up it a bit.
 
Joined
Jan 12, 2019
Messages
7
Hey there, can anyone tell me what's the most straightforward way to launch a minecraft server on FreeNAS 11.2 nowadays?

A jail, Ubuntu? MineOS? The MineOS plugin says it's just a collection of tutorials, not sure why that needs to be installed even, can't it just be text somewhere? :)
 
Joined
Jul 10, 2016
Messages
521
If you're running 11.2, the easiest way is to install the MineOS plugin.

The description is indeed confusing and has been fixed, but that change hasn't made it to the 11.2-RELEASE branch yet.
 

DawnUzi

Cadet
Joined
Jul 8, 2019
Messages
1
Hi! Im fairly new to FreeNas and am running a 11.1 u7. I've tried about 10 times to try and get all these guides to work and ends up in failure. Can someone help me out!

I keep encountering errror when trying to start mineos after updating
Starting mineos.
Shared object "libdl.so.1" not found, required by "libuv.so.1"
/usr/local/etc/rc.d/mineos: WARNING: failed to start mineos
 
Last edited:

tsr966

Dabbler
Joined
Nov 12, 2019
Messages
16
I’m am running the latest stable version of Freenas 11.2-u7. After installing the mineos plugin I log into the mineos GUI with default mcserver mcserver. I download the latest jar profile then attempt to create new server. The new server does not show up? What am I missing?
 

tsr966

Dabbler
Joined
Nov 12, 2019
Messages
16
Did you check that the "mount_procfs" and "mount_linprocfs" boxes are checked as per the post linked below?
https://www.ixsystems.com/community/threads/mineos-crash-on-fresh-install-11-2-u5.78618/#post-546316
Did you check that the "mount_procfs" and "mount_linprocfs" boxes are checked as per the post linked below?
https://www.ixsystems.com/community/threads/mineos-crash-on-fresh-install-11-2-u5.78618/#post-546316
That fixed thank you very much!
 

NadoNate

Dabbler
Joined
Aug 7, 2017
Messages
18
I'm getting an error on 11.2-U7 when trying to install the plugin...

[EFAULT] Exception: CallError:[EFAULT] pkg error: - pkg-static: repository meta /var/db/pkg/plugin-default.meta has wrong version 2 pkg-static: Repository plugin-default load error: meta cannot be loaded No error: 0 pkg-static: repository meta /var/db/pkg/plugin-default.meta has wrong version 2 pkg-static: repository meta /var/db/pkg/plugin-default.meta has wrong version 2 pkg-static: Repository plugin-default load error: meta cannot be loaded No error: 0 Please check your network occured, destroyed mineos.

Has anyone resolved this?
 
Joined
Jul 10, 2016
Messages
521
Thank you for your report. FreeBSD 11.2 reached its end-of-life, and you'll have to install the 11.3 version manually if you're not ready yet to switch to FreeNAS 11.3. From the command line, run the following commands in 11.2-U7:

Code:
fetch https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/master/mineos.json
iocage fetch -P -n mineos.json vnet=on dhcp=on bpf=yes defaultrouter="192.168.0.1"

Note that the defaultrouter IP address 192.168.0.1 may be different for your network; it is supposed to be the default gateway, typically the IP address of your router; change as needed.

This will take a while, be patient! Once the plugin is installed, you'll be able to manage it via the FreeNAS UI as per normal.
 
Last edited:

NadoNate

Dabbler
Joined
Aug 7, 2017
Messages
18
Thank you for your report. FreeBSD 11.2 reached its end-of-life, and you'll have to install the 11.3 version manually if you're not ready yet to switch to FreeNAS 11.3. From the command line, run the following commands:

Code:
fetch https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/master/mineos.json
iocage fetch -P -n mineos.json vnet=on dhcp=on bpf=yes defaultrouter="192.168.0.1"

Note that the defaultrouter IP address 192.168.0.1 may be different for your network; it is supposed to be the default gateway, typically the IP address of your router; change as needed.

This will take a while, be patient! Once the plugin is installed, you'll be able to manage it via the FreeNAS UI as per normal.

Installation successful after I upgraded to 11.3. Thanks for your help!
 

ver151set

Dabbler
Joined
Jan 28, 2015
Messages
37
With MineOS the plugin never uses https even when configured to in mineos.conf and having the default generated keys. "Manage" link under plugins is even a http link. Which makes letting remote users access it sketchy as passwords could potentially be intercepted.

MineOS also lacks builtin ftp support and crash detection/auto restart. The ftp isnt a big deal but is very convenient as it prevents messing with sshd config and chrooting users. But the crash detection/auto restart is amazing especially for a frequently unattended server.

Multicraft has all these features, and is what I used previously on a ubuntu server rented in the cloud. Has anyone successfully installed multicraft on FreeNAS or know of a guide?
 

johny3

Dabbler
Joined
Jun 10, 2020
Messages
26
hi everyone
New to freenas and running FreeNAS-11.3-U3.2. I installed the plugin for mineos and was planning on running a server for the kids.
Since I just created this and could easily reverse, are there any updated guides on this process - I see mentions of not using jails. Pretty new to linux but I can follow directions pretty well :)
I did set up a new server after downloading a jar, etc but cannot connect to it when in the game on the pc, I was not sure if it was the network settings for the jail.
Anyway, any help would be great, if it is simply pointing me to a guide that would be great.
thanks again
 
Joined
Jul 10, 2016
Messages
521
Welcome to the forums! The MineOS wiki has a Youtube tutorial on how to use the MineOS Gui:


Note that you need a Minecraft Java edition client to connect to it. If you're using Bedrock edition, see this thread.
 

johny3

Dabbler
Joined
Jun 10, 2020
Messages
26
Welcome to the forums! The MineOS wiki has a Youtube tutorial on how to use the MineOS Gui:


Note that you need a Minecraft Java edition client to connect to it. If you're using Bedrock edition, see this thread.
thank you will check it out!
 

Pheran

Patron
Joined
Jul 14, 2015
Messages
280
Has anyone been able to update the MineOS plugin jail from 11.2 to 11.3? I've got a working MineOS plugin running in an 11.2 jail under FreeNAS 11.3U2. I wanted to bring the jail OS up to date so I tried an iocage upgrade, but I get this output. Basically it seems like it can't find the java/node/etc. packages for 11.3.

Code:
[root@vault /mnt/megadata/home/ssnodgra]# iocage upgrade mineos -r 11.3-RELEASE
Snapshotting mineos...
Updating plugin INDEX...
New plugin RELEASE missing, fetching now...
Fetching: 11.3-RELEASE

Downloading: MANIFEST [####################] 100%
Downloading: base.txz [####################] 100%
Downloading: lib32.txz [####################] 100%
Downloading: src.txz [####################] 100%
Downloading: doc.txz [####################] 100%
Extracting: base.txz...
Extracting: lib32.txz...
Extracting: src.txz...
Extracting: doc.txz...

* Updating 11.3-RELEASE to the latest patch level...
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 11.3-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 398 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390.... done.
Applying patches... done.
Fetching 9 files... .... done.
The following files will be removed as part of updating to
11.3-RELEASE-p10:
/usr/share/zoneinfo/America/Godthab
The following files will be added as part of updating to
11.3-RELEASE-p10:
/usr/share/zoneinfo/America/Nuuk
/usr/src/contrib/ntp/include/ntp_calgps.h
/usr/src/contrib/ntp/include/ntp_psl.h
/usr/src/contrib/ntp/include/timexsup.h
/usr/src/contrib/ntp/libntp/ntp_calgps.c
/usr/src/contrib/ntp/libntp/timespecops.c
/usr/src/contrib/ntp/libntp/timexsup.c
/usr/src/contrib/ntp/ntpd/psl0.conf
/usr/src/contrib/ntp/ntpd/psl1.conf
/usr/src/contrib/ntp/ntpd/psl2.conf
The following files will be updated as part of updating to
11.3-RELEASE-p10:
/bin/freebsd-version
...output elided...
/usr/src/usr.sbin/ntp/config.h
/usr/src/usr.sbin/ntp/libntp/Makefile
Installing updates... done.
Running upgrade...
Snapshotting mineos...
Snapshot already exists
Updating plugin INDEX...
Updating plugin artifact...
Cloning git repository
Removing old pkgs...
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 57 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    alsa-lib-1.1.2_2
    bash-4.4.23_1
    c-ares-1.14.0_2
    ca_root_nss-3.41
    curl-7.63.0_1
    dejavu-2.37
    expat-2.2.6_1
    fontconfig-2.12.6,1
    freetype2-2.9.1
    gettext-runtime-0.19.8.1_2
    giflib-5.1.4
    git-lite-2.20.1
    gmake-4.2.1_3
    icu-63.1_1,1
    indexinfo-0.3.1
    java-zoneinfo-2018.g
    javavmwrapper-2.6
    libICE-1.0.9_3,1
    libSM-1.2.3,1
    libX11-1.6.7,1
    libXau-1.0.8_5
    libXdmcp-1.1.2_2
    libXext-1.3.3_3,1
    libXfixes-5.0.3_2
    libXi-1.7.9_2,1
    libXrender-0.9.10_2
    libXt-1.1.5_2,1
    libXtst-1.2.3_2
    libffi-3.2.1_3
    libfontenc-1.1.3_3
    libiconv-1.14_11
    libidn2-2.1.0
    libinotify-20180201_1
    libnghttp2-1.35.1
    libpthread-stubs-0.4
    librsync2-2.0.2
    libunistring-0.9.10_1
    libuv-1.24.1
    libxcb-1.13.1
    libxml2-2.9.8
    mkfontdir-1.0.7
    mkfontscale-1.1.3_2
    node8-8.15.0
    npm-node8-6.4.1_1
    openjdk8-jre-8.192.26_3
    pcre-8.42_1
    pkg-1.10.5_5
    popt-1.16_2
    py27-setuptools-40.6.2
    python2-2_3
    python27-2.7.15
    rdiff-backup-1.2.8_2,1
    readline-7.0.5
    rsync-3.1.3
    screen-4.6.2_1
    wget-1.20_1
    xorgproto-2018.4

Number of packages to be removed: 57

The operation will free 368 MiB.
[mineos] [1/57] Deinstalling openjdk8-jre-8.192.26_3...
[mineos] [1/57] Deleting files for openjdk8-jre-8.192.26_3: .......... done
[mineos] [2/57] Deinstalling libXtst-1.2.3_2...
[mineos] [2/57] Deleting files for libXtst-1.2.3_2: .......... done
[mineos] [3/57] Deinstalling libXi-1.7.9_2,1...
[mineos] [3/57] Deleting files for libXi-1.7.9_2,1: .......... done
[mineos] [4/57] Deinstalling libXext-1.3.3_3,1...
[mineos] [4/57] Deleting files for libXext-1.3.3_3,1: .......... done
[mineos] [5/57] Deinstalling libXfixes-5.0.3_2...
[mineos] [5/57] Deleting files for libXfixes-5.0.3_2: .......... done
[mineos] [6/57] Deinstalling libXrender-0.9.10_2...
[mineos] [6/57] Deleting files for libXrender-0.9.10_2: .......... done
[mineos] [7/57] Deinstalling libXt-1.1.5_2,1...
[mineos] [7/57] Deleting files for libXt-1.1.5_2,1: .......... done
[mineos] [8/57] Deinstalling rdiff-backup-1.2.8_2,1...
[mineos] [8/57] Deleting files for rdiff-backup-1.2.8_2,1: .......... done
[mineos] [9/57] Deinstalling dejavu-2.37...
[mineos] [9/57] Deleting files for dejavu-2.37: .......... done
[mineos] [10/57] Deinstalling libX11-1.6.7,1...
[mineos] [10/57] Deleting files for libX11-1.6.7,1: .......... done
[mineos] [11/57] Deinstalling librsync2-2.0.2...
[mineos] [11/57] Deleting files for librsync2-2.0.2: .......... done
[mineos] [12/57] Deinstalling npm-node8-6.4.1_1...
[mineos] [12/57] Deleting files for npm-node8-6.4.1_1: .......... done
[mineos] [13/57] Deinstalling py27-setuptools-40.6.2...
[mineos] [13/57] Deleting files for py27-setuptools-40.6.2: .......... done
[mineos] [14/57] Deinstalling python2-2_3...
[mineos] [14/57] Deleting files for python2-2_3: ...... done
[mineos] [15/57] Deinstalling wget-1.20_1...
[mineos] [15/57] Deleting files for wget-1.20_1: .......... done
[mineos] [16/57] Deinstalling bash-4.4.23_1...
[mineos] [16/57] Deleting files for bash-4.4.23_1: .......... done
[mineos] [17/57] Deinstalling git-lite-2.20.1...
[mineos] [17/57] Deleting files for git-lite-2.20.1: .......... done
==> You should manually remove the "git_daemon" user.
==> You should manually remove the "git_daemon" group
[mineos] [18/57] Deinstalling gmake-4.2.1_3...
[mineos] [18/57] Deleting files for gmake-4.2.1_3: .......... done
[mineos] [19/57] Deinstalling libidn2-2.1.0...
[mineos] [19/57] Deleting files for libidn2-2.1.0: .......... done
[mineos] [20/57] Deinstalling libxcb-1.13.1...
[mineos] [20/57] Deleting files for libxcb-1.13.1: .......... done
[mineos] [21/57] Deinstalling mkfontdir-1.0.7...
[mineos] [21/57] Deleting files for mkfontdir-1.0.7: ..... done
[mineos] [22/57] Deinstalling popt-1.16_2...
[mineos] [22/57] Deleting files for popt-1.16_2: .......... done
[mineos] [23/57] Deinstalling python27-2.7.15...
[mineos] [23/57] Deleting files for python27-2.7.15: .......... done
[mineos] [24/57] Deinstalling curl-7.63.0_1...
[mineos] [24/57] Deleting files for curl-7.63.0_1: .......... done
[mineos] [25/57] Deinstalling fontconfig-2.12.6,1...
[mineos] [25/57] Deleting files for fontconfig-2.12.6,1: .......... done
[mineos] [26/57] Deinstalling gettext-runtime-0.19.8.1_2...
[mineos] [26/57] Deleting files for gettext-runtime-0.19.8.1_2: .......... done
[mineos] [27/57] Deinstalling libSM-1.2.3,1...
[mineos] [27/57] Deleting files for libSM-1.2.3,1: .......... done
[mineos] [28/57] Deinstalling libXdmcp-1.1.2_2...
[mineos] [28/57] Deleting files for libXdmcp-1.1.2_2: ......... done
[mineos] [29/57] Deinstalling libffi-3.2.1_3...
[mineos] [29/57] Deleting files for libffi-3.2.1_3: .......... done
[mineos] [30/57] Deinstalling libunistring-0.9.10_1...
[mineos] [30/57] Deleting files for libunistring-0.9.10_1: .......... done
[mineos] [31/57] Deinstalling mkfontscale-1.1.3_2...
[mineos] [31/57] Deleting files for mkfontscale-1.1.3_2: ..... done
[mineos] [32/57] Deinstalling node8-8.15.0...
[mineos] [32/57] Deleting files for node8-8.15.0: .......... done
[mineos] [33/57] Deinstalling readline-7.0.5...
[mineos] [33/57] Deleting files for readline-7.0.5: .......... done
[mineos] [34/57] Deinstalling rsync-3.1.3...
[mineos] [34/57] Deleting files for rsync-3.1.3: .......... done
[mineos] [35/57] Deinstalling screen-4.6.2_1...
[mineos] [35/57] Deleting files for screen-4.6.2_1: .......... done
[mineos] [36/57] Deinstalling alsa-lib-1.1.2_2...
[mineos] [36/57] Deleting files for alsa-lib-1.1.2_2: .......... done
[mineos] [37/57] Deinstalling c-ares-1.14.0_2...
[mineos] [37/57] Deleting files for c-ares-1.14.0_2: .......... done
[mineos] [38/57] Deinstalling ca_root_nss-3.41...
[mineos] [38/57] Deleting files for ca_root_nss-3.41: ....... done
[mineos] [39/57] Deinstalling expat-2.2.6_1...
[mineos] [39/57] Deleting files for expat-2.2.6_1: .......... done
[mineos] [40/57] Deinstalling freetype2-2.9.1...
[mineos] [40/57] Deleting files for freetype2-2.9.1: .......... done
[mineos] [41/57] Deinstalling giflib-5.1.4...
[mineos] [41/57] Deleting files for giflib-5.1.4: .......... done
[mineos] [42/57] Deinstalling icu-63.1_1,1...
[mineos] [42/57] Deleting files for icu-63.1_1,1: .......... done
[mineos] [43/57] Deinstalling indexinfo-0.3.1...
[mineos] [43/57] Deleting files for indexinfo-0.3.1: .... done
[mineos] [44/57] Deinstalling java-zoneinfo-2018.g...
[mineos] [44/57] Deleting files for java-zoneinfo-2018.g: .......... done
[mineos] [45/57] Deinstalling javavmwrapper-2.6...
[mineos] [45/57] Deleting files for javavmwrapper-2.6: .......... done
[mineos] [46/57] Deinstalling libICE-1.0.9_3,1...
[mineos] [46/57] Deleting files for libICE-1.0.9_3,1: .......... done
[mineos] [47/57] Deinstalling libXau-1.0.8_5...
[mineos] [47/57] Deleting files for libXau-1.0.8_5: .......... done
[mineos] [48/57] Deinstalling libfontenc-1.1.3_3...
[mineos] [48/57] Deleting files for libfontenc-1.1.3_3: ......... done
[mineos] [49/57] Deinstalling libiconv-1.14_11...
[mineos] [49/57] Deleting files for libiconv-1.14_11: .......... done
[mineos] [50/57] Deinstalling libinotify-20180201_1...
[mineos] [50/57] Deleting files for libinotify-20180201_1: .......... done
[mineos] [51/57] Deinstalling libnghttp2-1.35.1...
[mineos] [51/57] Deleting files for libnghttp2-1.35.1: .......... done
[mineos] [52/57] Deinstalling libpthread-stubs-0.4...
[mineos] [52/57] Deleting files for libpthread-stubs-0.4: .... done
[mineos] [53/57] Deinstalling libuv-1.24.1...
[mineos] [53/57] Deleting files for libuv-1.24.1: .......... done
[mineos] [54/57] Deinstalling libxml2-2.9.8...
[mineos] [54/57] Deleting files for libxml2-2.9.8: .......... done
[mineos] [55/57] Deinstalling pcre-8.42_1...
[mineos] [55/57] Deleting files for pcre-8.42_1: .......... done
[mineos] [56/57] Deinstalling pkg-1.10.5_5...
[mineos] [56/57] Deleting files for pkg-1.10.5_5: .......... done
[mineos] [57/57] Deinstalling xorgproto-2018.4...
[mineos] [57/57] Deleting files for xorgproto-2018.4: .......... done
Installing new pkgs...

Testing Host DNS response to pkg.FreeBSD.org
Testing mineos's SRV response to pkg.FreeBSD.org
Testing mineos's DNSSEC response to pkg.FreeBSD.org

Installing plugin packages:
  - sysutils/py-rdiff-backup...
  - sysutils/screen...
  - net/rsync...
  - devel/gmake...
  - devel/git-lite...
  - lang/python3...
    - lang/python3 failed to install, retry #1
    - lang/python3 failed to install, retry #2
    - lang/python3 failed to install, retry #3
  - www/node10...
    - www/node10 failed to install, retry #1
    - www/node10 failed to install, retry #2
    - www/node10 failed to install, retry #3
  - www/npm-node10...
    - www/npm-node10 failed to install, retry #1
    - www/npm-node10 failed to install, retry #2
    - www/npm-node10 failed to install, retry #3
  - java/openjdk8-jre...
    - java/openjdk8-jre failed to install, retry #1
    - java/openjdk8-jre failed to install, retry #2
    - java/openjdk8-jre failed to install, retry #3
  - ftp/wget...
    - ftp/wget failed to install, retry #1
    - ftp/wget failed to install, retry #2
    - ftp/wget failed to install, retry #3
  - shells/bash...
    - shells/bash failed to install, retry #1
    - shells/bash failed to install, retry #2
    - shells/bash failed to install, retry #3

pkg error:
  - lang/python3 :,www/node10 :,www/npm-node10 :,java/openjdk8-jre :,ftp/wget :,shells/bash :

Refusing to fetch artifact and run post_install.sh!
PKG error, update failed! Rolling back snapshot.
 
Joined
Jul 10, 2016
Messages
521
I just did a fresh install on FreeNAS-11.3-U3.2 ; it installed all those same packages. Could this have been a temporary network hiccup or outage?
 

Pheran

Patron
Joined
Jul 14, 2015
Messages
280
I just did a fresh install on FreeNAS-11.3-U3.2 ; it installed all those same packages. Could this have been a temporary network hiccup or outage?
I'm not sure - I ended up just migrating my Minecraft data into a dedicated dataset, then destroying the plugin and creating a new one from scratch, and mounting the data back into it. It's a better setup this way anyway.
 

Nerdlinger

Dabbler
Joined
Dec 22, 2016
Messages
23
fresh install of mineos plugin on FreeNAS-11.3-U5 gives Error: Exception: RuntimeError Message: pkg error: - devel/git-lite : Refusing to fetch artifact and run post_install.sh!
Any ideas?
 
Joined
Jul 10, 2016
Messages
521
JIRA ticket and workaround in this post:
 
Top