Search Not Working

cancel
Showing results for 
Search instead for 
Did you mean: 
MicheleTerlizzi
Active Member

Search Not Working

Jump to solution

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:

 

Immagine 2020-12-20 225657.png

Any help is appreciated!

Thank you

Michele 

2 Solutions

Accepted Solutions
MicheleTerlizzi
Active Member

Re: Search Not Working

Jump to solution

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 solution in original post

abhinavmishra14
Advanced

Re: Search Not Working

Jump to solution

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 solution in original post

6 Replies
abhinavmishra14
Advanced

Re: Search Not Working

Jump to solution

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)
MicheleTerlizzi
Active Member

Re: Search Not Working

Jump to solution

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

MicheleTerlizzi
Active Member

Re: Search Not Working

Jump to solution

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
abhinavmishra14
Advanced

Re: Search Not Working

Jump to solution

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)
MicheleTerlizzi
Active Member

Re: Search Not Working

Jump to solution

 

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?

 

 

abhinavmishra14
Advanced

Re: Search Not Working

Jump to solution

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)