Re: [EP-tech] Accidental epadmin upgrade

Rory McNicholl via Eprints-tech <[email protected]> Fri, 15 Nov 2019 12:25:10 +0000
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|8ea1e9ef20372d49b2e6e20d7e293103vAECPn14eprints-tech-bounces|ecs.soton.ac.uk|LO2P123MB180587DFE6F219366895DE3BBB700@LO2P123MB1805.GBRP123.PROD.OUTLOOK.COM>
--===============8877130464695330065==
Content-Language: en-GB
Content-Type: multipart/alternative;
	boundary="_000_LO2P123MB180587DFE6F219366895DE3BBB700LO2P123MB1805GBRP_"

--_000_LO2P123MB180587DFE6F219366895DE3BBB700LO2P123MB1805GBRP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi James,

Any clues in your error logs as to why those certain functions are acting u=
p?

The epadmin upgrade will upgrade the database after you upgrade the code. A=
t the moment it sounds like you have done one without the other?

I *think* that epadmin --version will tell you what the database things it =
is on. Have a look in perl_lib/EPrints/SystemSettings.pm to see what versio=
n the code is on.

Rory

Rory McNicholl
Team Lead - Research Technologies
CoSector, University of London
Senate House
Malet Street
London
WC1E 7HU

t: +44 (0)20 7863 1344
e: [email protected]
w: https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fcose=
ctor.com%2Fdigital-research%2F&amp;data=3D01%7C01%7Ceprints-tech%40ecs.soto=
n.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe89669d03ada9=
d8%7C0&amp;sdata=3DrcmzQ%2BivYSvNZbLVzqPX5RrDGcvLbj5g6QkHpno2FCs%3D&amp;res=
erved=3D0

The University of London is an exempt charity in England and Wales.
________________________________
From: [email protected] <[email protected].=
ac.uk> on behalf of James Kerwin via Eprints-tech <[email protected]=
c.uk>
Sent: 15 November 2019 12:14
To: Alan.Stiles <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [EP-tech] Accidental epadmin upgrade

Hi Alan,

I'm supposed to be on 3.3.14.

In my current slightly panicked state I can't work out how to see the actua=
l version that it THINKS is installed.

My assumption is some vital file(s) has/have been altered in the upgrade co=
mmand and the link is broken.

Thanks,
James

On Fri, Nov 15, 2019 at 12:09 PM Alan.Stiles <[email protected]<mailto=
:[email protected]>> wrote:

Not that I have any real help for you, but what version were you on / are y=
ou on now?   (/cgi/counter working?)



From: [email protected]<mailto:eprints-tech-bounces@ecs.=
soton.ac.uk> <[email protected]<mailto:eprints-tech-boun=
[email protected]>> On Behalf Of James Kerwin via Eprints-tech
Sent: 15 November 2019 11:59
To: [email protected]<mailto:[email protected]>; Jame=
s Kerwin <[email protected]<mailto:[email protected]>>
Subject: Re: [EP-tech] Accidental epadmin upgrade



And none of the abstracts appear to work when I navigate to them.



On Fri, Nov 15, 2019 at 11:47 AM James Kerwin via Eprints-tech <eprints-tec=
[email protected]<mailto:[email protected]>> wrote:

Hi All,



I was just attempting to add a new field to the EPrints database using:



epadmin upgrade uolrepo



when I meant to use:



epadmin update uolrepo



The review appears to be empty and some items on the home page aren't there=
 (recent released texts" etc.



Can I revert this or am I making a call to our computing services departmen=
t?



Thanks,

James

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%=
2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=3D01%7C01%7Ceprints-tech%40ecs.=
soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe89669d03=
ada9d8%7C0&amp;sdata=3DkARkn52JT2dwedfWefqZsQZ3UknBS8vj48kPTKm%2BNiY%3D&amp=
;reserved=3D0<https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A=
%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=3D01%7C01%7Ceprints-tech%40ecs=
.soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe89669d0=
3ada9d8%7C0&amp;sdata=3DkARkn52JT2dwedfWefqZsQZ3UknBS8vj48kPTKm%2BNiY%3D&am=
p;reserved=3D0>
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/=
?url=3Dhttp%3A%2F%2Fwiki.eprints.org%2F&amp;data=3D01%7C01%7Ceprints-tech%4=
0ecs.soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe896=
69d03ada9d8%7C0&amp;sdata=3DKt3ty%2BpCE22RId31Y7husLVhwXfuU9w241DddbFk2nU%3=
D&amp;reserved=3D0<https://eur03.safelinks.protection.outlook.com/?url=3Dht=
tp%3A%2F%2Fwiki.eprints.org%2F&amp;data=3D01%7C01%7Ceprints-tech%40ecs.soto=
n.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe89669d03ada9=
d8%7C0&amp;sdata=3DKt3ty%2BpCE22RId31Y7husLVhwXfuU9w241DddbFk2nU%3D&amp;res=
erved=3D0>
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.co=
m/?url=3Dhttp%3A%2F%2Fforum.eprints.org%2F&amp;data=3D01%7C01%7Ceprints-tec=
h%40ecs.soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe=
89669d03ada9d8%7C0&amp;sdata=3DvACMqQbp541DCC7h8dz8VDtDY2LN6o5p6unrpQTRgpk%=
3D&amp;reserved=3D0<https://eur03.safelinks.protection.outlook.com/?url=3Dh=
ttp%3A%2F%2Fforum.eprints.org%2F&amp;data=3D01%7C01%7Ceprints-tech%40ecs.so=
ton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3ebe89669d03ad=
a9d8%7C0&amp;sdata=3DvACMqQbp541DCC7h8dz8VDtDY2LN6o5p6unrpQTRgpk%3D&amp;res=
erved=3D0>

-- The Open University is incorporated by Royal Charter (RC 000391), an exe=
mpt charity in England & Wales and a charity registered in Scotland (SC 038=
302). The Open University is authorised and regulated by the Financial Cond=
uct Authority in relation to its secondary activity of credit broking.

--_000_LO2P123MB180587DFE6F219366895DE3BBB700LO2P123MB1805GBRP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Hi James,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Any clues in your error logs as to why those certain functions are acting u=
p?</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
The epadmin upgrade will upgrade the database after you upgrade the code. A=
t the moment it sounds like you have done one without the other?</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
I *think* that epadmin --version will tell you what the database things it =
is on. Have a look in perl_lib/EPrints/SystemSettings.pm to see what versio=
n the code is on.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Rory</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id=3D"Signature">
<div></div>
<div></div>
<div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; color=
:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,san=
s-serif">
<div style=3D"font-family:Tahoma; font-size:13px">
<div style=3D"font-size:13px">
<div><font face=3D"Arial">Rory McNicholl</font></div>
<div><font face=3D"Arial">Team Lead - Research Technologies</font></div>
<div><font face=3D"Arial">CoSector,&nbsp;University of London</font></div>
<div><font face=3D"Arial">Senate House</font></div>
<div><font face=3D"Arial">Malet Street</font></div>
<div><font face=3D"Arial">London</font></div>
<div><font face=3D"Arial">WC1E 7HU</font></div>
<div><font face=3D"Arial"><br>
</font></div>
<div><font face=3D"Arial">t: &#43;44 (0)20 7863 1344</font></div>
<div><font face=3D"Arial">e: [email protected]</font></div>
<div><font face=3D"Arial">w: https://cosector.com/digital-research/</font><=
/div>
<div><font face=3D"Arial"><br>
</font></div>
<div><font face=3D"Arial">The University of London is an exempt charity in =
England and Wales.</font></div>
</div>
</div>
</div>
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> eprints-tech-bounces@=
ecs.soton.ac.uk &lt;[email protected]&gt; on behalf of J=
ames Kerwin via Eprints-tech &lt;[email protected]&gt;<br>
<b>Sent:</b> 15 November 2019 12:14<br>
<b>To:</b> Alan.Stiles &lt;[email protected]&gt;<br>
<b>Cc:</b> [email protected] &lt;[email protected]&gt=
;<br>
<b>Subject:</b> Re: [EP-tech] Accidental epadmin upgrade</font>
<div>&nbsp;</div>
</div>
<div>
<div dir=3D"ltr">Hi Alan,
<div><br>
</div>
<div>I'm supposed to be on 3.3.14.</div>
<div><br>
</div>
<div>In my current slightly panicked state I can't work out how to see the =
actual version that it THINKS is installed.</div>
<div><br>
</div>
<div>My assumption is some vital file(s) has/have been altered in the upgra=
de command and the link is broken.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>James</div>
</div>
<br>
<div class=3D"x_gmail_quote">
<div dir=3D"ltr" class=3D"x_gmail_attr">On Fri, Nov 15, 2019 at 12:09 PM Al=
an.Stiles &lt;<a href=3D"mailto:[email protected]">[email protected]=
.uk</a>&gt; wrote:<br>
</div>
<blockquote class=3D"x_gmail_quote" style=3D"margin:0px 0px 0px 0.8ex; bord=
er-left:1px solid rgb(204,204,204); padding-left:1ex">
<div lang=3D"EN-GB">
<div class=3D"x_gmail-m_-6315257810624053958WordSection1">
<p class=3D"x_MsoNormal"><span>Not that I have any real help for you, but w=
hat version were you on / are you on now?&nbsp;&nbsp; (/cgi/counter working=
?)<u></u><u></u></span></p>
<p class=3D"x_MsoNormal"><span><u></u>&nbsp;<u></u></span></p>
<p class=3D"x_MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang=
=3D"EN-US"> <a href=3D"mailto:[email protected]" target=
=3D"_blank">
[email protected]</a> &lt;<a href=3D"mailto:eprints-tech=
[email protected]" target=3D"_blank">[email protected].=
ac.uk</a>&gt;
<b>On Behalf Of </b>James Kerwin via Eprints-tech<br>
<b>Sent:</b> 15 November 2019 11:59<br>
<b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>; James Kerwin &lt;<a href=3D"mailto:jker=
[email protected]" target=3D"_blank">[email protected]</a>&gt;<br>
<b>Subject:</b> Re: [EP-tech] Accidental epadmin upgrade<u></u><u></u></spa=
n></p>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<p class=3D"x_MsoNormal">And none of the abstracts appear to work when I na=
vigate to them.<u></u><u></u></p>
</div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<div>
<p class=3D"x_MsoNormal">On Fri, Nov 15, 2019 at 11:47 AM James Kerwin via =
Eprints-tech &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none; border-right:none; border-bottom:none=
; border-left:1pt solid rgb(204,204,204); padding:0cm 0cm 0cm 6pt; margin-l=
eft:4.8pt; margin-right:0cm">
<div>
<p class=3D"x_MsoNormal">Hi All,<u></u><u></u></p>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">I was just attempting to add a new field to the EP=
rints database using:<u></u><u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">epadmin upgrade uolrepo<u></u><u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">when I meant to use:<u></u><u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">epadmin update uolrepo<u></u><u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">The review appears to be empty&nbsp;and some items=
 on the home page aren't there (recent released texts&quot; etc.<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">Can I revert this or am I making a call to our com=
puting services department?<u></u><u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class=3D"x_MsoNormal">James<u></u><u></u></p>
</div>
</div>
<p class=3D"x_MsoNormal">*** Options: <a href=3D"http://mailman.ecs.soton.a=
c.uk/mailman/listinfo/eprints-tech" target=3D"_blank">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href=3D"https://eur03.safelinks.protection.outlook.com/?url=
=3Dhttp%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=3D01%7C01%7Ceprints-=
tech%40ecs.soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929f44d3=
ebe89669d03ada9d8%7C0&amp;sdata=3DkARkn52JT2dwedfWefqZsQZ3UknBS8vj48kPTKm%2=
BNiY%3D&amp;reserved=3D0" originalSrc=3D"http://www.eprints.org/tech.php/" =
shash=3D"cn1yHrk3ciKdR/v+wZErG3FCQe0HBfns/tpw7D5jnSQYFkt1nck77MkX+kF7wLaMna=
QGRzk/KQTVSEFYhFYmii+G1W/qLhKJjp+5q2YZTOtlI9Q4pg7ucykfaOUNZ9r/BGtptLOBR/IZR=
Sa2B3CMV+vXC+fXCVjM3efXJtjYu8o=3D" originalsrc=3D"http://www.eprints.org/te=
ch.php/" shash=3D"bbKPFy&#43;5LnCxNcUC5aAoaNH4no2/UbM2eUX4zL6UtWMVRnXeQLDy8=
shmBpeH2RHvuj4JPBLOi2vp/6bP5DSGA2Qgh6qb7SA4wZJxaY14e180oEdvp/eTc1WqWR30CbMO=
V6/yQ3EgBo&#43;KIXXxFrbay/5K7Leepo/0A/pnTno951M=3D" target=3D"_blank">
http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href=3D"https://eur03.safelinks.protection.o=
utlook.com/?url=3Dhttp%3A%2F%2Fwiki.eprints.org%2F&amp;data=3D01%7C01%7Cepr=
ints-tech%40ecs.soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f929=
f44d3ebe89669d03ada9d8%7C0&amp;sdata=3DKt3ty%2BpCE22RId31Y7husLVhwXfuU9w241=
DddbFk2nU%3D&amp;reserved=3D0" originalSrc=3D"http://wiki.eprints.org/" sha=
sh=3D"rEl3JoK+uxQXaGOOq7YfVjqvkgiGBHw2tRBF3G3jteDvGkkgW6Ggl+AsSA9jYVFprjq5u=
3Ec4KE+NT9SVBQ+nuCNtXzwwOwvbpRL2AkNuBVP7JOoGn0rvaAV0jJbqPwx+xM2X16/VFwFWQWm=
Moct9lf4iwYaDsEGaaONvVeSDmc=3D" originalsrc=3D"http://wiki.eprints.org/" sh=
ash=3D"phmCl7CuknON1hrjTBbmNf&#43;9L3ntvqenokf&#43;Pwauuv3mvyjzP2&#43;GQLSO=
f&#43;ztgPi3Sf14DK56VRKZuWTcQL5QGp&#43;jilqxAHT19W5350hUFqjEYjObAhzqhR5Msw8=
uUMWbMHxpy9Y1CyIf34sGe0tL13jdufZcWgF5TVNPTC9tZ1o=3D" target=3D"_blank">
http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href=3D"https://eur03.safelinks.protection=
.outlook.com/?url=3Dhttp%3A%2F%2Fforum.eprints.org%2F&amp;data=3D01%7C01%7C=
eprints-tech%40ecs.soton.ac.uk%7C4586c7c1f2dc4c50023f08d769c6dcb0%7C4a5378f=
929f44d3ebe89669d03ada9d8%7C0&amp;sdata=3DvACMqQbp541DCC7h8dz8VDtDY2LN6o5p6=
unrpQTRgpk%3D&amp;reserved=3D0" originalSrc=3D"http://forum.eprints.org/" s=
hash=3D"IxrzNw8WRuhvhhLjecZnE9u0k5X+iiiui4bNqDYbzt5kz4IIBp+UhqU268Qv3tUdQX0=
zJM9pSv3JnHJvqkOYWdVSXs4MhMRkvAGnghBPcpdm5EbTF1UZ/3f8i9+gKBsuoowiK8mpFAXY6Y=
Ua6O0npap137nyAxyRhQNic/9PPcg=3D" originalsrc=3D"http://forum.eprints.org/"=
 shash=3D"bqmvsFB0o/lJmuMx7vz9miKMtfKEJEHfMeOePOlkoJDe6rfSmazsfFW0G0RfbcpsO=
qmal1aqA6SrGbvVnenW7JNtyN8dxuHCpJadWrkaMQuQNAZtVaxSQEHRPtIkqJFE26wL9wDY/KNQ=
HvhX8j31uP&#43;W/AI0eqcCc46zlg9YXgg=3D" target=3D"_blank">
http://forum.eprints.org/</a><u></u><u></u></p>
</blockquote>
</div>
</div>
-- The Open University is incorporated by Royal Charter (RC 000391), an exe=
mpt charity in England &amp; Wales and a charity registered in Scotland (SC=
 038302). The Open University is authorised and regulated by the Financial =
Conduct Authority in relation to its
 secondary activity of credit broking. </div>
</blockquote>
</div>
</div>
</body>
</html>

--_000_LO2P123MB180587DFE6F219366895DE3BBB700LO2P123MB1805GBRP_--

--===============8877130464695330065==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

--===============8877130464695330065==--