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

42 views
Skip to first unread message

zen zenitram

unread,
Nov 21, 2023, 5:17:49 AM11/21/23
to EPrints UK User Group
Can you help me with this error, im trying to install Eprints 3.4.5 using git.

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


Thank you!

John Salter

unread,
Nov 21, 2023, 7:23:09 AM11/21/23
to zen zenitram, EPrints UK User Group

Hi Zen,
The best place to ask for this type of technical support is on the EPrints Tech List – details are listed here: https://wiki.eprints.org/w/Eprints-tech_Mailing_List

 

But I will try and help you here anyway 😊

 

If you following these instructions: https://wiki.eprints.org/w/Installing_EPrints_on_RHEL/Fedora/CentOS#Installing_EPrints_3.4.x_from_Source – or the Debian/Ubuntu equivalent, I guess you have got stuck on this part:

yum install git

mkdir /opt/eprints3/

chown eprints:eprints /opt/eprints3/

chmod 2775 /opt/eprints3/

su eprints

git clone https://github.com/eprints/eprints3.4.git /opt/eprints3

git checkout tags/v3.4.5


After the ‘su eprints’ command, change the directory you are in, to the one you are about to clone the git repository into:

 

...

su eprints

cd /opt/eprints3/

git clone https://github.com/eprints/eprints3.4.git /opt/eprints3

git checkout tags/v3.4.5

 

Please let me know if this helps or not.

 

Cheers,

John

 

John Salter

https://orcid.org/0000-0002-8611-8266

 

White Rose Libraries Technical Officer
IT - Application Support (Research)
University of Leeds

--
You received this message because you are subscribed to the Google Groups "EPrints UK User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eprints-uk-user-...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/eprints-uk-user-group/d81faed1-09e4-4ea8-9508-af383bc7f5e9n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages