marianoguerra / couchdb-for-openshift Goto Github PK
View Code? Open in Web Editor NEWjust merge, push, sit and relax
just merge, push, sit and relax
(Already mentioned in the comments for issue #8). The current erlang install is broken because it tries to bind to port 0.0.0.0 and that is not allowed on OpenShift. The main problem for couchdb is that replicating a remote database fails because of this issue. The issue is also described at http://blog.pyjeon.com/2013/11/07/erlang-ejabberd-on-openshift/. Just as a test, I made a recursive replace on all sources
find . -type f -print0 | xargs -0 sed -i 's/{0,0,0,0}/'"{${OPENSHIFT_DIY_IP//[.]/,}}"'/g'
After install, erlang/bin/epmd -address $OPENSHIFT_DIY_IP -debug still fails on "permission denied but
httpc:request(get, {"http://www.erlang.org", []}, [], []).
fails on etimedout and
erlang/bin/erl -sname my_name
fails on "Failed to create cookie file '/var/lib/openshift/b8d46b3b0000a3/.erlang.cookie", which is probably the easiest to fix. If you modify the sources carefully it seems like it'd be possible to get it to run properly but I don't pretend to understand erlang well enough so not going to attempt it.
Does this support Openshift's autoscaling?
hi, could you upgrade it... now its version 2...
just small changes,..
issue:
etc/rc.d/couchdb not exists
no direct access etc rc.d
not found... cannot call it,
connection closed by remote host... error siideband , remote hung up... and etc
due time out and installation canceled..
you must change TMOUT variable... because installing take too long
i just make it... after hour installation
change pre_build add
set -e
unset TMOUT
export TMOUT=
if not yet changed ssh to your server... then printenv TMOUT if nothing happen... change it manualy
Thanks a ton for the cartridge :-) I am facing this issue when trying to create an application using the steps mentioned: The error is
remote: --2016-02-23 07:31:49-- http://ftp.carnet.hr/misc/apache/couchdb/source
/1.6.0/apache-couchdb-1.6.0.tar.gz
remote: Resolving ftp.carnet.hr... 161.53.160.21, 2001:b68:ff:1::21
remote: Connecting to ftp.carnet.hr|161.53.160.21|:80... connected.
remote: HTTP request sent, awaiting response... 404 Not Found
remote: 2016-02-23 07:31:49 ERROR 404: Not Found.
remote:
remote: An error occurred executing 'gear postreceive' (exit code: 8)
remote: Error message: CLIENT_ERROR: Failed to execute action hook 'pre_build' f
or 56cc500b7628e1a00d0000f3 application clcouchdb0002
remote:
remote: For more details about the problem, try running the command again with t
he '--trace' option.
To ssh://[email protected]/~/git/c
lcouchdb0002.git/
ca88adc..ae96292 master -> master
Any idea as to what could be wrong? Thanks once again
Cheers,
M.M
Hey,
There is a change version of couchdb, the old url 1.6.0 doens't exist.
try
http://ftp.carnet.hr/misc/apache/couchdb/source/1.6.1/
index.html or index.php in the directory is not loaded. The server treats every url request as curl request to couchdb. Is there anything to do to display the frontend UI files?
Everytime I commit changes and run git push, couchdb reinstalls again. Is there something to be done to fix it?
I'm not sure if there's anything you can do about this a the client end, but I'm consistently getting a "Connection to xxx-yyy.rhcloud.com closed by remote host." several minutes after pushing the changes. The last lines of the stdout are:
remote: CC obj/x86_64-unknown-linux-gnu/opt/plain/erl_gc.o
Connection to xxx-yyy.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://[email protected]//git/mobilesurveyreports2.git//git/mobilesurveyreports2.git/'
26614e1..4b94f27 master -> master
error: failed to push some refs to 'ssh://[email protected]/
Thanks for sharing this cartridge!
Unfortunately the build fails on "wget http://artfiles.org/apache.org/couchdb/1.2.1/apache-couchdb-1.2.1.tar.gz"
I tried finding another location that had this file with no luck, then I tried checking out the tag from git and creating my own but I had troubles with autoconf that i never figured out :(
I'm hesitant to try 1.3 as I'm using 1.2.1 in production and I know that your cartridge worked at one point. Hoping you might know a solution.
Thanks
Hi mariano, I would love use couchbase with openshift, is possible adapt (and How hard would be) this extension for couchbase...thank!!
thanks!
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.