You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default redis installation in ubuntu 12.04 is 2.2. If I was paying closer attention to the requirements I would have noticed that hatch requires 2.6+. Instead I got this error message when trying to visit the root:
Error: zrange lua script is not loaded
at RedisHQ.all (/home/chrisf/dev/hatchjs/node_modules/jugglingdb-redis-hq/lib/adapter.js:839:19)
at Function.all (/home/chrisf/dev/hatchjs/node_modules/jugglingdb/lib/model.js:487:25)
at Function.findOne (/home/chrisf/dev/hatchjs/node_modules/jugglingdb/lib/model.js:602:10)
at loadPage (/home/chrisf/dev/hatchjs/lib/middleware.js:116:26)
at async.parallel.req.member (/home/chrisf/dev/hatchjs/lib/middleware.js:54:17)
at /home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:511:21
at /home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:227:13
at /home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:111:13
at Array.forEach (native)
at _each (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:32:24)
at async.each (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:110:9)
at _asyncMap (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:226:9)
at Object.map (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:204:23)
at _parallel (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:509:20)
at Object.async.parallel (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:539:9)
at Object.hatchMiddleware as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:168:78)
at end (/home/chrisf/dev/hatchjs/lib/middleware.js:35:13)
at Object.rewriteMiddleware as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.handle (/home/chrisf/dev/hatchjs/lib/middleware.js:294:9)
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.csrfProtection as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.module.exports as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.methodOverride as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.session as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.cookieParser as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.multipart as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.json as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.urlencoded as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at SendStream.error (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/node_modules/serve-static/index.js:86:37)
at SendStream.EventEmitter.emit (events.js:95:17)
at SendStream.error (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:172:51)
at SendStream.onStatError (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:285:48)
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:484:28)
at /home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:492:23
at Object.oncomplete (fs.js:107:15)
Obviously this is a feature request but it would be nice to have a failure on startup that gives a more reasonable error.
The text was updated successfully, but these errors were encountered:
The default redis installation in ubuntu 12.04 is 2.2. If I was paying closer attention to the requirements I would have noticed that hatch requires 2.6+. Instead I got this error message when trying to visit the root:
Error: zrange lua script is not loaded
at RedisHQ.all (/home/chrisf/dev/hatchjs/node_modules/jugglingdb-redis-hq/lib/adapter.js:839:19)
at Function.all (/home/chrisf/dev/hatchjs/node_modules/jugglingdb/lib/model.js:487:25)
at Function.findOne (/home/chrisf/dev/hatchjs/node_modules/jugglingdb/lib/model.js:602:10)
at loadPage (/home/chrisf/dev/hatchjs/lib/middleware.js:116:26)
at async.parallel.req.member (/home/chrisf/dev/hatchjs/lib/middleware.js:54:17)
at /home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:511:21
at /home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:227:13
at /home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:111:13
at Array.forEach (native)
at _each (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:32:24)
at async.each (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:110:9)
at _asyncMap (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:226:9)
at Object.map (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:204:23)
at _parallel (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:509:20)
at Object.async.parallel (/home/chrisf/dev/hatchjs/node_modules/async/lib/async.js:539:9)
at Object.hatchMiddleware as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:168:78)
at end (/home/chrisf/dev/hatchjs/lib/middleware.js:35:13)
at Object.rewriteMiddleware as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.handle (/home/chrisf/dev/hatchjs/lib/middleware.js:294:9)
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.csrfProtection as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.module.exports as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.methodOverride as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.session as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.cookieParser as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.multipart as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.json as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at Object.urlencoded as handle
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/lib/proto.js:193:15)
at SendStream.error (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/connect/node_modules/serve-static/index.js:86:37)
at SendStream.EventEmitter.emit (events.js:95:17)
at SendStream.error (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:172:51)
at SendStream.onStatError (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:285:48)
at next (/home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:484:28)
at /home/chrisf/dev/hatchjs/node_modules/express/node_modules/send/lib/send.js:492:23
at Object.oncomplete (fs.js:107:15)
Obviously this is a feature request but it would be nice to have a failure on startup that gives a more reasonable error.
The text was updated successfully, but these errors were encountered: