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 [email protected] 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
[email protected] node_modules/redisearch
├── [email protected]
└── [email protected] ([email protected], [email protected]) -
@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:
Run
npm install
again# npm installnpm WARN package.json [email protected] No README data - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin (pastebin.com)
-
@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!