tschettervictor / truenas-iocage-mineos

GNU General Public License v3.0
12 stars 3 forks source link

MineOS failed install "undefined symbol" #6

Open lukeski14 opened 1 month ago

lukeski14 commented 1 month ago

Issue with line 139 of script

if ! iocage exec "${JAIL_NAME}" "cd /usr/local/games/minecraft && yarn add jsegaert/node-userid && npm install"

Error below, log file attached:

Generating a RSA private key
.........+++++
.....................+++++
writing new private key to '.tmpkey.pem'
-----
writing RSA key
ld-elf.so.1: /usr/local/bin/node: Undefined symbol "_ZNSt3__122__libcpp_verbose_abortEPKcz"
Command: /bin/sh -c cd /usr/local/games/minecraft && yarn add jsegaert/node-userid && npm install failed!
Failed to install MineOS.

Command exit status: 1

mineos.log

lukeski14 commented 1 month ago

My Truenas CORE host version is 13.0-U6.1--not sure if the 13.0-U6.2 update will fix this or not but can attempt!

EDIT: updated to 13.0-U6.2 and still failing install.

tschettervictor commented 1 month ago

I’ll give it a go on my end.

tschettervictor commented 1 month ago

Can you confirm that your script is updated by a git pull? I just ran it again on CORE 13.3-BETA2 and it works just fine.

It might be necessary to update to the 13.3-BETA2 for the following reasons.

  1. ONLY 13.3 can successfully run 13.3 jails because of some new feature introduced into the rc system in 13.3
  2. 13.1 and 13.2 are already End of Life, so it might be necessary to do the install with a 13.3 jail (see point 1)
lukeski14 commented 1 month ago

Yup--up to date script.

I will defer the update until 13.3 is released. Until then, I will see if I can get openjdk22 installed somehow on my 12.2 (EOL) jail.

If you have any thoughts on that as someone with more truenas experience, I'd love your input.

tschettervictor commented 1 month ago

Yup--up to date script.

I will defer the update until 13.3 is released. Until then, I will see if I can get openjdk22 installed somehow on my 12.2 (EOL) jail.

If you have any thoughts on that as someone with more truenas experience, I'd love your input.

Unfortunately, with the state of CORE, 13.3 is the only release that still has pkgs available.

I’ve been using the 13.3 BETA in production without any issues.

tschettervictor commented 1 week ago

Update on this?

addlp commented 1 week ago

hello vic, i try script and same error. how change for make jail 13.3-release?

tschettervictor commented 1 week ago

I just ran the script again on my 13.3 system. No errors. I’m not sure where this error is happening on your end.

Have you done a git pull recently?

addlp commented 1 week ago

By default the script installs a 13.2 jail, you have to update it. The current jail releases are 13.3 14.0 and 14.1

El vie., 6 sep. 2024 21:32, tschettervictor @.***> escribió:

I just ran the script again on my 13.3 system. No errors. I’m not sure where this error is happening on your end.

Have you done a git pull recently?

— Reply to this email directly, view it on GitHub https://github.com/tschettervictor/truenas-iocage-mineos/issues/6#issuecomment-2334967478, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLCXDDWNQUPLYPBEYRH2R53ZVJCQJAVCNFSM6AAAAABLTBWYM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUHE3DONBXHA . You are receiving this because you commented.Message ID: @.***>

tschettervictor commented 1 week ago

By default the script installs a 13.2 jail, you have to update it. The current jail releases are 13.3 14.0 and 14.1 El vie., 6 sep. 2024 21:32, tschettervictor @.> escribió: I just ran the script again on my 13.3 system. No errors. I’m not sure where this error is happening on your end. Have you done a git pull recently? — Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLCXDDWNQUPLYPBEYRH2R53ZVJCQJAVCNFSM6AAAAABLTBWYM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUHE3DONBXHA . You are receiving this because you commented.Message ID: @.>

It only does so if your host is 13.1 Otherwise it uses the host version.

tschettervictor commented 14 hours ago

If you want you can create a jail manually, then run this new script inside the jail.

https://github.com/bsd-apps/tree/main/mineos