0

I've created a go application in openshift using the go cartridge but when I've updated my code to use beego when I push it I keep getting errors like:

An error occurred executing 'gear postreceive' (exit code: 1) and Error message: CLIENT_ERROR: Failed to execute: 'control build'

In my app.conf I've set the host and the port base on what openshift will provide. httphost = os.Getenv("HOST") httpport = os.Getenv("PORT")

But I still getting the errors mention above.

Thanks in advance guys

ginad
  • 1,863
  • 2
  • 27
  • 42
  • When the cartridge is built, any errors from the build will be logged in the application's log. Check the log in `~/app-root/logs` when ssh'd into the application for further information on what could be causing this. – Tim Dec 12 '14 at 15:19
  • Hello @Timbabwe I just check the logs and I only see haproxy.log and haproxy_ctld.log and when I opened it is just say that gear is down for maintenance but there's no log about the build error or why it's not building. Do you have some suggestion on this? Thanks – ginad Dec 12 '14 at 19:05
  • I've just saw https://github.com/eims/openshift-beego now it's working the only problem is that DIY is not designed to scale for now. – ginad Dec 15 '14 at 03:17

0 Answers0