# Auto update to snap package 1.1.0 node-red goes into uncaught exception

**URL:** https://discourse.nodered.org/t/auto-update-to-snap-package-1-1-0-node-red-goes-into-uncaught-exception/29324
**Category:** General
**Created:** [1 July 2020 15:53 UTC](https://discourse.nodered.org/t/auto-update-to-snap-package-1-1-0-node-red-goes-into-uncaught-exception/29324 "2020-07-01T15:53:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![iamhermes](https://avatars.discourse-cdn.com/v4/letter/i/898d66/32.png) [@iamhermes](https://discourse.nodered.org/u/iamhermes)
#### Post date: [1 July 2020 15:53 UTC](https://discourse.nodered.org/t/auto-update-to-snap-package-1-1-0-node-red-goes-into-uncaught-exception/29324/1 "2020-07-01T15:53:28Z")

</div>

with snap autoupdate (third time the service stops working) the tool did not start.

now following error occurs:

```auto
2020-07-01T15:33:27Z /usr/bin/snap[3103]: cmd.go:105: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
2020-07-01T15:33:27Z node-red.node-red[3103]: NOW STARTING NODE-RED : /snap/node-red/604/bin/node-red -u /root/snap/node-red/604 on port 1880
2020-07-01T15:33:29Z node-red.node-red[3103]: 1 Jul 17:33:29 - [info]
2020-07-01T15:33:29Z node-red.node-red[3103]: Welcome to Node-RED
2020-07-01T15:33:29Z node-red.node-red[3103]: ===================
2020-07-01T15:33:29Z node-red.node-red[3103]: 1 Jul 17:33:29 - [info] Node-RED version: v1.1.0
2020-07-01T15:33:29Z node-red.node-red[3103]: 1 Jul 17:33:29 - [info] Node.js version: v10.21.0
2020-07-01T15:33:29Z node-red.node-red[3103]: 1 Jul 17:33:29 - [info] Linux 4.19.66-v7+ arm LE
2020-07-01T15:33:31Z node-red.node-red[3103]: 1 Jul 17:33:31 - [info] Loading palette nodes
2020-07-01T15:33:34Z node-red.node-red[3103]: 1 Jul 17:33:34 - [info] Dashboard version 2.19.4 started at /ui
2020-07-01T15:33:34Z node-red.node-red[3103]: 1 Jul 17:33:34 - [red] Uncaught Exception:
2020-07-01T15:33:34Z node-red.node-red[3103]: 1 Jul 17:33:34 - TypeError: Cannot read property 'forEach' of undefined
2020-07-01T15:33:34Z node-red.node-red[3103]: at /snap/node-red/604/lib/node_modules/@node-red/registry/lib/library.js:31:19
2020-07-01T15:33:34Z node-red.node-red[3103]: at FSReqWrap.args [as oncomplete] (fs.js:140:20)
2020-07-01T15:33:34Z systemd[1]: snap.node-red.node-red.service: Main process exited, code=exited, status=1/FAILURE
2020-07-01T15:33:34Z systemd[1]: snap.node-red.node-red.service: Unit entered failed state.
2020-07-01T15:33:34Z systemd[1]: snap.node-red.node-red.service: Failed with result 'exit-code'.
2020-07-01T15:33:34Z systemd[1]: snap.node-red.node-red.service: Service hold-off time over, scheduling restart.
2020-07-01T15:33:34Z systemd[1]: Stopped Service for snap application node-red.node-red.
2020-07-01T15:33:34Z systemd[1]: Started Service for snap application node-red.node-red.
2020-07-01T15:33:34Z /usr/bin/snap[3145]: cmd.go:105: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
2020-07-01T15:33:35Z node-red.node-red[3145]: NOW STARTING NODE-RED : /snap/node-red/604/bin/node-red -u /root/snap/node-red/604 on port 1880

```

a revert back to last installed version 1.0.6 node-red works perfect  
this happens on two different RaspberryPi3  
the 604 folder is backup'd to go in deeper research.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [1 July 2020 17:20 UTC](https://discourse.nodered.org/t/auto-update-to-snap-package-1-1-0-node-red-goes-into-uncaught-exception/29324/2 "2020-07-01T17:20:35Z")

</div>

thanks - I have reverted the stable one to 1.0.6  
left 1.1.0 on edge.  
Any help gratefully received.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [30 August 2020 17:20 UTC](https://discourse.nodered.org/t/auto-update-to-snap-package-1-1-0-node-red-goes-into-uncaught-exception/29324/3 "2020-08-30T17:20:37Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
