Questions tagged [openshift-online-2]

OpenShift Online 2 will cease operation on 31 December 2017. Questions about OpenShift Online 3 should be tagged openshift-online-3.

OpenShift Online is Red Hat's Platform as a Service (PaaS), a cloud application development and hosting platform that automates the provisioning, management, and scaling of applications so that you can focus on writing code for your business, startup, or next big idea.

Check out the Getting Started page to get up and running quickly, see the Developer Portal for more in-depth topics, and visit the Help Center for even more resources and guidance.

84 questions
1
vote
0 answers

List installed RPM and install RPM from OpenShift cartridge

Is there a way to list installed RPM from OpenShift SSH console and install RPM from OpenShift cartridge? yum list doesn't work: error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed
krl
  • 292
  • 2
  • 10
1
vote
1 answer

Problems with the sessions and HAProxy in OpenShift

I have written an application using Kraken and deploy in OpenShift with the option of auto-scaling (use HAProxy) but this has led me two problems: 1) HAProxy constantly sends requests to the application, this resulted in a week has ~485k sessions…
Rodrigo Moreno
  • 243
  • 1
  • 2
  • 11
1
vote
1 answer

Cannot Restart Laravel Application After Updating OpenShift Environment Variables

I started up a new Laravel 5.0 Quick Start at OpenShift. The default laravel home page and auth pages worked just fine. I changed the OpenShift environment variables as follows: > rhc env set APP_DEBUG=true > rhc env set APP_ENV=development Note…
Trevor Reid
  • 113
  • 6
1
vote
0 answers

Adding mysql driver to tomcat openshift

I have deployed my war file on openshift tomcat. As suggested to deploy war file directly we need to remove the src and pom.xml before coping the war file in webapps folder. pre compiled java applications (WAR and EAR files) onto your OpenShift Now…
Om Singh
  • 11
  • 1
1
vote
1 answer

openshift won't start: "Address already in use"

I'm using openshift to evaluate/mess about with jboss's BRMS tool through their workshop they have start up on the page: http://www.jboss.org/products/brms/get-started/#!project=brms I have loaded it onto an openshift account I created a ruby…
1
vote
1 answer

OpenShift: MySQL PDO 'connection refused', works locally

I have an API i want to deploy to OpenShift, everything works locally, but when trying to use it online i get some problems. When trying to connect to the database, using PDO, i get this error: Failed to connect to the database: SQLSTATE[HY000]…
jonathan
  • 111
  • 2
  • 5
1
vote
0 answers

How to avoid OpenShift sub domains being cached by Google?

I've set up a custom domain with my OpenShift application. (Which is a blog) I've setup CloudFlare with page rules to redirect mydomain.com -> www.mydomain.com Now essentially, I've two aliases for my blog in the OpenShift account, namely for…
1
vote
1 answer

OpenShift cron does not run

I have the following file [subdomain.rhcloud.com minutely]\> pwd /var/lib/openshift/username/app-root/repo/.openshift/cron/minutely [subdomain.rhcloud.com minutely]\> ls -lha total 4.0K drwx------. 2 username username 24 Nov 20 21:08 . drwx------. 3…
Gaia
  • 1,855
  • 5
  • 34
  • 60
1
vote
0 answers

Openshift : SocketException (Permission denied) using Spring and embedded Ldap server

I'm facing the following error when I try to deploy my app which initializes an embedded Ldap server using Spring and ApacheDS on port 33389: 2014-10-20 12:55:22,933 ERROR (ContextLoader.java:331) - Context initialization…
1
vote
0 answers

OpenShift 504 gateway timeout

I'm testing OpenShift Free tier package and encountered 504 gateway timeout. I have installed WordPress on 2 small gears and MySQL on another small gear. The error was encountered when I run WordPress StatPress plugin in the admin dashboard. My…
Nexus
  • 11
  • 3
1
vote
2 answers

openshift git not working

I have uploaded code to my openshift JBoss server before but when I upload some code today there are no changes when I open the page in the browser. When I use git I use these commands: git add . --all git commit -m "newcomment2" git push when I…
1
vote
1 answer

Redhat OpenShift - Connection refused fatal: The remote end hung up unexpectedly

I'm trying to start using Redhat OpenShift with a JBoss 7 Server Cartridge, but as I'm trying to do a git clone I get: $ git clone ssh://username_from_openshift@application_name-host_name.rhcloud.com/~/git/application_name.git/…
Arturas M
  • 109
  • 1
  • 6
1
vote
0 answers

Nginx load balancing redirects to upstream "name"

Introduction: Please read this serverfault question on nginx load balancing issue with 301 from backend. Somewhat similar to my problem, but the answer doesn't work. Nginx is redirecting to the "name" of my upstream. The point is, this isn't an…
1
vote
1 answer

OpenShift: Connecting to JBoss EAP 6 management (SSH tunneling?)

I'm trying to connect to JBoss EAP 6 instance management on OpenShift. Connecting directly doesn't work (firewall), so I want to set up a SSH tunnel: ssh -L 10999:localhost:9999 683...@web-ozcz.rhcloud.com And then jboss-eap-6.1/bin/jboss-cli.sh…
Ondra Žižka
  • 434
  • 2
  • 5
  • 14
1
vote
2 answers

SSL Certificate error with Custom Domain in Openshift Wordpress

I'm trying to deploy a wordpress installation to Openshift but I can't refer my custom domain without a ssl certificate error when in the backend. I read a article and it says that it is expected, but I coundn't find how to get it working properly.…
André Lucas
  • 113
  • 5