[Obm] obm server migration : Contact reindexation failed

Benoit CROQUIN b.croquin at labsoft.fr
Wed Apr 20 10:20:44 CEST 2016


Hi,

Answering my own question, and ask you for forgiveness cause we patched obm_index_init.py !!
Recovering the initial version of obm_index_init.py makes reindexation process work !

Sorry for the inconvenience !

Benoit Croquin
________________________________________
De : Obm [obm-bounces at list.obm.org] de la part de Benoit CROQUIN [b.croquin at labsoft.fr]
Envoyé : mercredi 20 avril 2016 10:06
À : obm at list.obm.org
Objet : [Obm] obm server migration : Contact reindexation failed

Hello,

After a migration from server A to server B, obm users can not see old contacts.

Checking obm database, all contacts are linked to the real domain_id 2.
There are more than 100000 records in Contact table, but only new created contacts are shown to users.

I have tried to reindex contact executing the following command :
$ /usr/share/obm-solr/obm_index_init.py

with following result :

INFO: Fetch solr servers
INFO: Connect to solr 127.0.0.1 for domain mydomain.fr
INFO: Event indexing for domain mydomain.fr
INFO: Add 5964 events
INFO: Solr commit
INFO: Connect to solr 127.0.0.1 for domain mydomain.fr
INFO: Contact indexing for domain mydomain.fr
INFO: Add 87 contacts
INFO: Solr commit

Could you tell me please how to recover the former contacts, I think this is about a re-indexation but can not find he command to reindex contact ?

Thanks in advance

Benoit Croquin




_______________________________________________
Obm mailing list
Obm at list.obm.org
http://list.obm.org/listinfo/obm


More information about the Obm mailing list