problem about appfog-Collection of common programming errors


  • user1913779
    cloudfoundry appfog
    I’m having trouble installing caldecott on osx mountain lion. I keep getting this error:$ sudo gem install caldecott –no-rdoc –no-riERROR: Error installing caldecott:ERROR: Failed to build gem native extension./Users/Jay/.rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rbchecking for main() in -lssl… * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration optio

  • user1460015
    windows gem appfog
    I’ve been following the instructions provided by Development Kit for the rubyinstaller https://github.com/oneclick/rubyinstaller/wiki/Development-KitWhen I try the last step I get the following error: ERROR: Failed to build gem native extensionHere is the log file. http://pastebin.com/mLUCCVd3I have been following the troubleshoot section with no avail.Running windows7x64 This all started because I want to get the appfog tunnel workingAny help is appreciated

  • tonymx227
    appfog
    I get a problem when I try to bind MySQL service to my App (AppFog).Message : name: VmcError, endpoint: POST:/services, statusCode: 502, code: 503, description: Unexpected response from service gatewayWhat is the issue?Anthony

  • spryno724
    java apache solr appfog
    I am very new to Apache Solr and I am trying to deploy it on Appfog application running the Java runtime. I can deploy the start page: sga-search.aws.af.cm, but nothing else will work. Could someone please direct me as to how can I go about deploying this???Note: Appfog does not permit SSHing into the server.Thank you for your time!

  • user2962455
    ruby-on-rails ruby rubygems gem appfog
    I wrote an application in RoR, then i tried to deploy it on appfog. I created application, but after pushing i got this error:Uploading Application:Checking for available resources: OKProcessing resources: OKPacking application: OKUploading (2M): OK Push Status: OK Stopping Application ‘otj’: OKStaging Application ‘otj’: OK Starting Application ‘otj’: .. Error: Application [otj] failed to start, logs information below. ====> /logs/migration.log <====/var/vcap.local/dea/apps/otj-0-93de4f27

  • coool
    appfog
    In Appfog how to install the latest version of Nodejs/ and on the services provided, can Mongodb be upgraded to 2.4.x

  • Marty Pitt
    java spring appfog
    It seems that when deploying my Spring app to AppFog, that the environment variables are not being detected.I have the environment variables declared in my console:And I try to reference these from within my app code, like so:<context:property-placeholder location=”classpath:server.common.properties,classpath:server.${concorde-env}.properties”/>However, this generates an error:Caused by: java.io.FileNotFoundException: class path resource[server.${concorde-env}.properties] cannot be opened

  • Gus Shortz
    ruby sinatra route modular appfog
    I have started writing my Sinatra apps using a modular style, suggested in this stackoverflow answer, and have successfully deployed it on Heroku, but when trying to deploy to AppFog (identical code except for datamapper mysql/postgres gems) I get “Not Found” errors for every route I have defined.== Sinatra/1.3.3 has taken the stage on 47195 for production with backup from Thin myIP, 127.0.0.1 – – [08/Dec/2012 21:28:53] “GET / HTTP/1.0” 404 18 0.0030 myIP, 127.0.0.1 – – [08/Dec/2012 21:28:54] “G

  • beef jerky
    ruby-on-rails deployment appfog
    I’m trying to deploy a Rails app (2.3.8) on AppFog using the commands:af login af update app_nameI’m using update because the app is already existing on AppFog. However, I keep getting this error:Error (JSON 503): <?xml version=”1.0″ encoding=”u…It happens after uploading the files. Running af update usually gives me that error. In fact, I’ve only ran that command successfully once in around a hundred times. I’ve tried deploying on different times around the clock, but no success. I’ve also

  • user1076412
    grails appfog
    I am getting some errors in my Grails in in AppFog, but I am not sure how to get to the bottom if it.C:\Users\me>af logs myapp [WARNING] DL is deprecated, please use Fiddle Error (JSON 404): Not FoundC:\Users\me>af crashes myapp [WARNING] DL is deprecated, please use Fiddle Error (JSON 404): Not FoundI read this could help, but I am not sure where to put it?app.debug = TrueAny ideas how I can troubleshoot please?

  • Jose Sosa
    mysql node.js backbone.js cloud-hosting appfog
    I have an app hosted in appfog using node-express and mysql( and backbone js in the client side), it works fine in localhost but when deploy the app works fine for a moment and after a time crash( if i restart in the console of appfog admin the same thing happens) this is part of code for connection mysqlvar mysql = require(“mysql”)var env = JSON.parse(process.env.VCAP_SERVICES); var creds = env[‘mysql-5.1’][0][‘credentials’]; console.log(creds)var client = mysql.createConnection({host: creds.h

  • Django Bot
    appfog
    I used isotope for my thumbnail images. Everything works fine in my development server.After I have updated my files in appfog using “af update”. The above page spits out this error in inspect element.Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://neudev.hp.af.cm/static/plugin/css/isotope.css Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://neudev.hp.af.cm/static/plugin/js/isotope.init.js Failed to load resource: the ser

  • Andrew Liu
    node.js socket.io appfog
    The errorWhen the user opens http://sync.aws.af.cm/, the Google Chrome JavaScript Console shows (within a few seconds):Unexpected response code: 502 errorThe app should remember the contents of the text area even after the user refreshes the page. The app works locally, but not when I upload it to AppFog, and I suspect the problem is the 502 error.Do you know what might cause this error in this case?What I’ve triedI tried changing the script src=<path_to_socket_io> path in my client from /

  • urban
    javascript node.js object appfog
    I have the following code in my server.js:throw new Error(‘The databasenumber was wrong, or you didn\’t bind one.’ + process.env.VCAP_SERVICES + ” === ” + process.env.VCAP_SERVICES[“mysql-5.1”]);The output at this moment is:node.js:201throw e; // process.nextTick error, or ‘error’ event on first tick^ Error: The databasenumber was wrong, or you didn’t bind one.{“mysql-5.1”:[{“name”:”squarific-data”,”label”:”mysql-5.1″,”plan”:”free”,”tags”:[“mysql”,”mysql-5.1″,”relational”,”mysql-5.1″,”mysql”],”c

  • Susanoh13
    ruby-on-rails mongodb mongomapper appfog
    I have a rails app on AppFog, connected to a mongo database. It is a very simple database, where I used the mongo_mapper gem to create MVC stuff, and then didn’t modify it.rails g scaffold Contacts name:string address:string email:string phone:string -orm mongo_mapperREALLY basic! Just trying to test out mongo as a database.I followed the instructions for talking with the database here.However, every time I try to access the /contacts path, I get a “500 Internal Server Error” message.The AppFog

  • Peter Huang
    java playframework-2.0 cloudfoundry multipartform-data appfog
    I deployed my play framework 2.1 application on appfog(same issue also exists on cloudfoundry since they are essentially the same). My application allow file upload, but I have encountered an error getting the file. It works fine when I run locally with play run.My code is as follows:MultipartFormData body = request().body().asMultipartFormData(); FilePart midi = body.getFile(“midi”); File file = midi.getFile();The error message in log is:play.api.Application$$anon$1: Execution exception[[IOExce

  • Tim Santeford
    javascript node.js express appfog
    I created an app in NodeJS using ExpressJS, I hosted my app on AppFog and it works, however, I made a few update on my local version, now I’d like to update my App on AppFog but I got a problem, because I updated my models in local and now, I can’t update my AppFog database…What am I suppose to do? Delete the App and Update again? I’ll lost all my data in my database…Logs:Error: ER_BAD_FIELD_ERROR: Unknown column ‘tags’ in ‘field list’

Web site is in building