EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09506
< 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
- To: David R Newman <drn@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- From: zen zenitram <quickfire28@gmail.com>
- Date: Thu, 7 Dec 2023 18:21:37 +0800
CAUTION: This e-mail originated outside the University of Southampton.
Thanks, I'll check them out.
On Thu, Dec 7, 2023 at 6:13 PM David R Newman <drn@ecs.soton.ac.uk> wrote:
Hi,
I think the issues is that the /usr/share/eprints3/perl_lib/EPrints/SystemSettings.pm that you have hard codes the path of EPrints as /opt/eprints3 but you have checked out the codebase to /usr/share/eprints3. You either need to follow the instructions again and check out to /opt/eprints3 or edit your SystemSettings.pm and change the line:
'base_path' => '/opt/eprints3',
to:
'base_path' => '/usr/share/eprints3',
Regards
David Newman
On 07/12/2023 09:50, zen zenitram wrote:
CAUTION: This e-mail originated outside the University of Southampton.here is the file inside flavoursroot@eprints:/usr/share/eprints3/flavours/pub_lib# ls
cfg.d citations defaultcfg inc lang namedsets plugins static workflows
root@eprints:/usr/share/eprints3/flavours/pub_lib# ls -l
total 36
drwxrwsr-x 2 eprints eprints 4096 Dec 7 09:30 cfg.d
drwxrwsr-x 3 eprints eprints 4096 Dec 7 09:30 citations
drwxrwsr-x 5 eprints eprints 4096 Dec 7 09:30 defaultcfg
-rw-rw-r-- 1 eprints eprints 845 Dec 7 09:30 inc
drwxrwsr-x 3 eprints eprints 4096 Dec 7 09:30 lang
drwxrwsr-x 2 eprints eprints 4096 Dec 7 09:30 namedsets
drwxrwsr-x 7 eprints eprints 4096 Dec 7 09:30 plugins
drwxrwsr-x 3 eprints eprints 4096 Dec 7 09:30 static
drwxrwsr-x 3 eprints eprints 4096 Dec 7 09:30 workflows
root@eprints:/usr/share/eprints3/flavours/pub_lib# ^C
root@eprints:/usr/share/eprints3/flavours/pub_lib#
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/
- References:
- [EP-tech] Installing Eprints 3.4.5 using GIT
- From: zen zenitram <quickfire28@gmail.com>
- Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- From: zen zenitram <quickfire28@gmail.com>
- Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- From: David R Newman <drn@ecs.soton.ac.uk>
- [EP-tech] Installing Eprints 3.4.5 using GIT
- Prev by Date: Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- Next by Date: Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- Previous by thread: Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- Next by thread: Re: [EP-tech] Installing Eprints 3.4.5 using GIT
- Index(es):