MineOS Installation Error

Rintu

Dabbler
Joined
Apr 13, 2023
Messages
20
Hello Everyone!!

Today I reinstalled the TrueNAS Core software to the latest version 13.0-U5.1 and trying to install the MineOS in it, but each time when I try to install it is showing me this error...

Error: MCS had a failure Exception: RuntimeError Message: Last 10 lines: 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.3.1 npm ERR! gyp info using node@18.16.0 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.9.16 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.16.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.16.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.16.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.16.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.16.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(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:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291: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.16.0 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-06-09T18_22_23_046Z-debug-0.log node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module 'daemonize2' Require stack: - /usr/local/games/minecraft/service.js at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object. (/usr/local/games/minecraft/service.js:3:14) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/usr/local/games/minecraft/service.js' ] } Node.js v18.16.0 /usr/local/etc/rc.d/mineos: WARNING: failed to start mineos Partial plugin destroyed

So what should I do in this situation as I have to continue the game...

Warm Regards
Rintu
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Are you trying to use the plugin? Don't. Use a plain FreeBSD jail and then follow this guide:


Ignore the section about linprocfs and activate linprocfs in the jail settings instead.
 

Rintu

Dabbler
Joined
Apr 13, 2023
Messages
20
Are you trying to use the plugin? Don't. Use a plain FreeBSD jail and then follow this guide:


Ignore the section about linprocfs and activate linprocfs in the jail settings instead.
It is a bit complicated, the plugin was really the easy one... It was working properly with my previous versions
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Sorry, but CORE plugins are a dead end according to official statements by iX representatives. That does not apply to CORE itself and the underlying jail technology is among the most robust in the industry. So if you go that route you will have a much more future proof installation.
 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
Sorry, but CORE plugins are a dead end according to official statements by iX representatives. That does not apply to CORE itself and the underlying jail technology is among the most robust in the industry. So if you go that route you will have a much more future proof installation.
damn that's cold,

Are you trying to use the plugin? Don't. Use a plain FreeBSD jail and then follow this guide:


Ignore the section about linprocfs and activate linprocfs in the jail settings instead.
you said to activate linprocfs in the jail settings, mind telling me how to do that?
A) what are "linprocfs" sounds like a type of fish. but it looks like it's a type of file system.
B) I don't see a setting specifically for them could you point me to what setting I would change and where I can find it.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Code:
iocage set allow_mount_procfs=1 <jailname>
iocage set mount_linprocfs=1 <jailname>
iocage set mount_procfs=1 <jailname>
 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
Code:
iocage set allow_mount_procfs=1 <jailname>
iocage set mount_linprocfs=1 <jailname>
iocage set mount_procfs=1 <jailname>
thx for the response. I have one more thing, I'm going through the mineos webui thing, and at the command echo "CXX=c++ npm install userid" | sh I get an error sh: mpm: not found.
Code:
# echo "CXX=c++ npm install userid" | sh

I've found other people having problems with that line, but their error codes are different and their solutions give only more error codes.
1686518592029.png
[/CODE]
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Did you pkg install nodeXX-npm before and was that successful? pkg info will tell you what you already installed.
 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
Did you pkg install nodeXX-npm before and was that successful? pkg info will tell you what you already installed.
I'm new enough that I'm not 100% on what you just said. I ran pkg info in my jail, and got a list of things, on of wich resembled nodeXX-npm, the command pkg install nodeXX-npm gave me an error.

1686519817313.png
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
XX is supposed to be a version number like e.g. 18.

The guide I linked has got this statement: pkg install -y rdiff-backup rsync gmake screen git python sysutils/py-supervisor www/node www/npm

Did you do that and did it produce any error message? Also please copy&paste text and not screen shots. Use SSH to get an interactive shell, the shell module in the UI is known broken for anything but the most simple commands.
 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
XX is supposed to be a version number like e.g. 18.

The guide I linked has got this statement: pkg install -y rdiff-backup rsync gmake screen git python sysutils/py-supervisor www/node www/npm

Did you do that and did it produce any error message? Also please copy&paste text and not screen shots. Use SSH to get an interactive shell, the shell module in the UI is known broken for anything but the most simple commands.
I was just about to tell you that I did pkg install npm as a guess, then I updated it per it's request.

and yes I've heard that the built in Ui shell ain't all that good, but I don't know of any other ssh shells. I assume I download a program similar to Filezilla? any you recommend? bc I got a nice big colorful npm error I'd love to copy and paste into search.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Windows includes an SSH client since at least Windows 10. Start cmd.exe or PowerShell (preferred), and ssh username@IP_OF_NAS. Mac and Linux do as well; you'd do the same from the terminal in either of them. If you're using Windows 7 or earlier, the most popular SSH client appears to be PuTTY; I've also heard good things about Bitvise.

See also:
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
What's your desktop OS? Mac OS and Windows from 10 up have SSH builtin. Open a terminal/command window. Type ssh <username>@<ip address>.
 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
What's your desktop OS? Mac OS and Windows from 10 up have SSH builtin. Open a terminal/command window. Type ssh <username>@<ip address>.
windows, I'll give it a try

Edit:
I'm in
 
Last edited:

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
Code:
desktop@minecraft-jail:/usr/local/games/minecraft $ echo "CXX=c++ npm install userid" | sh
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/local/games/minecraft/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/games/minecraft/node_modules'
npm ERR!  [Error: EACCES: permission denied, mkdir '/usr/local/games/minecraft/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/usr/local/games/minecraft/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: /home/desktop/.npm/_logs/2023-06-11T22_48_17_809Z-debug-0.log
desktop@minecraft-jail:/usr/local/games/minecraft $


I ran the command and got this
I assume I don't have root permission. I tried loging in to ssh with root, but got denied, so I followed this tutorial and set the user to the group wheel.
but I'm getting an error relating to running it as admin?

I have spent 2 days trying to get this server back up, and I've spent hours on this one line of code, I am so done with it
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I tried loging in to ssh with root, but got denied
You could set TrueNAS to allow root logins, which is covered in the guide I linked.
 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
If I run it on the included shell window in the Ui I get
Code:
root@minecraft-jail:/usr/local/games/minecraft # echo "CXX=c++ npm install userid" | sh

npm WARN old lockfile

npm WARN old lockfile The package-lock.json file was created with an old version of npm,

npm WARN old lockfile so supplemental metadata must be fetched from the registry.

npm WARN old lockfile

npm WARN old lockfile This is a one-time fix-up, please be patient...

npm WARN old lockfile

npm WARN deprecated har-validator@5.1.3: this library is no longer supported

npm WARN deprecated du@0.1.0: no longer maintained

npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3

npm WARN deprecated angular-sanitize@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 https://goo.gle/angularjs-path-forward.

npm WARN deprecated passport.socketio@3.6.2: Please check the workaround in https://github.com/jfromaniello/passport.socketio/issues/148

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. (https://github.com/visionmedia/debug/issues/797)

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. (https://github.com/visionmedia/debug/issues/797)

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. (https://github.com/visionmedia/debug/issues/797)

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. (https://github.com/visionmedia/debug/issues/797)

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. (https://github.com/visionmedia/debug/issues/797)

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. (https://github.com/visionmedia/debug/issues/797)

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 https://v8.dev/blog/math-random 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 https://v8.dev/blog/math-random 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 https://v8.dev/blog/math-random 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 accordancewith 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 https://github.com/request/request/issues/3142

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 https://goo.gle/angularjs-path-forward.

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 https://goo.gle/angularjs-path-forward.

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.3.1

npm ERR! gyp info using node@18.14.0 | freebsd | x64

npm ERR! gyp info find Python using Python version 3.9.16 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.14.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.14.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.14.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 <built-in>:415:

npm ERR! <command line>:12:9: warning: '_GLIBCXX_USE_CXX11_ABI' macro redefined[-Wmacro-redefined]

npm ERR! #define _GLIBCXX_USE_CXX11_ABI 0

npm ERR!         ^

npm ERR! <command line>: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.14.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.14.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:513:28)

npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291: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.14.0

npm ERR! gyp ERR! node-gyp -v v9.3.1

npm ERR! gyp ERR! not ok


npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-06-11T23_02_00_525Z-debug-0.log

root@minecraft-jail:/usr/local/games/minecraft # Goodbye!


 

Pericles_89

Dabbler
Joined
May 29, 2023
Messages
10
You could set TrueNAS to allow root logins, which is covered in the guide I linked.
I forgot about that, I set that up, but then reset everything In hopes it'd help the plugin. (spoilers) it didn't help.
I enabled root login, but now It wont accept my password in cmd, I just reset it useing the passwd command but cmd still wont take it . :/
 

AJ_

Cadet
Joined
Jun 14, 2023
Messages
7
I forgot about that, I set that up, but then reset everything In hopes it'd help the plugin. (spoilers) it didn't help.
I enabled root login, but now It wont accept my password in cmd, I just reset it useing the passwd command but cmd still wont take it . :/
Your issue is that you are directly logging in via root, try to create a user, then su to root and install, use this guide
Accessing a Jail Using SSH

I am here stuck same as you, I tried to reinstall MineOS via the official plugin which is completely broken, chose to do it manually via jail I am stuck at the below error,
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;
tried the workaround of : npm install runesoeknudsen/node-userid
It stopped giving me errors
root@MineOS:/home/jailuser # echo "CXX=c++ npm install userid" | sh
up to date, audited 5 packages in 3s
found 0 vulnerabilities
root@MineOS:/home/jailuser # echo "CXX=c++ npm install" | sh
up to date, audited 5 packages in 394ms
found 0 vulnerabilities

but the packages are not compiled

root@MineOS:/home/jailuser # cd /usr/games/minecraft
/usr/games/minecraft: No such file or directory.
And post restart of jail the WebUI doesn't show
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
try to create a user, then su to root and install
...or just enable root logins. It's a single checkbox in the GUI. SSH to the NAS as root, iocage console foo, and carry on.
 
Top