javascript – CouchDB views erroring out – Education Career Blog

I’ve been playing with CouchDB (and the RelaxDB ruby library) but creating a view and then trying to access it causes a nasty non specific error. I stepped back a step because I thought RelaxDB might be incompatible with the CouchDB version I’m using(0.8.1), but even when I create a new database and equivalent views and call it by manually hitting the URL it still doesn’t work.

info <0.13529.0> HTTP Error (code 500): {'EXIT',


I think you are using the 0.9 API with a 0.8 version of the software. See the wiki Breaking Changes document. You need to be accessing /hello/_view/app/Accounts_all, or consider upgrading to the newly-released CouchDB 0.9.


Check the log files for more specific information; IIRC the external response just give the 500 to prevent leaking configuration information to outsiders. If that doesn’t help you, edit the question to include what you found and see if any of us can suss it out.

Leave a Comment