cancel
Showing results for 
Search instead for 
Did you mean: 

Search Not Working

MicheleTerlizzi
Champ on-the-rise
Champ on-the-rise

Hi All,

I'm newbie on alfresco and I'm just tryng to make an install from zip on Ubuntu server 18.04 server.

content-services: version 6.2ga

search-services-version: 1.4

I've some trouble with search services, I decided to not use https, so i configured my environment so:

alfresco.global.properties:

### Solr indexing ###
index.subsystem.name=solr6
solr.secureComms=none
solr.port=8983
solr.host=192.168.54.3
solr.baseUrl=/solr

and in <SOLRHOME>\templates\rerank\conf\solcore.properties

# none, https
alfresco.secureComms=none

as indicated in docs:

https://docs.alfresco.com/search-enterprise1.4/tasks/solr-install-withoutSSL.html

But ths search does not work in Alfresco Share, (except on file names results). I've some error on logs but not found any solution after tree days on working on:

image

Any help is appreciated!

Thank you

Michele 

2 ACCEPTED ANSWERS

Found the solution!

Thanks to abhinav!

I was missing the last "true" value, due to an old config file. 

transform.service.enabled=false
local.transform.service.enabled=false
legacy.transform.service.enabled=true

Still some errors on docx preview... with error but i suppose for other reason: 

Caused by: java.lang.IllegalStateException: this OfficeManager is currently stopped

View answer in original post

great news @MicheleTerlizzi  

see you can validate following setting for the other error you have mentioned. 

ooo.exe=<Installpath>/libreoffice/program/soffice
ooo.enabled=false
ooo.port=8100
jodconverter.enabled=true
jodconverter.officeHome=<Installpath>/libreoffice
jodconverter.portNumbers=8100
~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

6 REPLIES 6

abhinavmishra14
World-Class Innovator
World-Class Innovator

seems like solr is not able to poll alfresco. Have you set these variable as indicated here: https://docs.alfresco.com/search-enterprise1.4/tasks/solr-install-withoutSSL.html

SOLR_SOLR_HOST=<host>
SOLR_ALFRESCO_HOST=<host>

You can also check the steps here: https://javaworld-abhinav.blogspot.com/2020/12/setup-acs62-ga-and-ass14-distribution-stepbystep.html

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Hi abhinav, 

thanks for your reply.

yes everything seems correctly:

SOLR_SOLR_HOST=localhost
SOLR_SOLR_PORT=8983
SOLR_SOLR_BASEURL=/solr
SOLR_ALFRESCO_HOST=localhost
SOLR_ALFRESCO_PORT=8080
SOLR_ALFRESCO_BASEURL=/alfresco

I'll check your link and will retry all the steps. But seems not working yet.

Michele

Found the solution!

Thanks to abhinav!

I was missing the last "true" value, due to an old config file. 

transform.service.enabled=false
local.transform.service.enabled=false
legacy.transform.service.enabled=true

Still some errors on docx preview... with error but i suppose for other reason: 

Caused by: java.lang.IllegalStateException: this OfficeManager is currently stopped

great news @MicheleTerlizzi  

see you can validate following setting for the other error you have mentioned. 

ooo.exe=<Installpath>/libreoffice/program/soffice
ooo.enabled=false
ooo.port=8100
jodconverter.enabled=true
jodconverter.officeHome=<Installpath>/libreoffice
jodconverter.portNumbers=8100
~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Thank you so much Abhinav, i solved the issue in this manner:

ooo.enabled=true
ooo.exe=/usr/bin/soffice
ooo.port=8100
jodconverter.enabled=false
jodconverter.portNumbers=8100
jodconverter.officeHome=/usr/lib/libreoffice

OOO and JOD are alternative selectable?

By default, the OOoDirect subsystem is enabled and the OOoJodconverter subsystem is disabled. It is possible to run both subsystems at same time, but Alfresco recommends that you enable only one at a time.

OOoJodConverter gives better performance and stability. See the doc: https://docs.alfresco.com/5.2/concepts/OOo-subsystems-intro.html

~Abhinav
(ACSCE, AWS SAA, Azure Admin)