EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10350
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] repository initialization
- To: <eprints-tech@ecs.soton.ac.uk>, Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Subject: Re: [EP-tech] repository initialization
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Mon, 13 Apr 2026 17:15:01 +0100
Hi Herbert,
This feels like you may not have a SetPerlVar configure to specify your EPrints_ArchiveID. This should be set in the following Apache configuration files, assuming you have HTTPS enabled:
EPRINTS_PATH/cfg/apache/REPOID.confEPRINTS_PATH/cfg/apache_ssl/REPOID.conf
Assuming you have both of these files and they include a line starting:
PerlSetVar EPrints_ArchiveID ...
just inside the Location block then EPrints should be able to find it currently repository. However, depending on how you have setup HTTPS you may have missed out including <EPRINTS_PATH>/cfg/apache_ssl/<ARCHIVE_ID>.conf (EPrints path is typically /opt/eprints3) in your HTTPS (port 443) VirtualHost. If you look at the suggested configuration on https://wiki.eprints.org/w/How_to_use_EPrints_with_HTTPS you will see that penultimate line is:
Include EPRINTS_PATH/cfg/apache_ssl/REPOID.conf
If this line is missing then you will likely have this problem. If it is present, it would be useful to know how you have your Apache web server configured. As you are running Ubuntu you will need to run a command line the following (as root):
source /etc/apache2/envvars && apache2 -t -D DUMP_VHOSTS -D DUMP_INCLUDES
This should list how configuration files include each other as well as how your webserver is configured to serve requests over both HTTP and HTTPS.
Regards
David Newman
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Hi,
I have a eprints3.4 installation on ubuntu 24.04 up to where the
archive's Main page is shown and the epadmin test is o.k. But no links
are working on the site. There must be an additional step to initialize.
The message I get is:
Can't call method "current_repository" on an undefined value at
EPrints/BackCompatibility.pm line 573
Could someone lend a helping hand ...
Best,
h.h.
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- References:
- [EP-tech] Resetting failed event {id} to waiting.
- From: "Agung Prasetyo W." <prazetyo@gmail.com>
- Re: [EP-tech] Resetting failed event {id} to waiting.
- From: David R Newman <drn@ecs.soton.ac.uk>
- [EP-tech] repository initialization
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- [EP-tech] Resetting failed event {id} to waiting.
- Prev by Date: [EP-tech] repository initialization
- Next by Date: [EP-tech] CORE Recommender Plugin URLs
- Previous by thread: [EP-tech] repository initialization
- Next by thread: Re: [EP-tech] Resetting failed event {id} to waiting.
- Index(es):
