Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

fail to do backups after creating a new database #12

@thib3113

Description

@thib3113

After creating a new database, I tryied to do a backup, and got this error :

Failed: error connecting to db server: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.

Coming from the mongodump command ...
So, I've done some tryies :

  • adding extra_opts --authenticationDatabase admin ... but same error
  • trying to rebuild the image (because the image on docker hub seems old) => same error
  • I check url / connection / testing bad password / username to get differents errors ...

So I try to get the mongodump version, and it say :

mongodump version: 
git version: febd112618a4254ff34d0aa2963153235d4101a6
Go version: go1.12.4
  os: linux
  arch: amd64
  compiler: gc

the mongodump seems empty (maybe because self builded) .
But comparing with a normal installation :

mongodump version: 100.5.0
git version: 460c7e26f65c4ce86a0b99c46a559dccaba3a07d
Go version: go1.16.3
   os: linux
   arch: amd64
   compiler: gc

It seems the version is not up to date (by checking the go version) .

So, I try to rebuild your https://github.com/tiredofit/docker-mongo-builder to rebuild this with an updated version ...
But the build failed, because a package snowball-dev is missing (but seems not found on alpine website ... ), and no ideas about how to get it ....

Did you have an idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions