2019-05-07
jumpserver安装Python库依赖报错
# 问题描述
(py3) [root@jumpserver opt]# pip install -r /opt/jumpserver/requirements/requirements.txt
ERROR: django-radius 1.3.3 has requirement future==0.16.0, but you'll have future 0.17.1 which is incompatible.
# 解决办法
(py3) [root@jumpserver opt]# pip install future==0.16.0
Installing collected packages: future
Found existing installation: future 0.17.1
Uninstalling future-0.17.1:
Successfully uninstalled future-0.17.1
Running setup.py install for future ... done
Successfully installed future-0.16.0
2020-03-09
jumpserver执行测试连接性、更新硬件信息时一直提示等待任务开始.................
# 解决方法:清理celery产生的数据(请确定字符集是zh_CN.UTF-8),此方式同样适用于docker安装的跳jumpserver。来自jumpserver官方文档。
[root@jumpserver ~]# source /opt/py3/bin/activate
[root@jumpserver ~]# cd /opt/jumpserver/apps
[root@jumpserver ~]# celery -A ops purge -f
PS:如果任然异常, 手动结束所有jumpserver进程, 然后kill掉未能正常结束的jumpserver相关进程, 在重新启动jumpserver即可