EPrints Technical Mailing List Archive

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

Message: #10299


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

Re: [EP-tech] Help to reconfigure the EP server


Hi Hiroshi,

My best guess would be that perl_lib/EPrints/SystemSettings.pm is configured to expect EPrints to be ad /opt/eprints3 whereas it looks like it is under /disk/eprints.  You could just move to /opt/eprints3 but I suspect that this is mount at /disk/ and disk at / is a lot smaller and won't fit EPrints will all the files you have uploaded for your repository.  If that is the case, you have two options:

1. Symlink (as the root user) /opt/eprints3 to /disk/eprints
    ln -s /opt/eprints3 /disk/eprints

2. Update perl_lib/EPrints/SystemSettings.pm and set base_path to '/disk/eprints'

I would advise option 1.  As although I don't think you would usually need to change /opt/eprints3 anywhere else (for option 2), I am not certain this is always the case, especially if you have certain Bazaar plugins or ingredients installed (or have made your own bespoke changes). 

You may also need to make sure the file ownership and permissions are correct.  Especially, if you want to get Apache running EPrints. Historically we have recommended setting the all the files and directories under your EPrints path to be owned by the eprints user and belong to the eprints group and then change Apache's user and group its configuration to eprints.  However, more recently we have advised adding the eprints user to the apache (Fedora/RHEL) or www-data (Debian/Ubuntu) group and vice-versa.  This saves having to modify Apache configuration for user and group  Please see the instructions for this at [1] or [2].

Regards

David Newman

[1] https://wiki.eprints.org/w/Installing_EPrints_on_RHEL/Fedora/CentOS#From_GitHub
[2] https://wiki.eprints.org/w/Installing_EPrints_on_Debian/Ubuntu#Downloading_and_Deploying_EPrints_Source  
 
On 29/12/2025 11:24 am, Hiroshi Watabe wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.

Dear EP experts,

My disk, which stores my repositories, was corrupted, and I restored them from my backup.

Then, I tried to test the eprints server (named eprints1), and I got the following errors.

EPrints System Error inducing stack dump

at /disk/eprints/bin/../perl_lib/EPrints.pm line 163.

        EPrints::abort("EPrints") called at /disk/eprints/bin/../perl_lib/EPrints/Config.pm line 317

        EPrints::Config::load_repository_config_module("eprints1") called at /disk/eprints/bin/../perl_lib/EPrints/Repository.pm line 521

        EPrints::Repository::load_config(EPrints::Repository=HASH(0x5594baf87058)) called at /disk/eprints/bin/../perl_lib/EPrints/Repository.pm line 153

        EPrints::Repository::new("EPrints::Repository", "eprints1", "noise", 1) called at /disk/eprints/bin/../perl_lib/EPrints.pm line 713

        EPrints::repository(EPrints=HASH(0x5594baf86ed8), "eprints1", "noise", 1) called at bin/epadmin line 379

        main::repository("eprints1") called at bin/epadmin line 1968

        main::test("eprints1") called at bin/epadmin line 314

My EP version is 3.4.4

How can I fix this issue?

Thank you in advance.

Hiroshi

Hiroshi Watabe

RARIS, Tohoku University, Sendai, Japan

Sent with Notion Mail


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