On Wed, Oct 14, 2020 at 05:02:49PM -0700, Chris Clawson wrote:
> I have a test server on my home network, which is a partial clone of my
> live webserver installation of 6.3. I am considering upgrading the test
> machine to 7 Beta 4.
> The goal is to temporarily preserve the working 6.3 install, while
> upgrading the packages, like Java JDK, Ant, Maven, PostgreSQL, etc. This
> would be practice for an eventual upgrade of my live server.
> Can a DSpace 6.3 install survive such a package upgrade?
> Is it practical to attempt a DSpace Beta 4 upgrade on an existing database?
Of course it's important to remember that it's a Beta release, which
means that it may break things in ways we don't yet know of.
One thing I can point out is that DSpace 7 requires upgrading Solr
from v4 to v7. There were incompatible changes in the field analyzers
somewhere between 4 and 7, so you'll have to re-create all of the Solr
cores that you use, with the updated schemas that are provided. The
DSpace 7 upgrade instructions tell you how to do this. The resulting
cores are not backward-compatible with Solr 4, so in this sense your
DSpace 6 instance will not survive the upgrade. But the upgraded
DSpace 7 instance should still work, so in that sense it does survive.
(Maybe we should be using a more precise word.)
OTOH since version 5 Solr expects to run in its own container, so
you'll be installing it separately. Supposing that you have enough
storage, you could just leave the v4 cores where they are (within the
DSpace directory tree) and create the v7 cores somewhere else. If you
don't have enough storage for both, it's always a good idea to have a
supply of high-capacity USB memory sticks when doing something like
this. It's easy to shut down Solr and copy cores to a safe place.
There are a number of database updates which will be applied
automatically when DSpace 7 is started. There is no built-in support
for reversing them, and some may be irreversible. Dumping the
database before you begin the upgrade would be a Realy Good Idea.
There are no changes to the form or content of the assetstore(s).
DSpace 7 requires JDK 11, and DSpace 6 may not run on 11, so if you
want to switch back and forth you may need both.
Anyway, it is intended that DSpace be upgradable from v6 to v7. A lot
of work goes into each major version to provide a continuing upgrade
path.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu