2017-04-23 120 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/下載) –