Comments (4)
另外运行install脚本也是如此。创建容器后查看发现同时web容器也没端口映射,是要修改yaml吗
from yyetsbot.
root@f86d0ed6d838:/tmp# mongod --version
db version v5.0.2
Build Info: {
"version": "5.0.2",
"gitVersion": "6d9ec525e78465dcecadcff99cce953d380fedc8",
"openSSLVersion": "OpenSSL 1.1.1f 31 Mar 2020",
"modules": [],
"allocator": "tcmalloc",
"environment": {
"distmod": "ubuntu2004",
"distarch": "x86_64",
"target_arch": "x86_64"
}
}
root@f86d0ed6d838:/tmp# mongorestore --gzip --archive=yyets_mongo.gz
2021-08-13T04:37:15.944+0000 preparing collections to restore from
2021-08-13T04:37:15.954+0000 reading metadata for zimuzu.yyets from archive 'yyets_mongo.gz'
2021-08-13T04:37:15.977+0000 restoring zimuzu.yyets from archive 'yyets_mongo.gz'
2021-08-13T04:37:18.904+0000 zimuzu.yyets 118MB
2021-08-13T04:37:20.546+0000 zimuzu.yyets 234MB
2021-08-13T04:37:20.547+0000 finished restoring zimuzu.yyets (17522 documents, 0 failures)
2021-08-13T04:37:20.549+0000 restoring indexes for collection zimuzu.yyets from metadata
2021-08-13T04:37:20.552+0000 index: &idx.IndexDocument{Options:primitive.M{"name":"data.info.views_-1", "v":2}, Key:primitive.D{primitive.E{Key:"data.info.views", Value:-1}}, PartialFilterExpression:primitive.D(nil)}
2021-08-13T04:37:20.552+0000 index: &idx.IndexDocument{Options:primitive.M{"name":"data.info.id_1", "v":2}, Key:primitive.D{primitive.E{Key:"data.info.id", Value:1}}, PartialFilterExpression:primitive.D(nil)}
2021-08-13T04:37:20.552+0000 index: &idx.IndexDocument{Options:primitive.M{"name":"data.info.area_1", "v":2}, Key:primitive.D{primitive.E{Key:"data.info.area", Value:1}}, PartialFilterExpression:primitive.D(nil)}
2021-08-13T04:37:21.199+0000 17522 document(s) restored successfully. 0 document(s) failed to restore.
root@f86d0ed6d838:/tmp#
你是第二次导入吧?清掉数据库,重新导入一下哦。
from yyetsbot.
install.sh
确实有问题,sed的行号不对,我更新一下。
from yyetsbot.
from yyetsbot.
Related Issues (20)
- 数据库下载链接没有
- 您好,小白询问贴 HOT 1
- 等我有空的吧,评论楼层也有限制,没有分页。 HOT 4
- 2023-1-26,无法评论,页面右上角红框报错 HOT 6
- 搜索不显示结果,右上角总是红框提示Request failed with status code 500
- meilisearch docker
- meilisearch 导入数据
- 从 MongoDB 同步数据到 meilisearch
- 搜索页面下拉框 后端
- 搜索框即时提示
- 使用 MongoDB aggregate
- 拆分 handler.py 和 Mongo.py
- meilisearch的grafana面板
- meilisearch可选组件
- mongodb replica set
- python库403 & 实时数据库更新 HOT 11
- 机器人不发链接有bug
- 建议: 添加评论点赞 HOT 1
- 离线版似乎无法使用 HOT 1
- Film
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 yyetsbot.