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

[EP-tech] Re: User Login failure after upgrading from Eprints 3.3.3 to 3.3.14



I have checked the permissions but the error still persist.  So run
./bin/epadmin unit_tests and got the following error

eprints at researchdb:~$ ./bin/epadmin unit_tests
/usr/share/eprints3/tests/01_use.pl ............... 1/2 # EPrints Version:
3.3.14
/usr/share/eprints3/tests/01_use.pl ............... ok
/usr/share/eprints3/tests/02_session.pl ........... ok
/usr/share/eprints3/tests/03_set_value.pl ......... ok
/usr/share/eprints3/tests/05_bug_fixes.pl ......... ok
/usr/share/eprints3/tests/10_xml_dom.pl ........... ok
/usr/share/eprints3/tests/10_xml_gdome.pl ......... skipped: XML::GDOME
missing
/usr/share/eprints3/tests/10_xml_libxml.pl ........ ok
/usr/share/eprints3/tests/11_epscript.pl .......... ok
/usr/share/eprints3/tests/20_database_utf8.pl ..... ok
/usr/share/eprints3/tests/21_database_fields.pl ... ok
/usr/share/eprints3/tests/23_cache.pl ............. ok
/usr/share/eprints3/tests/25_mysql.pl ............. ok
/usr/share/eprints3/tests/30_search.pl ............ 1/36
#   Failed test 'subjects and divisions: AND(
#       in_subject($eprint.divisions,"sch_mat") ... eprint_divisions,
#       in_subject($eprint.subjects,"GR") ... eprint_subjects
# )'
#   at /usr/share/eprints3/tests/30_search.pl line 71.

#   Failed test 'search multiple name field
# : SELECT `eprint`.`eprintid` FROM `eprint`, `eprint__index_grep` AS
`eprint__index_grep`, `eprint__rindex` AS `eprint__rindex` WHERE
`eprint`.`eprintid`=`eprint__index_grep`.`eprintid` AND
`eprint`.`eprintid`=`eprint__rindex`.`eprintid` AND
(`eprint__index_grep`.`fieldname`='creators_name' AND
(`eprint__index_grep`.`grepstring` LIKE '%[neumeier]%-%[m%') AND
`eprint__rindex`.`field`='creators_name' AND
`eprint__rindex`.`word`='neumeier') GROUP BY `eprint`.`eprintid`'
#   at /usr/share/eprints3/tests/30_search.pl line 117.

#   Failed test 'satisfy-any, nomatch multiple'
#   at /usr/share/eprints3/tests/30_search.pl line 132.

#   Failed test 'documents.format join path'
#   at /usr/share/eprints3/tests/30_search.pl line 257.
/usr/share/eprints3/tests/30_search.pl ............ 26/36
#   Failed test 'compound type field query'
#   at /usr/share/eprints3/tests/30_search.pl line 358.

#   Failed test 'title OR abstract: OrSubQuery(
#       AndSubQuery(
#               index($eprint.title,"banded") ... eprint__rindex,
#               index($eprint.title,"gecko") ... eprint__rindex
#       ),
#       AndSubQuery(
#               index($eprint.abstract,"demonstration") ... eprint__rindex,
#               index($eprint.abstract,"data") ... eprint__rindex
#       )
# )
# SELECT `eprint`.`eprintid` FROM `eprint`, (SELECT `eprint`.`eprintid` AS
`eprintid` FROM `eprint`, `eprint__rindex` AS `eprint__rindex` WHERE
`eprint`.`eprintid`=`eprint__rindex`.`eprintid` AND
`eprint__rindex`.`field`='title' AND `eprint__rindex`.`word`='banded') AS
`and_209780456_0`, (SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`,
`eprint__rindex` AS `eprint__rindex` WHERE
`eprint`.`eprintid`=`eprint__rindex`.`eprintid` AND
`eprint__rindex`.`field`='title' AND `eprint__rindex`.`word`='gecko') AS
`and_209780456_1` WHERE `eprint`.`eprintid`=`and_209780456_0`.`eprintid`
AND `eprint`.`eprintid`=`and_209780456_1`.`eprintid` GROUP BY
`eprint`.`eprintid`'
#   at /usr/share/eprints3/tests/30_search.pl line 411.

------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Cannot create sub-object on non-subobject field item_issues
------------------------------------------------------------------
EPrints System Error inducing stack dump
 at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 147
        EPrints::abort() called at
/usr/share/eprints3/bin/../perl_lib/EPrints/DataObj.pm line 377

EPrints::DataObj::create_subdataobj('EPrints::DataObj::EPrint=HASH(0xc7e41b0)',
'item_issues', 'HASH(0xc799ec0)') called at /usr/share/eprints3/tests/
30_search.pl line 427
# Looks like you planned 36 tests but ran 34.
# Looks like you failed 6 tests of 34 run.
# Looks like your test exited with 1 just after 34.
/usr/share/eprints3/tests/30_search.pl ............ Dubious, test returned
1 (wstat 256, 0x100)
Failed 8/36 subtests
        (less 2 skipped subtests: 26 okay)
/usr/share/eprints3/tests/31_simple_search.pl ..... ok
/usr/share/eprints3/tests/32_triples.pl ........... ok
/usr/share/eprints3/tests/40_views.pl ............. 1/6 # memory footprint
# /tmp/o67muJW0ul/en/view/_40_views_pl
# /tmp/o67muJW0ul/en/view/_40_views_pl/2005
# /tmp/o67muJW0ul/en/view/_40_views_pl/1987
# /tmp/o67muJW0ul/en/view/_40_views_pl/2004
# /tmp/o67muJW0ul/en/view/_40_views_pl/NULL
# /tmp/o67muJW0ul/en/view/_40_views_pl/1989
# /tmp/o67muJW0ul/en/view/_40_views_pl/1990
# /tmp/o67muJW0ul/en/view/_40_views_pl/2014
# /tmp/o67muJW0ul/en/view/_40_views_pl/2007
# /tmp/o67muJW0ul/en/view/_40_views_pl/1991
# /tmp/o67muJW0ul/en/view/_40_views_pl/2002
Undefined phrase: eprint_fieldopt_thesis_type_phd (en) at line 126 in
/usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Set.pm
# /tmp/o67muJW0ul/en/view/_40_views_pl/2013
# /tmp/o67muJW0ul/en/view/_40_views_pl/2000
# /tmp/o67muJW0ul/en/view/_40_views_pl/2011
# /tmp/o67muJW0ul/en/view/_40_views_pl/1996
# /tmp/o67muJW0ul/en/view/_40_views_pl/2009
# /tmp/o67muJW0ul/en/view/_40_views_pl/1999
# /tmp/o67muJW0ul/en/view/_40_views_pl/2015
# /tmp/o67muJW0ul/en/view/_40_views_pl/2012
# /tmp/o67muJW0ul/en/view/_40_views_pl/1993
# /tmp/o67muJW0ul/en/view/_40_views_pl/2010
# /tmp/o67muJW0ul/en/view/_40_views_pl/1994
# /tmp/o67muJW0ul/en/view/_40_views_pl/2008
# /tmp/o67muJW0ul/en/view/_40_views_pl/1988
# /tmp/o67muJW0ul/en/view/_40_views_pl/2001
# /tmp/o67muJW0ul/en/view/_40_views_pl/1997
# /tmp/o67muJW0ul/en/view/_40_views_pl/1985
# /tmp/o67muJW0ul/en/view/_40_views_pl/1998
# /tmp/o67muJW0ul/en/view/_40_views_pl/1992
# /tmp/o67muJW0ul/en/view/_40_views_pl/1986
# /tmp/o67muJW0ul/en/view/_40_views_pl/2006
# /tmp/o67muJW0ul/en/view/_40_views_pl/2003
/usr/share/eprints3/tests/40_views.pl ............. 3/6 #
 update_view_by_path=-1B
#        update_browse_view_list=-1B
/usr/share/eprints3/tests/40_views.pl ............. ok
/usr/share/eprints3/tests/50_mem_usage.pl ......... 1/4 # LOAD=-1B
# Repository-Specific Data
#       _load_config=-1B
#       _load_workflows=-1B
#       _load_namedsets=-1B
#       _load_datasets=-1B
#       _load_languages=-1B
#       _load_templates=-1B
#       _load_citation_specs=-1B
#       _load_storage=-1B
#       _load_plugins=-1B
# Session=-1B
/usr/share/eprints3/tests/50_mem_usage.pl ......... ok
/usr/share/eprints3/tests/51_plugin_mem_usage.pl .. 1/3 #
# Plugin Memory Usage
# EPrints::Plugin::Screen::EPrint::Messages=-1B
# EPrints::Plugin::Convert::Thumbnails=-1B
# EPrints::Plugin::Search=-1B
# EPrints::Plugin::Export::OAI_DC=-1B
# EPrints::Plugin::Storage::EPM=-1B
/usr/share/eprints3/tests/51_plugin_mem_usage.pl .. ok
/usr/share/eprints3/tests/52_mem_cycle.pl ......... 1/3 Bailout called.
Further testing stopped:  Install Test::Memory::Cycle
FAILED--Further testing stopped: Install Test::Memory::Cycle
eprints at researchdb:~$


Any ideas whats wrong with the system

Regards

On Wed, Oct 28, 2015 at 10:57 AM, Thomas Lauke <th.lauke at arcor.de> wrote:

> >  My problem is I don't know which rights to play around with, if the
> error I am getting is related to rights.
> for the executing user 2 access bits have to be set: read + execute ...
> thus as root
> - check the group your executer belongs to -> EXEgroup
> - check, that the owner EprintsOwner of all relevant files belongs to
> EXEgroup
> - check, that all relevant files are owned by EprintsOwner
> find <PathToEprints> ! -user <EprintsOwner>
> - search for files rejecting the necessary access:
> find <PathToEprints> -user <EprintsOwner> ! -perm -u=r,g=r
> - add the necessary access:
> find <PathToEprints> -user <EprintsOwner> ! -perm -u=r,g=r -exec chmod
> ug+r {} \;
> - add execution bit only if necessary
> find <PathToEprints> -user <EprintsOwner> \( -type d -o -type f -perm /u=x
> \) ! -perm -u=x,g=x -exec chmod ug+x {} \;
>
> Good luck
> Thomas
>



-- 

Luxmore Chiwuta

Skype: Luxytouch

Websites: www.researchdatabase.ac.zw

Cell: 0773578278; 08644053434


 <http://www.zirs.ac.zw>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20151029/49b112a7/attachment.html