EPrints Technical Mailing List Archive

Message: #09482


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

Re: [EP-tech] upgrade error


Hi,

The line in this error message with the actual issue is:

Missing right curly or square bracket at /usr/share/eprints/archives/aea/cfg/cfg.d/eprint_fields.pl line 260

Basically, you have likely modified this file and the curly or square brackets don't match up.  This has been identified on line 260, so I would take a look there first and it may be as simple as adding a curly or square bracket on or around line 260. However, as brackets come in pairs, it is possible the issue may be elsewhere in the file.  As you may have removed or added an erroneous bracket.  If you use a suitable code editing application, it should help you pair up the brackets to find a missing or extra bracket, that is causing this issue.

Regards

David Newman

On 22/11/2023 09:55, zen zenitram wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Good day!

How can i fix this error?
 EPrints System Error 2023-11-22T09:50:43Z ------------
------------------------------------------------------------------
Error in configuration:
syntax error at (eval 79) line 260, at EOF
Missing right curly or square bracket at /usr/share/eprints/archives/aea/cfg/cfg.d/eprint_fields.pl line 260

------------------------------------------------------------------
EPrints System Error inducing stack dump
 at /usr/share/eprints/bin/../perl_lib/EPrints.pm line 163.
        EPrints::abort("EPrints") called at /usr/share/eprints/bin/../perl_lib/EPrints/Config.pm line 317
        EPrints::Config::load_repository_config_module("aea") called at /usr/share/eprints/bin/../perl_lib/EPrints/Repository.pm line 521
        EPrints::Repository::load_config(EPrints::Repository=HASH(0x55a534d0c7a8)) called at /usr/share/eprints/bin/../perl_lib/EPrints/Repository.pm line 153
        EPrints::Repository::new("EPrints::Repository", "aea", "noise", 1) called at /usr/share/eprints/bin/../perl_lib/EPrints.pm line 713
        EPrints::repository(EPrints=HASH(0x55a534d1a678), "aea", "noise", 1) called at ./bin/epadmin line 379
        main::repository("aea") called at ./bin/epadmin line 2094
        main::update_database_structure("aea") called at ./bin/epadmin line 321
eprints@ersii12:~$

Thank you!

*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/