-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Alfresco] After restarting the machine the searches (SOLR) do not work. #877
Comments
Hi @evaristorivi, Thanks for using Bitnami. According to the bndiagnostic output your shared, you are using our Alfresco image |
Hello @gongomgra , but I have solved it. I had two problems.
The fix has been to change the function to:
This way it always recognises correctly whether it is running or not. On the other hand, in order for the communication between solr and alfresco to work correctly, they need to know the secret that is in /opt/bitnami/tomcat/shared/classes/alfresco-global.properties But solr didn't know which one was alfresco. |
Hi @evaristorivi, Sorry for the delay on getting back to this. Thank you so much for your investigation and for sharing your solution with us. I'm glad you could make your Alfresco application properly work. I have just filed an internal task for our engineering team to fix the issues you shared. They will keep this ticket updated, and in the meantime I will move it to on-hold status for the stale bot not to close it automatically. |
The second workaround described in "On the other hand, in order for the communication between solr and alfresco to work correctly..." doesn't works in a bitnami VM image bitnami-alfresco-7.4.0-r0-debian-11-amd64.ova nor bitnami-alfresco-7.4.0-r1-debian-11-amd64.ova When check status sudo /opt/bitnami/alfresco-search-services/solr/bin/solr status, it returns: Solr process 1761 running on port 8983 ERROR: Failed to get system information from http://localhost:8983/solr due to: org.apache.http.client.ClientProtocolException: Expected JSON response from server but received: The /opt/bitnami/scripts/alfresco-env.sh file has been changed:
|
Thanks for the extra information. I will update the information in the task as well. |
Hi @victorcarabez , |
The second solution described in "On the other hand, for the communication between solr and alfresco to work correctly..." did not work for me if the first solution was not applied first, otherwise the error would indeed appear so in my case I had to apply both solutions, not one of the two. |
Hi @evaristorivi, Thanks for sharing your solution. I'm sure it will be of help to other users in the future. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
032b192a-77d9-7b4b-7508-7aa619a8957f
bndiagnostic output
bndiagnostic was not useful. Could you please tell us why?
the problem persists.
Describe your issue as much as you can
Searches do not work and this log error appears after rebooting the machine:
The text was updated successfully, but these errors were encountered: