Catalog Search Index failed and products list doesn't work
Hi, Last friday, I installed a new module (ERP embedded). Since this installation, products list is empty on frontend. I'm using Magento 2.4.2 on apache2/php 7.4.24.
I try to reindex but I have an error : ->bin/magento index:reindex Catalog Search index process unknown error: Item (Magento\CatalogInventory\Model\Stock\Status) with the same ID "1" already exists.
Single product is ok with direct url rewrite. I checked if urls rewrite existing for category, it's ok.
I used bin/magento setup:upgrade to update database, no error, all its ok. I cleared and purged cache. I restarted elasticsearch. I tried to use a backup before installation of ERP module (products list was ok), but I have the same problem, products list didn't work ! I suppose its a problem with elasticsearch.
I forced search engine with in/magento config:set catalog/search/engine elasticsearch7 and I watched elasticsearch status.