[Announce] Node-RED snap 0.19.5 available

Some of you may have spotted there was an occasional release of Node-RED over on the Ubuntu snapcraft.io store. Having now spent a day up at Canonical we now have a much more automated process in place so it should now stay in step with our main releases.

The way snaps work is there are several release channels - so automatic builds will go into the edge channel - and when we are happy we will push them to the stable channel.

There are still some open issues (like access to USB serial ports), but these are being worked on by the snap team, and tracked by us - https://github.com/dceejay/nodered.snap/issues

2 Likes

Hi, is an update to core18 planned?

It gets rebuilt automatically using the online snapcraft builder and should currently be Node-RED 0.20.7 for all platforms

I think the update from core16 to core18 is not automatic. You have to change snapcraft.yaml and add line base: core18 to it.

Hey dceejay, this is unrelated to this discussion forum but when is node-red dashboard version 16 being released? I read that there will be formatting tools available, and I am currently working on a schools project using node-red. I wish to receive more information on the release date or methods of access. thanks!

Hi @hashtag_xu. Welcome to the forum. Please don't add unrelated questions to threads. There is no benefit doing that. Other people may benefit from the answer you get, but they would not find it hidden in a completely unrelated thread.

Ok. Will look to do that soon. Thanks

Gave core18 a quick try - all builds failed... maybe snapcraft is having a bad day but reverting for now.

We were able to build a version on ubuntu core on our hardware (ARMv7, MT8167) using also the repo you forked doing the following:

# from https://forum.snapcraft.io/t/building-classic-snap-on-ubuntu-core/4243
sudo snap install classic --edge --devmode
sudo classic
# install snapcraft and git in classic env
sudo apt-get install snapcraft git nano
git clone https://github.com/mectors/nodered.snap.git
cd nodered.snap/
mkdir snap
mv snapcraft.yaml snap/snapcraft.yaml
#######################################
# now change the yaml file to:
name: nodered
version: "0.20.7"
summary: A visual tool for wiring the Internet of Things
description: Node-RED is a tool for wiring together hardware devices, APIs and online services in new and interesting ways.
confinement: strict
grade: stable
base: core18

apps:
  red:
    daemon: simple
    command: bin/launch
    plugs:
      - network-bind
      - network
      - network-observe
      - bluetooth-control
      - pulseaudio
      - camera

parts:
  red:
    plugin: nodejs
    stage-packages:
      - gnustep-gui-runtime
    node-packages:
      - node-red
  settings:
    plugin: dump
    source: settings
    filesets:
      settings:
        - .
    organize:
      start.sh : bin/launch
    filesets:
      all: [ . ]

#######################################
snapcraft

We tested it with just a basic config as the yaml file shows.

Regarding the https://github.com/dceejay/nodered.snap repo, I have created a pull request, which adds the core18, but removes the state, removes the cleanbuild which has made problems with my snapcraft and added an after to node-red part. Feel free to try it

1 Like