[EP-tech] Re: Upgrading to EPrints 3.3.12

Sebastien Francois sf2 at ecs.soton.ac.uk
Wed Oct 16 13:25:21 BST 2013


OK so those two errors are not related to file permissions.

1- divisions

You need to either:

a- populate the "divisions" field with your uni/organisation structure 
(import_subjects is your friend), OR
b- remove that field from eprint_fields.pl / the workflow, OR
c- change the type of that field in eprint_fields.pl to something else 
than "subjects" ("subjects" type is an organisational tree/graph)

Restart Apache and the Indexer once you're done (expect for (a))

2- unknown "authorid" in field list

I suspect you/something added a field "authorid" in the conf but didn't 
update the database/table structure - run "bin/epadmin update <repo_id>" 
to solve the problem.

Seb.

On 16/10/13 13:18, Malcolm Bodger wrote:
> Hi Seb,
>
> I'm getting this:
>
> WestminsterResearch has encountered an
> error:
> The top level subject (id=divisions) for field "divisions" does not exist. The site admin probably has not run import_subjects. See the documentation for more information.
>
>
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at /usr/share/eprints3/perl_lib/EPrints/Database.pm line 2639.
> Undefined phrase: lib/searchfield:help_counter (en) at line 757 in /usr/share/eprints3/perl_lib/EPrints/Search/Field.pm
> Undefined phrase: eprint_fieldname_authorid (en) at line 422 in /usr/share/eprints3/perl_lib/EPrints/MetaField.pm
> Undefined phrase: eprint_fieldname_groupid (en) at line 422 in /usr/share/eprints3/perl_lib/EPrints/MetaField.pm
> [Wed Oct 16 12:14:05 2013] [error] Exception: Couldn't stat '/usr/share/eprints3/archives/eprints/var/xapian'
> DBD::mysql::st execute failed: Unknown column 'authorid' in 'field list' at /usr/share/eprints3/perl_lib/EPrints/Database.pm line 3211.
> SQL ERROR (execute): SELECT `eprintid`,`rev_number`,`eprint_status`,`userid`,`importid`,`source`,`dir`,`datestamp_year`,`datestamp_month`,`datestamp_day`,`datestamp_hour`,`datestamp_minute`,`datestamp_second`,`lastmod_year`,`lastmod_month`,`lastmod_day`,`lastmod_hour`,`lastmod_minute`,`lastmod_second`,`status_changed_year`,`status_changed_month`,`status_changed_day`,`status_changed_hour`,`status_changed_minute`,`status_changed_second`,`type`,`succeeds`,`commentary`,`metadata_visibility`,`contact_email`,`fileinfo`,`latitude`,`longitude`,`item_issues_count`,`sword_depositor`,`sword_slug`,`edit_lock_user`,`edit_lock_since`,`edit_lock_until`,`title`,`ispublished`,`full_text_status`,`monograph_type`,`pres_type`,`keywords`,`note`,`suggestions`,`abstract`,`date_year`,`date_month`,`date_day`,`date_type`,`series`,`publication`,`volume`,`number`,`publisher`,`place_of_pub`,`pagerange`,`pages`,`event_title`,`event_location`,`event_dates`,`event_type`,`id_number`,`patent_applicant`,`institution`,`department`,`thesis_type`,`refereed`,`isbn`,`issn`,`book_title`,`official_url`,`referencetext`,`output_media`,`num_pieces`,`composition_type`,`data_type`,`pedagogic_type`,`completion_time`,`task_purpose`,`learning_level`,`authorid`,`groupid` FROM `eprint` WHERE `eprintid` IN (3337)
> SQL ERROR (execute): Unknown column 'authorid' in 'field list'
>
> Thanks.
> Regards,
> Malcolm.
> ________________________________________
> From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Sebastien Francois <sf2 at ecs.soton.ac.uk>
> Sent: 16 October 2013 12:14
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech] Re: Upgrading to EPrints 3.3.12
>
> Anything else showing in the apache error logs?
>
> Seb.
>
> On 16/10/13 12:05, Malcolm Bodger wrote:
>> Hi John,
>>
>> I've checked and everything is eprints:eprints. I did use chown with the -R switch.
>> The message is now saying "Can't retrieve item with the ID "22"
>> It has created the beginning of a document and an entry in the database but goes no further.
>> When I go to manage deposits and click on 'new item' I get that error.
>> I've clearly broken something but what?
>>
> *** 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 Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
>
> This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system.
>
> *** 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/





More information about the Eprints-tech mailing list