Uploading application error

Showing 1-22 of 22 messages
Uploading application error Ricardo García Vega 10/25/12 2:11 AM
Hi!
I'm trying to deploy my first rails application, and in the console I see this error while doing it:



Uploading Application:
 
Checking for available resources: Error (JSON 503): <?xml version="1.0" encoding="u...


What am I doing wrong?

Thanks in advance!

Re: Uploading application error Hisyam 10/25/12 2:15 AM
I've got the same error too. This error usually appears when upload fails so you need to try again. 

If the size of your app is too big (eg: you have lots of pics), make sure to trim it.
Re: Uploading application error Ricardo García Vega 10/25/12 2:18 AM
Thanks Hisyam, I'm going to try again :)
Re: Uploading application error Ricardo García Vega 10/25/12 2:50 AM
Now it seems to work, but I'm getting another error instead:

Error 310: Staging failed: 'Staging task failed:
 Staging plugin failed: ERROR:  Error installing /tmp/d20121025-5635-37zlxd/FBDistributedNotification-0.0.1.gem:
ERROR: Failed to build gem native extension.

        /opt/cloudfoundry/runtimes/ruby-1.9.3-p125/bin/ruby extconf.rb
creating Makefile

make
compiling FBNotification.c
cc1: error: argument to ‘-O’ should be a non-negative integer
make: *** [FBNotification.o] Error 1


Gem files will remain installed in /tmp/d20121025-5635-37zlxd/gem_install_dir/gems/FBDistributedNotification-0.0.1 for inspection.
Results logged to /tmp/d20121025-5635-37zlxd/gem_install_dir/gems/FBDistributedNotification-0.0.1/ext/gem_make.out
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:141:in `install_gem_from_path': Failed installing FBDistributedNotification-0.0.1.gem (RuntimeError)
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:101:in `install_gem'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:71:in `block in install_specs'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:70:in `each'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:70:in `install_specs'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:54:in `install'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_support.rb:39:in `compile_gems'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/rails3/plugin.rb:65:in `block in stage_application'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/rails3/plugin.rb:61:in `chdir'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/rails3/plugin.rb:61:in `stage_application'
from /opt/cloudfoundry/vcap/stager/bin/run_plugin:19:in `<main>'



On Thursday, 25 October 2012 11:15:18 UTC+2, Hisyam wrote:
I've got the same error too. This error usually appears when upload fails so you need to try again. 

If the size of your app is too big (eg: you have lots of pics), make sure to trim it.
Re: Uploading application error Hisyam 10/25/12 2:54 AM
If you want to use Ruby 1.9.3 you should use this command for pushing:
af push --runtime ruby193

Otherwise some gems won't work.
Re: Uploading application error Ricardo García Vega 10/25/12 3:14 AM
Yes, that's the command I'm using, and the same error is happening :(
Re: Uploading application error Lucas Carlson 10/25/12 6:48 AM
Hi Ricardo, 


Which uses 

#import <Foundation/Foundation.h>

This requires Mac OS X libraries, and AppFog runs on Ubuntu, not OS X. Is there any way you could replace that gem in your production environment with another functionality?

Lucas Carlson
Founder and CEO - appfog.com
Phone: (503) 308-8048
LinkedIn Twitter Quora

--
You received this message because you are subscribed to the Google Groups "AppFog Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/appfog-users/-/8fMzwuRlFM4J.
To post to this group, send email to appfog...@googlegroups.com.
To unsubscribe from this group, send email to appfog-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/appfog-users?hl=en.

Re: Uploading application error Ricardo García Vega 10/25/12 7:36 AM
Hi Lucas! Thanks for your response!

I was using a gem which had dependencies on that one.
I have removed it from my GemFile, and what I'm now getting is a 

 "Error 300: Invalid application description"

Any ideas of what can be wrong?
Sorry for the inconveniences!
Re: Uploading application error Lucas Carlson 10/25/12 7:46 AM
Hi,

Try pushing to a new app name. 

- Lucas
To view this discussion on the web visit https://groups.google.com/d/msg/appfog-users/-/nsttcuJwvE4J.

To post to this group, send email to appfog...@googlegroups.com.
To unsubscribe from this group, send email to appfog-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/appfog-users?hl=en.
Re: Uploading application error Ricardo García Vega 10/25/12 8:02 AM
I`ve tried with different names but I get always the same error.
I've also tried with a different infrastructure and same happens...
any more clues?
Re: Uploading application error chad 10/25/12 8:10 AM
Hi Ricardo,

I'd like to have one of our engineers take a deeper look at the issue you're seeing. Could you please submit an issue with your account and applications details here: support.appfog.com

We'll get right on it and my apologies for the inconvenience.

--
Chad Keck
Director, Customer Experience
AppFog
Re: Uploading application error JP 10/25/12 8:48 AM
I am also experiencing this right now, large upload (23M):

Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (23M): OK  
Error (JSON 504): <html>
<head><title>504 Gatewa...
Re: Uploading application error JP 10/25/12 9:24 AM
Scratch that, working now
Re: Uploading application error Edgard Zavarezzi 11/12/12 2:21 PM
Also experiencing this right now...


Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (608K): OK   
Error (JSON 504): <html>
<head><title>504 Gatewa...

Just created an account and nothing is working... WHERE CAN I CREATE A PHPFOG ACCOUNT ?! 
Re: Uploading application error chad 11/12/12 9:54 PM
If you were creating or working with an application in the EU region these issues should now be resolved. Please try restarting your apps again or doing another push/update.

If you still notice any on-going problems please send us the full account and application details here: http://support.appfog.com

--
Chad Keck
Director, Customer Experience
AppFog

Re: Uploading application error David Santos 11/21/12 6:23 PM
Same problem here...


$ af update aleth
Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (966K): OK    
Error (JSON 504): <html>
<head><title>504 Gatewa...


@ aws us xxx.aws.af.cm

Re: Uploading application error chad 11/21/12 6:38 PM
David,

Please submit a ticket for our team to review...we'll need your account and application details.


We tend to see 504 errors when an update is timing out. Is this a really large app or something with a very large number of files?

--
Chad
Re: Uploading application error Joey 11/29/12 3:41 AM
Hi guys,

I'm having the same issue...

$ af update myapp
Uploading Application:

 
Checking for available resources: OK
 
Processing resources: OK
 
Packing application:
OK
 
Uploading (165K): OK  
Error (JSON 504): <html>
<head><title>504 Gatewa...


It is a largish app, a ~160MB learn management system with loads of php files. Should I send you a ticket to support?

Thanks,
J
Re: Uploading application error Joey 11/29/12 3:53 AM
PS: I have restarted the app from the control panel and it seems it has uplodaded the files cos I can access to the LMS installation... but now af is reporting this...

$ af update myapp
Uploading Application:
 
Checking for available resources: OK
 
Processing resources: OK
 
Packing application: OK
 
Uploading (165K): OK  
Error (JSON 503): <?xml version="1.0" encoding="u...


Any ideas? I'm going to double-check the config
Re: Uploading application error Adam Liebel 11/29/12 6:54 AM
Hi Joey,

Please do send us a note via support.appfog.com and we will take a look with you. These errors typically are seen with timeouts on uploading content and don't typically persist. If you have a larger application (size or # files) you may want to try and upload in smaller chunks to begin with and once it's up in full then you shouldn't have too much trouble with doing 'af updates' etc.

Please send us your account/app information, the error, and any other pertinent details and we will be glad to take a look with you.

Thank you,

Adam
AppFog Support
> --
> You received this message because you are subscribed to the Google Groups "AppFog Users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/appfog-users/-/2Z9zAyYRSdoJ.
Re: Uploading application error Joey 12/2/12 10:30 AM
Hi Adam, actually I just learnt about your free-plan limits (100Mb per app) and I'm pretty sure that was the problem.. because the LMS I was trying to install is about 160Mb. Anyways, I ended up deleting it and now I'm trying to test a WordPress install...
Re: Uploading application error Prav 12/6/12 9:18 AM
It could be a Windows/Linux issue. I have the exact same code that I ran from a Linux system and it uploaded correctly. When I later downloaded the code on a Windows system, made a minor css edit (Total size of the app < 1mb) and tried pushing it, I got the same error. Then I went to the Linux system, made the same change, and it updated successfully.
More topics »