Hi,
I'm trying to move my production (community) alfresco system off of a physical box (with MySQL 5.7 running locally) to be part of our VM infrastructure with a remote MySQL database v5.6.
* Moving from CentOS 6.3 32bit to CentOS 7.1 64bit
* Moving from a Dell Physical Server to VM with the same specs (better hardware)
Steps followed:
* I used MySQL Workbench to export all of the 'alfresco' schema from the v5.7 server, and import it - along with the user - into the v5.6 remote DB.
* Used the correct connection string in the installation of alfresco unattended to point to the new database. Alfresco connects to the database.
* The alf_data directory was copied over to the relative path on the new server (same installation path too).
Just FYI on some lessons learned, hopefully they can help someone else.
- Even though you used IP addressed everywhere alfresco seems to want to use DNS for your hostname. Make sure your hostname appears in your hosts file ... the exceptions are a mile long but at the very end, you'll see "cannot determine .."
- There doesn't seem to be a way of not installing postgres with Alfresco's install. Even if you specify another database and provide the jar (tomcat/lib). You still need to rename/delete the postgres directory for alfresco not to go looking to start postgres.
- For "migration" the Alfresco site refers to backing up your configuration by copying the configuration folder - this seems to be out of date? I think this has been reduced to the global config file.
- Here is where I am today.
2016-02-1323:24:00,114 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] First acl transaction was not found with the correct timestamp.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] SOLR has successfully connected to your repository however the SOLR indexes and repository database do not match.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] First acl transaction was not found with the correct timestamp.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] SOLR has successfully connected to your repository however the SOLR indexes and repository database do not match.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] You can also check your SOLR connection details in solrcore.properties.2016-02-1323:24:00,121 ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] You can also check your SOLR connection details in solrcore.properties.2016-02-1323:24:00,173 ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-2] Tracking failed org.alfresco.error.AlfrescoRuntimeException: 01130001 Initial acl transaction not found with correct timestamp at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:361) at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313) at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104) at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153) at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)2016-02-1323:24:00,187 ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-1] Tracking failed org.alfresco.error.AlfrescoRuntimeException: 01130000 Initial acl transaction not found with correct timestamp at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:361) at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313) at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104) at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153) at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
I tried adding
index.recovery.mode=FULL
to the global config file and restarting alfresco, but that did not solve the issue. I'm not using any other indexing tools. I would like to keep all history, tags, etc..
Any help would be greatly appreciated.