EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #04237


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Upgrading 3.2.5 to 3.3.13


Adam,

I found that the File::Path module wasn't even installed. I installed it and was able to upgrade successfully. I am now trying to bring Apache back up after upgrading the archives. Thanks again for the help!

Rob

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: Wednesday, May 13, 2015 2:26 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13

I'm not sure there's much I can advise.  This is the simplest case of calling this library from perl.  If it isn't working, then it's probable that something isn't set up right on your server.  Did you show your sysadmin the code and ask him why it might not be running?

--
Adam


On 13 May 2015, at 20:09, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:

> Yeah it's still giving me this:
> 
> [root@eprints-dev eprints-3.3.14]# ./fileTest Undefined subroutine 
> &File::Path::make_path called at ./fileTest line 8.
> 
> -----Original Message-----
> From: eprints-tech-bounces@ecs.soton.ac.uk 
> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
> Sent: Wednesday, May 13, 2015 1:03 PM
> To: eprints-tech@ecs.soton.ac.uk
> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
> 
> How about the perl script I sent you?  Does that still have a problem?
> 
> --
> Adam
> 
> 
> On 13 May 2015, at 17:40, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:
> 
>> Hey Adam,
>> 
>> So I had our Systems Admin install all of the perl modules but I'm still running into the same issue. We're running RHEL version 5.11. Please let me know if you have any ideas. Thanks.
>> 
>> Rob
>> 
>> -----Original Message-----
>> From: eprints-tech-bounces@ecs.soton.ac.uk
>> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
>> Sent: Friday, May 08, 2015 12:32 PM
>> To: eprints-tech@ecs.soton.ac.uk
>> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
>> 
>> It looks like the File::Path module may not be correctly installed on your server.  I would suggest talking to your friendly local sysadmin.  If you don't have a friendly local sysadmin, I need to know what distribution and version of linux you are running to advise further.
>> 
>> --
>> Adam
>> 
>> On 8 May 2015, at 16:48, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:
>> 
>>> This is what it came up with:
>>> [root@eprints-dev eprints-3.3.14]# ./test Undefined subroutine 
>>> &File::Path::make_path called at ./test line 5.
>>> 
>>> -----Original Message-----
>>> From: eprints-tech-bounces@ecs.soton.ac.uk
>>> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam 
>>> Field
>>> Sent: Friday, May 08, 2015 9:36 AM
>>> To: eprints-tech@ecs.soton.ac.uk
>>> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
>>> 
>>> It's really important that there are no blank lines at the top of the file and that there are no spaces at the start of the first line. 
>>> 
>>> --
>>> Adam
>>> 
>>>> On 8 May 2015, at 16:17, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:
>>>> 
>>>> Okay thanks. This is the result I got from running that test file.
>>>> 
>>>> [root@eprints-dev eprints-3.3.14]# ./test
>>>> ./test: line 3: use: command not found
>>>> ./test: line 4: use: command not found
>>>> ./test: line 6: use: command not found
>>>> ./test: line 8: syntax error near unexpected token `;'
>>>> ./test: line 8: ` File::Path::make_path();'
>>>> 
>>>> -----Original Message-----
>>>> From: eprints-tech-bounces@ecs.soton.ac.uk
>>>> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam 
>>>> Field
>>>> Sent: Friday, May 08, 2015 8:38 AM
>>>> To: eprints-tech@ecs.soton.ac.uk
>>>> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
>>>> 
>>>> Hi Rob
>>>> 
>>>> No, it doesn't need to be in the EPrints directory.
>>>> 
>>>> --
>>>> Adam
>>>> 
>>>>> On 8 May 2015, at 15:22, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:
>>>>> 
>>>>> Adam,
>>>>> 
>>>>> I found this page somehow. It's not shown on the main wiki site but it's more of what I needed.
>>>>> 
>>>>> http://wiki.eprints.org/w/Upgrading_3.2_to_3.3
>>>>> 
>>>>> Does the tar package need to be in the current Eprints directory when unpacked and installed?
>>>>> 
>>>>> Thanks again!
>>>>> 
>>>>> -----Original Message-----
>>>>> From: eprints-tech-bounces@ecs.soton.ac.uk
>>>>> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam 
>>>>> Field
>>>>> Sent: Thursday, May 07, 2015 4:06 PM
>>>>> To: eprints-tech@ecs.soton.ac.uk
>>>>> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
>>>>> 
>>>>> Hi Rob
>>>>> 
>>>>> What linux distribution is this installed on?  Please put the following into a file and run it (the code between the equals signs, without the equals signs):
>>>>> 
>>>>> ======
>>>>> #!/usr/bin/perl
>>>>> 
>>>>> use strict;
>>>>> use warnings;
>>>>> 
>>>>> use File::Path;
>>>>> 
>>>>> File::Path::make_path();
>>>>> 
>>>>> print "Finished\n";
>>>>> ======
>>>>> 
>>>>> ...you run it by doing (assuming you're working in the directory in which the file is located):
>>>>> 
>>>>> chmod +x <filename>
>>>>> ./<filename>
>>>>> 
>>>>> Please report back on exactly what happens.
>>>>> 
>>>>> --
>>>>> Adam
>>>>> 
>>>>> 
>>>>>> On 7 May 2015, at 21:06, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:
>>>>>> 
>>>>>> Adam,
>>>>>> 
>>>>>> I downloaded the eprints-3.3.14.tar.gz file into our opt file and ran the ./configure command which works then when I run 'make install' I got the following output.
>>>>>> 
>>>>>> [root@eprints-dev eprints-3.3.14]# make install
>>>>>> make[1]: Entering directory `/opt/eprints-3.3.14'
>>>>>> make[1]: Nothing to be done for `install-exec-am'.
>>>>>> make  install-data-hook
>>>>>> make[2]: Entering directory `/opt/eprints-3.3.14'
>>>>>> mkdir -p /opt/eprints3
>>>>>> DESTDIR= /usr/bin/perl install.pl Uninstalling ...
>>>>>> 
>>>>>> /opt/eprints3/AUTHORS has been modified.
>>>>>> Saving old version as /opt/eprints3/AUTHORS.backup.2015-05-07
>>>>>> 
>>>>>> /opt/eprints3/VERSION has been modified.
>>>>>> Saving old version as /opt/eprints3/VERSION.backup.2015-05-07
>>>>>> 
>>>>>> /opt/eprints3/lib/lang/en/phrases/system.xml has been modified.
>>>>>> Saving old version as
>>>>>> /opt/eprints3/lib/lang/en/phrases/system.xml.backup.2015-05-07
>>>>>> 
>>>>>> /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Logout.pm has been modified.
>>>>>> Saving old version as
>>>>>> /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Logout.pm.backup.201
>>>>>> 5
>>>>>> -
>>>>>> 0
>>>>>> 5
>>>>>> -
>>>>>> 07
>>>>>> 
>>>>>> /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Register.pm has been modified.
>>>>>> Saving old version as
>>>>>> /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Register.pm.backup.2
>>>>>> 0
>>>>>> 1
>>>>>> 5
>>>>>> -
>>>>>> 0
>>>>>> 5-07 Undefined subroutine &File::Path::make_path called at 
>>>>>> install.pl line 273.
>>>>>> make[2]: *** [install-data-hook] Error 255
>>>>>> make[2]: Leaving directory `/opt/eprints-3.3.14'
>>>>>> make[1]: *** [install-data-am] Error 2
>>>>>> make[1]: Leaving directory `/opt/eprints-3.3.14'
>>>>>> make: *** [install-am] Error 2
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Rob
>>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: eprints-tech-bounces@ecs.soton.ac.uk
>>>>>> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam 
>>>>>> Field
>>>>>> Sent: Thursday, May 07, 2015 8:42 AM
>>>>>> To: eprints-tech@ecs.soton.ac.uk
>>>>>> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
>>>>>> 
>>>>>> Can you be more specific about the errors you observed?
>>>>>> 
>>>>>> --
>>>>>> Adam
>>>>>> 
>>>>>>> On 7 May 2015, at 15:01, Glover, Robert W. <RWGLOVER@fortlewis.edu> wrote:
>>>>>>> 
>>>>>>> Adam,
>>>>>>> 
>>>>>>> Thank you for your timely response. I was not here when it was first installed so I am not sure how they did it. I have seen that wiki page but notice that it doesn't have any implicit instructions for upgrading 3.2.x to 3.3.x. I have tried the upgrade process using the tar package but encounter errors throughout the process which led me to believe there may be a better way to go about it. Please let me know if you can think of anything. Thanks again!
>>>>>>> 
>>>>>>> Rob
>>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Field A.N.
>>>>>>> Sent: Thursday, May 07, 2015 4:15 AM
>>>>>>> To: eprints-tech@ecs.soton.ac.uk
>>>>>>> Subject: [EP-tech] Re: Upgrading 3.2.5 to 3.3.13
>>>>>>> 
>>>>>>> Hi Rob
>>>>>>> 
>>>>>>> There's a documentation page on the wiki: 
>>>>>>> http://wiki.eprints.org/w/Upgrading_EPrints_3_versions
>>>>>>> 
>>>>>>> Do you know how it was originally installed?  Via package or from source?
>>>>>>> 
>>>>>>> --
>>>>>>> Adam Field
>>>>>>> Business Relationship Manager and Community Lead EPrints 
>>>>>>> Services
>>>>>>> +44 (0)23 8059 8814
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>> On 5 May 2015, at 17:28, Glover, Robert W. wrote:
>>>>>>>> 
>>>>>>>> Hello,
>>>>>>>> 
>>>>>>>> I have been put in charge of upgrading our school's Eprints repository from version 3.2.5 to either 3.3.13 or 3.3.14. I have looked fairly extensively through the upgrade documentation on the Eprints Wiki page but was not able to find any decent information on the best way to upgrade from our current version to the newest. Any tips or ideas for how to proceed?
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Rob Glover
>>>>>>>> Systems Engineer
>>>>>>>> Fort Lewis IT Department
>>>>>>>> rwglover@fortlewis.edu
>>>>>>>> (970)247-7413
>>>>>>>> 
>>>>>>>> *** 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/
>>>>>>> 
>>>>>>> 
>>>>>>> *** 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/
>>>>>>> 
>>>>>>> *** 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/
>>>>>> 
>>>>>> 
>>>>>> *** 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/
>>>>>> 
>>>>>> *** 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/
>>>>> 
>>>>> 
>>>>> *** 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/
>>>>> 
>>>>> *** 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/
>>>> 
>>>> 
>>>> *** 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/
>>>> 
>>>> *** 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/
>>> 
>>> *** 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/
>>> 
>>> *** 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/
>> 
>> 
>> *** 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/
>> 
>> *** 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/
> 
> 
> *** 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/
> 
> *** 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/


*** 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/