Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
38 views

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

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

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/...
2
votes
1answer
464 views

Session files are created every 2 second. Running on openshift Laravel PHP nginx haproxy

What causes the access on the server when the server starts? I've run rhc tail on my app to monitor the new logs. Here is my log http://laravel.io/bin/Dez4o When I started the app using rhc app-...
1
vote
2answers
865 views

Openshift + HAproxy 503 custom page

I'm using 503 HTTP Status and a coming soon page for maintenance mode. Is there any way to get HAproxy serving server-side generated 503 page instead of the default blank/unavailable page? I'm using ...
-1
votes
1answer
104 views

Openshift SSH quota? [closed]

I am using SSH to access to Openshift VM, i'm running a simple java program (java -jar ....) that takes a while a to complete, and do some heavy work. But the execution always gets terminated, along ...
0
votes
1answer
145 views

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* ...
1
vote
1answer
308 views

OpenShift MongoDB ECONNREFUSED

When attempting to connect to the mongodb-2.4 cartridge i keep getting the following ==> app-root/logs/nodejs.log <== Error: connect ECONNREFUSED 127.0.0.1:27017 at Object.exports....
0
votes
1answer
539 views

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

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 ...
1
vote
0answers
212 views

Enable x509 Authentication in Tomcat on Openshift

I have a web application deployed on Tomcat 7 running on Openshift. I managed to enable HTTP-to-HTTPS redirection on the server (instruction). I don't have valid certificate. So I have to use the ...
1
vote
0answers
230 views

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....
-1
votes
1answer
211 views

I can't prepend HTTP://WWW to the URL when I redirect to the same domain

There is this WordPress application on OpenShift that uses CloudFlare as DNS server. OpenShift gives us a URL such as app-user.rhcloud.com and allow you to add alias. Such as www.website.comand ...
0
votes
1answer
102 views

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 ...
1
vote
1answer
211 views

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 ...
0
votes
0answers
434 views

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 ...
0
votes
0answers
1k views

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

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 ...
0
votes
0answers
798 views

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 ...
1
vote
1answer
826 views

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 ...
4
votes
1answer
16k views

Connection error in bitvise ssh client

Iam able to connect to ssh server host on openshift using putty but while using the same setting in bitvise ssh client i get the folowing error - 01:47:18.424 Connecton failed. getaddrinfo() ...
2
votes
1answer
137 views

How can I install libmemcached on Openshift with sasl support?

I need libmemcached with sasl support to use Memcached Cloud cartridge on Openshift Online. I doing next: 1) Install sasl. curl -LO ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz tar --...
4
votes
0answers
596 views

Openshift SSH permission denied through corporate proxy

am trying to connect local->cntlm->company proxy->rhcloud host. I have the keys uploaded to rhcloud and GitHub. With the current configuration with corkscrew i am able to connect to git via ssh. ...
1
vote
0answers
302 views

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 ...
0
votes
0answers
434 views

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 ...
1
vote
1answer
448 views

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

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

OpenStack cartridge-add gives github could not read username error

I am trying to add a paper trail cartridge to an existing Wildfly 8.2.0 gear with the following command: rhc cartridge-add https://cartreflect-claytondev.rhcloud.com/reflect?github=openshift-...
2
votes
2answers
839 views

wordpress on openshift custom domain “too many redirects” error [closed]

wordpress on openshift custom domain "too many redirects" error for wp-admin page, works on openshift default domain. My custom domain is: https://sesjau.tk/wp-admin . So I check siteurl and home in ...
1
vote
1answer
2k views

OpenShift: MySQL PDO 'connection refused', works locally [duplicate]

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: ...
0
votes
1answer
130 views

OpenShift for WordPress without WAMP and Git?

I'm considering moving a single WordPress site from a shared host to OpenShift. The entire OpenShift platform seems to revolve around development and deployment using git and special OpenShift ...
-1
votes
1answer
347 views

CNAME and redirects [duplicate]

Many thanks for the free service on OpenShift. I am using Gandi for my domain - www.something.io (₁), something.io (₂). I am trying to achieve the following: Have domains ₁ and ₂, redirect to nodejs-...
0
votes
0answers
1k views

Service Temporarily Unavailable error when I try to acces a spacebrew server using nodejs?

I've tried to install Spacebrew for an Arduino Yun project on a 'openshift' nodejs server, but get the following error when I go to the url: Service Temporarily Unavailable The server is temporarily ...
0
votes
0answers
370 views

Unable to deploy laravel application on OpenShift

I have git pushed my entire Laravel code base for the application that I had created on my localhost to my OpenShift server. But nothing seems to have come out of it. The webpage is still blank. Can ...
0
votes
0answers
116 views

Total DNS errors 100% in openshift

From yesterday suddenly my website down and Google webmaster shows Total DNS errors 100%. My app is http://core-ahang2mail.rhcloud.com I don't know what should I do, Could you please help me? ...
0
votes
1answer
397 views

Openshift Wordpress site custom domain name 'www' doesn't work [duplicate]

I use Opemshift to host my Wordpress site. I use a custom domain name for my site. I have also added an alias for www.example.com. I use Cloudflare for DNS and I have created a CNAME record for www....
1
vote
0answers
367 views

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

How do I change my command prompt permanently in OpenShift?

I modified my ~/app-root/data/.bash_profile to include a line where I set my PS1 environment variable, but after saving the changes, logging out and logging in again (via SSH), I still get the same ...
0
votes
1answer
2k views

openshift, cron, node, line 1: syntax error near unexpected token `('

I'm pretty sure this is some kind of config problem, or something like that. I'm using node V 0.10 and the cron cartridge V 1.4. Here's my bash script to run my node script: #!/bin/bash node ${...
0
votes
2answers
34 views

Checking which Availability Zone?

I see that Regions could be selected, e.g., us-east-1, but how could the Availability Zone be selected? If it's a lottery, how could it be checked? Is the AZ fixed over the lifetime of the gear? ...
3
votes
0answers
761 views

Openshift not installing node modules

I have a production pipeline of local code pushed via git to Wercker (a continuous delivery platform) and then is forwarded to openshift for production. Both steps, the local build and the deployment ...
0
votes
1answer
724 views

unable to login remotely in MYSQL

I am very new to mysql and I want to use remote login I followed this stack process but the command gives me nothing on the screen as listed on that link $ lsof -i -P | grep :3306 $ this is the ...
5
votes
1answer
3k views

How to serve static files with apache on openshift official python cartridge?

I have scalable openshift online app with official python-2.7 cartridge. By default everything is served with mod_wsgi handler. How do I configure my app and/or Apache to serve some static files in my ...
3
votes
1answer
388 views

OpenShift/MySQL error: lower_case_table_names error when migrating from OS X to OpenShift

Ok, so I have dumped a MySQL 5.x database from an OS X instance, and am having problems importing the database into the OpenShift MySQL 5.5 container. My tables are Camel-case (eg "tblAccounts") but ...
2
votes
0answers
331 views

how to serve a single page application with openshift

I'm tryng to deploy a single page app on openshift. On openshift all the static contents have to be in wsgi/static dir, but I obviously want to serve my static index.html from the root. Every attempts ...
0
votes
0answers
35 views

How to prevent redundant files when using Wordpress on Openshift

I am running a Wordpress site on OpenShift that has an uploaded folder size of about 200mbs. This should be well under the limits for the free account, however, it appears to copy it a few times in ...
0
votes
1answer
802 views

#openshift server unavailable 503 error

I have application created on TOMCAT7 (JBOSS EWS) using Mysql DB. My application keeps getting 503 error (service unavailable) [WARNING] 033/104029 (124189) : Server express/local-gear is DOWN, ...
0
votes
1answer
626 views

java.lang.OutOfMemoryError: Unable to create new native thread when auto deploying a REST crud app

I have deployed a simple JEE app on my openshift app but when I take a look to server.log I found that a "java.lang.OutOfMemoryError: Unable to create new native thread" is avoiding wildfly from ...
0
votes
1answer
47 views

Can Accept-Ranges Be Enabled On Ruby Cartridge

I'm running Padrino on a Ruby cartridge. I have an application that serves a somewhat large mp3 file to be consumed by an in-browser player, so I need to send a Range Request. If I don't, the file ...
2
votes
1answer
111 views

Strange request every 2 seconds from local IP (127.6.205.1), which overflows logs (OpenShift)

I get a strange request every 2 seconds from 127.6.205.1. My production.log (Ruby on Rails) file looks like so: > ... I, [2015-01-16T15:05:23.491062 #79682] INFO -- : Started GET "/" for 127.6.205.1 ...