Jurgen Segaert
Guru
- Joined
- Jul 10, 2016
- Messages
- 521
@Jon Telfer and @jrucker2004 : If you're on the FreeNAS-11-STABLE train (11.1-U4 and 11.1-U5), the easiest and future proof option to get back up and running, is to transition from the old PBI plugin to the new iocage plugin. The process would go something like this:
Preparation
If your Minecraft data (profiles, servers, etc...) still lives inside of your plugin jail, now is a good time to move it to its own dataset in your main pool. This will make it possible to update and upgrade your plugin jail without losing any of your data. If you already use the Jails > Storage feature to manage your data, you can skip this step.
Install the plugin
At this time in 11.1-U5, the new UI is not yet complete, but that's where it will be managed. More info on iocage jails here.
The iocage plugin can be created from the FreeNAS command line; Change the interface and IP-address to match your setup.
Map your dataset
This will make all you servers, profiles, etc... available to your new plugin
Log on to the Admin Portal (should be listed after the install process, e.g. http://192.168.0.215:8443) with mcserver/mcserver and you're in business!
Note that:
1) the first time you may have to use the
2) this plugin automatically mounts linprocfs; there no more need for a post-init script
3) I tested this 11.1-U4 and U5. This will not work if you’re on 11.0. In release 11.2 you can create using the UI.
Preparation
If your Minecraft data (profiles, servers, etc...) still lives inside of your plugin jail, now is a good time to move it to its own dataset in your main pool. This will make it possible to update and upgrade your plugin jail without losing any of your data. If you already use the Jails > Storage feature to manage your data, you can skip this step.
- Stop your mineos_1 plugin jail
- Go to Volumes > Storage and create a new dataset, e.g. mc_data (avoid spaces)
- Go to the FreeNAS command line and copy the files from your jail to the new dataset. Assuming the jail dataset is /mnt/tank/jail and the new dataset you created is /mnt/tank/mc_data, you would execute:
cp -a /mnt/tank/jails/mineos_1/var/games/minecraft/ /mnt/tank/mc_data
Install the plugin
At this time in 11.1-U5, the new UI is not yet complete, but that's where it will be managed. More info on iocage jails here.
The iocage plugin can be created from the FreeNAS command line; Change the interface and IP-address to match your setup.
Code:
fetch https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/11.1-RELEASE/mineos.json iocage fetch -P -n mineos.json ip4_addr="em0|192.168.0.215/24"
Map your dataset
This will make all you servers, profiles, etc... available to your new plugin
Code:
iocage stop mineos iocage fstab -a mineos "/mnt/tank/mc_data /var/games/minecraft/ nullfs rw 0 0" iocage start mineos
Log on to the Admin Portal (should be listed after the install process, e.g. http://192.168.0.215:8443) with mcserver/mcserver and you're in business!
Note that:
1) the first time you may have to use the
Refresh profile list
and Refresh server list
from the Admin menu, for it to (re)index the servers/profiles.2) this plugin automatically mounts linprocfs; there no more need for a post-init script
3) I tested this 11.1-U4 and U5. This will not work if you’re on 11.0. In release 11.2 you can create using the UI.