[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Accidental epadmin upgrade



:))

That makes sense. especially as the database schema version (the thing that really changes when you run epadmin upgrade hasn't actually changed for fair few code upgrades).

Glad you got it sorted... panic over!

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

t: +44 (0)20 7863 1344
e: rory.mcnicholl at london.ac.uk
w: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=a9PWiRqAO1dGGGvuDGVAzoFLxK8rcSd7JzsSK4EUehA%3D&reserved=0

The University of London is an exempt charity in England and Wales.
________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of James Kerwin via Eprints-tech <eprints-tech at ecs.soton.ac.uk>
Sent: 15 November 2019 12:43
To: eprints-tech at ecs.soton.ac.uk <eprints-tech at ecs.soton.ac.uk>; Rory McNicholl <Rory.McNicholl at london.ac.uk>
Cc: Alan.Stiles <alan.stiles at open.ac.uk>
Subject: Re: [EP-tech] Accidental epadmin upgrade

Hi Rory, Alan,

I've fixed it! Or it wasn't really broken. Basically I am a total fool.

I've just typed out an email with what you asked and realised I'd done something stupid.

In my panic after using upgrade instead of update I forgot that I'd restarted the server which had taken account of the new field eprint_fields.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Feprint_fields.pl&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=gjdKBwDCHQ%2B8ZonE15zIqBexa6fF2s9IpPvcha2HX3g%3D&amp;reserved=0> which hadn't been added to the database so it was throwing a wobbler.

Thank you for your help and my deepest apologies for the unnecessary request for help.

James


On Fri, Nov 15, 2019 at 12:26 PM Rory McNicholl via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>> wrote:
Hi James,

Any clues in your error logs as to why those certain functions are acting up?

The epadmin upgrade will upgrade the database after you upgrade the code. At 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 version 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: rory.mcnicholl at london.ac.uk<mailto:rory.mcnicholl at london.ac.uk>
w: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=a9PWiRqAO1dGGGvuDGVAzoFLxK8rcSd7JzsSK4EUehA%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=a9PWiRqAO1dGGGvuDGVAzoFLxK8rcSd7JzsSK4EUehA%3D&amp;reserved=0>

The University of London is an exempt charity in England and Wales.
________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of James Kerwin via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Sent: 15 November 2019 12:14
To: Alan.Stiles <alan.stiles at open.ac.uk<mailto:alan.stiles at open.ac.uk>>
Cc: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk> <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
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 actual version that it THINKS is installed.

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

Thanks,
James

On Fri, Nov 15, 2019 at 12:09 PM Alan.Stiles <alan.stiles at open.ac.uk<mailto:alan.stiles at open.ac.uk>> wrote:

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



From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> On Behalf Of James Kerwin via Eprints-tech
Sent: 15 November 2019 11:59
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>; James Kerwin <jkerwin2101 at gmail.com<mailto:jkerwin2101 at gmail.com>>
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-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>> 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 department?



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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=jbHnPOGJKarLNbCP5FreZN2VOHxV1TRZTz91pzgt38U%3D&amp;reserved=0<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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=jbHnPOGJKarLNbCP5FreZN2VOHxV1TRZTz91pzgt38U%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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0bjQdO8Gk7CLM3E3RjeTi6%2BBY9EEbGSlLo3kHDA7fg8%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0bjQdO8Gk7CLM3E3RjeTi6%2BBY9EEbGSlLo3kHDA7fg8%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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=m31sF%2FX8ZRjx%2B3gChy2PCqCMidYegdYLvphbxMIcWTQ%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=m31sF%2FX8ZRjx%2B3gChy2PCqCMidYegdYLvphbxMIcWTQ%3D&amp;reserved=0>

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & 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.
*** 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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=jbHnPOGJKarLNbCP5FreZN2VOHxV1TRZTz91pzgt38U%3D&amp;reserved=0<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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=jbHnPOGJKarLNbCP5FreZN2VOHxV1TRZTz91pzgt38U%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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0bjQdO8Gk7CLM3E3RjeTi6%2BBY9EEbGSlLo3kHDA7fg8%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=0bjQdO8Gk7CLM3E3RjeTi6%2BBY9EEbGSlLo3kHDA7fg8%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%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=m31sF%2FX8ZRjx%2B3gChy2PCqCMidYegdYLvphbxMIcWTQ%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caaf4cd015f254b78753c08d769cc4566%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=m31sF%2FX8ZRjx%2B3gChy2PCqCMidYegdYLvphbxMIcWTQ%3D&amp;reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20191115/fd4664b6/attachment-0001.html