openshift

Jenkins BUILD FAILED/CANCELLED on openshift

江枫思渺然 提交于 2020-01-06 07:46:51
问题 I have problems pushing new code to my openshift application with jenkins. I have enabled jenkins from web console admin and it works(no custom settings). However I have to push at least 2 times before it pushes new changes to my app. I have bronze plan. I use 3 apps (main app, database app, jenkins) and when pushing, jenkins creates 4th app. Pushing new version of app takes a long time, since I upgrade search index after every push. When I push for the first time, this is what I get: git

Jenkins BUILD FAILED/CANCELLED on openshift

寵の児 提交于 2020-01-06 07:46:11
问题 I have problems pushing new code to my openshift application with jenkins. I have enabled jenkins from web console admin and it works(no custom settings). However I have to push at least 2 times before it pushes new changes to my app. I have bronze plan. I use 3 apps (main app, database app, jenkins) and when pushing, jenkins creates 4th app. Pushing new version of app takes a long time, since I upgrade search index after every push. When I push for the first time, this is what I get: git

how to get kaa deployed on openshift

北城余情 提交于 2020-01-06 07:00:52
问题 The Kaa platform as an IoT cloud platform is prebuilt to run on amazon aws or a virtualbox sandbox. Is it immediately deployable to openshift, especially the starter free plan? If not, what it takes to get it to work? I have looked at the python on openshift which uses the S2I to dockerize a software collections version of python, e.g. 2.7. I'm wondering how these projects or technologies would work together to make Kaa to run on multiple platforms, or to make more versions/flavors/variants

Openshift: App fails to start after push due to OSError: [Errno 98] Address already in use

拟墨画扇 提交于 2020-01-06 03:37:29
问题 As of yesterday, 3/12/2014 I started getting errors pushing my free Python 3.3, Mongodb, cron app to the Openshift server. There error is OSError: [Errno 98] Address already in use I can get the app to push and run correctly if I do a 'rhc app-force-stop' first then to my push everytime(pain in the butt). It seems like push is no longer stopping the app before the push and restart. Everything was working fine yesterday morning so the issue has cropped up in the last 24 hours. Any comments

Running Proxy servlet on Openshift

荒凉一梦 提交于 2020-01-06 03:07:08
问题 This app http://bit.ly/1vNUIsU originally worked with Openshift, after deleting the app, then re-creating, its not working anymore, its very odd. The same code worked before. Not sure what happened. In any case, I've tried everything, rhc app-tidy and rhc tail but the app just keeps loading Error 503 when accessed. I am not sure if the issue is with Restlet as it worked before. What could be the issues of Restlet with Openshift just in case? Code: public class FirstStepsApplication extends

MySQL / CodeIgniter configuration on OpenShift

♀尐吖头ヾ 提交于 2020-01-05 10:07:40
问题 I've deployed a PHP/CodeIgniter app to my OpenShift gear, but I'm getting an error Unable to connect to your database server using the provided settings. Filename: core/Loader.php Line Number: 346 After reading around, I'm guessing this is a problem of setting up my database configuration in CodeIgniters config/database.php I've picked up that Openshift advises using environment variables rather than ip addresses, I've retrieved my details through SSH > grep|env and I've tried various ways of

MySQL / CodeIgniter configuration on OpenShift

旧街凉风 提交于 2020-01-05 10:07:11
问题 I've deployed a PHP/CodeIgniter app to my OpenShift gear, but I'm getting an error Unable to connect to your database server using the provided settings. Filename: core/Loader.php Line Number: 346 After reading around, I'm guessing this is a problem of setting up my database configuration in CodeIgniters config/database.php I've picked up that Openshift advises using environment variables rather than ip addresses, I've retrieved my details through SSH > grep|env and I've tried various ways of

How to convert Maven War project to an EAR project in Openshift?

女生的网名这么多〃 提交于 2020-01-05 08:56:44
问题 I have created an JEE application in Openshift using the JBOSS AS 7.1 cartridge a Maven project have been generated with the War deployment format. I need to use EJBs into the application but the War format cannot hold EJB so I changed the from War to Ear, the problem is that when I deploy the Ear the application does not Work(404 Error when I access the home page). Is there any simple solution in order to make this work? Or Should I create two seperate projects(one EJB project and another

Maven build not finding custom jar already installed in local openshift project repo

我的未来我决定 提交于 2020-01-05 08:19:43
问题 I am facing an issue when trying to build my project (from the Eclipse Openshift plugin). 1.) I have a custom dependency, which at first I followed instructions on Open Shift Knowledgebase Article "Using your own jar files..." 2.) On commit and publish with above, the error still persisted, thereby I changed the openshift pre_build action hook as noted in this post on the Openshift forums "Resolved custom jar dependency..." However, I am still getting an error on commit and publish from

How to get letsencrypt to work on Openshift site

岁酱吖の 提交于 2020-01-05 05:27:09
问题 I hope someone can help me get my site set up with HTTPS correctly on Openshift. Here's the steps I took: I have an Openshift site let's call it - myOSsite-myname.rhcloud.com I have a domain name through GoDaddy -- mydomain.com. I've set my domain on GoDaddy to forward to Openshift so now: www.mydomain.com --> myOSsite-myname.rhcloud.com I set up two aliases on Openshift -- mydomain.com & www.mydomain.com I went through some letsencrypt tutorials to manually generate a certificate. So now the