kafecho / ansible-couchdb2 Goto Github PK
View Code? Open in Web Editor NEWAnsible role to deploy CouchDB 2.0 on CentOS.
Ansible role to deploy CouchDB 2.0 on CentOS.
the error is at the bottom of this issue. if i rerun the playbook, it finishes without errors, but couchdb is not completely installed. for example, if the instance runs, it doesn't have fauxton.
any ideas on how to fix it?
TASK [couchdb2 : execute make install] *****************************************
fatal: [ip.removed.for.github.issue]: FAILED! => {"changed": true, "cmd": "make install", "delta": "0:00:02.897168", "end": "2016-04-17 11:53:26.118464", "failed": true, "rc": 2, "start": "2016-04-17 11:53:23.221296", "stderr": "ERROR: compile failed while processing /tmp/couchdb/src/cassim: rebar_abort\nmake: *** [couch] Error 1", "stdout": "WARN: Directory expected to be an app dir, but no app file found \nin ebin/ or src/:\n/tmp/couchdb/src/chttpd\nWARN: Expected /tmp/couchdb/src/docs to be a raw dependency directory, but no directory found.\nWARN: Expected /tmp/couchdb/src/fauxton to be a raw dependency directory, but no directory found.\n==> couch_epi (compile)\n==> config (compile)\n==> b64url (compile)\n==> cassim (compile)\nCompiled src/cassim_app.erl\n/tmp/couchdb/src/cassim/src/cassim.erl:46: can't find include lib "couch/include/couch_db.hrl"\n/tmp/couchdb/src/cassim/src/cassim.erl:61: record httpd undefined\n/tmp/couchdb/src/cassim/src/cassim.erl:65: record httpd undefined\n/tmp/couchdb/src/cassim/src/cassim.erl:66: variable 'Roles' is unbound\n/tmp/couchdb/src/cassim/src/cassim.erl:69: record httpd undefined\n/tmp/couchdb/src/cassim/src/cassim.erl:76: record user_ctx undefined\n/tmp/couchdb/src/cassim/src/cassim.erl:77: variable 'Roles' is unbound\nCompiling /tmp/couchdb/src/cassim/src/cassim.erl failed:", "stdout_lines": ["WARN: Directory expected to be an app dir, but no app file found ", "in ebin/ or src/:", "/tmp/couchdb/src/chttpd", "WARN: Expected /tmp/couchdb/src/docs to be a raw dependency directory, but no directory found.", "WARN: Expected /tmp/couchdb/src/fauxton to be a raw dependency directory, but no directory found.", "==> couch_epi (compile)", "==> config (compile)", "==> b64url (compile)", "==> cassim (compile)", "Compiled src/cassim_app.erl", "/tmp/couchdb/src/cassim/src/cassim.erl:46: can't find include lib "couch/include/couch_db.hrl"", "/tmp/couchdb/src/cassim/src/cassim.erl:61: record httpd undefined", "/tmp/couchdb/src/cassim/src/cassim.erl:65: record httpd undefined", "/tmp/couchdb/src/cassim/src/cassim.erl:66: variable 'Roles' is unbound", "/tmp/couchdb/src/cassim/src/cassim.erl:69: record httpd undefined", "/tmp/couchdb/src/cassim/src/cassim.erl:76: record user_ctx undefined", "/tmp/couchdb/src/cassim/src/cassim.erl:77: variable 'Roles' is unbound", "Compiling /tmp/couchdb/src/cassim/src/cassim.erl failed:"], "warnings": []}
I think it's better not to disable the firewall. The package is just about building CouchDB. Let the user handle the firewall instead of just disabling it and open a potential security risk. Or at least place big disclaimer in the README.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.