<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Ravi,</p>
<p>I have looked into this and determined that if there is no
structural changes to the database between versions, then
additional fields are not added to user, eprint, etc. data objects
through "epadmin upgrade <ARCHIVE_NAME>" and you would also
need run "epadmin update <ARCHIVE_NAME>" to do this.
Therefore, I have modified the upgrade call to add fields to data
objects when no structural changes need to made to upgrade to the
new database version, which would normally do this field adding
whilst making the structural changes.</p>
<p>Here is the GitHub issue that relates to this bug (and fix):</p>
<p><a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F148&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725290819%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=0Eb3gvsT%2BKsHZQhSA7kJD84DJ422hsnSOuxHr6AnxyU%3D&reserved=0" originalSrc="https://github.com/eprints/eprints3.4/issues/148" shash="dMzyDUGJ8d+P85+kvRC/iXCB8b4zaTX/E7yb7oimLGYbTm7gSGHUgEkPmMzNALL6EKISKfJ16b9D7VmmkGwZc31cIvLqS8B9MuJhdVQmYuTC6+XpPDVXFW0bSsHs7aG/PUMA7XjLWvLBLkbqyWJnFCMEpM4OJxiZh68DvWO/eS4=">https://github.com/eprints/eprints3.4/issues/148</a></p>
<p>Obviously, this will not help until 3.4.4 is released, so
upgrades to 3.4.3 will still need "epadmin update ..." to be run.
I will see if there is somewhere appropriate on the wiki to make
it clear that this is required as part of the upgrade process.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 10/05/2021 11:59, David R Newman
wrote:<br>
</div>
<blockquote type="cite" cite="mid:36ba3a79-235e-c8bc-a3d5-c894206f3d5e@ecs.soton.ac.uk">
<p>Hi Ravi,</p>
<p>I will look into why the upgrade did not do an update as well.
The reason why you won't have been able to login is that various
new fields have been added to the user data object / record.
These are mainly to provide better security to temporarily lock
accounts when there have been too many failed password attempts
in a set period of time.</p>
<p>I would generally say that EPrints from APT or YUM/DNF package
management is generally not advised for production
repositories. Packages are more intended for installing EPrints
for testing and evaluation purposes. If you have a fairly
vanilla repository updates are unlikely to cause any significant
problems but the more bespoke your repository the more likely
upgrading through the package manager is to cause you repository
to fail. This is especially the case if parts of the core
codebase have been modified on your installation. Although the
package manager should warn you, if you choose not to use the
latest version of a file being installed, it is likely this will
leave you with an inconsistent version of EPrints that cannot be
run.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 10/05/2021 11:41, Ravi M via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|a02ca598494287d371d63c51fc994cafx49BgV14eprints-tech-bounces|ecs.soton.ac.uk|CANw0mjL6-3LKX+KkorBC8ywgp64JHSFV__nptE458ezusSsSfA@mail.gmail.com">
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970;
background-color:#F7F9FA; color:#8D3970; font-size:14px;
line-height:22px; font-family: Calibri, Arial, Helvetica,
sans-serif;"> <strong>CAUTION:</strong> This e-mail
originated outside the University of Southampton. </div>
</div>
<div>
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>Just wanted to share my experience upgrading from
version 3.4.2 to 3.4.3, in case it's useful to anyone. <br>
</div>
<div><br>
</div>
<div>I run EPrints on an Ubuntu server, and <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdeb.eprints-hosting.org%2F3.4%2Fstable%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725290819%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TQ0o3ypKsb%2FDbT02i9xWYXYkueXm3tWjP3gdDqP38Jw%3D&reserved=0" originalSrc="http://deb.eprints-hosting.org/3.4/stable/" shash="tKK1qTqSU5z+2J7ardKzJ+CgClwHEy5+u2P/seZT7qMh2N8AtPCJv5fpNCyTJ3isfwVjPoq9eR3NhY+CVWrYFzDsW3488KPla/qD22Is6/5/YeRLsADw7ayeh18du1gqD6HHmGMV8b3CH9fizxAJ2PkykhwYo2OfQeXphf6p2MM=" originalsrc="http://deb.eprints-hosting.org/3.4/stable/" shash="x7d19ETu0v9vrSh8YBOjXw4TX41uKdD09mbtn+yi0fOfF6KOWJoM99gLvEqzF18/h4C/A5Rc1rusEGVjYNkwz5aAutPPKLawUD1jSNsgqGWSvG5U+FwbcDYksnQcN2srV3c7bULY8F7O0qcq/xJwF8iiR1AmojupiPH1SXvCxYQ=" moz-do-not-send="true">
http://deb.eprints-hosting.org/3.4/stable/</a> is in my
PPA. Over the weekend I did the usual update/upgrade tasks
via the command line, and I noticed that there was a new
version of EPrints. I installed it and ran '/bin/epadmin
upgrade <repository>' as advised at the end of the
install. Everything seemed okay on the command line
(unless I overlooked some piece of advice), but I couldn't
sign into the EPrints site with any of my accounts -- I
got 'Incorrect username or password' every time.
Thankfully '/bin/epadmin update <repository>' sorted
things out.<br>
</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Ravi</div>
<div><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Faurorepo.in%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725300777%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=RoOrnulvSdfCqrvKDSZgZkzTuhdvBdqOWyEOyOuDxCQ%3D&reserved=0" originalSrc="https://aurorepo.in/" shash="KwGYdRPPH7OS1+5EJqSHeTWlGl9+W5ZfG0juz7UEYwRxpZyF+U5w2ksxYedoXSccWEn64p1Ifu8c7PokuBJPJL4nrMDsymdM5iFYGgjPwJxakAvIBiyG0AciI1QMZ5cQ44MxImILXSYgcNLt+NU+6DXoAzAhN4B5h59NzK0w7S4=" originalsrc="https://aurorepo.in/" shash="zxy/OhQ72qVTySj/LNAGNaFWhGpXMtQxfqM4mVnHP7FNAEBDaPKGdQGoSsnGc2IMPbdPQz5UWc8f30+A7N87A+7zA493YQ0cNm0fS4mt0hkVNFBx7eYELoZ3jXnoRv7krzKKtVwmmhJi72fVMKBiQq1+jGBYF2n/YB5mqeWBE9w=" moz-do-not-send="true">https://aurorepo.in/</a></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" moz-do-not-send="true">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725300777%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hYYMCnTtFQGzGfBrLditIA%2BNVF%2F1j5wXbszCNPTgeRg%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="QNCKPQ3ku82w+H37/ENrE1NeIIwWphzOmsigC45uRB1eI6sleaTqp3vHqYZXelbYA4MAQpiL0zyX5vhOZhuMTIqnXSXxgu5gjMMwxX9T2wPMrARi4pcB6IkE9nCrHkOBj7FoA/cXqOWL2frZEPvpKtrnKuantJtdpRG0+KrrfhI=" moz-do-not-send="true">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725310733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2GpqfPf%2FTismkDvOyKyKYnXYNQwm%2FPdVvCKUJjE%2FgEI%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="ZL8ORVAt9K+F8ZuokTttGVeHAfmgJhR4CmZrX5VGoTw7lhhkQx5ykSkLANYvS65Nb1eOmlnkt2bfXU12qAVG6A9ymoBOuCbNR+Ae4PLSoM6OshmJTLD0lGCqtVaWLOSnbkb1IDTdgA/V8aQL3THgzsChlfWf31F+blSR3e7yNYo=" moz-do-not-send="true">http://wiki.eprints.org/</a></pre>
</blockquote>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725310733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DpewBSJwK9%2BsaOkydOemIzTqI1WTxkU2HsiIDaVosj8%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="U8hKc/9z4tfkQZ+ZFV1X26//0QuzAhEtKwNZTWpq2n8vJhqzd98zT1333pIruNHBF883UesHttOp8pdIVSQ6CQlV/DqpyMxiNuNUzugV2hjqlZTunmg8YfCltDtatt6zzzMfZWWRIbANzuwuD+y9/oYPPfm2lL1Quag1V15wxpw=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb299cc5428974d06ce9608d913fd2dd0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637562800725320689%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=poFzggM1XnAzzxbPFH6zzaj5ZYyr04zv0KKsU7fBiDw%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="MJyhb2z6HwyD2fYfxggd9MJcpJTLLLlWUBBuuS8H77+tYtMyNRayPLEYkU3IYXxgeUoSipPociK6K8MDvxkNRTRpZhBeZnCLSTmbe/V3oF3FnZhJz9HItbhZlg8bI2g3M6CMNEh/s0TaWuelJWerj8V9R0Zoeqw/LNwiqribVuQ=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>