Hello,
this morning i deleted some devices which are not longer needed.
Then my pimatic service crashed and is not able to restart it.
09:26:03.227 [pimatic] error: Startup error: TypeError: Cannot read property 'message' of undefined
09:26:03.227 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/lib/variables.coffee:312:77
09:26:03.227 [pimatic] error:> at VariableManager.init (/home/pi/pimatic-app/node_modules/pimatic/lib/variables.coffee:332:7)
09:26:03.227 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:738:26
09:26:03.227 [pimatic] error:> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23)
09:26:03.227 [pimatic] error:> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:510:31)
09:26:03.227 [pimatic] error:> at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:567:18)
09:26:03.227 [pimatic] error:> at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:612:10)
09:26:03.227 [pimatic] error:> at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:691:18)
09:26:03.227 [pimatic] error:> at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16)
09:26:03.227 [pimatic] error:> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10)
09:26:03.227 [pimatic] error:> at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14)
09:26:03.227 [pimatic] error:> at processImmediate [as _immediateCallback] (timers.js:383:17)
09:26:03.231 [pimatic] info: exiting...
I replaced the database file with a backup taken last night, but same problem.
Any idea?