去年底用docker run 部署测试的mrdoc想换成正式用,因为之前测试的时候把一些框架都定好了也上穿了一些文档。
今天在启动的时候发现启动之后只剩下一个项目了,并且之前上传的文件还有写的文档也都无法展示了。直接跳转页面到文集首页报404。但是这些文件和文件在后台是可以看到记录的(文档管理、素材管理)Linux中的/media/attachment/目录可以看到之前的文件。不过素材库里的图片都能预览。
怀疑是不是缓存给刷没了,因为每次启动不是都换刷新缓存嘛
上面说的【项目】是文集
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
docker启动日志,对了没用mysql
docker run -it --rm --name mrdoc2 -p 10087:10086 -v /root/MrDoc:/app/MrDoc zmister/mrdoc:v4
[uWSGI] getting INI configuration from /app/MrDoc/config/uwsgi.ini
No changes detected
Operations to perform:
Apply all migrations: admin, app_admin, app_api, app_doc, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
WARNING: This will irreparably remove EVERYTHING from your search index in connection 'default'.
Your choices after this are to restore from backups or rebuild via the rebuild_index
command.
Are you sure you wish to continue? [y/N] Removing all documents from your index because you said so.
All documents removed.
Indexing 21 文档
Building prefix dict from the default dictionary ...
Dumping model to file cache /tmp/jieba.cache
Loading model cost 0.707 seconds.
Prefix dict has been built successfully.
我自己的问题,我默认用的admin用户登录的。
但是之前的项目用adminA的超级管理员创建的,登录adminA用户可以看到了。
不过,这是不是也算一个问题。默认的admin是超级管理员,adminA也是。他们不是全局管理员吗,怎么理解
登录 后才可以发表评论