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
3 answers

CNAME, openshift, MX

I had records in my DNS panel: subdomain type domain priority (for MX) @ CNAME app-***.rhcloud.com. @ MX mx.yandex.ru. 10 mail CNAME …
MInner
  • 109
  • 6
1
vote
1 answer

why i cannot run screen command on openshift?

i am using redhat openshift, and find some problems now: a) why default screen can not support path which contains too much characters [xxname-xxname.rhcloud.com ~]\> which screen /usr/bin/screen [xxname-xxname.rhcloud.com ~]\> screen -S l LoginName…
giantforest
  • 239
  • 1
  • 4
  • 15
0
votes
0 answers

use `rhc` client to run local script on remote server

I was looking at this thread https://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-a-shell-script-on-a-remote-machine I am trying to figure out how to use the rhc command to run a local script on the remote server. I can ssh into my…
0
votes
1 answer

Nginx - Redirect the rest of the alias domains to a main one in OpenShift

I'm trying to redirect permanently a couple of alias domains of an application in OpenShift to a main one for SEO purposes. The application is running a working instance of Openshift Nginx Cartridge. I currently have: server { listen <%=…
0
votes
1 answer

Openshift - when cloning existing app, updating files on `~/.env/user_vars` raises `Permission denied`

after cloning the existing openshift app using rhc app create dev --from-app sample/live, I push the repo to execute the build. Then it raises an error while building. server reponse: ... ~/.env/user_vars/APP_ENV: Permission denied ... ... Error…
marlo
  • 123
  • 5
0
votes
1 answer

Where to place the .htaccess file on OpenShift for Drupal?

I would like to redirect to https and add this code to a .htaccess file for Drupal. Where should I place this file? RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www.domainname\.com* RewriteRule ^(.*)$ https://domainname.com/$1…
user24957
  • 101
  • 1
0
votes
1 answer

OpenShift Free Tier: 503 Service Unavailable

I've been working on my Ghost theme for the last few hours, and suddenly this error. Attached is a copy of my HAProxy status output. I've restarted both NodeJS and HAProxy. Neither restart fixed the issue, and both are showing as running in the…
0
votes
1 answer

Automatically increase OpenShift SSH timeout

When I SSH into my gear on OpenShift the default SSH timeout is 300 seconds, which I find too short. I can run either of the following commands in the terminal to fix this: export TMOUT=30000 unset TMOUT However, doing this on each login is a chore…
Ninjakannon
  • 101
  • 3
0
votes
1 answer

Wordpress on OpenShift will not load (310 error) without "www." on example.com in General Settings

I installed a Wordpress site on an OpenShift Online [PAAS] account. If I configure Wordpress Address & Site Address (in General Settings) both to http:// example.com (without the space; I added the space here to not be prevented from posting with…
cellepo
  • 125
  • 8
0
votes
0 answers

Openshift: SSH key denied, even though they match

I am attempting to use the OpenShift RHC tool on a Windows machine to ssh into one of my applications. The public key associated with my OpenShift account matches my .\.ssh\id_rsa.pub and I've even regenerated the public key from the private key…
Zersiax
  • 1
  • 1
0
votes
0 answers

Openshift: cannot connect to my app

I have two apps in openshift and until yesterday everthing worked well. Yesterday my page (Jboss cartidge) stop working and I cannot connect to this app using ssh. To the other app I can connect without a problem but this one no. To connect, I did…
amachado
  • 101
  • 2
0
votes
1 answer

Why is the MYSQL variable innodb_file_per_table changed to OFF automatically in a OPENSHIFT online gear?

My application is on openshift online gear with mySQL 5.5. Recently I found that my mySQL database become very big quickly (few days increase 1G) without many operations. This made me try to do optimize database. To my surprise, every time I…
hosais
  • 1
0
votes
0 answers

How can I access to a database on OpenShift?

I created an application on OpenShift, everything is working and there are no problems. I now need to attach the database that is on OpenShift with my desktop application developed in C #. The desktop application only needs to read the data that we…
J.Doe
  • 1
  • 2
0
votes
0 answers

Openshift : How to open a port world wide?

I have installed a wildfly server on OpenShift. Here is the link of it's home page http://tomcat-thacker.rhcloud.com/ This home page and other deployed applications are running on 8080 port so, I am able to access those over internet from world…
0
votes
1 answer

Redirect to absolute URL in .htaccess returns wrong host name on OpenShift

I'm setting up a web site on OpenShift. It runs under Apache 2.2.15, but I do not have access to the Apache root or logs so I am trying to emulate virtual directories in an .htaccess file at the root of my site. Most of it is working well but there…
Mark Berry
  • 273
  • 3
  • 18