EPrints Technical Mailing List Archive
Message: #07561
< 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 with postgresql
- To: <eprints-tech@ecs.soton.ac.uk>, <yuri.carrer@unipd.it>
- Subject: Re: [EP-tech] Installing eprints with postgresql
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Date: Wed, 7 Nov 2018 16:34:43 +0700
Hi,
Wow...It work. I don't know that it is must be same. Is there any other step must be done? Because I read on https://wiki.eprints.org/w/API:EPrints/Database/Pg that there a step : $name = $db->index_name( $table, @columns )
Btw, is it possible to use postgresql from beginning?so when running epadmin create, it automatically using postgresql..not mysql again.
Thank you.
Best regards,
Agung Prasetyo
On Wed, Nov 7, 2018 at 2:11 PM Yuri Carrer via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:
Pg.pm is the module, so I think you've to put Pg instead of pg.
Il 07/11/18 06:27, Ajunk Pracetio via Eprints-tech ha scritto:
> Hi,
>
> I have added *$c->{dbdriver}="pg";* in the
> *archives/<ARCHIVEID>/cfg/cfg.d/database.pl
> <https://emea01.safelinks.protection.outlook.com/?url="">>*.
> When I do the command *bin/epadmin create_tables <ARCHIVEID>*, an
> error appears as follows:
>
> Can't locate EPrints / Database / pg.pm
> <https://emea01.safelinks.protection.outlook.com/?url="">>
> in @INC (@INC contains: / usr / share / eprints3 / archives / testing
> / cfg / plugins / usr / share / eprints3 / perl_lib / usr / share /
> eprints3 / site_lib / plugins / usr / share / eprints3 / lib / plugins
> /usr/share/eprints3/bin/../perl_lib / etc / perl
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14 .2 / usr / lib /
> perl5 / usr / share / perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /
> usr / local / lib / site_perl.) At (eval 439) line 1.
> BEGIN failed - compilation aborted at (eval 439) line 1.
>
> Is there still a configuration that has been missed?
>
> Thank you
>
> Regards,
> Agung Prasetyo
>
> On Tue, Nov 6, 2018, 20:23 STUART Ian via Eprints-tech
> <eprints-tech@ecs.soton.ac.uk <mailto:eprints-tech@ecs.soton.ac.uk> wrote:
>
> Many years ago, when I was doing this stuff.... and the
> documentation is
> lost in some dusty file-server somewhere.
>
> Aha.... see this:
> https://emea01.safelinks.protection.outlook.com/?url="">
> <https://emea01.safelinks.protection.outlook.com/?url="">>
>
>
> On 06/11/2018 11:41, Ajunk Pracetio via Eprints-tech wrote:
> > Is there any tutorial how to install eprints with postgresql? I
> already
> > try to find on internet about this, but until I can't found it.
>
> --
> Ian Stuart.
> Perl & Python developer,
> EDINA,
> The University of Edinburgh.
>
> https://emea01.safelinks.protection.outlook.com/?url="">
> <https://emea01.safelinks.protection.outlook.com/?url="">>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://emea01.safelinks.protection.outlook.com/?url="">
> <https://emea01.safelinks.protection.outlook.com/?url="">>
> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url="">
> <https://emea01.safelinks.protection.outlook.com/?url="">>
> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url="">
> <https://emea01.safelinks.protection.outlook.com/?url="">>
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://emea01.safelinks.protection.outlook.com/?url="">
> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url="">
> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url="">
--
Yuri Carrer
CAB - Centro di Ateneo per le Biblioteche, Università di Padova
Tel: 049/827 3615 - Via Anghinoni, 3 - Padova
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
--
Life isn't valuable if you don't have someone to care
Blog : https://agungprasetyo.net/
IG & Twitter : prazetyo
- Follow-Ups:
- Re: [EP-tech] Installing eprints with postgresql
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] Installing eprints with postgresql
- References:
- [EP-tech] Installing eprints with postgresql
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] Installing eprints with postgresql
- From: STUART Ian <Ian.Stuart@ed.ac.uk>
- Re: [EP-tech] Installing eprints with postgresql
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] Installing eprints with postgresql
- From: Yuri Carrer <yuri.carrer@unipd.it>
- Re: [EP-tech] Installing eprints with postgresql
- From: Ajunk Pracetio <prazetyo@gmail.com>
- [EP-tech] Installing eprints with postgresql
- Prev by Date: Re: [EP-tech] Installing eprints with postgresql
- Next by Date: [EP-tech] Digital Preservation, EPrints-Archivematica Integration
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):