tag:blogger.com,1999:blog-4055867577021346923.post2437322020102858150..comments2023-03-06T00:16:42.787-08:00Comments on brianwcook.com: Deploy Trac on OpenShift in under 5 minutesAnonymoushttp://www.blogger.com/profile/13023779905099638562noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4055867577021346923.post-11666075271304905952014-12-21T10:18:51.857-08:002014-12-21T10:18:51.857-08:00How do i setup authentication using this? I am usi...How do i setup authentication using this? I am using the following command :- /var/lib/openshift/54970d81fcf9333ceb00000e/app-root/runtime/repo/trac/tracd -b 127.13.21.129 -p 8080 -s /var/lib/openshift/54970d81fcf9333ceb00000e/app-root/data/foundationissues --auth="foundationissues,/var/lib/openshift/54970d81fcf9333ceb00000e/app-root/runtime/repo/passwords,foundationdriven"<br />Anonymoushttps://www.blogger.com/profile/12912985619398030929noreply@blogger.comtag:blogger.com,1999:blog-4055867577021346923.post-24627097892660704602014-04-28T04:55:53.112-07:002014-04-28T04:55:53.112-07:00The action hooks require some updating as they ref...The action hooks require some updating as they refer to wrong openshift env variables. I.e. the start script under $OPENSHIFT_REPO_DIR/.openshift/action_hooks should look like what I attached below. Note the use of $OPENSHIFT_DIY_IP instead of $OPENSHIFT_INTERNAL_IP and $OPENSHIFT_DIY_PORT instead of $OPENSHIFT_INTERNAL_PORT. Best to change in your local repository and then commit/ add and push to openshift.<br /><br />Seems to solve at least the 503 problem ... But need to test to see how everything else is working.<br /><br />[trac-eventide.rhcloud.com action_hooks]\> cd $OPENSHIFT_REPO_DIR/.openshift/action_hooks<br />[trac-eventide.rhcloud.com action_hooks]\> cat start<br />TRACDIR=trac<br />echo "Starting TRAC:"<br />echo "$OPENSHIFT_REPO_DIR$TRACDIR/tracd -b $OPENSHIFT_DIY_IP -p 8080 -s $OPENSHIFT_DATA_DIR$OPENSHIFT_APP_NAME"<br />$OPENSHIFT_REPO_DIR$TRACDIR/tracd -b $OPENSHIFT_DIY_IP -p $OPENSHIFT_DIY_PORT -s $OPENSHIFT_DATA_DIR$OPENSHIFT_APP_NAME -d --pidfile=$OPENSHIFT_REPO_DIR$TRACDIR/trac.pid<br /><br />Hth[BOFH]Basiliskhttps://www.blogger.com/profile/01152617444991781669noreply@blogger.comtag:blogger.com,1999:blog-4055867577021346923.post-88451964376196837682014-04-17T17:50:07.538-07:002014-04-17T17:50:07.538-07:00Thank you so much for this tutorial, Brian. After ...Thank you so much for this tutorial, Brian. After following the steps you explained I got an error.<br />When I open my website a 503 error appears. I tried to restart the application, but it continues showing the error. Could you please provide some further information about this error? Thanks =)Anonymoushttps://www.blogger.com/profile/10598662310545208621noreply@blogger.comtag:blogger.com,1999:blog-4055867577021346923.post-87812260049111094042013-08-20T21:54:39.841-07:002013-08-20T21:54:39.841-07:00Hi Brian Cook, i got 503 error after deployed and ...Hi Brian Cook, i got 503 error after deployed and view on my url. Could you please help me to sovle this problem? thanksmaxstringhttps://www.blogger.com/profile/04943754035270198256noreply@blogger.comtag:blogger.com,1999:blog-4055867577021346923.post-60308358686029299422013-02-24T20:31:33.923-08:002013-02-24T20:31:33.923-08:00Great idea!Great idea!Ivanelsonhttps://www.blogger.com/profile/12483885674032082922noreply@blogger.com