Code Monkey home page Code Monkey logo

Comments (4)

LiuZhipeng99 avatar LiuZhipeng99 commented on July 21, 2024

另外运行install脚本也是如此。创建容器后查看发现同时web容器也没端口映射,是要修改yaml吗
image

from yyetsbot.

BennyThink avatar BennyThink commented on July 21, 2024
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.

BennyThink avatar BennyThink commented on July 21, 2024

install.sh 确实有问题,sed的行号不对,我更新一下。

from yyetsbot.

chenxihub avatar chenxihub commented on July 21, 2024

我导入还是失败,是什么情况
image

from yyetsbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.