-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装后无法登录,nginx返回405 #7
Comments
首先打开/web/www/teamvision/teamvision/settings.py文件 在文件内容最上方有个Debug=Flase,将这个值改为True保存,并重启服务。然后再前端打开调试页面,查看登录请求为什么报错。 |
确认是全新安装的0.0.5 ,整个安装过程基本是执行脚本, 打开了settings.py里的DEBUG开关,还是报的405 Not Allowed 错误 |
nginx默认配置的是8848,端口 |
换成8848后,登陆报500错误,webuwsgi.log里显示: |
这是说你的服务起的时候8055端口被占用了 |
重启了下服务,不报8055占用了,但是启动的里面有这个错误,还是报500 在/usr/python3/bin/python3.5下运行 import django |
如果setting.py里Debug=True打开了,调用接口报错的具体错误信息会有提示。 |
提示还是和上面一样 |
那你检查下django 安装位置和web_uwsig.ini里pythonpath路径写的是不是一致,另外uwsgi也要用python3来编译 |
修改web_uwsig.ini里pythonpath路径后能够正常登陆了,谢谢 |
按照安装文档搭了0.0.5的,网页能打开,点击登陆,输入初始账号和密码,但是点击登陆的时候,nginx返回了405,需要如何排查
The text was updated successfully, but these errors were encountered: