[EP-tech] Ubuntu and EPrints Version Upgrade

James Kerwin jkerwin2101 at gmail.com
Tue Oct 15 08:28:39 BST 2019

Hi David,

Thanks for this and apologies for my delayed reply; I was waiting to hear
back from our CSD (computing services department). I'm meeting with them
this week to discuss the best approach to the upgrade (new server and
migrate vs upgrade and hope for the best). I feel like I'm making a
mountain out of a molehill, but the idea of breaking the repository
terrifies me.

These pointers were exactly what I was looking for, so I'll be extra
vigilant when my upgrade of the server and EPrints inevitably goes a bit

Thanks for your help,

On Tue, Sep 24, 2019 at 9:50 AM Newman D.R. <drn at ecs.soton.ac.uk> wrote:

> Hi James,
> I have installed (but not upgraded to) EPrints 3.4 on both Ubuntu 16.04
> and 18.04 and they both install without major issue.  Although 18.04 does
> have the database issue where you need to create a user that has privileges
> to allow the epadmin to create a new or recreate the existing database with
> a user that has permissions to manage it.  One thing I noted with an
> install shortly after the release of 18.04 was that it installed the
> multi-threaded rather than single-threaded (prefork) module for Apache.
> This meant that Apache had a tendency to seg fault but I have done some
> installs more recently and this no longer seems to be an issue.  However,
> the libxml-libxslt-perl package have been removed from the eprints DEB
> package list of dependencies, as this is what led to the seg faults when
> running Apache in MPM event mode.  libxml-libxslt-perl is only needed if
> you have import/export modules that rely on XSLT to do transformations. I
> do not think EPrints 3.4 currently has any of these by default.
> Regarding EPrints 3.4, if you install the latest version (3.4.1) there are
> a couple of snags that have been fixed since April 5th (see [1]).  The
> guide for upgrading from 3.3.12 to 3.4 is quite detailed [2].  This should
> be suitable for later versions of 3.3 as well.  With any upgrade/migration
> I would advise doing the install (of the upgraded system on a new server)
> and an initial migration of data to allow users to test for a period before
> doing a freeze (disable login, logout out users (truncate loginticket
> table) and stop indexer) before dumping out the database, rsyncing across
> the archive's document directory and then reimporting the database on the
> new server, as a final migration before switching over DNS to point at this
> new server.
> I have done a number of upgrade of 3.3 to 3.4 although mostly if not
> exclusively on CentOS 7.  However, I am also quite familiar with Ubuntu and
> translating things been the two OS.  So if you have any issues, then let me
> know (direct email) and I will see if I can help.
> Regards
> David Newman
> [1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fcommits%2Fmaster&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c6401e7b13d48c88d7e08d75141541e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=NnAJlm%2F%2BQU7EuD286R1n9qlE08PKZJ3A0YjR%2BzsFCI8%3D&amp;reserved=0
> [2] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FUpgrading_3.3.12%252B_to_3.4&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c6401e7b13d48c88d7e08d75141541e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=4yqRurkg%2BzVOZbcxzfIcITTehzKycNny%2FRx3SzUsDKk%3D&amp;reserved=0
> On 23/09/2019 12:25, James Kerwin via Eprints-tech wrote:
> Hi All,
> We currently have an old version of Ubuntu on our live and test servers,
> with EPrints 3.3.14 running on them.
> I would like to upgrade both Ubuntu and EPrints with as little fuss as
> possible. I intend to go to a minimum of Ubuntu 16.04 and EPrints to 3.4.
> Is there anything I should be aware of? Regarding the Ubuntu upgrade I
> suspect I may need to re-install some Perl modules in the best case
> scenario. I don't want to think about the worst case, although I will be
> ensuring I have a viable backup to fall back on.
> For the EPrints upgrade I have no idea what to expect, although I have
> read through the various guides. I'm slightly more nervous about this
> because EPrints is a relatively niche area compared to Ubuntu.
> Any pointers and advice would be much appreciated. I know the problems I
> might face depend on how my servers are set up, but on the off-chance there
> are common problems I'm not aware of I thought it might be good to ask this
> list.
> Thanks,
> James
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c6401e7b13d48c88d7e08d75141541e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=CcQ5LvLYUOCYFAr77vCRO8JA781Xf4yuakK7mtNAAG4%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c6401e7b13d48c88d7e08d75141541e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=GRaaJN4KiWARKg5hmwJi32x8YKWIeiuZGNEA9WAbcTo%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c6401e7b13d48c88d7e08d75141541e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=9N9lvgwjSAnK%2BQA1FwcgY5RK5hLQN0v4z8Kh35HpHug%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20191015/becc1899/attachment.html 

More information about the Eprints-tech mailing list