NodeBB process dying after upgrading to 1.7.0
attis last edited by
After today upgrade to 1.7.0 we observe a significant increase in errors leading to process dying and being restarted.
Seems to always be preceded by this stacktrace:
23/11 14:30:39  - [31merror[39m: TypeError: Cannot read property 'disabled' of undefined at /home/app/nodebb/src/controllers/composer.js:22:25 at nextTask (/home/app/nodebb/node_modules/async/dist/async.js:5297:14) at next (/home/app/nodebb/node_modules/async/dist/async.js:5304:9) at /home/app/nodebb/node_modules/async/dist/async.js:906:16 at /home/app/nodebb/node_modules/nodebb-plugin-composer-default/library.js:160:12 at /home/app/nodebb/node_modules/async/dist/async.js:3861:9 at /home/app/nodebb/node_modules/async/dist/async.js:421:16 at iterateeCallback (/home/app/nodebb/node_modules/async/dist/async.js:928:24) at /home/app/nodebb/node_modules/async/dist/async.js:906:16 at Immediate.<anonymous> (/home/app/nodebb/node_modules/async/dist/async.js:3858:13) at runCallback (timers.js:676:20) at tryOnImmediate (timers.js:645:5) at processImmediate [as _immediateCallback] (timers.js:617:5)
Would you care to take a look? Thanks!
baris last edited by baris
https://github.com/NodeBB/NodeBB/commit/97ac4a2e8c800e61af303eb989d1e2709fe92688 If you are on 1.7.x branch please pull that update, this is already fixed on master and will be available on 1.7.1 soon.
attis last edited by attis
Thanks! Pulling right now
[EDIT] Seems to have solved it!