Error updating to v0.9.x from v0.8.2



  • Upon starting up the server again (./nodebb start) I am receiving the following error:

    7/11 01:02 [23789] - info: [plugins/spam-be-gone] Settings loaded
    7/11 01:02 [23789] - info: NodeBB Ready
    7/11 01:02 [23789] - info: Enabling 'trust proxy'
    7/11 01:02 [23789] - info: NodeBB is now listening on: 0.0.0.0:4567
    7/11 01:02 [23789] - error: TypeError: Object socket.io#4f9F7r has no method 'split'
        at Redis.onmessage (/home/user/bbirdie/node_modules/socket.io-redis/index.js:92:26)
        at RedisClient.EventEmitter.emit (events.js:106:17)
        at RedisClient.return_reply (/home/user/bbirdie/node_modules/redis/index.js:656:22)
        at /home/user/bbirdie/node_modules/redis/index.js:307:18
        at process._tickDomainCallback (node.js:459:13)
    TypeError: Object socket.io#4f9F7r has no method 'split'
        at Redis.onmessage (/home/user/bbirdie/node_modules/socket.io-redis/index.js:92:26)
        at RedisClient.EventEmitter.emit (events.js:106:17)
        at RedisClient.return_reply (/home/user/bbirdie/node_modules/redis/index.js:656:22)
        at /home/user/bbirdie/node_modules/redis/index.js:307:18
        at process._tickDomainCallback (node.js:459:13)
    7/11 01:02 [23789] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    7/11 01:02 [23789] - info: [app] Database connection closed.
    7/11 01:02 [23789] - info: [app] Web server closed to connections.
    7/11 01:02 [23789] - info: [app] Shutdown complete.
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    

    Any idea what is wrong?

    Edit: I've removed the node_modules folder and npm install everything again with the same error.

    Edit 2: I've rolled back to the backup right before this and now all of my default gravatar pictures are gone? Has the option to generate the default gravatar image link been removed? I only see an upload option and that does not work either.

    Upon clicking on the user link I receive this error:

    /{relative_path}/user/userName Not Found 
    You seem to have stumbled upon a page that does not exist. Return to the home page.
    

    The above error is for the profile image icons.


  • Staff Admin

    What is the out of npm ls socket.io-redis and npm ls redis



  • @baris

    socket.io-redis:

    └── socket.io-redis@0.1.4
    

    redis:

    nodebb@0.9.0 /home/user/bbirdie-old
    ├── redis@2.3.0
    ├─┬ redisearch@0.0.5
    │ └── redis@0.12.1
    └─┬ socket.io-redis@0.1.4
      └── redis@0.10.1
    

    Also, is it a plugin to generate the letters for the profile image? Or a new feature in v0.9?


  • Staff Admin

    Not sure why your redis version is so far ahead it should be at redis@~0.10.1.

    Try npm i redis@~0.10.1

    The user icons are a new feature in 0.9.0



  • @baris I will give this a try tomorrow when I get the chance. Thank you.


  • GNU/Linux Admin

    @SimonQ You can re-enable gravatar functionality by installing nodebb-plugin-gravatar.


Log in to reply
 

Suggested Topics

| |