Forums de discussion

Liferay 7 Elasticsearch Error?

Marcel Liphardt, modifié il y a 7 années.

Liferay 7 Elasticsearch Error?

Junior Member Publications: 28 Date d'inscription: 04/01/17 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 Elasticsearch Error?

Liferay Master Publications: 753 Date d'inscription: 09/01/14 Publications récentes
Is there any kind of warning, error or exception in log file?
Marcel Liphardt, modifié il y a 7 années.

RE: Liferay 7 Elasticsearch Error?

Junior Member Publications: 28 Date d'inscription: 04/01/17 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 Elasticsearch Error?

Junior Member Publications: 28 Date d'inscription: 04/01/17 Publications récentes
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, modifié il y a 6 années.

RE: Liferay 7 Elasticsearch Error?

Junior Member Publications: 28 Date d'inscription: 04/01/17 Publications récentes
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, modifié il y a 6 années.

RE: Liferay 7 Elasticsearch Error?

Liferay Legend Publications: 2416 Date d'inscription: 22/12/10 Publications récentes
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?