Updating the Repository
General remarks
- Unless explicitly noted, always shut down ALL repository nodes before installing updates or new versions
- Make sure to create a backup of your database, alf_data and tomcat folders
- Reset/delete your solr search index (Do this while the repository nodes are shut down)
- It will be rebuilt after startup
Version 5.1 to 6.0
- Shut down alfresco.
- Install edu-sharing 6.0 (see the corresponding document for instructions)
- adapt “tomcat/shared/classes/homeApplication.properties.xml” with the new values from installer if necessary
- The following config files are moved into the central "edu-sharing.conf", so please check if you use them and move their values in the corresponding entries in the "edu-sharing.conf" file:
- lrmi.properties
- register.properties
- If you want to enable elasticsearch:
- Please follow our elasticsearch install guide
Version 5.0 to 5.1
- Shut down alfresco.
- Install edu-sharing 5.1 (see the corresponding document for instructions)
- adapt “tomcat/shared/classes/homeApplication.properties.xml” with the new values from installer if necessary
Version 4.2 to 5.0
- Shut down alfresco-5.0.d
- Install the new Alfresco version (5.2.f) in a seperate folder
- Copy over the database (dump & import) and alf_data (contentstore, contentstore.deleted) folder
- The database migration can be skipped if you're running an individual postgresql
- Check that the new alfresco.properties under tomcat/shared/classes alfresco.properties fits to your old one
- Install the new edu-sharing version of 5.0 inside the new alfresco folder
- Copy all the application files, especially "home-application.properties.xml" inside tomcat/shared/classes
- Start the new alfresco version, and wait until all database migrations are completed
- Login as admin to edu-sharing, go to Admin-Tools → Updates
- Run Release_5_0_NotifyRefactoring
- Run Release_5_0_Educontext_Default
Version 4.1 to 4.2
- Shut down alfresco-5.0.d.
- Install edu-sharing 4.2 (see the corresponding document for instructions)
- adapt “tomcat/shared/classes/homeApplication.properties.xml” with the new values from installer if necessary
Version 4.0 to 4.1
- Shut down alfresco-5.0.d.
- Install edu-sharing 4.1 (see the corresponding document for instructions)
- adapt “tomcat/shared/classes/homeApplication.properties.xml” with the new values from installer if necessary
Version 3.0 to 4.0
- Shut down alfresco-5.0.d.
- Install edu-sharing 4.0 (see the corresponding document for instructions)
- adapt “tomcat/shared/classes/homeApplication.properties.xml” with the new values from installer if necessary
Version 1.8 to Version 3.0
- Install edu-sharing 3.0 for alfresco-5.0.d installieren (see the corresponding document for instructions)
- Make database and files of of alfresco-4.0.e available to alfresco-5.0.d
- Empty the SOLR 4 index
- Adapt “tomcat/shared/classes/homeApplication.properties” if necessary
- Start alfresco-5.0.d - the database migration will be executed automatically and a new index will be created.
Version 1.7 to Version 1.8
- Shut down alfresco-4.0.e.
- Install edu-sharing 1.8 (see the corresponding document for instructions)
- adapt “tomcat/shared/classes/homeApplication.properties” if necessary
Version 1.6 to Version 1.7
- Do a backup of the data base and the data directory (ald_data).?
- Install Alfresco 4.0e in a new directory.
- Select a new database during the installation and start Alfresco 4.0e.
- Shut down Alfresco, install edu-sharing 1.7 (see install notes) and adapt “tomcat/shared/classes/homeApplication.properties”.
- Clear the Alfresco 4.0e database and import the database dump of the alfresco 3.4e.
- Delete “alfresco-4.0.e: alf_data/contentstore, alf_data/contentstore.deleted”.
- Copy “alfresco3.4.e: alf_data/contentstore, alf_data/contentstore.deleted” to “alf_data alfresco-4.0.e”
- Start Alfresco-4.0.e. Alfresco and edu-sharing will process an automated update.