Difference between revisions of "Upgrading"

From EPrints Documentation
Jump to: navigation, search
(Upgrade from 3.3.13 to 3.3.14)
Line 1: Line 1:
==Upgrade from 3.3.13 to 3.3.14==
+
== Upgrade from 3.3.x to 3.3.y ==
  
''' Note: This upgrade only applies if you installed EPrints using 3.3.13 tar.gz package. '''
+
If you have installed from the Deb or RPM package, then you can just upgrade this. However, it is recommended that you have done a backup before doing this. Also if this is on a production server, that you do this during an extended period of scheduled downtime and have previously tested the upgrade on a pre-production server.
  
Download the upgrade patch file: http://files.eprints.org/1027/10/upgrade-3.3.13-3.3.14.patch
+
Download the appropriate upgrade patch file from the list below and substitue for x and y as appropiate:  
  
 
Become eprints user and go to eprints installation directory:
 
Become eprints user and go to eprints installation directory:
Line 9: Line 9:
 
  cd /opt/eprints3
 
  cd /opt/eprints3
  
Check if you are on version 3.3.13:
+
Check if you are on version 3.3.x:
 
  cat VERSION
 
  cat VERSION
  
Apply the patch only if you are on 3.3.13
+
Apply the patch only if you are on 3.3.x
  patch -p1 < ./upgrade-3.3.13-3.3.14.patch
+
  patch -p1 < ./upgrade-3.3.x-3.3.y.patch
  
You can safely ignore the missing debian related files during patch by press "Enter". This is due to the patch generated by git.
+
You can safely ignore any missing Debian related files during patch by press "Enter". This is due to the patch generated by git.
  
 +
Restart Apache to take effect.
  
Restart apache to take effect.
+
=== Upgrade Patches ===
 +
* [http://files.eprints.org/1027/10/upgrade-3.3.13-3.3.14.patch 3.3.13 to 3.3.14]
 +
 
 +
 
 +
 
 +
== Upgrading from 3.1 or 3.2 to 3.3 ==
 +
Upgrading from older 3.1 and 3.2 versions of EPrints to 3.3 is somewhat more involved.  Please see the following guides:
 +
* [[Upgrading from 3.1]]
 +
* [[Upgrading from 3.2]]

Revision as of 11:24, 5 September 2017

Upgrade from 3.3.x to 3.3.y

If you have installed from the Deb or RPM package, then you can just upgrade this. However, it is recommended that you have done a backup before doing this. Also if this is on a production server, that you do this during an extended period of scheduled downtime and have previously tested the upgrade on a pre-production server.

Download the appropriate upgrade patch file from the list below and substitue for x and y as appropiate:

Become eprints user and go to eprints installation directory:

sudo su eprints
cd /opt/eprints3

Check if you are on version 3.3.x:

cat VERSION

Apply the patch only if you are on 3.3.x

patch -p1 < ./upgrade-3.3.x-3.3.y.patch

You can safely ignore any missing Debian related files during patch by press "Enter". This is due to the patch generated by git.

Restart Apache to take effect.

Upgrade Patches


Upgrading from 3.1 or 3.2 to 3.3

Upgrading from older 3.1 and 3.2 versions of EPrints to 3.3 is somewhat more involved. Please see the following guides: