TrueNAS Core 13.0-U5.3 Update MineOS Failed

Lalsacien

Cadet
Joined
Mar 20, 2021
Messages
7
Hi all,

I tried today to upgrade my Mineos Jail version 13.1-RELEASE-p7 on my TrueNAS 13.0-U5.3.

The upgrade begun but stopped with an error. Since, My server in no more available on port 8443.

Could someone help me ?

Here is there error message I have (it’s a little bit long).

Many thanks for help.
Best Regards
Jacky

Code:
Status: FAILEDStart Time: 2023-10-07 18:18:07Finished Time: 2023-10-07 18:19:32Error: npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated code@1.5.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated uuid@3.0.1: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated request@2.88.0: request has been deprecated, see Request’s Past, Present and Future · Issue #3142 · request/request · GitHub npm WARN deprecated angular@1.5.11: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see Finding a Path Forward with AngularJS | by Mark Thompson (@marktechson) | Angular Blog. npm WARN deprecated angular@1.7.9: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see Finding a Path Forward with AngularJS | by Mark Thompson (@marktechson) | Angular Blog. npm WARN deprecated nodeunit@0.11.3: you are strongly encouraged to use other testing options npm ERR! code 1 npm ERR! path /usr/local/games/minecraft/node_modules/diskusage npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! gmake: Entering directory ‘/usr/local/games/minecraft/node_modules/diskusage/build’ npm ERR! CXX(target) Release/obj.target/diskusage/src/main.o npm ERR! gmake: Leaving directory ‘/usr/local/games/minecraft/node_modules/diskusage/build’ npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@18.18.0 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.9.18 found at “/usr/local/bin/python3.9” npm ERR! gyp info spawn /usr/local/bin/python3.9 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’, npm ERR! gyp info spawn args ‘binding.gyp’, npm ERR! gyp info spawn args ‘-f’, npm ERR! gyp info spawn args ‘make’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘/usr/local/games/minecraft/node_modules/diskusage/build/config.gypi’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘/root/.cache/node-gyp/18.18.0/include/node/common.gypi’, npm ERR! gyp info spawn args ‘-Dlibrary=shared_library’, npm ERR! gyp info spawn args ‘-Dvisibility=default’, npm ERR! gyp info spawn args ‘-Dnode_root_dir=/root/.cache/node-gyp/18.18.0’, npm ERR! gyp info spawn args ‘-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp’, npm ERR! gyp info spawn args ‘-Dnode_lib_file=/root/.cache/node-gyp/18.18.0/<(target_arch)/node.lib’, npm ERR! gyp info spawn args ‘-Dmodule_root_dir=/usr/local/games/minecraft/node_modules/diskusage’, npm ERR! gyp info spawn args ‘-Dnode_engine=v8’, npm ERR! gyp info spawn args ‘–depth=.’, npm ERR! gyp info spawn args ‘–no-parallel’, npm ERR! gyp info spawn args ‘–generator-output’, npm ERR! gyp info spawn args ‘build’, npm ERR! gyp info spawn args ‘-Goutput_dir=.’ npm ERR! gyp info spawn args ] npm ERR! gyp info spawn gmake npm ERR! gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ] npm ERR! In file included from :400: npm ERR! :12:9: warning: ‘_GLIBCXX_USE_CXX11_ABI’ macro redefined [-Wmacro-redefined] npm ERR! #define_GLIBCXX_USE_CXX11_ABI 0 npm ERR! ^ npm ERR! :7:9: note: previous definition is here npm ERR! #define _GLIBCXX_USE_CXX11_ABI 1 npm ERR! ^ npm ERR! In file included from …/src/main.cpp:3: npm ERR! …/…/nan/nan.h:2536:8: warning: ‘SetAccessor’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! tpl->SetAccessor( npm ERR! ^ npm ERR! /root/.cache/node-gyp/18.18.0/include/node/v8-template.h:837:3: note: ‘SetAccessor’ has been explicitly marked deprecated here npm ERR! V8_DEPRECATED(“Do signature check in accessor”) npm ERR! ^ npm ERR! /root/.cache/node-gyp/18.18.0/include/node/v8config.h:460:35: note: expanded from macro ‘V8_DEPRECATED’ npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]] npm ERR! ^ npm ERR! In file included from …/src/main.cpp:3: npm ERR! In file included from …/…/nan/nan.h:2884: npm ERR! …/…/nan/nan_typedarray_contents.h:34:43: error: no member named ‘GetContents’ in ‘v8::ArrayBuffer’ npm ERR! data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset; npm ERR! ~~~~~~~~^ npm ERR! 2 warnings and 1 error generated. npm ERR! gmake: *** [diskusage.target.mk:112: Release/obj.target/diskusage/src/main.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: gmake failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) npm ERR! gyp ERR! System FreeBSD 13.1-RELEASE-p7 npm ERR! gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” npm ERR! gyp ERR! cwd /usr/local/games/minecraft/node_modules/diskusage npm ERR! gyp ERR! node -v v18.18.0 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-07T16_19_27_950Z-debug-0.log node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module ‘daemonize2’ Require stack: - /usr/local/games/minecraft/service.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object. (/usr/local/games/minecraft/service.js:3:14) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions…js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) { code: ‘MODULE_NOT_FOUND’, requireStack: [ ‘/usr/local/games/minecraft/service.js’ ] } Node.js v18.18.0 /usr/local/etc/rc.d/mineos: WARNING: failed to start mineos
 
Last edited by a moderator:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
That error message is completely unreadable. I recommend you redo it with the newlines it should have.
 

Lalsacien

Cadet
Joined
Mar 20, 2021
Messages
7
Sorry :(

Here it sould be better ?

Status: FAILEDStart Time: 2023-10-07 18:18:07Finished Time: 2023-10-07 18:19:32Error: npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated code@1.5.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub) npm WARN deprecated uuid@3.0.1: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated request@2.88.0: request has been deprecated, see Request’s Past, Present and Future · Issue #3142 · request/request · GitHub npm WARN deprecated angular@1.5.11: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see Finding a Path Forward with AngularJS | by Mark Thompson (@marktechson) | Angular Blog. npm WARN deprecated angular@1.7.9: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see Finding a Path Forward with AngularJS | by Mark Thompson (@marktechson) | Angular Blog. npm WARN deprecated nodeunit@0.11.3: you are strongly encouraged to use other testing options npm ERR! code 1 npm ERR! path /usr/local/games/minecraft/node_modules/diskusage npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! gmake: Entering directory ‘/usr/local/games/minecraft/node_modules/diskusage/build’ npm ERR! CXX(target) Release/obj.target/diskusage/src/main.o npm ERR! gmake: Leaving directory ‘/usr/local/games/minecraft/node_modules/diskusage/build’ npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@18.18.0 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.9.18 found at “/usr/local/bin/python3.9” npm ERR! gyp info spawn /usr/local/bin/python3.9 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’, npm ERR! gyp info spawn args ‘binding.gyp’, npm ERR! gyp info spawn args ‘-f’, npm ERR! gyp info spawn args ‘make’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘/usr/local/games/minecraft/node_modules/diskusage/build/config.gypi’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’, npm ERR! gyp info spawn args ‘-I’, npm ERR! gyp info spawn args ‘/root/.cache/node-gyp/18.18.0/include/node/common.gypi’, npm ERR! gyp info spawn args ‘-Dlibrary=shared_library’, npm ERR! gyp info spawn args ‘-Dvisibility=default’, npm ERR! gyp info spawn args ‘-Dnode_root_dir=/root/.cache/node-gyp/18.18.0’, npm ERR! gyp info spawn args ‘-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp’, npm ERR! gyp info spawn args ‘-Dnode_lib_file=/root/.cache/node-gyp/18.18.0/<(target_arch)/node.lib’, npm ERR! gyp info spawn args ‘-Dmodule_root_dir=/usr/local/games/minecraft/node_modules/diskusage’, npm ERR! gyp info spawn args ‘-Dnode_engine=v8’, npm ERR! gyp info spawn args ‘–depth=.’, npm ERR! gyp info spawn args ‘–no-parallel’, npm ERR! gyp info spawn args ‘–generator-output’, npm ERR! gyp info spawn args ‘build’, npm ERR! gyp info spawn args ‘-Goutput_dir=.’ npm ERR! gyp info spawn args ] npm ERR! gyp info spawn gmake npm ERR! gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ] npm ERR! In file included from :400: npm ERR! :12:9: warning: ‘_GLIBCXX_USE_CXX11_ABI’ macro redefined [-Wmacro-redefined] npm ERR! #define _GLIBCXX_USE_CXX11_ABI 0 npm ERR! ^ npm ERR! :7:9: note: previous definition is here npm ERR! #define _GLIBCXX_USE_CXX11_ABI 1 npm ERR! ^ npm ERR! In file included from …/src/main.cpp:3: npm ERR! …/…/nan/nan.h:2536:8: warning: ‘SetAccessor’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations] npm ERR! tpl->SetAccessor( npm ERR! ^ npm ERR! /root/.cache/node-gyp/18.18.0/include/node/v8-template.h:837:3: note: ‘SetAccessor’ has been explicitly marked deprecated here npm ERR! V8_DEPRECATED(“Do signature check in accessor”) npm ERR! ^ npm ERR! /root/.cache/node-gyp/18.18.0/include/node/v8config.h:460:35: note: expanded from macro ‘V8_DEPRECATED’ npm ERR! # define V8_DEPRECATED(message) [[deprecated(message)]] npm ERR! ^ npm ERR! In file included from …/src/main.cpp:3: npm ERR! In file included from …/…/nan/nan.h:2884: npm ERR! …/…/nan/nan_typedarray_contents.h:34:43: error: no member named ‘GetContents’ in ‘v8::ArrayBuffer’ npm ERR! data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset; npm ERR! ~~~~~~~~^ npm ERR! 2 warnings and 1 error generated. npm ERR! gmake: *** [diskusage.target.mk:112: Release/obj.target/diskusage/src/main.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: gmake failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) npm ERR! gyp ERR! System FreeBSD 13.1-RELEASE-p7 npm ERR! gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” npm ERR! gyp ERR! cwd /usr/local/games/minecraft/node_modules/diskusage npm ERR! gyp ERR! node -v v18.18.0 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-07T16_19_27_950Z-debug-0.log node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module ‘daemonize2’ Require stack: - /usr/local/games/minecraft/service.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at Object. (/usr/local/games/minecraft/service.js:3:14) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions…js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) { code: ‘MODULE_NOT_FOUND’, requireStack: [ ‘/usr/local/games/minecraft/service.js’ ] } Node.js v18.18.0 /usr/local/etc/rc.d/mineos: WARNING: failed to start mineos
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Better? Eh. Please use the Insert Code feature (the </>) and then cut/paste into this. Hopefully it will help.
 

Lalsacien

Cadet
Joined
Mar 20, 2021
Messages
7
Sorry, I tried to find a file with cli but I didn't find it (it's not in vat/log/messages or var/log/iocage). It's from the Task Manager in the right up corner :

2023-10-08 15_47_34-TrueNAS - 192.168.0.251 — Mozilla Firefox.png
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
Regardless what the error is, that plugin (and most plugins) are broken and not usable.

See my signature if you want to install MineOS. I have links to multiple install scripts, MineOS included.
 
Joined
Oct 22, 2019
Messages
3,641
Hope I will not lost my worlds.
Make a snapshot of the relevant dataset(s), and don't destroy the current jail's datasets in the meantime. You never know if you'll need something within the current jail's filesystem to migrate over to the new jail. (Even if you cannot start the jail, the files are still accessible.)

Keep in mind that deleting a jail/Plugin will destroy its datasets under pool/iocage/jails/nameofjail
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Minecraft is pretty friendly to moving the live data. With the standard installation as documented on the MineOS wiki just copy /var/games/minecraft and you are all set.

If you are not quite sure, as @winnielinnie wrote, just keep the old jail/plugin around. All the data is in there somewhere.
 

Lalsacien

Cadet
Joined
Mar 20, 2021
Messages
7
Regardless what the error is, that plugin (and most plugins) are broken and not usable.

See my signature if you want to install MineOS. I have links to multiple install scripts, MineOS included.
One question @victort , is it obligatory to pass through Let’s Encrypt or can it install without ? Many thanks
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
You can run it without. Just set either the NO_CERT=1 or SELFSIGNED_CERT=1 in the config file.

You could also just visit the page at you IP and port that the mineos service runs at if you don't want to use caddy as the server.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
Casually reading the error line it looks like a deprecated npm version.
 

Lalsacien

Cadet
Joined
Mar 20, 2021
Messages
7
Is it possible to know the builder of that plug-in ? Perhaps a good idea is to send him a message.
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
Top