Django runserver挂起"系统检查发现没有问题(0静音)."

Eam*_*.R. 12 django ubuntu

在一个Ubuntu盒子上,项目运行得很好python manage.py runserver.当试图在另一个Ubuntu盒子上复制它时,安装后,它会挂起System check identified no issues (0 silenced).而没有进一步的输出.

Cro*_*rKZ 17

刚刚遇到同样的问题 - 在我的情况下,它发生是因为数据库服务器已关闭

编辑:Django版本1.9

  • 谢谢,就我而言,它无法访问远程数据库。几分钟后出现错误信息! (2认同)

has*_*.sd 11

当Django无法连接到你的数据库的Django运行挂起

System check identified no issues (0 silenced). 完全发布相关的数据库配置

  1. 检查数据库服务是否已启动
  2. 检查数据库主机名端口
  3. 检查数据库用户名密码
  4. 检查数据库端的数据库用户权限。


Har*_*eno 9

我的情况是我试图连接到没有响应连接请求的远程数据库.

试试python manage.py dbshell.这给了我没有输出.然后我进入了亚马逊网络服务并放宽了安全设置.


小智 5

可能是数据库连接错误。

如果您使用 AWS 作为数据库,请转到 RDS 实例选项卡,单击安全组并编辑其入站/出站规则以允许来自正确主机的连接(或来自任何地方的快速修复)


dan*_*nca 3

可能值得阅读有关系统检查框架的内容。

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.
Run Code Online (Sandbox Code Playgroud)

如果您没有看到显示任何问题,可能是因为运行系统检查没有问题,如果其他功能不起作用,则错误可能与此无关,那么我们需要更多信息。