Comments (14)
应该是重新构建了db container的原故,可以将db文件夹下的文件和目录都删除了再启动,这样原来的数据可能会丢失。
from actionview.
恩,测试了一下,删除后确实可以启动了,不过就是数据都丢失了
from actionview.
这个地方可以再优化下。
另外,docker主要是用户试用用的,生产用最好还是部署一套。
from actionview.
这种情况下不知是否还有可能把数据导出来
from actionview.
我来优化下db docker镜像吧
from actionview.
已重新build了db镜像,只要pull下最新的db镜像,然后启动,原有db数据不会丢失。
from actionview.
启动成功,并且无报错,故意用错误的用户名密码会提示用户名密码错误,但用正常的点了登录后无反应。
from actionview.
能否详细描述下你的验证过程?我又验证了一遍是没问题的。
from actionview.
我把原来的DOCKER容器都清空了,然后重新运行DOCKER-COMPOSE UP,之前是启动的时候会报数据库连接错误,今天没有报错了,能进登录界面了,但输入完用户名密码后点登录无反应,地址栏后面加上了/admin/scheme/type
from actionview.
我的实验步骤:
- 所有的container和镜像全部删除, db下的文件和文件夹都删除;
- docker-composer up
- 进入系统任意创建用户
- docker-composer stop
- 删除db container
- docker-compser up
查看 3步骤创建的用户还是存在的。
from actionview.
好的,我再测试一下,感谢回复
from actionview.
DOCKER-COMPOSE UP的过程特别慢,是否有办法可以加快下载过程
from actionview.
第一次下载镜像时慢,以后就不慢了。
from actionview.
删了db文件夹也不行
db_1 | nc: connect to localhost port 27017 (tcp) failed: Connection refused db_1 | nc: connect to localhost port 27017 (tcp) failed: Connection refused db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] MongoDB starting : pid=9 port=27017 dbpath=/data 64-bit host=9f4e71c70aca web_1 | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] db version v2.6.10 db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] git version: nogitversion db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] build info: Linux lgw01-12 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 BOOST_LIB_VERSION=1_58 db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] allocator: tcmalloc db_1 | 2019-04-12T02:31:12.323+0000 [initandlisten] options: { storage: { dbPath: "/data", journal: { enabled: false } } } db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] exception in initAndListen: 10309 Unable to create/open lock file: /data/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] dbexit: db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] shutdown: going to close listening sockets... db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] shutdown: going to flush diaglog... db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] shutdown: going to close sockets... cron_1 | * Starting periodic command scheduler cron db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] shutdown: waiting for fs preallocator... db_1 | 2019-04-12T02:31:12.324+0000 [initandlisten] shutdown: closing all files... db_1 | 2019-04-12T02:31:12.325+0000 [initandlisten] closeAllFiles() finished db_1 | 2019-04-12T02:31:12.325+0000 [initandlisten] shutdown: removing fs lock... db_1 | 2019-04-12T02:31:12.325+0000 [initandlisten] couldn't remove fs lock errno:9 Bad file descriptor db_1 | 2019-04-12T02:31:12.325+0000 [initandlisten] dbexit: really exiting now db_1 | nc: connect to localhost port 27017 (tcp) failed: Connection refused
提示/data/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
还需要在其它地方设置权限吗?
from actionview.
Related Issues (20)
- 微信小程序如何配置呢 HOT 1
- 外部用户功能支持私有化部署的gitlab吗
- 新功能建议:外部用户功能建议支持一次提交,关联多个问题 HOT 1
- 外部用户功能,增加动作id后问题状态未发生变更 HOT 2
- 新功能建议:问题增加影响版本 HOT 1
- 新功能建议:有没有可能把一些自定义字段加个必填项. HOT 1
- 文件访问不了 file does not exist HOT 5
- 新功能建议:增加系统标签功能,系统标签可被所有项目使用(项目标签仅项目内部使用)
- 新功能建议:增加用例管理功能,同时用例应支持与版本关联,可记录用例执行结果
- 想问下LDAP同步要怎么设置,测试通过但无法获取到用户 HOT 2
- 部署好项目后,登录无反应,显示seesion 500是怎么回事 HOT 1
- 文件上传失败:超过1G大小文件,直接报错,无法上传,页面不发起后端请求
- 请问怎么部署在K8S上?尝试写了下yaml配置文件无法启动
- 请问测试邮件可以发送,创建问题邮件不发送是什么情况
- 【Occasional problem】The image in version 1.13.1 cannot be opened after being uploaded, and the video also has the same problem HOT 1
- Demo怎么进不去了
- 请教各位大佬windows如何部署actionView
- 请教:actionview使用了mysql吗?如果有,初始账密哪里可以查看?
- webhook,最新版本是否有更新项目成员的触发事件?我目前用的是1.13.1。
- 标签搜索希望能支持搜索空的情况
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actionview.