heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 381 forks source link

heroku fork to Europe fails on heroku-postgresql:dev #775

Closed petrbela closed 11 years ago

petrbela commented 11 years ago
Adding heroku-postgresql:dev... skipped (Could not communicate with vendor, please try again later)

 !    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       undefined method `[]' for nil:NilClass (NoMethodError)
Backtrace:   /Users/petrbela/.heroku/client/lib/heroku/command/fork.rb:57:in `block in index'
                 /Users/petrbela/.heroku/client/lib/heroku/command/fork.rb:45:in `each'
                 /Users/petrbela/.heroku/client/lib/heroku/command/fork.rb:45:in `index'
                 /Users/petrbela/.heroku/client/lib/heroku/command.rb:206:in `run'
                 /Users/petrbela/.heroku/client/lib/heroku/cli.rb:28:in `start'
                 /usr/bin/heroku:24:in `<main>'
Command:     heroku fork -a kj125-us kj125 --region eu
Plugins:     heroku-config
             heroku-pg-transfer
             heroku-ssl-doctor

Version:     heroku-toolbelt/2.39.0 (x86_64-darwin10.8.0) ruby/1.9.3
adamburmister commented 11 years ago
Adding heroku-postgresql:dev... skipped (Could not communicate with vendor, please try again later)
 !    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

    Error:       undefined method `[]' for nil:NilClass (NoMethodError)
    Backtrace:   /Users/adam/.heroku/client/lib/heroku/command/fork.rb:57:in `block in index'
                 /Users/adam/.heroku/client/lib/heroku/command/fork.rb:45:in `each'
                 /Users/adam/.heroku/client/lib/heroku/command/fork.rb:45:in `index'
                 /Users/adam/.heroku/client/lib/heroku/command.rb:206:in `run'
                 /Users/adam/.heroku/client/lib/heroku/cli.rb:28:in `start'
                 /usr/local/heroku/bin/heroku:24:in `<main>'

    Command:     heroku fork [my app] --region eu
    Version:     heroku-toolbelt/2.39.0 (x86_64-darwin10.8.0) ruby/1.9.3
phoet commented 11 years ago

same problem in #776

basti commented 11 years ago

I don't think that this is region specific. I get the same error when trying to fork in US region.

Here is error:

Adding heroku-postgresql:dev... skipped (Could not communicate with vendor, please try again later)
 !    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

    Error:       undefined method `[]' for nil:NilClass (NoMethodError)
    Backtrace:   /Users/basti/.heroku/client/lib/heroku/command/fork.rb:57:in `block in index'
                 /Users/basti/.heroku/client/lib/heroku/command/fork.rb:45:in `each'
                 /Users/basti/.heroku/client/lib/heroku/command/fork.rb:45:in `index'
                 /Users/basti/.heroku/client/lib/heroku/command.rb:206:in `run'
                 /Users/basti/.heroku/client/lib/heroku/cli.rb:28:in `start'
                 /usr/bin/heroku:24:in `<main>'

    Command:     heroku fork -a [my_source_app] [my_new_app]
    Version:     heroku-toolbelt/2.39.0 (x86_64-darwin10.8.0) ruby/1.9.3
ichilton commented 11 years ago

Same problem here....

heroku-toolbelt/2.39.0 (x86_64-linux) ruby/1.9.3

timmillwood commented 11 years ago

Same here:

$ heroku fork --region eu
Creating fork millwoodonline-265... done
Copying slug... done
Adding blitz:250... done
Adding cloudinary:starter... done
Adding memcachier:dev... done
Adding newrelic:standard... done
Adding pgbackups:auto-month... done
Adding sendgrid:starter... done
Adding heroku-postgresql:dev... skipped (Could not communicate with vendor, please try again later)

 !    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

    Error:       undefined method `[]' for nil:NilClass (NoMethodError)
    Backtrace:   /usr/local/heroku/lib/heroku/command/fork.rb:57:in `block in index'
                 /usr/local/heroku/lib/heroku/command/fork.rb:45:in `each'
                 /usr/local/heroku/lib/heroku/command/fork.rb:45:in `index'
                 /usr/local/heroku/lib/heroku/command.rb:206:in `run'
                 /usr/local/heroku/lib/heroku/cli.rb:28:in `start'
                 /usr/local/heroku/bin/heroku:25:in `<main>'

    Command:     heroku fork --region eu
    Plugins:     heroku-adminium
                 heroku-config

    Version:     heroku-toolbelt/2.39.0 (x86_64-linux) ruby/1.9.3
adamburmister commented 11 years ago

Update: So I attempted to add a production tier postgres DB to the forked app (which failed on db migration) - that also raises an error, so in my professional opinion, something is fuuuucked.

heroku addons:add heroku-postgresql:crane
Adding heroku-postgresql:crane on app... failed
! Could not communicate with vendor, please try again later
Stefkovic commented 11 years ago

Same problem here

ddollar commented 11 years ago

We are looking into the errors occurring when adding a database in EU. I'll let you know as soon as it's fixed.

phoet commented 11 years ago

@ddollar what's the recommended way of retrying? deleting the newly created eu instance and than do it again?

ddollar commented 11 years ago

Yes, delete the failed app. We thought about doing this automatically but figured the app might be useful to leave around for poking at to see why it failed. In this case it seems that provisioning databases in EU is having some issues. The Data team is investigating.

ddollar commented 11 years ago

This should be fixed now, please try your forks again. Sorry about that!

petrbela commented 11 years ago

Great, thanks David!

phoet commented 11 years ago

:+1:

ndemoreau commented 11 years ago

I don't think this issue should be closed. I just had the same problem two minutes ago

phoet commented 11 years ago

@ndemoreau i guess it's a new issue then

ndemoreau commented 11 years ago

@phoet: Would you open a new one or re-open this one? I'm having exactly the same symptoms

phoet commented 11 years ago

i guess that @ddollar will start investigating and re-open the ticket if that's appropriate

ndemoreau commented 11 years ago

I gave it another try this morning and it worked fine... Thanks.

chaekit commented 11 years ago
Creating fork popularpays-api-staging... done
Copying slug... done
Adding blitz:250... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding memcachier:dev... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding newrelic:standard... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding openredis:micro... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding pgbackups:auto-month... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding scheduler:standard... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding sendgrid:starter... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding ssl:endpoint... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing
Verify now at https://heroku.com/verify)
Adding heroku-postgresql:ronin... skipped (Please verify your account to install this add-on
For more information, see http://devcenter.heroku.com/categories/billing

In my case, I was trying to fork with my personal account, which is a collaborator but don't have the super user privilege. Once I tried it again with the admin account, it worked smoothly.

dustinmcbride commented 9 years ago

@czhae thanks. Forked worked great after logging in as the admin account