Hosting YouTrack on (free) OpenShift cloud

I found an article about how to set up YouTrack on a (free) OpenShift cloud account.
Perhaps this could be of interest to one or more people here.

http://www.codenibbles.com/blog/2012/07/16/cloudify-youtrack-on-openshift/

I had to make a few adjustments to the procedure to get it to work with the current OpenShift version and the latest youtrack version (4.0.2).

1. OpenShift now runs 64 bit, so make sure to grab the 64 bit wrapper

2. There seem to be more restrictions on internal socket connections, since the wrapper failed to start initially because it couldn’t listen on any port from 32000 to 32999.
I solved this by adding this to wrapper.conf:
wrapper.backend.type=PIPE

3. YouTrack persistently tried to write it’s database in the server home dir, which is not actually writable.
I finally solved that by adding one more parameter to wrapper.conf:
wrapper.java.additional.19=-Ddatabase.location=%OPENSHIFT_DATA_DIR%/teamsysdata
1 comment
Comment actions Permalink
Maarten!

Thanx a lot for sharing it with us.
0

Please sign in to leave a comment.