EPrints Technical Mailing List Archive

Message: #07560


< 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


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=http%3A%2F%2Fdatabase.pl&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=99By0rO14tDobSniPiqncOiBEu6ltceXqVH6uNLM%2Bqg%3D&amp;reserved=0>*. 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=http%3A%2F%2Fpg.pm&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=NedQX9WIEhSqFJB4KoqDwJY2GlZi6kZX%2FgV76Js1cn8%3D&amp;reserved=0> 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=http%3A%2F%2Fwiki.eprints.org%2Fw%2FNon-root_proxy%23ePrints&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=eciMogCywcnb%2FwZ3n3TDBDOr%2FLOZIgxpz2A58GVyTqA%3D&amp;reserved=0
    <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2Fw%2FNon-root_proxy%23ePrints&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=eciMogCywcnb%2FwZ3n3TDBDOr%2FLOZIgxpz2A58GVyTqA%3D&amp;reserved=0>


    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=http%3A%2F%2Fedina.ac.uk%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=ncEtd7Sra14tWWyACs7HrQn5GAPRA3m4eimkIoZRlJ4%3D&amp;reserved=0
    <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fedina.ac.uk%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=ncEtd7Sra14tWWyACs7HrQn5GAPRA3m4eimkIoZRlJ4%3D&amp;reserved=0>

-- 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=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=qy%2BJQqq2FPlANX%2FYaWDCFMwdoIRy%2FW8AAhR5lD0SYg0%3D&amp;reserved=0
    <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=qy%2BJQqq2FPlANX%2FYaWDCFMwdoIRy%2FW8AAhR5lD0SYg0%3D&amp;reserved=0>
    *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=06w52bP4M67AjkJzap4GD04dlHPsGtcY1ikE4oifTU8%3D&amp;reserved=0
    <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=06w52bP4M67AjkJzap4GD04dlHPsGtcY1ikE4oifTU8%3D&amp;reserved=0>
    *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=9qejAVpIkHkMsDnDWWmeR1kdcKiY2c01RxpOjvajzD4%3D&amp;reserved=0
    <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=9qejAVpIkHkMsDnDWWmeR1kdcKiY2c01RxpOjvajzD4%3D&amp;reserved=0>


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=qy%2BJQqq2FPlANX%2FYaWDCFMwdoIRy%2FW8AAhR5lD0SYg0%3D&amp;reserved=0
*** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=06w52bP4M67AjkJzap4GD04dlHPsGtcY1ikE4oifTU8%3D&amp;reserved=0
*** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8edb44e6f4044671ce4508d64480380a%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=9qejAVpIkHkMsDnDWWmeR1kdcKiY2c01RxpOjvajzD4%3D&amp;reserved=0

--
Yuri Carrer

 CAB - Centro di Ateneo per le Biblioteche, Università di Padova
 Tel: 049/827 3615 - Via Anghinoni, 3 - Padova