[nodebb-plugin-dbsearch] Error after nodebb update from 1.19.0 to 3.6.1
-
Hi,
It's not a bug. I'm trying to update my nodebb from 1.19.0 to 3.6.1.
To do this, I completely delete my installation directory, then install the new version, restore the config file and the upload directory.
After the rebuild, there are a few plugin adjustments to be made (normal) but this time the dbsearch plugin is giving me trouble. I get the following error:2023-12-29T22:13:01.247Z [4567/28038] - error: [plugins] Error executing 'static:app.load' in plugin 'nodebb-plugin-dbsearch' MongoServerError: An equivalent index already exists with the same name but different options. Requested index: { v: 2, key: { _fts: "text", _ftsx: 1, roomId: 1, uid: 1 }, name: "content_text_roomId_1_uid_1", background: true, default_language: "fr", weights: { content: 1 }, language_override: "language", textIndexVersion: 3 }, existing index: { v: 2, key: { _fts: "text", _ftsx: 1, roomId: 1, uid: 1 }, name: "content_text_roomId_1_uid_1", background: true, weights: { content: 1 }, default_language: "english", language_override: "language", textIndexVersion: 3 } at Connection.onMessage (/var/www/nodebb/node_modules/mongodb/lib/cmap/connection.js:205:26) at MessageStream.<anonymous> (/var/www/nodebb/node_modules/mongodb/lib/cmap/connection.js:64:60) at MessageStream.emit (node:events:514:28) at processIncomingData (/var/www/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:117:16) at MessageStream._write (/var/www/nodebb/node_modules/mongodb/lib/cmap/message_stream.js:33:9) at writeOrBuffer (node:internal/streams/writable:556:12) at _write (node:internal/streams/writable:490:10) at Writable.write (node:internal/streams/writable:494:10) at Socket.ondata (node:internal/streams/readable:985:22) at Socket.emit (node:events:514:28)
I tried to re-install the plugin, but the message persists.
Does anyone have an idea how to solve this problem? -
Copyright © 2024 NodeBB | Contributors