Giter Site home page Giter Site logo

Node Red install error 139 about iotstack HOT 5 CLOSED

gcgarner avatar gcgarner commented on May 22, 2024
Node Red install error 139

from iotstack.

Comments (5)

gcgarner avatar gcgarner commented on May 22, 2024

Hi Paul, I'll have a look, I havent seen that error in testing.
That command /bin/sh ..... is running in the container not on your host system.

I just deleted all my containers and images and build the same configuration as you and my build was successful.

Which Raspberry Pi are you using? do you have enough disk space run df -h
you can force a rebuild by running docker-compose build nodered and see if the error persists

from iotstack.

paul-b-63 avatar paul-b-63 commented on May 22, 2024

Hi Graham, thank you got your reply, and thank you for putting this together. I had no idea on docker , or some of the applications, until I saw Andreas video. If I can get this to work I will attempt to take it apart and figure out how it works.. :)

There is space on the device:

pi@raspberrypi:~/IOTstack $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.1G  2.2G  4.6G  33% /
devtmpfs        213M     0  213M   0% /dev
tmpfs           217M     0  217M   0% /dev/shm
tmpfs           217M  3.2M  214M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           217M     0  217M   0% /sys/fs/cgroup
/dev/mmcblk0p1  253M   52M  201M  21% /boot
tmpfs            44M     0   44M   0% /run/user/1000
pi@raspberrypi:~/IOTstack $ 

which is why I went for the Lite install.
I am using a B+ at the moment. Did you have the same issue with having to install npm first? But you said the command is run from the container not the host... The error, when run on the command line, is a syntax error.

For testing and maybe a little usage, I would have thought the B+ would work, albeit slow when under load.
I have literally just received a Pi 3 B in the mail and will try that with a 16Gb SD card.
I will try both the base install, to see if it is my environment, and a full NOOBS install.

from iotstack.

gcgarner avatar gcgarner commented on May 22, 2024

The video was a little light on the in-depth info on docker. The plan is to setup a project wiki that explains the basic concepts ... like your container cant see the host file system for one.

Are you using a model 1B+ or a different B+? The model 1 wont run because it has a different CPU version. The best is to use the 3B, I just tested the above install and it did work on my 3B

If you want to use the 1B you are best off using Peter Scargill's script, there is a like on the README

from iotstack.

paul-b-63 avatar paul-b-63 commented on May 22, 2024

I just moved the 8Gb SD card to the Pi 3 B and it runs past that point and installs.
It seems the other containers may work on the B+ just not Node Red, I didn't test them, just there were no errors when Node Red was deselected. I would not have said this was a hardware issue.
Mine is a v1.2 B+.
I would have thought an ARM is an ARM and the OS would be a common layer on top, but Live and learn.
I will ask if you can put something on the readme to suggest the Pi model limitations.
Thank you for jumping on this. I think it is now resolved :)

from iotstack.

gcgarner avatar gcgarner commented on May 22, 2024

I've updated the README now. Things get complicated with ARM, there is armv5,armv6,armv7,armhf, arm64. Its hard to keep track. I will look into how to put an error in the menu itself

from iotstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.