This shows you the differences between two versions of the page.
forum:alfresco:updating-alfresco-from-2.9-to-3.2 [2009/08/04 11:50] sebastian |
forum:alfresco:updating-alfresco-from-2.9-to-3.2 [2023/11/19 22:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
<- [[:forum:alfresco]] | <- [[:forum:alfresco]] | ||
+ | |||
Line 8: | Line 9: | ||
- I set up an Alfresco 3b system and let it point to the old 2.9 data directory and database (I took 3b because I had the war available, 3Final is liable to work as well) | - I set up an Alfresco 3b system and let it point to the old 2.9 data directory and database (I took 3b because I had the war available, 3Final is liable to work as well) | ||
- when 3b is started it will update the db schema and run some patches. This can take quite a lot of time depending on the contents and size of the repository. After applying patch 7 out of 10 or so, Alfresco stopped with an error. I started 3b again and it successfully finished applying the patches. | - when 3b is started it will update the db schema and run some patches. This can take quite a lot of time depending on the contents and size of the repository. After applying patch 7 out of 10 or so, Alfresco stopped with an error. I started 3b again and it successfully finished applying the patches. | ||
- | - after running one minute 3b will start a background process that removes old repository entries. I wait for it to finish then stopped Alfresco 3b. | + | - after running one minute the versionStoreMigrationCleanupJob is started in background. This job removes old entries from the version store. I had quite a lot of them so I wait for it to finish then stopped Alfresco. |
- I set up Alfresco 3.2 and let it point to the data directory and database. | - I set up Alfresco 3.2 and let it point to the data directory and database. | ||
- Alfresco 3.2 didn't start up with the lucene-indexes created by 3b. There was some read-past-eof-error when accessing the indexes. Therefore I removed the indexes and set index.recovery.mode=FULL | - Alfresco 3.2 didn't start up with the lucene-indexes created by 3b. There was some read-past-eof-error when accessing the indexes. Therefore I removed the indexes and set index.recovery.mode=FULL |