The problem with Redis after upgrade to v0.7.0
-
-
@Kalbaskin said:
I updated nodebb from v0.6.1 to v0.7.0.
./nodebb log:
24/5 06:09 [5187] - info: Initializing NodeBB v0.7.0
24/5 06:09 [5187] - error: Unable to initialize Redis! Is Redis installed? Error :Cannot find module 'redisearch'What can be done?
Try installing the
redisearch
module:npm i redisearch
-
@julian npm i redisearch:
npm WARN package.json nodebb-plugin-webrtc@0.0.1 No README data
npm http GET https://registry.npmjs.org/redisearch/-/redisearch-0.0.4.tgz
npm http 200 https://registry.npmjs.org/redisearch/-/redisearch-0.0.4.tgz
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/natural
npm http 304 https://registry.npmjs.org/redis
npm http 304 https://registry.npmjs.org/natural
npm http GET https://registry.npmjs.org/sylvester
npm http GET https://registry.npmjs.org/apparatus
npm http 304 https://registry.npmjs.org/apparatus
npm http 304 https://registry.npmjs.org/sylvester
npm WARN unmet dependency /srv/next/nodebb/node_modules/socket.io requires socket.io-client@'1.3.5' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
redisearch@0.0.4 node_modules/redisearch
├── redis@0.12.1
└── natural@0.2.1 (apparatus@0.0.9, sylvester@0.0.21) -
@julian said:
Looks good.
./nodebb start
Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
./nodebb log
at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/srv/next/nodebb/src/file.js:7:12) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
3 restarts in 10 seconds, most likely an error on startup. Halting.
./nodebb reload
NodeBB could not be reloaded, as a running instance could not be found.
site - 502 Bad Gateway
-
@julian said:
Install the
node-legacy
package, andnpm install
again.Ok. a log of my actions: http://pastebin.com/myBRB29z
Oh my God, it works! Many reports "warn" scare me o_O It seems everything is working so. Without shutdown themes and plugins.
P.S.: v0.7.0 release very good! As if there was not. Thank you!