Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
3ddf71e6
Unverified
Commit
3ddf71e6
authored
Sep 05, 2018
by
wojiushixiaobai
Committed by
GitHub
Sep 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1782 from wojiushixiaobai/docs
[fix]修改文档
parents
6441361c
73c57d13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
faq.rst
docs/faq.rst
+11
-0
No files found.
docs/faq.rst
View file @
3ddf71e6
...
@@ -106,6 +106,17 @@ FAQ
...
@@ -106,6 +106,17 @@ FAQ
# 数据库表结构文件丢失,请参考离线升级文档,把备份的数据库表文件还原
# 数据库表结构文件丢失,请参考离线升级文档,把备份的数据库表文件还原
# 可以使用如下命令检查丢失了什么表结构
$ cd /opt/jumpserver/apps
$ for d in $(ls); do if [ -d $d ] && [ -d $d/migrations ]; then ll ${d}/migrations/*.py | grep -v __init__.py; fi; done
# 新开一个终端
$ mysql -uroot -p
> use jumpserver;
> select app,name from django_migrations where app in('assets','audits','common','ops','orgs','perms','terminal','users') order by app asc;
# 对比即可知道丢失什么文件,把文件从备份目录拷贝即可
9. 设置浏览器过期
9. 设置浏览器过期
::
::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment