Django runserver hangs at “System check identified no issues (0 silenced).”

后端 未结 7 2027
野的像风
野的像风 2021-02-18 22:52

On one Ubuntu box, the project runs just fine with python manage.py runserver. When trying to replicate it on another Ubuntu box, after installation, it hangs at

相关标签:
7条回答
  • 2021-02-18 23:20

    It may be a database connection error.

    If you are using AWS for your database, go to the RDS instances tab, click on the security group(s) and edit their inbound/outbound rules to allow connections from the correct host (or from anywhere for a quick fix)

    0 讨论(0)
  • 2021-02-18 23:21

    Just came across the same issue - in my case it happened because the database server was down

    EDIT: Django version 1.9

    0 讨论(0)
  • 2021-02-18 23:26

    Check the DATABASE's host in settings. Make sure it is localhost

    0 讨论(0)
  • 2021-02-18 23:29

    when django can't connect to your database django run hangs at

    System check identified no issues (0 silenced). totally issue related database config:

    1. check database service is up
    2. check database Host name and Port
    3. check database UserName and Password
    4. check database User permission in DB side.
    0 讨论(0)
  • 2021-02-18 23:30

    I had this same issue and realized it was because i had recently reactivated my VPN so if anyone has a VPN that may be why. Youll need to follow Harry's directions for the fix

    0 讨论(0)
  • 2021-02-18 23:38

    I my case I was attempting to connect to a remote database that wasn't responding to connection requests.

    Try python manage.py dbshell. This gave me no output. Then I went into amazon web services and relaxed the security settings.

    0 讨论(0)
提交回复
热议问题