Planning upgrade Alfresco community 5.0.b to 6.2

cancel
Showing results for 
Search instead for 
Did you mean: 
EddieMay
Community Manager
Community Manager

Re: Planning upgrade Alfresco community 5.0.b to 6.2

Jump to solution

Hi @jack_chuong 

That's great news - can you make this an accepted solution? That will help other users planning upgrades.

Cheers,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
jack_chuong
Active Member II

Re: Planning upgrade Alfresco community 5.0.b to 6.2

Jump to solution

Hi,
I'm sorry for bothering you again, but I find out that Alfresco Search Services seem doesn't work correctly, newest uploaded files (since ACS 5.2 has been used) can be searched successfully but old files from the previous month and back cannot be searched with file name. Our file name look like : SGN2008063460.
I'm using Alfresco Community 5.2 , Alfresco Search Services 1.2.0.1 using Apache Solr 6.6.0.
This is screenshot about solr
3.png
1.png2.png

There are only some warnings in log , 1 error since solr has started on Oct 18

2020-10-18 03:45:09.583 ERROR (searcherExecutor-8-thread-1-processing-x:archive) [ x:archive] o.a.s.t.AbstractTracker Model tracking failed for core: archive
java.net.ConnectException: Connection refused (Connection refused)

2020-10-28 21:00:01.050 WARN (qtp232824863-113) [ x:archive] o.a.s.h.ReplicationHandler Exception during creating a snapshot
org.apache.solr.common.SolrException: Directory does not exist: file:///opt/alfresco-community/alf_data/solr6Backup/archive/snapshot.20201028210001050

So I think data must be indexed fully ? How can I fix it ?
Please let me know if I should create another topic for this question, thank you very much.

jack_chuong
Active Member II

Re: Planning upgrade Alfresco community 5.0.b to 6.2

Jump to solution

I found a similar case , should I update the alfresco-search-services/solrhome/conf/shared.properties (uncomment)

alfresco.suggestable.property.0={http://www.alfresco.org/model/content/1.0}name
alfresco.suggestable.property.1={http://www.alfresco.org/model/content/1.0}title 
alfresco.suggestable.property.2={http://www.alfresco.org/model/content/1.0}description 
alfresco.suggestable.property.3={http://www.alfresco.org/model/content/1.0}content

and perform a full index again ?

stop solr6
rm -f /opt/alfresco-search-services/solrhome/archive/index/* 
rm -f /opt/alfresco-search-services/solrhome/alfresco/index/* 
rm -f /opt/alfresco-search-services/solrhome/alfrescoModels/*
rm -rf /opt/alfresco-search-services/contentstore/_DEFAULT_/db/*
start solr6
jack_chuong
Active Member II

Re: Planning upgrade Alfresco community 5.0.b to 6.2

Jump to solution

I tried perform a full index with solr6 , after start solr6 , it consume CPU load for awhile , when CPU load back to normal , I try to search old file again, still no result , here screenshots
4.png5.png6.png

Please help.

EddieMay
Community Manager
Community Manager

Re: Planning upgrade Alfresco community 5.0.b to 6.2

Jump to solution

Hi @jack_chuong 

As this has been marked as an accepted solution, can I recommend you start a new thread for the follow up issues? This is because people sometimes overlook what looks like a solved problem.

Cheers,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!