Commit 4da3f0e3 authored by wojiushixiaobai's avatar wojiushixiaobai

新增faq内容

parent f54c2cb7
...@@ -196,3 +196,16 @@ FAQ ...@@ -196,3 +196,16 @@ FAQ
# 把 TIMEOUT = 10 修改成你想要的数字,两个文件都需要修改,单位为:秒 # 把 TIMEOUT = 10 修改成你想要的数字,两个文件都需要修改,单位为:秒
# TIMEOUT = 10 表示超时时间为10秒,可以自行修改。 # TIMEOUT = 10 表示超时时间为10秒,可以自行修改。
(13). 升级提示 Table 'xxx' already exists(可用以下命令检查,如果显示内容不一致则无法升级)
# cd /opt/jumpserver/apps
# python manage.py makemigrations
# python manage.py migrate --fake
# find . | grep migrations | grep apps | grep -v 'pyc' | grep -v '__init__'
# 把这里的内容和下面数据库查询的内容对比
# mysql -uroot
> use jumpserver;
> select * from django_migrations;
# 如果对比结果不一样则无法升级
> quit;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment