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 System check identified no issues (0 silenced).
with no further output.
-
which Django version?– dfrancaApr 12, 2016 at 15:36
9 Answers
Just came across the same issue - in my case it happened because the database server was down
EDIT: Django version 1.9
-
3Thanks, in my case it didn't had access to remote DB. The error message came after several minutes!– steliosJul 6, 2016 at 17:57
when django can't connect to your database django run hangs at
System check identified no issues (0 silenced).
totally issue related database config:
- check database service is up
- check database Host name and Port
- check database UserName and Password
- check database User permission in DB side.
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.
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)
It might worth to read about the System Check framework.
Serious errors will prevent Django commands (such as runserver) from running at all. Minor problems are reported to the console. If you have inspected the cause of a warning and are happy to ignore it, you can hide specific warnings using the SILENCED_SYSTEM_CHECKS setting in your project settings file.
If you don't see any issue being displayed is probably because there were no issues running the system check, if something else is not working the error may not be related, then we need more information.
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
There is no test_
function in my case. Please make sure your file is named test_~.py
and it must have def test_~:
inside.
I got exactly the same error because I ran $ python manage.py runserver
when I was in a Toronto Library.
As soon as I got home, I ran it again, and got no error any more.
I guess that it is because the library firewall blocks port 5432, which AWS databases run on.