EPrints Technical Mailing List Archive

Message: #01498


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

[EP-tech] Re: Eprints 3.1 to 3.3 upgrade not working


Hi all,

As previously mentioned I have gone into the aforementioned http://trac.eprints.org/eprints/browser/tags/3.3.7/system/perl_lib/EPrints/Plugin/Convert and have opened each file to ensure the content is the same as the one I have in 3.3.10. I do not see any difference in the convertors and the installation copy is brand new with no edits (although the database, documents and phrases have been changed with the old 3.1 ready for upgrade).

I am unsure as to whether or not it's possible the 3.3.10 Debian version of EPrints is missing files compared to the older versions of 3.3? I have noticed from a Debian direct installation of 3.3.10 the basic search gives an internal server error which then later can be seen as a file not found at /eprints3/archives/name/var/xapian in the apache logs. I am not sure if this could also be connected to any changes which are not reflected in the latest epadmin process.

What I did notice is that if I try upgrading EPrints 3.1 to 3.2.4 via a 3.3 installation it gives many different errors compared to the successful result of doing the same process with 3.1 to 3.2 with a 3.2 installation, which confused me as I thought the epadmin upgrade process from 3.1 to 3.2.4 would be the same in both the 3.2 version and 3.3 version and it would only be extended beyond 3.2.4 to the newer versions of 3.3? i.e. 3.3.6 to 3.3.10

If anyone has any ideas or has had these problems please could you let me know how you managed to fix it? 

Thanks everyone,

Kind regards,

David Whitehead.

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of David Whitehead
Sent: 23 January 2013 09:47
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Eprints 3.1 to 3.3 upgrade not working

Hi Tim,

Thanks for getting back to me, As I have installed EPrints into the /usr/ I have looked into /usr/share/eprints3/perl_lib/EPrints/Plugin/Convert and there are 4 pm files. Below is there last modified dates, DocPDF.pm - Last modified 29/05/2012 IndexCodes.pm - Last modified 29/05/2012 PlainText.pm - Last modified 29/05/2012 Thumbnails.pm - Last modified 29/05/2012



I am unsure as to why I would be using an older convertor as all I have done is install a brand new version of eprints 3.3.10. I then copied only version of the "Documents" folder in the archives and Redid the archive database with the same name but made from the 3.2.4 sql backup that I made after upgrading from 3.1 to 3.2.4. 

On another side note though I did also notice that the simple search Xapian is also not working in 3.3.10 "even freshly installed with no modifications yet to EPrints" every time you try and do a basic search you go to internal server error page, the error in the apache log is "Exception: /usr/share/eprints3/archives/"name"/var/xapian". When navigating to the var folder I find nothing their other than one timestamp method. Just thought you might want to know,

I installed EPrints 3.3 on Ubuntu via package manage "apt-get install" after adding "deb http://deb.eprints.org/3.3/ stable/" and "deb-src http://deb.eprints.org/3.3/ source/" to sources.list

I hope this information is of some use to you, if you need anything else just let me know and thanks again for getting back to me,

Kind regards,

David Whitehead.

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Tim Brody
Sent: 22 January 2013 16:48
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Eprints 3.1 to 3.3 upgrade not working

On Tue, 2013-01-22 at 10:19 +0000, David Whitehead wrote:
> Hi All,
> 
>  
> 
> I have been assigned the task of trying to convert the current EPrints 
> repository we have into 3.3. So far what I have managed to do is 
> install 3.2 and then upgrade the current EPrints database and data 
> into 3.2.4. I have installed 3.3 and I am attempting to do the same 
> thing but It’s not working and I get quite a lot of various different 
> errors.
> 
>  
> 
> Below is a general list of errors I seem to be getting, I was 
> wondering if you could tell me either what might be causing them or 
> any kind of known solution for them:-
> 
>  
> 
>  
> 
> ·         Error: Expected the default config, but wasn’t able to find
> it, or it isn’t a dictionary.
> 
> ·         Error: no current point in closepath.
> 
> ·         Error: Failed parsing page 85 using hint tables.
> 
> ·         Error: Failed to parse xref entry.
> 
> ·         Error:Top-level pages object is wrong type (null).
> 
> ·         Error: Object (253, 0) is not a pageDict.
> 
> ·         Error: Invalid number of first page shared object groups.
> 
> ·         Error Opening /tmp/ep-convertK7cXi/Drawing Perspective
> Remembering the basics Lecture.txt: No such file or directory at 
> /usr/share/eprints3/perl_lib/Eprints/Plugin/Convert/IndexCodes.pm
> line 57 (This stops the upgrade process all together)
> 
>  
> 
> Note: I have been on the EPrints wiki and I have tried the 
> subject_reindex method on both 3.2 and 3.3 but I still cannot get past
> 3.3 without the errors.
> 
> http://wiki.eprints.org/w/Upgrading_from_3.1

Hi,

It looks like the text isn't being extracted from a PDF and, rather than the PDF convert plugin gracefully returning, it trips a file missing check in Convert::IndexCodes.

Can you compare your set of Convert plugins with:
http://trac.eprints.org/eprints/browser/tags/3.3.7/system/perl_lib/EPrints/Plugin/Convert

It doesn't look like you should get to the problem you have, so I'm wondering if you have an old PDF text extraction plugin that's getting in the way (instead of Convert::DocPDF and the 'antiwordpdf' utility).

--
All the best,
Tim

The University of Lincoln - a top performer in student satisfaction, enjoying an unrivalled ascent through the University league tables, set in a dynamic, research rich and vibrant campus in the heart of a great historic student-friendly city.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.
 
Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.
 
The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.

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

The University of Lincoln - a top performer in student satisfaction, enjoying an unrivalled ascent through the University league tables, set in a dynamic, research rich and vibrant campus in the heart of a great historic student-friendly city.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.
 
Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.
 
The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.