Closed champymarty closed 3 years ago
The dietpi is from a fresh install, there is only pivpn and pihole that I install before installing MineOs the same day. I use a SanDisk ultra 64 Gb
Hi,
many thanks for your message. I did a test installation in a RPi3B+ and MineOS is working without issues. 🤔
are you able to attach the log file /root/.npm/_logs/2021-03-06T03_44_09_838Z-debug.log
Maybe best to try to attach it as full file
There seem to be an empty variable that causes all these errors. I wonder if the following has to do with it:
warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
as a bug in the source code. But that all is pretty cryptic to me, so not sure if the full log helps, but doesn't hurt.
At least, I'd give it another try today where Joulinar succeeded on the exact same machine.
I just tried again today with no succes. Here is the log you requested. If it does not work I will probaly go with cuberite anyway :D
It seems to be the userid module. Could you try to install it globally:
npm i -g userid
And if that works, manually locally:
cd /mnt/dietpi_userdata/mineos/minecraft
npm i --unsafe-perm userid
If that works, do you have a swap file enabled?
free
Probably insufficient memory.
installing the module glabally worked. (But mineOs i still crashing on install) . For the manually locally it just did not install userid, it crash with the same error that I get when trying to install mineOs.
With the command free I get this:
total used free shared buff/cache available
Mem: 997124 42476 505128 19312 449520 872604
Swap: 1099772 0 1099772
Very strange. Could you try again after reinstalling Node:
dietpi-software reinstall 9
still the same :(
Strange. Can you check dmesg -l emerg,alert,crit,err
for kernel errors? It's a new install of MineOS, right? Probably something gotten messed with that local Node modules, so let's try it freshly by removing all related files:
sed -i '/aSOFTWARE_INSTALL_STATE\[53\]=/c\aSOFTWARE_INSTALL_STATE\[53\]=2' /boot/dietpi/.installed
Then run dietpi-software
to uninstall MineOS. We just faked it being installed, so it can be uninstalled now, which removes all related files cleanly. Then install freshly:
dietpi-software install 53
It worked ! Thanks you !
Great! Good to keep in in mind, if a Node build fails, to remove everything cleanly before retrying 🙂.
Guys I'm going to close this topic, feel free to reopen of needed
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
Logfile attached. Click to expand!