mongodump does not work – Failed: error dumping metadata: error converting index (<nil>): conversion of BSON value '2' of type 'bson.Decimal128' not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mongodb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Won't Fix
|
High
|
Unassigned |
Bug Description
Hi,
[this is my first bug report on launchpad, so if something is missing, just let me know :-)]
mongodump does not work at all. Everytime I try to dump I get the error message:
Failed: error dumping metadata: error converting index (<nil>): conversion of BSON value '2' of type 'bson.Decimal128' not supported
Googling the error leads to https:/
suggesting it's a version compatibility issue. See below the packaged version of mongodump says it is built without a concrete version or git commit.
-------
Reproduction:
I reproduced on a fresh installation of Ubuntu 17.10 Server.
Just install mongodb and try to mongodump.
There is no need to insert data to trigger the issue.
-------
Additional information:
# mongodump
2018-01-
# cat /etc/issue
Ubuntu 17.10 \n \l
# apt show mongodb-server | grep Version
Version: 1:3.4.7-1
# mongod --version
db version v3.4.7
git version: cf38c1b8a0a8dca
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
allocator: tcmalloc
modules: none
build environment:
distarch: x86_64
target_arch: x86_64
# apt show mongo-tools | grep Version
Version: 3.2.11-1
# mongodump --version
mongodump version: built-without-
git version: built-without-
Go version: go1.7.3
os: linux
arch: amd64
compiler: gc
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
# lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
# apt-cache policy mongodb mongodb-server mongo-tools
mongodb:
Installiert: 1:3.4.7-1
Installations
Versionstabelle:
*** 1:3.4.7-1 500
500 http://
100 /var/lib/
mongodb-server:
Installiert: 1:3.4.7-1
Installations
Versionstabelle:
*** 1:3.4.7-1 500
500 http://
100 /var/lib/
mongo-tools:
Installiert: 3.2.11-1
Installations
Versionstabelle:
*** 3.2.11-1 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: mongodb 1:3.4.7-1
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
Date: Wed Jan 17 20:18:33 2018
InstallationDate: Installed on 2018-01-17 (0 days ago)
InstallationMedia: Ubuntu-Server 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
SourcePackage: mongodb
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.