EPrints Technical Mailing List Archive

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

Message: #02409


< 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.4 --> 3.3.12 (error)


Hi J-M,

Line 16 is:

@{$c->{search}{advanced}{search_fields}}

See why this is not defined? should be in eprint_search_advanced.pl

Alternatively replace with:

@{$c->{search}{advanced}{search_fields} || [] }

Seb.

On 14/11/13 14:54, Jean-Marie Le Bechec wrote:

Hi all,

I try to upgrade my clone (centos) but i have an error when i run the script "./epadmin upgrade oatao"

any idea is welcome ! Thanks...

Jean-Marie

------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Error in configuration:
Can't use an undefined value as an ARRAY reference at /appli/eprints/lib/cfg.d/eprint_search_staff.pl line 16.


------------------------------------------------------------------
EPrints System Error inducing stack dump
 at /appli/eprints/bin/../perl_lib/EPrints.pm line 146
    EPrints::abort('EPrints') called at /appli/eprints/bin/../perl_lib/EPrints/Config.pm line 281
    EPrints::Config::load_repository_config_module('oatao') called at /appli/eprints/bin/../perl_lib/EPrints/Repository.pm line 447
    EPrints::Repository::load_config('EPrints::Repository=HASH(0x7a0e100)') called at /appli/eprints/bin/../perl_lib/EPrints/Repository.pm line 153
    EPrints::Repository::new('EPrints::Repository', 'oatao', 'check_db', 0, 'noise', 1) called at /appli/eprints/bin/../perl_lib/EPrints.pm line 549
    EPrints::repository('EPrints=HASH(0x7a0e060)', 'oatao', 'noise', 1, 'check_db', 0) called at ./epadmin line 367
    main::repository('oatao', 'check_db', 0) called at ./epadmin line 2719
    main::upgrade('oatao') called at ./epadmin line 312

my steps :

./configure –with-user=apache –with-group=apache –prefix=/appli/eprints –with-smtp-server=mail.inp-toulouse.fr

make install (I had to add File::Path)

root@clone-oatao2 eprints-3.3.12]# make install
make[1]: entrant dans le répertoire « /root/eprints-3.3.12 »
make[1]: Rien à faire pour « install-exec-am ».
make  install-data-hook
make[2]: entrant dans le répertoire « /root/eprints-3.3.12 »
mkdir -p /appli/eprints
DESTDIR= /usr/bin/perl install.pl
Uninstalling ...

/appli/eprints/VERSION has been modified.
Saving old version as /appli/eprints/VERSION.backup.2013-11-14

/appli/eprints/cgi/users/lookup/event_by_name has been modified.
Saving old version as /appli/eprints/cgi/users/lookup/event_by_name.backup.2013-11-14

/appli/eprints/lib/defaultcfg/lang/en/phrases/local.xml has been modified.
Saving old version as /appli/eprints/lib/defaultcfg/lang/en/phrases/local.xml.backup.2013-11-14

/appli/eprints/lib/lang/en/phrases/system.xml has been modified.
Saving old version as /appli/eprints/lib/lang/en/phrases/system.xml.backup.2013-11-14

/appli/eprints/lib/static/favicon.ico has been modified.
Saving old version as /appli/eprints/lib/static/favicon.ico.backup.2013-11-14

/appli/eprints/lib/static/_javascript_/auto/70_autocomplete.js has been modified.
Saving old version as /appli/eprints/lib/static/_javascript_/auto/70_autocomplete.js.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Const.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Const.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/DataObj/UploadProgress.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/DataObj/UploadProgress.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/DataObj/User.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/DataObj/User.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Database.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Database.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/MetaField.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/MetaField.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/MetaField/Recaptcha.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/MetaField/Recaptcha.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Export/BibTeX.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Export/BibTeX.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Export/DC.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Export/DC.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Export/EndNote.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Export/EndNote.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Export/MultilineCSV.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Export/MultilineCSV.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Import/BibTeX.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Import/BibTeX.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Screen/EPrint/Edit.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Screen/EPrint/Edit.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Screen/Request/Respond.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Screen/Request/Respond.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Screen/Staff/EPrintSearch.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Screen/Staff/EPrintSearch.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Screen/Staff/HistorySearch.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Screen/Staff/HistorySearch.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Screen/Staff/IssueSearch.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Screen/Staff/IssueSearch.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Plugin/Screen/Subject/Edit.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Plugin/Screen/Subject/Edit.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/Repository.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/Repository.pm.backup.2013-11-14

/appli/eprints/perl_lib/EPrints/SystemSettings.pm has been modified.
Saving old version as /appli/eprints/perl_lib/EPrints/SystemSettings.pm.backup.2013-11-14

/appli/eprints/tools/isi_citations.pl has been modified.
Saving old version as /appli/eprints/tools/isi_citations.pl.backup.2013-11-14

/appli/eprints/tools/isi_citations/isi_query.pl has been modified.
Saving old version as /appli/eprints/tools/isi_citations/isi_query.pl.backup.2013-11-14

/appli/eprints/tools/isi_citations/generate_report.pl has been modified.
Saving old version as /appli/eprints/tools/isi_citations/generate_report.pl.backup.2013-11-14

/appli/eprints/tools/isi_citations/CitationReport.pm has been modified.
Saving old version as /appli/eprints/tools/isi_citations/CitationReport.pm.backup.2013-11-14

/appli/eprints/tools/isi_citations/README.TXT has been modified.
Saving old version as /appli/eprints/tools/isi_citations/README.TXT.backup.2013-11-14

/appli/eprints/tools/isi_citations/zz_wos.pl has been modified.
Saving old version as /appli/eprints/tools/isi_citations/zz_wos.pl.backup.2013-11-14
Installed EPrints to: /appli/eprints
make[2]: quittant le répertoire « /root/eprints-3.3.12 »
make[1]: quittant le répertoire « /root/eprints-3.3.12 »


-- 

***********************************************
Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
&
Direction du Systeme d'Information
Referent Etudes

Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Mail : lebechec@inp-toulouse.fr
*********************************************** 


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