Migrate fails when deploying Django on Heroku, how to solve?

The problems started when you run the command git push heroku master got error
To https://git.heroku.com/modernarchetype.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to send some links "https://git.heroku.com/modernarchetype.git"


On the advice of SO created a new branch, called "tempbranch". It worked.
Counting objects: 6395 ready.
Delta compression using up to 4 threads.
Compressing objects: 100% (5328/5328) ready.
Write objects: 100% (6395/6395), 8.84 MiB | 57.00 KiB/s, done.
Total 6395 (delta 1885), reused 0 (delta 0)
remote: Pushed to non-master branch, skipping build.
To https://git.heroku.com/modernarchetype.git
 * [new branch] tempbranch -> tempbranch


Next, run the command heroku run python manage.py migrate and get the error:

Running python manage.py migrate on ⬢ modernarchetype... !
 ▸ Cannot run a one-off process at this time. Please try again later.


Help to solve, first time working with Heroku, and Django not long study.
June 8th 19 at 16:27
1 answer
June 8th 19 at 16:29
https://stackoverflow.com/a/34727606

Requires exclusive access to the "Dino"

You need to kill all the competitors who connectats besides "Dino"

look for heroku ps
to kill heroku ps:stop <dyno></dyno>
Run the command heroku ps

Free dyno hours quota remaining this month: 550h 0m (100%)
For more information on dyno sleeping and how to upgrade, see:
<a href="https://devcenter.heroku.com/articles/dyno-sleeping">https://devcenter.heroku.com/articles/dyno-sleeping</a>

No dynos on ⬢ modernarchetype


there is nothing to kill - lennie commented on June 8th 19 at 16:32
Run heroku logs -t to view your app's logs to see if this is the case and turn off these services if it is happening. - marilyne_Roh commented on June 8th 19 at 16:35
and what should happen after the command? - lennie commented on June 8th 19 at 16:38
log your application - marilyne_Roh commented on June 8th 19 at 16:41
strange , but issuing no - lennie commented on June 8th 19 at 16:44
,
2018-02-03T17:06:29.798971+00:00 app[api]: Initial release by user starkeugene@mail.ru
2018-02-03T17:06:29.889119+00:00 app[api]: Enable Logplex by user starkeugene@mail.ru
2018-02-03T17:06:29.798971+00:00 app[api]: Release v1 created by user starkeugene@mail.ru
2018-02-03T17:06:29.889119+00:00 app[api]: Release v2 created by user starkeugene@mail.ru
2018-02-03T17:28:45.000000+00:00 app[api]: Build started by user starkeugene@mail.ru
2018-02-03T17:28:45.000000+00:00 app[api]: Build failed -- check your build logs
2018-02-03T17:36:05.000000+00:00 app[api]: Build started by user starkeugene@mail.ru
2018-02-03T17:36:05.000000+00:00 app[api]: Build failed -- check your build logs
2018-02-03T17:42:31.000000+00:00 app[api]: Build started by user starkeugene@mail.ru
2018-02-03T17:42:31.000000+00:00 app[api]: Build failed -- check your build logs
2018-02-03T17:44:27.193013+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/logs" host=modernarchetype.herokuapp.com request_id=1c543420-9e18-4400-b294-d516902e340a fwd="95.105.120.132" dyno= connect= service= status=502 bytes= protocol=https
2018-02-03T17:44:27.401399+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=modernarchetype.herokuapp.com request_id=345a05bb-6b12-43d0-9ced-3113a6f303c4 fwd="95.105.120.132" dyno= connect= service= status=502 bytes= protocol=https
2018-02-03T17:44:27.826112+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=modernarchetype.herokuapp.com request_id=15e393ef-b34d-46e0-ae61-7548209e34a7 fwd="95.105.120.132" dyno= connect= service= status=502 bytes= protocol=https
2018-02-03T17:48:02.000000+00:00 app[api]: Build started by user starkeugene@mail.ru
2018-02-03T17:48:02.000000+00:00 app[api]: Build failed -- check your build logs
2018-02-03T20:03:04.780094+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=modernarchetype.herokuapp.com request_id=8cd06c64-2b68-4e7b-96d0-2f69a69aff1b fwd="95.105.120.132" dyno= connect= service= status=502 bytes= protocol=https
- lennie commented on June 8th 19 at 16:47

Find more questions by tags DjangoHerokuMigration of data