Nodebb 9.3 - Shutting Down and restarting automatically when clicking InstallPlugin - menu on ACP



  • Hello,

    1. I am running on 9.3 and today, when tried to click on Plugins-->Install Plugin menu from ACP, no action was happening (like bringing in plugin list)
    2. So I was checking the log file on the server and noticed whenever I clicked Install Plugin menu from ACP, nodebb automatically shuts itself down and restarting.

    I could not understand any obvious error...some warning about couple of plugin compatibility are show in log, but that were always there for a month and it did not cause any issue so far till now.

    In the last weeks or so, I installed few plugins , but i did not realize this issue or this was never there till today

    1. Uninstalled -- nodebb-plugin-google-adsense

    2. Installed -- nodebb-plugin-adsense

    3. Installed -- nodebb-plugin-ns-likes

    4. Installed -- nodebb-widget-ns-stats

    Following is the log file output, Pls help...

    15/3 15:16 [13039] - info: NodeBB Ready
    15/3 15:16 [13039] - info: Enabling 'trust proxy'
    15/3 15:16 [13039] - info: NodeBB is now listening on: 0.0.0.0:4567
    15/3 15:18 [13039] - error: TypeError: Cannot assign to read only property 'id' of <
    at Object.Plugins.normalise (/home/ngsankar/nodebb/src/plugins.js:226:20)
    at Request._callback (/home/ngsankar/nodebb/src/plugins.js:217:12)
    at Request.self.callback (/home/ngsankar/nodebb/node_modules/request/request.js:198:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:1035:10)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:962:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickDomainCallback (node.js:381:11)
    TypeError: Cannot assign to read only property 'id' of <
    at Object.Plugins.normalise (/home/ngsankar/nodebb/src/plugins.js:226:20)
    at Request._callback (/home/ngsankar/nodebb/src/plugins.js:217:12)
    at Request.self.callback (/home/ngsankar/nodebb/node_modules/request/request.js:198:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:1035:10)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/home/ngsankar/nodebb/node_modules/request/request.js:962:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickDomainCallback (node.js:381:11)
    15/3 15:18 [13039] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    15/3 15:18 [13039] - info: [app] Database connection closed.
    15/3 15:18 [13039] - info: [app] Web server closed to connections.
    15/3 15:18 [13039] - info: [app] Shutdown complete.
    15/3 15:18 [13064] - info: Time: Tue Mar 15 2016 15:18:20 GMT+0530 (IST)
    15/3 15:18 [13064] - info: Initializing NodeBB v0.9.3
    15/3 15:18 [13064] - info: [database] Checking database indices.
    15/3 15:18 [13064] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
    15/3 15:18 [13064] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative

    15/3 15:18 [13064] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

    • nodebb-plugin-telegram-notifications
    • nodebb-plugin-recent-cards

    15/3 15:18 [13064] - info: [User-Invitations] Initializing User-Invitations...
    15/3 15:18 [13064] - info: [User-Invitations] Synced settings: restrictRegistration=0, invitedUsers=[], defaultInvitations=25, inviteGroup=registered-users
    15/3 15:18 [13064] - info: NodeBB Ready
    15/3 15:18 [13064] - info: Enabling 'trust proxy'
    15/3 15:18 [13064] - info: NodeBB is now listening on: 0.0.0.0:4567



  • I just started getting this error today on 0.9.3 as well:

    15/3 07:14 [158700] - error: TypeError: Cannot assign to read only property 'id' of <
    at Object.Plugins.normalise (C:\Apps\nodebb\src\plugins.js:223:20)
    at Request._callback (C:\Apps\nodebb\src\plugins.js:214:12)
    at Request.self.callback (C:\Apps\nodebb\node_modules\request\request.js:198:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (C:\Apps\nodebb\node_modules\request\request.js:1035:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (C:\Apps\nodebb\node_modules\request\request.js:962:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    TypeError: Cannot assign to read only property 'id' of <
    at Object.Plugins.normalise (C:\Apps\nodebb\src\plugins.js:223:20)
    at Request._callback (C:\Apps\nodebb\src\plugins.js:214:12)
    at Request.self.callback (C:\Apps\nodebb\node_modules\request\request.js:198:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (C:\Apps\nodebb\node_modules\request\request.js:1035:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (C:\Apps\nodebb\node_modules\request\request.js:962:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)

    I haven't installed any plugins for weeks.

    Thanks,


  • Admin

    Hm, thanks for the reports, guys. It looks like perhaps a change I made in nbbpm caused the response to be invalid.

    Not quite sure what it is yet, but will track it down!


  • Admin

    Fixed in the package manager, your plugin lists should be working again.


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.