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
0
votes
1 answer

Getting the current git revision on openshift

I'm deploying to OpenShift with git push as specified. Now I'm trying to set up deployment notifications with rollbar.com, but rollbar needs the git revision to log which commit is being deployed. I'm using an openshift deploy hook, so I need to…
0
votes
1 answer

Configuring Passenger on Openshift

When running a Ruby application on Openshift, is it possible to specify custom Passenger configuration options? In particular, I'd like to override the value of PassengerMaxPoolSize that's getting set in…
0
votes
1 answer

Openshift cron not working

I'm using OpenShift and I have a shell script that is executable and can be run from the command line, however cron doesn't seem to even attempt to run it. I have placed my shell script in ~/cron/minutely When I run: /sbin/service crond status, I…
Josh
  • 141
  • 3
0
votes
1 answer

Rails app deploy on openshift

I'm trying to deploy Rails application no openshift (rails-2.0 + postrgesql). I think automatic deploy on git push didn't execute rake task db:setup and db:migrate, because I see PG::UndefinedTable: ERROR: relation "users" does not exist in…
user136379
  • 109
  • 3
0
votes
1 answer

Openshift permission denied for upload and changing directories through sftp in filezilla

I can't upload or change directory permission through sftp in filezilla; copying is fine though. I'm getting permission denied for this. Even through PuTTy sftp, sudo returns a permission denied. How do i get around to accessing files just so i can…
Captain
  • 11
  • 1
0
votes
1 answer

Update Mojarra libraries on OpenShift JBoss AS 7

I'm trying to run my application on OpenShift JBoss AS 7 but I ran into a bug in older versions of Mojarra which are unfortunatelly shipped with the server. https://java.net/jira/browse/JAVASERVERFACES-2277 On my local JBoss, I was able to modify…
user219882
  • 101
  • 2
0
votes
1 answer

OpenShift allow permanent external access to PostgreSQL

I have an OpenShift gear with Nginx and PostgreSQL, and need to allow a Java applet (served from Nginx) direct access to the PG database. I've already tried to edit ~/postgresql/conf/postgresql.conf.erb.hidden, however I don't seem to have the…
0
votes
1 answer

Disable gzip in the response and enable range headers in redhat openshift

I deployed a node js application in the openshift cloud hosting. And i noticed that all the responses have gzipped automatically and the range headers got missing in every response header. Although I enable the range header but still its getting…
Manish Rawat
  • 101
  • 3
0
votes
2 answers

Configuring wsgi application to serve a static html?

I'm looking to install www.planetplanet.org in openshift. I've hosted a few php apps on openshift, but am not sure how python apps work. The openshift template gives me a wsgi.py file, which needs the 'application' module / function as its…
gopher
  • 1
  • 3
0
votes
1 answer

OpenShift with Laravel displaying sensitive data on debug mode

I'm having Laravel on debug mode in Openshift. But the information printed out sensitive data like: REDIRECT_OPENSHIFT_MYSQL_DB_PASSWORD XXXXXXXXXXXXX REDIRECT_OPENSHIFT_CLOUD_DOMAIN XXXXXXXXXXX REDIRECT_OPENSHIFT_APP_SSH_PUBLIC_KEY …
Loon Yew
  • 11
  • 3
0
votes
1 answer

504 error crash on openshift

I have deployed a java application in openshift. I am using bronze plan. My application is a scaled application and also uses 4GB of memeory. I got an 504 error crash two or more times in a day. Please any one help me.
sara
  • 1
0
votes
2 answers

where to put wordpress htaccess on openshift

I have cloned my wordpress application from openshift with git, in my cloned application there is php folder, when i put my htaccess file in it then i commit my changes like this : git add -A git commit -m 'ok' git push My htaccess file is not…
Mokrane
  • 101
  • 1
  • 2
0
votes
1 answer

Openshift PHP app throws "404 Page not found error" with custom domain name

I have a PHP app on Openshift which is working fine with the native URL (e.g xyz-xy.rhcloud.com). Later I added an alias to the app(e.g, www.xyz.com) and I also updated the CName in my Zone file at godaddy.com. When I enter www.xyz.com, it redirects…
0
votes
1 answer

How do I make html files accessible from OpenShift server running python?

I have an OpenShift DIY app running Python. However, I cannot reach static files like html. (or run php) If I try accessing: mydomain.rhcloud.com/hello.html, I get: uWSGI Error Python application not found. Could you please help how i can make html…
user187026
0
votes
1 answer

Redirect clients through ssh tunnel to different server

I have a Debian server, and an OpenShift gear. To access the gear, clients need to connect to it with a SSH tunnel. I want people to instead connect to my main server using a normal connection, and have my server send their requests through a SSH…