sessions design doc has not been deployed to dev.bm.net
the cron task to clean up sessions is currently failing (see log attached).
This is because it can't find the design document to run it's queries. I confirmed that the design doc is missing:
root@elk:~# curl --netrc-file /etc/couchdb/couchdb.netrc -X GET 'http://127.0.0.1:5984/sessions/_all_docs?startkey="_d"&endkey="_e"' {"total_rows":16396,"offset":16396,"rows":[ ]}
Other design docs are present:
root@elk:~# curl --netrc-file /etc/couchdb/couchdb.netrc -X GET 'http://127.0.0.1:5984/tokens/_all_docs?startkey="_d"&endkey="_e"' {"total_rows":1,"offset":0,"rows":[ {"id":"_design/Token","key":"_design/Token","value":{"rev":"3-2eab260b3332bd4f2ccb99ccf22f5065"}} ]}
The "file for the design doc":https://github.com/leapcode/leap_platform/blob/develop/puppet/modules/site_couchdb/files/designs/sessions/Session.json is in the site_couchdb module already.
(from redmine: created on 2013-12-13, closed on 2013-12-22, relates #4780 (closed), duplicates #4689)