G'Day,
I attempted to upgrade from a working GUNBOT_V5_0_1 (after shutting it down obviously) to the latest GUNBOT_V5_0_4,
using v504 config.js as a template and inserting the relevant previous config items.
The v405 config.js validates fine on
https://jsonlint.com/$ ./gunthy-linx64
Loading config...
Unhandled rejection TypeError: Cannot read property 'port' of undefined
at new Websocket (/snapshot/gunbot-build/websocket.js:0:0)
at loadWS (/snapshot/gunbot-build/bot.js:0:0)
at Bot.start.loadConfig.then (/snapshot/gunbot-build/bot.js:0:0)
at tryCatcher (/snapshot/gunbot-build/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot-build/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot-build/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot-build/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
I googled for "Unhandled rejection TypeError: Cannot read property 'port' of undefined" and only
https://gunthy.org/index.php?topic=1277.20 appears, where Sidewinder complained about this same error after having fixed the JSON syntax error.
Any ideas greatly appreciated!
TIA
Robert