Hi all.
Trying to install 1.1 docker image via portainer (and OpenMediaVault) on Raspberry Pi 4 and getting an error when it tries to start the container. Portainer etc is up to date.
Error log shows the following:-
- WEBTHINGS_HOME=/home/node/.webthings
- args=
- start_task=run-only
- is_container
- ‘[’ -f /.dockerenv ‘]’
- return 0
++ node --version
++ egrep -o ‘[0-9]+’
++ head -n1- _node_version=12
- [[ ! -f /home/node/.webthings/.node_version ]]
- cd /home/node/webthings/gateway
- mkdir -p /home/node/.webthings/config
- ./tools/update-addons.sh
Opening database: /home/node/.webthings/config/db.sqlite3
/home/node/webthings/gateway/build/models/things.js:377
addon_manager_1.default.on(Constants.THING_ADDED, (thing) => {
^
TypeError: Cannot read property ‘on’ of undefined
at Object. (/home/node/webthings/gateway/build/models/things.js:377:25)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/node/webthings/gateway/build/models/actions.js:40:34)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1027:10)
Don’t really know where to start looking to see what is wrong/missing.
Version 1.0 worked fine