ERR unknown command 'evalsha'

1,715 views
Skip to first unread message

William Ang

unread,
Jul 14, 2013, 6:14:15 PM7/14/13
to der...@googlegroups.com
So I'm trying to get the first-project example working, and I've installed the latest redis, mongodb, and derby.js. Everything seems to install fine, the mongo-db and redis services started up after install, and I create the first-project example. When I try to add something to the list on the example page, nothing happens, and then when I refresh the page, I get this:

> ./node_modules/coffee-script/bin/coffee server.coffee

Master pid  10884
10890 listening. Go to: http://localhost:3000/
Rollback a create from state ready

/home/william/first-project/node_modules/redis/index.js:516
                throw callback_err;
                      ^
Error: ERR unknown command 'evalsha'
  at ReplyParser.<anonymous> (/home/william/first-project/node_modules/redis/index.js:263:27)
  at ReplyParser.EventEmitter.emit (events.js:95:17)
  at ReplyParser.send_error (/home/william/first-project/node_modules/redis/lib/parser/javascript.js:296:10)
  at ReplyParser.execute (/home/william/first-project/node_modules/redis/lib/parser/javascript.js:181:22)
  at RedisClient.on_data (/home/william/first-project/node_modules/redis/index.js:488:27)
  at Socket.<anonymous> (/home/william/first-project/node_modules/redis/index.js:82:14)
  at Socket.EventEmitter.emit (events.js:95:17)
  at Socket.<anonymous> (_stream_readable.js:736:14)
  at Socket.EventEmitter.emit (events.js:92:17)
  at emitReadable_ (_stream_readable.js:408:10)
  at emitReadable (_stream_readable.js:404:5)
  at readableAddChunk (_stream_readable.js:165:9)
  at Socket.Readable.push (_stream_readable.js:127:10)
  at TCP.onread (net.js:526:21)

I tried reinstallling Redis again to see if that was the problem, but I still get the same error. Any ideas?

Nate Smith

unread,
Jul 14, 2013, 9:50:53 PM7/14/13
to der...@googlegroups.com

Which version of Red is are you using? 2.6 or higher is required

--
You received this message because you are subscribed to the Google Groups "Derby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to derbyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

William Ang

unread,
Jul 14, 2013, 10:29:09 PM7/14/13
to der...@googlegroups.com, na...@nateps.com
Just downloaded Redis 2.6.14 today and am using that.

Brian Noguchi

unread,
Jul 15, 2013, 1:37:28 AM7/15/13
to der...@googlegroups.com
Are you running the correct Redis binary? What version is printed out to the console when you run

$ redis-server --version

Sent from Mailbox for iPhone

William Ang

unread,
Jul 15, 2013, 9:39:17 PM7/15/13
to der...@googlegroups.com
Oops- turns out that it's running redis server version 2.2.12, which is weird since I reinstalled the 2.6. I'll see if I can't fix that; at least I know the problem now. Thanks for  the suggestion. 
Reply all
Reply to author
Forward
0 new messages