<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<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 dir="ltr">
<div>Hi David,</div>
<div><br>
</div>
<div>Thank you very much for looking into this issue and for your instructive reply.
<br>
</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Ravi<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 11 May 2021 at 03:17, David R Newman &lt;<a href="mailto:drn@ecs.soton.ac.uk">drn@ecs.soton.ac.uk</a>&gt; wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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 &quot;epadmin upgrade &lt;ARCHIVE_NAME&gt;&quot; and you would also need run &quot;epadmin
 update &lt;ARCHIVE_NAME&gt;&quot; to do this.&nbsp; 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 href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F148&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603256614%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=paWpKpNa8h%2BZJXcgOTnULb2f5y9dvHAMPFqjxw1e27U%3D&amp;reserved=0" originalSrc="https://github.com/eprints/eprints3.4/issues/148" shash="R42xcy7NMYdkra7ItK9li4kKqIOwcF1SRSK6XLQaU1k8+QvhZ7p1ZpTnQO5iaxPt5FJOAICSJfTqN2oActI2/YrIBnco1NaHySocMeZLpDp/yDb958CW4uYIqX9rwmuPwNuTGNAHR7+0AchK1TLiXcHxTuAnCPN6VmVzU2L8PZY=" target="_blank">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 &quot;epadmin update ...&quot; to be run.&nbsp; 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>On 10/05/2021 11:59, David R Newman wrote:<br>
</div>
<blockquote type="cite">
<p>Hi Ravi,</p>
<p>I will look into why the upgrade did not do an update as well.&nbsp; 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.&nbsp; 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.&nbsp; Packages are more intended for installing EPrints for testing and evaluation purposes.&nbsp; 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.&nbsp; This is especially the case if parts of the core codebase have been modified
 on your installation.&nbsp; 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>On 10/05/2021 11:41, Ravi M via Eprints-tech wrote:<br>
</div>
<blockquote type="cite">
<div style="padding-bottom:10px;padding-top:5px">
<div style="padding:12px;border:1px solid rgb(141,57,112);background-color:rgb(247,249,250);color:rgb(141,57,112);font-size:14px;line-height:22px;font-family:Calibri,Arial,Helvetica,sans-serif">
<b>CAUTION:</b> 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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603256614%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=%2Bf7oNgYbc1F2HGanhyT5pTB%2FTICaVzNRF%2BBt7CE0P18%3D&amp;reserved=0" originalSrc="http://deb.eprints-hosting.org/3.4/stable/" shash="oQseSdKWVLoT+2LcxkNFSfTc0KTvm1QV0BH/8lSPwQGiWEBWgkEn7L172cYf9EDB9LtqUn8X2HBkmlN4ebP1BDdKMNdDFuL6Gvm0m1Pz74DuUlst3x9CXLIq1V82aJ7b7LwEYiAbS2vt8cvgmCu0ElIIiZBS3GTMw2BvF0s+MEc=" target="_blank">
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 &lt;repository&gt;' 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 &lt;repository&gt;' 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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603266568%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=B38c4Kyv2kIRsqyQHwvBPvvTnwJaO8Dgud%2FlB2m3ZEw%3D&amp;reserved=0" originalSrc="https://aurorepo.in/" shash="PScr42keR4+cEAbQ6sPAOuLZpcKR1KKmsqIvplg1i8NUzUsFxEe002JpgVuZd+TRj/ADmqBf3CpPNEbhzoCwPGekcJNchd9A0WEXzGPwgIiUXRSPHmBR33LSb3s752sA2T6CxC6vLmyK6CMUcTXf0NF0k10UI7d2IzY258kwuwY=" target="_blank">https://aurorepo.in/</a></div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603266568%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=4vj8iSs%2BpBXfpUwcfVlATIynpdD0y2XFT%2Bs8TvIs7gc%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="n7V/isnmgaSNEwRkyJfdYcQQH0e5GHmybMtoXs5IV8AMTeACehM92pk5Vxs+epWe3gK83EMmu/+vRKt3+7CqJqfBOr8yhY1lrYbiC0Yh8NfGfjpMVOxWnUjC4Jv5Xn0xFj7tmafgT0VI3Tzb8gNOaqvR5/h1rsyxBZVbm/hV/FI=" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603266568%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=6gPqqIQ9Ee6Nh7jf%2Fo%2B9oIwHczuOdOL7cQ68Y4gKBKw%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="EzYvUFLmp4CzxCeZZC1jX0MQR8YFXu8gqgFykcK7qe3uLiIo42yBY1+HJTfDmWN7S9YQ05i5q8Ps+plYgsR7hEC4/Fxey5PCzw89mVdFbJeIu3IqZODrkX1YEvWM19zjlh1CM5y+WMW00zy5livov1qEKuy3Gg6Zj/UDFC9KFzE=" target="_blank">http://wiki.eprints.org/</a></pre>
</blockquote>
</blockquote>
<div id="gmail-m_-3619112216483219880DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody>
<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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603276521%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=LkfHNvvezC05Ln7M5sUpY%2FlykTiYJg1%2FJh%2B9sk1l87g%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="LOeExvywzJbwTcEd1eNSqtIwtjDfe68vpWUb4DVOnmm0XCFgGooccrODc8PY1KGBSqMfj+Hk8s77NRAeViukWQY1Hw99H/EpxujukB/aUTZGkosLtTY3zEOuy/bTBKQUSPzSNnVsZiaY57+t3a7qmSY3Mut+s643RX0qFN/Fqs8=" target="_blank"><img alt="" style="width: 46px; height: 29px;" width="46" height="29"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2ba8fd86d365490bfb7f08d91ab6c7aa%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637570194603276521%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=LkfHNvvezC05Ln7M5sUpY%2FlykTiYJg1%2FJh%2B9sk1l87g%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="LOeExvywzJbwTcEd1eNSqtIwtjDfe68vpWUb4DVOnmm0XCFgGooccrODc8PY1KGBSqMfj+Hk8s77NRAeViukWQY1Hw99H/EpxujukB/aUTZGkosLtTY3zEOuy/bTBKQUSPzSNnVsZiaY57+t3a7qmSY3Mut+s643RX0qFN/Fqs8=" style="color:rgb(68,83,234)" target="_blank">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#m_-3619112216483219880_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>