Having issues with your DietPi installation or found a bug? Post it here.
baz123
Posts: 172 Joined: Thu Jan 12, 2017 9:23 pm
Post
by baz123 » Mon Feb 24, 2020 4:52 pm
During install the following error is seen.
Code: Select all
[ OK ] DietPi-Software | G_AGI python python3
/DietPi/dietpi/dietpi-software: line 2914: 2426 Illegal instruction npm i -g --unsafe-perm node-red
Using the VM image.
Joulinar
Posts: 4126 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Tue Feb 25, 2020 1:30 am
Hi,
I was testing the installation of node-red on my VM as well without issues. Are you able to retry?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
baz123
Posts: 172 Joined: Thu Jan 12, 2017 9:23 pm
Post
by baz123 » Wed Feb 26, 2020 7:55 pm
Nope, same error.
Code: Select all
Mode: Installing Node-Red: tool for wiring devices, APIs and online services
[ INFO ] DietPi-Software | APT installation for: python python3, please wait...
[ OK ] DietPi-Software | G_AGI python python3
/DietPi/dietpi/dietpi-software: line 2914: 17865 Illegal instruction npm i -g --unsafe-perm node-red
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : netdata
[ OK ] DietPi-Services | stop : mosquitto
[ OK ] DietPi-Services | stop : avahi-daemon
I have tried uninstalling and reinstalling.
Joulinar
Posts: 4126 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Wed Feb 26, 2020 9:02 pm
can you maybe create an empty / fresh VM and check how it is there? You could one of the new VM Images.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
baz123
Posts: 172 Joined: Thu Jan 12, 2017 9:23 pm
Post
by baz123 » Thu Feb 27, 2020 5:02 pm
This is an almost fresh image (just a few packages added) running
DietPi v6.28.0
Code: Select all
root@DietPi:~# cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
What is 'new'? It is a PITA to convert the VMWare to an ESXI image so unless there is a good reason to, I'd rather not update the base image.
Joulinar
Posts: 4126 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Thu Feb 27, 2020 10:18 pm
hmm it might be that this is because you are running on ESXI server. Looks like your hardware/cpu architecture is not supported and you get the
message. Did you checked the option to install Node-Red on Docker?
https://nodered.org/docs/getting-started/docker
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
baz123
Posts: 172 Joined: Thu Jan 12, 2017 9:23 pm
Post
by baz123 » Mon Mar 02, 2020 2:45 pm
Joulinar wrote: ↑ Thu Feb 27, 2020 10:18 pm
hmm it might be that this is because you are running on ESXI server. Looks like your hardware/cpu architecture is not supported and you get the
message.
In which case DietPi should mark as unavailable?
Thing is, it *used* to work fine. Only when I updated to Buster images did it complain.
The server is just an AMD Turion Neo N54L.
Joulinar
Posts: 4126 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Mon Mar 02, 2020 3:04 pm
Hi,
DietPi is doing nothing else as executing the commands that are listed on Node-Red WebSite.
https://nodered.org/docs/getting-started/local
Code: Select all
npm install -g --unsafe-perm node-red
So you could execute it yourselves. But this exactly the point where your installation failed
Code: Select all
Illegal instruction npm i -g --unsafe-perm node-red
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
baz123
Posts: 172 Joined: Thu Jan 12, 2017 9:23 pm
Post
by baz123 » Mon Mar 02, 2020 3:48 pm
Yes that is exactly where it failed. I tried it manually without success. There was some stuff on-line regarding an issue with Proxies (I'm not behind one) and I tried some of the fixes but I have not been able to solve the issue. Very annoying. I like DietPi but it seems that for me (with the HDD/SSD issue as well) it is time to part ways.
Joulinar
Posts: 4126 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Mon Mar 02, 2020 3:53 pm
I don't think this is a DietPi problem. But maybe you could try a different Debian Destro on your ESXI server.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team