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
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.
# mongodump
2018-01-17T19:57:03.251+0100 Failed: error dumping metadata: error converting index (<nil>): conversion of BSON value '2' of type 'bson.Decimal128' not supported
# 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: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
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-version-string
git version: built-without-git-spec
Go version: go1.7.3
os: linux
arch: amd64
compiler: gc
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
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:/ /stackoverflow. com/questions/ 43575194/ mongodump- index-conversio n-error- of-bson- decimal128- not-supported
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 17T19:57: 03.251+ 0100 Failed: error dumping metadata: error converting index (<nil>): conversion of BSON value '2' of type 'bson.Decimal128' not supported
2018-01-
# cat /etc/issue
Ubuntu 17.10 \n \l
# apt show mongodb-server | grep Version
Version: 1:3.4.7-1
# mongod --version 4a11737581beafe f4fe120bcd
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 version- string git-spec
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 kandidat: 1:3.4.7-1 de.archive. ubuntu. com/ubuntu artful/universe amd64 Packages dpkg/status kandidat: 1:3.4.7-1 de.archive. ubuntu. com/ubuntu artful/universe amd64 Packages dpkg/status kandidat: 3.2.11-1 de.archive. ubuntu. com/ubuntu artful/universe amd64 Packages dpkg/status
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 ature: Ubuntu 4.13.0- 16.19-generic 4.13.4
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)