EPrints Technical Mailing List Archive

Message: #09503


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

Re: [EP-tech] Installing Eprints 3.4.5 using GIT


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

i encounter another problem when i run ./bin/epadmin create pub.

eprints@eprints:/usr/share/eprints3$ ls
AUTHORS  configure.ac     debian           ingredients    license      perl_lib    testdata  var
bin      COPYING          eprints.spec.in  install.pl.in  Makefile.am  pod         tests
cgi      cpan_modules.pl  flavours         lib            NEWS         README.pod  tools
eprints@eprints:/usr/share/eprints3$ ./bin/epadmin create pub
readdir() attempted on invalid dirhandle LIB at /usr/share/eprints3/bin/../perl_lib/EPrints/SystemSettings.pm line 79.
closedir() attempted on invalid dirhandle LIB at /usr/share/eprints3/bin/../perl_lib/EPrints/SystemSettings.pm line 80.
Available repository types are:
   zero
Usage: epadmin create [repository type]
eprints@eprints:/usr/share/eprints3$ ls -l
total 108
-rw-rw-r--  1 eprints eprints  840 Dec  7 09:30 AUTHORS
drwxrwsr-x  2 eprints eprints 4096 Dec  7 09:30 bin
drwxrwsr-x  5 eprints eprints 4096 Dec  7 09:30 cgi
-rw-rw-r--  1 eprints eprints 4687 Dec  7 09:30 configure.ac
-rw-rw-r--  1 eprints eprints 7651 Dec  7 09:30 COPYING
-rw-rw-r--  1 eprints eprints 1654 Dec  7 09:30 cpan_modules.pl
drwxrwsr-x  3 eprints eprints 4096 Dec  7 09:30 debian
-rw-rw-r--  1 eprints eprints 7278 Dec  7 09:30 eprints.spec.in
drwxrwsr-x  3 eprints eprints 4096 Dec  7 09:30 flavours
drwxrwsr-x  5 eprints eprints 4096 Dec  7 09:30 ingredients
-rwxrwxr-x  1 eprints eprints 5899 Dec  7 09:30 install.pl.in
drwxrwsr-x 15 eprints eprints 4096 Dec  7 09:30 lib
drwxrwsr-x  2 eprints eprints 4096 Dec  7 09:30 license
-rw-rw-r--  1 eprints eprints 1356 Dec  7 09:30 Makefile.am
-rw-rw-r--  1 eprints eprints 5991 Dec  7 09:30 NEWS
drwxrwsr-x 12 eprints eprints 4096 Dec  7 09:30 perl_lib
drwxrwsr-x  2 eprints eprints 4096 Dec  7 09:30 pod
-rw-rw-r--  1 eprints eprints 1978 Dec  7 09:30 README.pod
drwxrwsr-x  4 eprints eprints 4096 Dec  7 09:30 testdata
drwxrwsr-x  2 eprints eprints 4096 Dec  7 09:30 tests
drwxrwsr-x  6 eprints eprints 4096 Dec  7 09:30 tools
drwxrwsr-x  2 eprints eprints 4096 Dec  7 09:30 var
eprints@eprints:/usr/share/eprints3$ ^C
eprints@eprints:/usr/share/eprints3$

a already done this

root@eprints:~# cp /usr/share/eprints3/perl_lib/EPrints/SystemSettings.pm.tmpl /usr/share/eprints3/perl_lib/EPrints/SystemSettings.pm

Thank you!

On Thu, Dec 7, 2023 at 4:33 AM David R Newman <drn@ecs.soton.ac.uk> wrote:
Hi,

This is a Git rather than EPrints related issue.  It basically means you are in a directory which does not contain a .git sub-directory and neither does any of the parent directories (up to the / directory) contains a .git sub-directory.  If you clone EPrints 3.4.5 you would do something like:

su root
mkdir /opt/eprints3
chmod 2775 /opt/eprints3
chown eprints:eprints /opt/eprints3
su eprints
git clone https://github.com/eprints/eprints3.4.git /opt/eprints3
cd /opt/eprints3/
git checkout tags/3.4.5

I can see from the instructions on https://wiki.eprints.org/w/Installing_EPrints_on_RHEL/Fedora/CentOS#Installing_EPrints_3.4.x_from_Source has been missing the penultimate (cd /opt/eprints3/) instruction, so I have added this.  If you make sure you are in the /opt/eprints3/ directory before running "git checkout tags/3.4.5", this command should work and not return the error you reported.

Regards

David Newman

On 05/12/2023 4:45 am, 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!


Im trying to install eprints 3.4.5 using git and i encounter this error


Solving “Fatal: Not A Git Repository” (Or Any Of The Parent Directories) Error


Any help with this?

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