mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 11:58:10 -05:00
Note --batchSize=100 option for database restore on certain Mongo versions
parent
b8c0c15e97
commit
74144e50b7
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,16 @@
|
||||||
|
|
||||||
If you are having a problem not listed here, jump into [our dev chat](https://coco-slack-invite.herokuapp.com/) and let's get it fixed and then documented here. You might want to check your versions of node, npm, MongoDB, and Python, and also make sure your GitHub copy of CodeCombat is [up-to-date](https://help.github.com/articles/syncing-a-fork/).
|
If you are having a problem not listed here, jump into [our dev chat](https://coco-slack-invite.herokuapp.com/) and let's get it fixed and then documented here. You might want to check your versions of node, npm, MongoDB, and Python, and also make sure your GitHub copy of CodeCombat is [up-to-date](https://help.github.com/articles/syncing-a-fork/).
|
||||||
|
|
||||||
|
### Database
|
||||||
|
|
||||||
|
If you get an error like this:
|
||||||
|
|
||||||
|
> Failed: restore error: coco.media.chunks: error restoring from /root/data/dump/coco/media.chunks.bson: insertion error: EOF
|
||||||
|
|
||||||
|
Then try using the `--batchSize=100` option:
|
||||||
|
|
||||||
|
> mongorestore --drop --batchSize=100 /root/data/dump
|
||||||
|
|
||||||
### Bower
|
### Bower
|
||||||
|
|
||||||
If you get errors with bower not being able to clone git repositories, try [cloning over https](http://stackoverflow.com/questions/1722807/git-convert-git-urls-to-http-urls/11383587#11383587).
|
If you get errors with bower not being able to clone git repositories, try [cloning over https](http://stackoverflow.com/questions/1722807/git-convert-git-urls-to-http-urls/11383587#11383587).
|
||||||
|
|
Loading…
Reference in a new issue