MineOS installation error

SanSen

Cadet
Joined
Oct 9, 2020
Messages
1
Hello everyone, I have been using the MineOS server for a long time, it was installed on a hard drive which unfortunately died. Now I try to install the plugin again, but during the installation I get this error. The plugin installs but doesn't work. Please help. Thanks in advance.

Install Notes:

> posix@4.2.0 install /usr/local/games/minecraft/node_modules/posix
> node-gyp rebuild
gmake: Entering directory '/usr/local/games/minecraft/node_modules/posix/build'
CXX(target) Release/obj.target/posix/src/posix.o
CXX(target) Release/obj.target/posix/src/posix.o
In file included from ../src/posix.cc:1:
In file included from ../../nan/nan.h:53:
In file included from /root/.cache/node-gyp/10.22.1/include/node/uv.h:52:
In file included from /root/.cache/node-gyp/10.22.1/include/node/uv/errno.h:25:
In file included from /usr/include/c++/v1/errno.h:26:
/usr/include/c++/v1/__config:117:2: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead
CXX(target) Release/obj.target/posix/src/posix.o
#error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \
^
CXX(target) Release/obj.target/posix/src/posix.o
1 error generated.
CXX(target) Release/obj.target/posix/src/posix.o
gmake: *** [posix.target.mk:105: Release/obj.target/posix/src/posix.o] Error 1
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: *** [posix.target.mk:105: Release/obj.target/posix/src/posix.o] Error 1
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System FreeBSD 11.3-RELEASE-p14
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/games/minecraft/node_modules/posix
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gyp ERR! node -v v10.22.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
npm ERR! posix@4.2.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the posix@4.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-10T02_05_43_395Z-debug.log
mineos_enable: -> YES
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-10T02_05_43_395Z-debug.log
Starting mineos.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-10T02_05_43_395Z-debug.log
Starting mineos daemon...
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-10T02_05_43_395Z-debug.log
mineos daemon started. PID: 33549
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-10T02_05_43_395Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-10T02_05_43_395Z-debug.log
 
Joined
Jul 10, 2016
Messages
521
Welcome to the forums and thank you for reporting! :grin:

A patch has been submitted and this issue has been fixed in FreeNAS 11.3.
 
Last edited:

skyman

Dabbler
Joined
Sep 23, 2011
Messages
12
Unfortunately, the mineos plugin doesn't seem to install in the current release of TureNAS core. I've tried the manual install of a jail, I've used the mineos-json file from Jurgen's GitHub page, etc. and in every case it finds a new way to fail.

Installing via the UI I get this:
Install
Error: mineos-jail had a failure Exception: RuntimeError Message: pkg error: - devel/git-lite : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed

The command line plugin approach via the "appropriately modified version" of this:
fetch https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/master/mineos.json
iocage fetch -P -n mineos.json ip4_addr="em0|192.168.0.100"
It reports a vnet error.

Finally, the create a jail and install everything from the common line, complains mightily about the npm build and gyp and...

Basically, gmake fails at the rpm install stage..

Last login: Wed Oct 21 14:49:26 on pts/3
FreeBSD 12.2-RC3 7c4ec6ff02c(HEAD) TRUENAS
<<SNIP>>

root@mineos2:/usr/local/games/minecraft # echo "CXX=c++ npm install" | sh

> posix@4.2.0 install /usr/local/games/minecraft/node_modules/posix
> node-gyp rebuild

gmake: Entering directory '/usr/local/games/minecraft/node_modules/posix/build'
CXX(target) Release/obj.target/posix/src/posix.o
In file included from ../src/posix.cc:1:
In file included from ../../nan/nan.h:53:
In file included from /root/.cache/node-gyp/10.22.1/include/node/uv.h:52:
In file included from /root/.cache/node-gyp/10.22.1/include/node/uv/errno.h:25:
In file included from /usr/include/c++/v1/errno.h:26:
/usr/include/c++/v1/__config:117:2: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is
no longer supported. use
_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead
#error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \
^
1 error generated.
gmake: *** [posix.target.mk:105: Release/obj.target/posix/src/posix.o] Error 1
gmake: Leaving directory '/usr/local/games/minecraft/node_modules/posix/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System FreeBSD 12.2-RC3
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/games/minecraft/node_modules/posix
gyp ERR! node -v v10.22.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! posix@4.2.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the posix@4.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-10-21T21_57_55_630Z-debug.log
root@mineos2:/usr/local/games/minecraft #

sigh
 
Last edited:

skyman

Dabbler
Joined
Sep 23, 2011
Messages
12
I did just do a "pkg install rpm" which added different things and it 'may...' have progressed with warnings about vulnerabilities (8 low, 2 moderate, 2 high), but when I entered "npm audit" to get details - it went out to lunch.
 
Joined
Jul 10, 2016
Messages
521
This will be fixed soon.

As a temporary workaround, you can install the plugin on TrueNAS CORE 12.0 using the commands below:
Code:
fetch https://raw.githubusercontent.com/jsegaert/iocage-plugin-index/fix_mineos/mineos.json
iocage fetch -P mineos.json -n mineos-plugin
 

skyman

Dabbler
Joined
Sep 23, 2011
Messages
12
This will be fixed soon.

As a temporary workaround, you can install the plugin on TrueNAS CORE 12.0 using the commands below:
Code:
fetch https://raw.githubusercontent.com/jsegaert/iocage-plugin-index/fix_mineos/mineos.json
iocage fetch -P mineos.json -n mineos-plugin

Thanks much - that did the trick!
 
Top