I'm trying to change my Heroku app region by following this official guide: https://devcenter.heroku.com/articles/app-migration.
The problem is that, when I try to fork it at the very beginning using: heroku fork --from sourceapp --to targetapp --region eu
.
Heroku cli returns:
! fork is not a heroku command.
! Perhaps you meant info
! Run heroku help for a list of available commands.
I'm using the latest version of Heroku Cli 6.15.18-fdf2097 in Windows 10
You can create forks using the Heroku CLI with the heroku addons:create command. Provision a new database add-on with the --fork flag.
Double check that there are no typos in your password as well. Reset your password and try logging in with the new password. Try using a different email address. Try using an email alias with a plus sign if you might have signed up using an alias such as [email protected] instead of just [email protected].
Get Started with the Heroku CLIAfter you install the CLI, run the heroku login command. Enter any key to go to your web browser to complete login. The CLI then logs you in automatically. If you'd prefer to stay in the CLI to enter your credentials, run heroku login -i .
If you don't have a copy of the app's code locally, you can clone it from Heroku by running the CLI command heroku git:clone -a <myapp> . Alternatively, if your source code is stored in a service like Github (highly recommended), you could also clone it from there.
heroku-fork says
Heroku CLI plugin to fork an existing app into a new app.
DEPRECATED: Heroku fork is deprecated as a core command. It will no longer be included in the CLI by default 2017-12-01. See Developing CLI Plugins for more information on developing plugins.
You need to install heroku-fork
plugin
Installation
heroku plugins:install heroku-fork
More info see here
Hope it helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With