Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Error while backup routine #35

Closed
marcelinhov2 opened this issue Jun 29, 2018 · 7 comments
Closed

Error while backup routine #35

marcelinhov2 opened this issue Jun 29, 2018 · 7 comments

Comments

@marcelinhov2
Copy link

Hi guys, I already deployed mgob at my Kubernetes Cluster and it was working fine.

But now, I'm getting this error and I don't know how to handle this:

{"error":"mongodump log 2018-06-29T21:53:31.016+0000\twriting googlecrawler.reviews to archive '/tmp/googlecrawler-1530309210.gz' 2018-06-29T21:53:31.017+0000\twriting googlecrawler.processes to archive '/tmp/googlecrawler-1530309210.gz' 2018-06-29T21:53:31.017+0000\twriting googlecrawler.credentials to archive '/tmp/googlecrawler-1530309210.gz' 2018-06-29T21:53:31.017+0000\twriting googlecrawler._properties to archive '/tmp/googlecrawler-1530309210.gz' 2018-06-29T21:53:31.023+0000\tFailed: archive writer: error writing data for collection `googlecrawler.credentials` to disk: error reading collection: Failed to parse: { find: \"credentials\", skip: 0, snapshot: true, $readPreference: { mode: \"secondaryPreferred\" }, $db: \"googlecrawler\" }. Unrecognized field 'snapshot'. / Mux ending but selectCases still open 3 : exit status 1"}

Does anyone already went through this?

@marcelinhov2
Copy link
Author

It's mongo version guys. It's not working with Mongo 4.0. I downgraded it to 3.6 and it worked like a charm.

@okanmilli
Copy link

Same issue for me

@marcelinhov2
Copy link
Author

@okanmilli check your mongodb version

@marcelinhov2
Copy link
Author

Hello, I'm getting a new error:

mc config host for plan google failed: exit status 1

It's in s3.go file.

@marcelinhov2
Copy link
Author

anyone?

@jscottsf
Copy link

jscottsf commented Aug 14, 2018

Just spent an hour setting this up. LOVE it. Doesn't work tho, Mongo 4.0. Bummed.

Unrecognized field 'snapshot'

@stefanprodan
Copy link
Owner

There is no MongoDB 4.0 support, it says very clearly in the readme. When mongo 4.0 package will ship for alpine/stable I will make a new release.

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

4 participants