problem about openshift-Collection of common programming errors


  • special0ne
    git ssh jenkins openshift
    While pushing my changes to the gear on OpenShift I got the error below. I have tried to delete my .ssh folders and do the rhc install but it didnt help. Warning: Permanently added ‘.rhcloud.com,’ (RSA)to the list of known hosts. Counting objects: 17, done. Deltacompression using up to 8 threads. Compressing objects: 100% (8/8),done. Writing objects: 100% (9/9), 756 bytes | 0 bytes/s, done. Total9 (delta 3), reused 0 (delta 0) remote: Executing Jenkins build.remote: remote: You can track your bu

  • Pavel K.
    git github ssh openshift
    is it possible to install gems from github on openshift? my Gemfile contains the following:gem ‘rails3-jquery-autocomplete’, git: ‘[email protected]:/francisd/rails3-jquery-autocomplete.git’after pushing it to openshift, i received following errors:remote: Bundling RubyGems based on Gemfile/Gemfile.lock to repo/vendor/bundle with ‘bundle install –deployment’ remote: Fetching gem metadata from https://rubygems.org/……… remote: Fetching gem metadata from https://rubygems.org/.. remote: Fetching

  • Alvaro
    python python-imaging-library openshift reportlab platypus
    I have successfully installed both PIL and reportlab in my cartridge (Python 2.7) and tested both of them via ssh in the console.Somehow, reportlab can’t use PIL.I have also tried downloading PIL and fixing the 64bit issue, but I continue to get the error.This the message I get:unpack requires a string argument of length 1 Imaging Library not available, unable to import bitmaps only jpegs fileName=’/var/lib/openshift/52c1ab8de0b8cdb8a1000177/app-root/runtime/repo/wsgi/static/images/logo_colegio.

  • user5467
    php mysql hosting openshift osclass
    i try to install osclass 3.3.x on openshift. i put osclass files at directory” /var/lib/openshift/52cbd62e5973ca1b880000df/app-root/runtime/repo/php” But after filling database name and password it show there is no osclass database.i triple cross check data name, username,password but it is always show this dialog.anyone who already install osclass on openshift please tell what is missing.

  • Maxcot
    openshift htdocs
    I’ve setup an OpenShift account, and used a CodeIgniter quickstart. From the OpenShift Management console, I click through to my URL, and the default welcome_message of CodeIgniter shows up, as expected. Now I use WinSCP to connect up to my remote site, and find a folder structure that is nothing I recognise. I’ve tried searching for htdocs, and also “welcome_message.php” but am not having any luck. Can anyone point me to where I might find the htdocs folder etc on OpenShift? Thanks in advance.

  • Thang Nguyen
    openshift fuelphp
    I have an application written in PHP using Fuelphp 1.6.3 and want to deploy it on OpenshiftAs the framework required composer, when I access my app at http://audit-manhthang.rhcloud.com/public/, it showed the error Composer is not installed. Please run “php composer.phar update” inthe root to install ComposerI have Google it and found an article here: https://www.openshift.com/content/support-for-git-clone-on-the-server-aka-support-php-composerphar I’ve tried to follow the instruction, create th

  • Sanks
    php git openshift
    I am using openshift server to host my php application. I have added files to my server using sftp to ~/app-root/runtime/repo directory. The same files are accesible over the web. But when I git clone my repository to my local machine I don’t see my uploaded files in it. Neither when I add and push files using git are seen in my app-root folder. Any help is kindly appreciated

  • limist
    paas openshift
    Can we use OpenShift Express, which is free right now, for commercial web applications?And if not, then which PAAS services are there which are free, and have no vendor lock-in.

  • alex
    maven openshift lombok
    I started using Lombok in my project and all is working well in my local environment (maven compile is working). When I try to pusth to openshift (Jboss installation) maven compile in openshift fails with errors:[INFO] — maven-compiler-plugin:2.3.2:compile (default-compile) @ german-school — [INFO] Compiling 13 source files to /var/lib/openshift/5290ebf4500446c6e20000b8/app-root/runtime/repo/target/classes [INFO] ————————————————————- [ERROR] COMPILATI

  • swdev
    python flask openshift
    I have a flask application hosted in Opeshift here : http://bio-ekowibowo.rhcloud.com/. But as you can clearly see, it didn’t have all of its required files coming from wsgi/static folder. Checking out the log using tail, I have this log :[Mon Oct 28 05:12:48 2013] [error] [client 127.8.243.129] File does not exist: / var/lib/openshift/52652a99e0b8cda45f000027/app-root/runtime/repo/wsgi/static/dis t, referer: http://bio-ekowibowo.rhcloud.com/[Mon Oct 28 05:12:48 2013] [error] [client 127.8.243.1

  • w00t
    openshift docker
    Docker and OpenShift are both frameworks to implement a PaaS service.How do they compare in architecture and features?

  • Steve Mc
    node.js openshift docpad
    Has anyone been able to get docpad up and running on openshift paas? If so, how do you do it? I’ve configured the port in the environments section of the docpad.coffee file to “process.env.OPENSHIFT_NODEJS_PORT” and set the env to “production” – but to no avail. Trying to launch docpad from the server.js file just seems to get the application stuck in a loop of trying to start up and then closing down with an “EACCES” error.Edit: Here’s the error messageError: listen EACCES at errnoException (ne

  • j0k
    symfony2 symfony-2.1 openshift
    I’ve deployed my Symfony 2.1 application on openshift and it doesn’t work.Calling app.php server return 200 OK and a white page (in my local server work well).Log:=> php-5.3/logs/error_log-20130306-000000-EST <== [Tue Mar 05 19:16:00 2013] [error] [client 127.5.146.1] PHP 3. require_once()/var/lib/openshift/5e487f6c4a484700999d9213755b64eb/app-root/runtime/repo/php/app/bootstrap.php.cache:4[Tue Mar 05 19:16:00 2013] [error] [client 127.5.146.1] PHP 4.require()/var/lib/openshift/5e487f6c4a

  • Viren
    sunspot-rails openshift sunspot-solr
    I know there are quite a few openshift fan out there and the list of feature that openshift give you I dont blame them too so this question is for those guys I have solr full text search engine running on the openshift Now the I using sunspot_rails to connect to solr to create indexes all work well for sometime and all the indexes get create appropriately but we experience that after a while the connection to solr keeping getting lost So I’m assuming that openshift doesnot allow long running pro

  • Sushma Satish
    cron redhat openshift
    Cron on Redhat openshift is cancelled by SIGTERM after some minutes.Is there a default timeout on how long cron tasks can execute? If yes, how to get long running tasks working?

  • ????? ???????
    node.js heroku express npm openshift
    I can’t deploy my ExpressJS app to Heroku or OpenShift hosting. On my MacBook Pro all works perfectly, but it go to crash when I try to deploy it on hosting.error Error: shasum check failed for /app/tmp/npm-403-gj-8PMyB/1387967953013-0.7812028499320149/tmp.tgz 344 error Expected: f99cd60b91df7e6669c59ac2b55c4bfc65ff9494 344 error Actual: c4a5f6cf7f807d89d1aa0babe686b434426206b6openshift log, heroku log

  • Emmanuel Joubaud
    node.js unix meteor redhat openshift
    I deployed Meteor.js on a Node 0.6 + Mongo 2.2 Openshift cartridge with a custom Node 0.8.24 installed in the data dir (sort of like this tutorial).I do set the right ports before calling the app. My code in server.js looks like that:// Setup env process.env.ROOT_URL = “http://” + (process.env.OPENSHIFT_APP_DNS || “localhost”); process.env.MONGO_URL = (process.env.OPENSHIFT_MONGODB_DB_URL + process.env.OPENSHIFT_APP_NAME) || “mongodb://localhost:27017/”; process.env.PORT = process.env.OPENSHIFT_

  • tsvallender
    node.js port openshift
    Writing a test application in Node.js running on OpenShift and it currently will not start.This is my code:#!/bin/env nodevar http = require(‘http’);var ip = process.env.OPENSHIFT_NODEJS_IP; var port = process.env.OPENSHIFT_NODEJS_PORT;http.createServer(function (req, res) {res.writeHead(200, {‘Content-Type’: ‘text/plain’});res.end(‘Hello World\n’); }).listen(ip, port); console.log(‘Server running’);I get the error events.js:72throw er; // Unhandled ‘error’ event^ Error: listen EADDRINUSE at err

  • somedev
    php openshift phabricator
    I installed phabricator on openshift using a quickstart from github https://github.com/CodeBlock/phabricator-openshift-quickstartI got it running up fine, but I now have two issues:1.) A setup issue that says apc.stat is enabled and that must be disabled in /var/lib/openshift/my-user-hash/php/configuration/etc/php.inihowever I cannot access that with sudo command(sudo permission denied), even if I open it normally, I didn’t find any apc.stat settings in the php.ini2.) I can’t figure out how set

  • menjaraz
    php openshift laravel-3
    I got the following message:Unhandled Exception Message:file_put_contents(/var/lib/openshift/525d46d54382ec46f9000001/app-root/runtime/repo/storage/views/4fdea0c0506d35a6df36decf9fe8c1b7):failed to open stream: No such file or directoryLocation:/var/lib/openshift/525d46d54382ec46f9000001/app-root/runtime/repo/laravel/blade.phpon line 63when harnessing https://github.com/menjaraz/openshift-lara3 on Openshift.I suspect it has to do with some file permission consideration.What should I do to fix it

  • Schoolboy
    ruby rubygems gem openshift
    C:/Ruby187/lib/ruby/gems/1.8/gems/highline-1.6.19/lib/highline/system_extensions.rb:81: undefined method `dlload’ for HighLine::SystemExtensions::WinAPI:Module(NoMethodError)from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_original_require’from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`require’from C:/Ruby187/lib/ruby/gems/1.8/gems/highline-1.6.19/lib/highline.rb:14from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in`gem_orig

  • Akshat Jiwan Sharma
    node.js openshift
    I am following the steps described in this repository but I can’t seem to make it work. When I look into my env file the nodejs version is still .6.20My node js version file is the default one, so the node version .8.9 should be running. Any idea why this is happening?My marker file:0.8.9Debug output when I try to start my application==> nodejs/logs/node.log <==npm ERR! node -v v0.6.20 npm ERR! npm -v 1.1.37 npm ERR! code ELIFECYCLE npm ERR! message [email protected] start: `node serv

  • Laures
    java tcp spring-integration openshift
    I’m writing a small application to check the function and configuration of several spring features on openshift. you can find the code here: https://github.com/Laures/openshift-spring-testappcurrently i try to test spring-integrations tcp/ip support because openshift has some strict limitations on the ability to bind to ports. the server socket part was simple: pick an allowed port and use the internal server ip (not localhost).I’m failing at the client side part. i want to open a tcp connection

  • vascowhite
    php mysql ssh phpstorm openshift
    I’ve tried to connect to OpenShift MySQL database using the following settings:Andbut I’ve got following error message:Connection to ConnectionNAME failed java.sql.SQLException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

  • Harageth
    git merge redis openshift
    I am trying to get redis to work on OpenShift by following this git repos readme (https://github.com/EddyRespondek/redis-standalone-openshift-example/blob/master/README.md)The problem is that I keep erroring out with the last command as followsgit pull -s recursive -X myAppGitRepoSSHString upstream masterFrom git://github.com/EddyRespondek/redis-standalone-openshift-example* branch master -> FETCH_HEADfatal: Unknown option for merge-recursive: -XmyAppRepoSSHStringAnd if I try with

  • Paul Morie
    rake openshift
    I’m trying to deploy a Ruby application in Openshift I had this deploy hook for the openshiftThe rake is failing in Openshift i.e rake db:migrate I’m taking aboutset -x pushd ${OPENSHIFT_REPO_DIR} > /dev/null export TRACE=’–trace’ RAILS_ENV=”production” bundle exec rake db:migrate –trace bundle exec echo $RUBY_VERSION popd > /dev/nullNow trying to run the rake as RAILS_ENV=”production” bundle exec rake db:migrate –trace return me output Unknown switches ‘–trace’and because of heck of i

  • synergetic
    python exception flask beaker openshift
    In my flask web application I use beaker library for session handling. In the following code, for some unknown reason, production server raises exception, but my local pc does just fine.import sys…try:beaker_session = request.environ[‘beaker.session’]beaker_session[‘user_id’] = user.id beaker_session.save() except:flash(sys.exc_info()[0])return render_template(‘main/login.html’)Local computer saves the session just as expected, without any exception. Production server (RedHat OpenShift) raise

Web site is in building