Fórum

Liferay 7 Elasticsearch Error?

Marcel Liphardt, modificado 7 Anos atrás.

Liferay 7 Elasticsearch Error?

Junior Member Postagens: 28 Data de Entrada: 04/01/17 Postagens Recentes
Hello,

so we uploaded many pdf files into our liferay home folder via the documents and media portlet.

Now when we search for an entry, elasticsearch shows all the entries perfectly but if you click on one of the results you immediately
get redirected not to its d&m view but to our portal instance welcome page???
thumbnail
Jorge Díaz, modificado 7 Anos atrás.

RE: Liferay 7 Elasticsearch Error?

Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
Is there any kind of warning, error or exception in log file?
Marcel Liphardt, modificado 7 Anos atrás.

RE: Liferay 7 Elasticsearch Error?

Junior Member Postagens: 28 Data de Entrada: 04/01/17 Postagens Recentes
Jorge Díaz:
Is there any kind of warning, error or exception in log file?


Here are two Liferay logs regarding the search results.
Marcel Liphardt, modificado 7 Anos atrás.

RE: Liferay 7 Elasticsearch Error?

Junior Member Postagens: 28 Data de Entrada: 04/01/17 Postagens Recentes
This first file contains the rendered URL if I search for a keyword and if I klick on one of the search results.
The second txt file shows the second URL if you just got redirected to our homepage.
I changed our ip adress to: XXX.XXX.XXX.XXX
Does the portal-ext.properties file has anything to do with this? Or the scope of the elastic search itself?
Can anyone please help me, this is very important to me.
Marcel Liphardt, modificado 6 Anos atrás.

RE: Liferay 7 Elasticsearch Error?

Junior Member Postagens: 28 Data de Entrada: 04/01/17 Postagens Recentes
So now I've got new errors in our logs.
And now I really hope that someone can help me.
What does "duplicate struts" even mean?

17:21:25,740 WARN [default task-79][PortletLocalServiceImpl:981] Duplicate struts path users_admin
17:21:25,756 WARN [default task-79][PortletLocalServiceImpl:981] Duplicate struts path document_library
17:21:25,756 WARN [default task-79][PortletLocalServiceImpl:981] Duplicate struts path users_admin
17:21:25,756 WARN [default task-79][PortletLocalServiceImpl:981] Duplicate struts path message_boards
17:21:25,756 WARN [default task-79][PortletLocalServiceImpl:981] Duplicate struts path document_library
17:21:25,756 WARN [default task-79][PortletLocalServiceImpl:981] Duplicate struts path plugins_admin
thumbnail
Andrew Jardine, modificado 6 Anos atrás.

RE: Liferay 7 Elasticsearch Error?

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
The struts config file contains the "paths" that are used for actions, and the corresponding classes that are invoked. You can see the configuration file here -- https://github.com/liferay/liferay-portal/blob/master/portal-web/docroot/WEB-INF/struts-config.xml

It sounds to me like that error is saying that it has more than one class referencing the same path and it doesn't know which one to route it to. Do you have any hook plugins deployed? If yes, are any of the configurations defining or overriding struts actions?