10-05-2020 11:10 PM
Hi all,
My environment : Alfresco communitu 5.0.b on premise , server Centos 6.4 , installed all in one by "alfresco-community-5.0.b-installer-linux-x64.bin" .
Installation dir : /opt/alfresco-5.0.b
I actually only use Alfresco content management feature at simple level : upload soft files from scanner to ECM , store and search them later when needed.
I have applied some customizations in /opt/alfresco-5.0.b/tomcat/shared/classes/alfresco-global.properties:
- Authenticate with Active Directory
- Connect to our mail servers
- Use DB Mysql (5.1) and java-1.5.0
- URL : ecm.mydomain.com/share/ (port 80 , not 8080)
- dir.contentstore --> /opt/contentstore (separate from /opt/alfresco-5.0.b/alf_data/contentstore)
May be afew more, I don't remember.
I want to upgrade my ECM to 6.2 , these are my planning steps :
Upgrade path : 5.0.b --> 5.2 --> 6.0 --> 6.2
Stage 1
- Stop ECM services
- Backup alfresco database and contentstore
- Install Alfresco 5.2 on differrent path : /opt/alfresco-5.2 , db alfresco-new , new contentstore
- Apply customizations from old ECM to the new one (except dir.contentstore and db settings)
- Start Alfresco 5.2 services and validate features if it work ok
Stage 2 (if Stage 1 done well)
- Stop Alfresco 5.2 services
- Change Alfresco 5.2 alfresco-global.properties dir.contentstore and db settings to old ECM 5.0.b
- Start Alfresco 5.2 services and validate features if it work ok
Please give me some advices , thank you very much.
10-06-2020 11:40 PM
1.Direct upgrades to acs 6.2 are supported from 5.1.x and later, so your upgrade path can be just 5.0.b --> 5.2 --> 6.2.
2.Solr4 is not recommended in alfresco 6.X,you should use alfresco search servcie instead. So during upgrade to 5.2,you can upgrade to solr6 directly(you don't need to copy solr4 index,because a reindex is required). in this way when upgrade to acs6.2 from acs5.2,you dont' need to upgrade solr any more .About how to upgrade to search servcie please refer to https://docs.alfresco.com/5.2/concepts/solr6-home.html.
3.For JDK and mysql I suggest you upgrade to to version that alfresco recommended.
10-17-2020 11:11 PM
After 6.x alfresco don't provide a full installer any more ,docker is recommended.
You can try to install it manually
Plese refer to
http://beecon.buzz/2017/assets/files/EF09/EF09-Installing-Alfresco-components-1-by-1.pdf
and
https://docs.alfresco.com/community/concepts/install-community-intro.html
10-21-2020 08:03 AM
local.transform.service.enabled=falseFor fixing the cache problem
<Resources cachingAllowed="true" cacheMaxSize="100000" />
10-22-2020 12:16 AM
10-22-2020 06:43 AM
Hi @jack_chuong
That's great news - can you make this an accepted solution? That will help other users planning upgrades.
Cheers,
10-29-2020 12:11 AM
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
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.
10-29-2020 03:46 AM
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
10-30-2020 02:44 AM
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
Please help.
10-30-2020 11:42 AM
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,
Explore our Alfresco products with the links below. Use labels to filter content by product module.