2017-04-23 31 views
1
Failed: error dumping metadata: error converting index (<nil>): conversion of BSON value '2' of type 'bson.Decimal128' not supported 

任何想法为什么会出现此错误?我正在使用mongo的最新版本(3.4)与远程服务器以及本地计算机。不支持'bson.Decimal128'的MongoDump索引转换错误

+0

你能否给出一些更多的背景知道你在做什么导致了这一点,以及一些示例数据。 –

回答

1

我发现我的错误。版本兼容性问题。运行mongodump --version检查。

原来做安装mongodb不安装最新版本。确保卸载并删除mongo工具并更新到最新版本。

+0

使用从[官方网站]下载的最新mongo软件包后不工作(https://www.mongodb.com/dr/fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.6.2.tgz/下载) –