Heroku 오류 - Cannot run more than 1 Free size dynos

라다디·2021년 3월 15일
0

오류

$ heroku run python manage.py createsuperuser
Running python manage.py createsuperuser on ⬢ ★★... done
 »   lt-scaling-limits for more information.
 »   Error: Cannot run more than 1 Free size dynos.
 »
 »   Error ID: cannot_run_above_limit
 »   See https://devcenter.heroku.com/articles/dyno-size#default-scaling-limits for more information.

해결

$ heroku ps
Free dyno hours quota remaining this month: 465h 40m (84%)
Free dyno usage for this app: 0h 0m (0%)
For more information on dyno sleeping and how to upgrade, see:
https://devcenter.heroku.com/articles/dyno-sleeping

=== run: one-off processes (1)
run.6812 (Free): up 2021/03/15 10:41:06 +0900 (~ 33m ago): python manage.py createsuperuser

=== web (Free): gunicorn announcement.wsgi --log-file - (1)
web.1: up 2021/03/15 10:54:09 +0900 (~ 19m ago)

You can check your current running dynos using heroku ps
👉 run 뒤 숫자에 주목

$ heroku ps:stop run.6812
Stopping run.6812 dyno on ⬢ ★★... done

heroku ps:stop run.숫자

profile
Every day can be the beginning of a new life

0개의 댓글