Issue with nodebb-plugin-gdpr / emoji after upgrade to 1.19.2

Unsolved Technical Support
  • Hi All.

    I've upgraded to 1.19.2 this morning, and the below appeared shortly afterwards in the logs

    2022-02-10T10:42:03.311Z [4567/279044] - error: TypeError: Cannot read property 'require_consent' of undefined
        at /home/sudonix/nodebb/node_modules/nodebb-plugin-gdpr/library.js:113:32
        at /home/sudonix/nodebb/src/promisify.js:43:50
        at cb (util.js:290:31)
        at processTicksAndRejections (internal/process/task_queues.js:82:21)
    2022-02-10T10:42:03.311Z [4567/279044] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2022-02-10T10:42:03.312Z [4567/279044] - error: Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
        at new NodeError (internal/errors.js:322:7)
        at Server.close (net.js:1624:12)
        at Object.onceWrapper (events.js:519:28)
        at Server.emit (events.js:412:35)
        at emitCloseNT (net.js:1677:8)
        at processTicksAndRejections (internal/process/task_queues.js:81:21)
    

    I've worked around this temporarily by using ./nodebb reset -p nodebb-plugin-gdpr but can this be fixed ?

    I also see many errors relating to the emoji plugin

    2022-02-10T10:44:18.537Z [4567/280044] - error: [emoji] Failed to retrieve data for parse ENOENT: no such file or directory, open '/home/sudonix/nodebb/node_modules/nodebb-plugin-emoji/build/emoji/aliases.json' {"code":"ENOENT","errno":-2,"path":"/home/sudonix/nodebb/node_modules/nodebb-plugin-emoji/build/emoji/aliases.json","stack":"Error: ENOENT: no such file or directory, open '/home/sudonix/nodebb/node_modules/nodebb-plugin-emoji/build/emoji/aliases.json'","syscall":"open"}
    

    This doesn't stop NodeBB from running, but concerning nonetheless.

    Thanks

  • @phenomlab I have the same thing. It's probably worth creating a separate theme after each update to quickly identify incompatible plugins.

  • @phenomlab said in Issue with nodebb-plugin-gdpr / emoji after upgrade to 1.19.2:

    Hi All.

    I've upgraded to 1.19.2 this morning, and the below appeared shortly afterwards in the logs

    2022-02-10T10:42:03.311Z [4567/279044] - error: TypeError: Cannot read property 'require_consent' of undefined
        at /home/sudonix/nodebb/node_modules/nodebb-plugin-gdpr/library.js:113:32
        at /home/sudonix/nodebb/src/promisify.js:43:50
        at cb (util.js:290:31)
        at processTicksAndRejections (internal/process/task_queues.js:82:21)
    2022-02-10T10:42:03.311Z [4567/279044] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2022-02-10T10:42:03.312Z [4567/279044] - error: Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
        at new NodeError (internal/errors.js:322:7)
        at Server.close (net.js:1624:12)
        at Object.onceWrapper (events.js:519:28)
        at Server.emit (events.js:412:35)
        at emitCloseNT (net.js:1677:8)
        at processTicksAndRejections (internal/process/task_queues.js:81:21)
    

    I've worked around this temporarily by using ./nodebb reset -p nodebb-plugin-gdpr but can this be fixed ?

    Curious as to any progress around this particular plugin issue ?

    Thanks

  • @phenomlab Can you please try v1.1.0 of the GDPR plugin?

  • @julian Will do. Thanks

  • @julian Done

    Installed 1.1.0 | Latest 1.0.12

    Seems to be working.


Suggested Topics