EPrints Technical Mailing List Archive

Message: #09483


< 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


CAUTION: This e-mail originated outside the University of Southampton.

Hi zen zenitram,


there is apparently an error you have made in your perl-based
configuration file. Just guessing, to begin with you can see the error
when only "running" the (not quite "smart", doing-stuffy I assume)
configuration file through `perl -c $CFGFILE`. Is that the case?

If yes, you can try to find the missing curly bracket via a texteditor.
If it happens to be vim, you can probe-parse it by vim-command

:!perl -c %

Once it says "syntax OK" you can restart the webserver and it'll work.


Regards
Florian


Am 22.11.23 um 10:55 schrieb zen zenitram:
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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Feprint_fields.pl%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C36910a90a5174567bb2d08dbeb4281b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638362443111755668%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QJv3I58FnB1Y1l5UBnYPCJmWg8VyybdrtI3ETkNealk%3D&reserved=0> 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEprints-tech_Mailing_List&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C36910a90a5174567bb2d08dbeb4281b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638362443111755668%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qEZM00IUCqSwnsBBNDic1HHEmz5O%2BQzqqiM%2F30S82FI%3D&reserved=0
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C36910a90a5174567bb2d08dbeb4281b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638362443111755668%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dowIfjtUnc8HNy4pbbWxuyvIIo7FTt7ITMN5Ruw2gcM%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C36910a90a5174567bb2d08dbeb4281b1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638362443111755668%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sJk58lQAuNBnk5IECyqBEzCHX3uu9MEbdi1PFKOXKP8%3D&reserved=0