Describe the issue or problem
ojs 3.3.0-20 indexing process does not finish and stops silently after about 20 hours. Hence some of the journals that have not been indexed are not searchable.
Additional information
below are all content logged in my log file rebuildSearchIndex.log
nohup: ignoring input Clearing index … done Indexing “Alberta Journal of Educational Research” … 3315 articles indexed Indexing “ARIEL: A Review of International English Literature” … Syntax Warning: May not be a PDF file (continuing anyway) Syntax Error (26): Illegal character ‘>’ Syntax Error: Couldn’t find trailer dictionary Syntax Error: Couldn’t find trailer dictionary Syntax Error: Couldn’t read xref table /journals/86/articles/35402/submission/proof/35402-50-89424-1-10-20130217.doc is not a Word Document. 6384 articles indexed Indexing “ARCTIC” … 5105 articles indexed Indexing “The Calgary Papers in Military and Strategic Studies” … 32 articles indexed Indexing “Canadian Journal for New Scholars in Education/ Revue canadienne des jeunes chercheures et chercheurs en éducation” … Syntax Error: Expected the default config, but wasn’t able to find it, or it isn’t a Dictionary 916 articles indexed Indexing “Canadian Journal of Counselling and Psychotherapy” …
I have tried many days and at this point I am out of idea, not sure what else to do so I appreciate any pointer to further troubleshoot this issue. I hope you can help.
I have found a fix for this bug when you upgrade from php 7.4 to php 8.x
the changes that I made, please notice the file name _old is on the right and fixed is on the left. This resolved more than 1 indexing issue, it also resolve other profile and dashboard issue.
I think this is a data error – you have a mix of localized and non-localized data that is causing problems. Check the author_settings table to make sure that all entries with a setting_name of “biography” have a valid locale code in the “locale” column.
Regards,
Alec Smecher
Public Knowledge Project Team