Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

f8app_mongorestore exit #220

Open
Ash-hs opened this issue Apr 19, 2018 · 2 comments
Open

f8app_mongorestore exit #220

Ash-hs opened this issue Apr 19, 2018 · 2 comments

Comments

@Ash-hs
Copy link

Ash-hs commented Apr 19, 2018

when i cd f8app, run sudo docker-compose up --build
there was a error:
f8app_mongorestore_1 exited with code 1
and Then apper the bellow message too long time
{ lastUse: 1 }, name: "lsidTTLIndex", expireAfterSeconds: 1800 } ], $db: "config" } numYields:0 reslen:98 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { W: 1 } }, Collection: { acquireCount: { w: 1 } } } protocol:op_msg 483ms

@Ash-hs
Copy link
Author

Ash-hs commented Apr 19, 2018

this is the log
2018-04-19T10:39:47.248+0000 the --db and --collection args should only be used when restoring from a BSON file. Other uses are deprecated and will not exist in the future; use --nsInclude instead
2018-04-19T10:39:47.248+0000 building a list of collections to restore from data dir
2018-04-19T10:39:47.250+0000 don't know what to do with subdirectory "data/configdb", skipping...
2018-04-19T10:39:47.250+0000 don't know what to do with subdirectory "data/db", skipping...
2018-04-19T10:39:47.251+0000 reading metadata for dev._Join:mySchedule:_User from data/_Join:mySchedule:_User.metadata.json
2018-04-19T10:39:47.251+0000 reading metadata for dev._PushStatus from data/_PushStatus.metadata.json
2018-04-19T10:39:47.595+0000 restoring dev._PushStatus from data/_PushStatus.bson
2018-04-19T10:39:47.596+0000 reading metadata for dev._JobStatus from data/_JobStatus.metadata.json
2018-04-19T10:39:47.597+0000 reading metadata for dev._dummy from data/_dummy.metadata.json
2018-04-19T10:39:47.829+0000 restoring dev._Join:mySchedule:_User from data/_Join:mySchedule:_User.bson
2018-04-19T10:39:48.097+0000 restoring dev._JobStatus from data/_JobStatus.bson
2018-04-19T10:39:48.321+0000 restoring dev._dummy from data/_dummy.bson
2018-04-19T10:39:49.608+0000 no indexes to restore
2018-04-19T10:39:49.608+0000 finished restoring dev._dummy (7952 documents)
2018-04-19T10:39:49.608+0000 reading metadata for dev.Video from data/Video.metadata.json
2018-04-19T10:39:49.877+0000 restoring dev.Video from data/Video.bson
2018-04-19T10:39:49.890+0000 no indexes to restore
2018-04-19T10:39:49.890+0000 finished restoring dev.Video (63 documents)
2018-04-19T10:39:49.890+0000 reading metadata for dev.Agenda from data/Agenda.metadata.json
2018-04-19T10:39:50.155+0000 restoring dev.Agenda from data/Agenda.bson
2018-04-19T10:39:50.160+0000 no indexes to restore
2018-04-19T10:39:50.160+0000 finished restoring dev._PushStatus (6363 documents)
2018-04-19T10:39:50.160+0000 reading metadata for dev.Speakers from data/Speakers.metadata.json
2018-04-19T10:39:50.245+0000 [###.....................] dev._Join:mySchedule:_User 714KB/4.54MB (15.3%)
2018-04-19T10:39:50.245+0000 [##################......] dev._JobStatus 1.93MB/2.48MB (77.8%)
2018-04-19T10:39:50.245+0000 [########################] dev.Agenda 58.0KB/58.0KB (100.0%)
2018-04-19T10:39:50.245+0000
2018-04-19T10:39:50.361+0000 restoring dev.Speakers from data/Speakers.bson
2018-04-19T10:39:50.363+0000 [########################] dev.Agenda 58.0KB/58.0KB (100.0%)
2018-04-19T10:39:50.363+0000 restoring indexes for collection dev.Agenda from metadata
2018-04-19T10:39:50.873+0000 restoring indexes for collection dev.Speakers from metadata
2018-04-19T10:39:51.185+0000 finished restoring dev.Agenda (78 documents)
2018-04-19T10:39:51.185+0000 reading metadata for dev.UTestAgenda from data/UTestAgenda.metadata.json
2018-04-19T10:39:51.494+0000 restoring dev.UTestAgenda from data/UTestAgenda.bson
2018-04-19T10:39:51.497+0000 finished restoring dev.Speakers (252 documents)
2018-04-19T10:39:51.497+0000 reading metadata for dev._Cardinality from data/_Cardinality.metadata.json
2018-04-19T10:39:51.718+0000 restoring dev._Cardinality from data/_Cardinality.bson
2018-04-19T10:39:51.720+0000 restoring indexes for collection dev.UTestAgenda from metadata
2018-04-19T10:39:51.845+0000 restoring indexes for collection dev._Cardinality from metadata
2018-04-19T10:39:51.845+0000 finished restoring dev.UTestAgenda (53 documents)
2018-04-19T10:39:51.845+0000 reading metadata for dev.Survey from data/Survey.metadata.json
2018-04-19T10:39:52.074+0000 restoring dev.Survey from data/Survey.bson
2018-04-19T10:39:52.232+0000 restoring indexes for collection dev.Survey from metadata
2018-04-19T10:39:52.368+0000 finished restoring dev._Cardinality (145 documents)
2018-04-19T10:39:52.368+0000 reading metadata for dev.Meetups from data/Meetups.metadata.json
2018-04-19T10:39:52.370+0000 finished restoring dev.Survey (69 documents)
2018-04-19T10:39:52.371+0000 reading metadata for dev._SCHEMA from data/_SCHEMA.metadata.json
2018-04-19T10:39:52.598+0000 restoring dev.Meetups from data/Meetups.bson
2018-04-19T10:39:52.599+0000 Failed: dev._SCHEMA: error creating collection dev._SCHEMA: error running create command: a collection 'dev._SCHEMA' already exists

@caabernathy
Copy link
Contributor

Is this the first time you're running the F8 App or have you ran it before. If you had run it previously, was there a problem? The error message seems to indicate that there's an issue with an existing schema collection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants