Tag Archives: openshift

How to connect to OpenShift with putty (ssh)

I’m hosting 5 of my sites on OpenShift. Sometimes I need to connect to my applications through ssh. On Windows, I’m using putty to do that. Here is small “how-to” about connecting to the OpenShift application. First, you need a private and a public keys. To generate them you need puttygen Open puttygen and press generate:… Read More »

[Fixed] “CARTRIDGE_VERSION_2: line 1: 2: command not found” OpenShift application push error

After pushing updated version of my  wordpress blog to OpenShift git repository, I have got “CARTRIDGE_VERSION_2: line 1: 2: command not found” error. You could see this error if you are pushing your changes in Drupal, WordPress, Rails, Spring, Django, Reveal.js, CakePHP, or Dancer applications. To fix this error go to OpenShift applications repository and get the… Read More »

Synchronize OpenShift application after update

For this blog I am using OpenShift cloud (started plan).   After updating wordpress engine through admin panel, updated files are not available in application git repository because they were not commited to git on remote server. To synchronize your OpenShift application with git repository you should perform following steps: Install and configure rhc command… Read More »