[EP-tech] Installing eprints with postgresql
Ajunk Pracetio
prazetyo at gmail.com
Wed Nov 7 09:34:43 GMT 2018
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://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FAPI%3AEPrints%2FDatabase%2FPg&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=KrPEZtIDAgYR2mcQkhsTFbDAgPPXGHzYSErR7FYZAm4%3D&reserved=0 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.
[image: image.png]
Thank you.
Best regards,
Agung Prasetyo
On Wed, Nov 7, 2018 at 2:11 PM Yuri Carrer via Eprints-tech <
eprints-tech at 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=http%3A%2F%2Fdatabase.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=XX6j5Yv8XRotVwmTyqP0B9l8S9m643fAZ82%2Fn651wQ8%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=biWCCvWKA4b3bLVMMaFImLArbwT3GdCs9WGKpRn5XY0%3D&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 at ecs.soton.ac.uk <mailto:eprints-tech at 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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=%2FTxVxSETfQDQEooPPZ6dF20lRX2BkxKcXBAPbDs7l3E%3D&reserved=0
> > <
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2Fw%2FNon-root_proxy%23ePrints&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=%2FTxVxSETfQDQEooPPZ6dF20lRX2BkxKcXBAPbDs7l3E%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=N2zdWNQksrCnvJShKqI33vCK3anwv8A2%2Bmk64b8vGW4%3D&reserved=0
> > <
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fedina.ac.uk%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=N2zdWNQksrCnvJShKqI33vCK3anwv8A2%2Bmk64b8vGW4%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=wEY6%2B%2FQGX8oXstOKmx1%2BHyDRdHu4L3LrW%2FOlkAY59f0%3D&reserved=0
> > <
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=wEY6%2B%2FQGX8oXstOKmx1%2BHyDRdHu4L3LrW%2FOlkAY59f0%3D&reserved=0
> >
> > *** EPrints community wiki:
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=gtWY7qWMibGao0x5GdhekB7%2BVez9sqCv4TGX6j9McQE%3D&reserved=0
> > <
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=gtWY7qWMibGao0x5GdhekB7%2BVez9sqCv4TGX6j9McQE%3D&reserved=0
> >
> > *** EPrints developers Forum:
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=%2Bjx%2BxL3hvxzO2%2B8E5Nf6YV4mnsU1p6PI5QuNzUW5%2Fto%3D&reserved=0
> > <
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=%2Bjx%2BxL3hvxzO2%2B8E5Nf6YV4mnsU1p6PI5QuNzUW5%2Fto%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=wEY6%2B%2FQGX8oXstOKmx1%2BHyDRdHu4L3LrW%2FOlkAY59f0%3D&reserved=0
> > *** EPrints community wiki:
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=gtWY7qWMibGao0x5GdhekB7%2BVez9sqCv4TGX6j9McQE%3D&reserved=0
> > *** EPrints developers Forum:
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=%2Bjx%2BxL3hvxzO2%2B8E5Nf6YV4mnsU1p6PI5QuNzUW5%2Fto%3D&reserved=0
>
> --
> 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: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=wEY6%2B%2FQGX8oXstOKmx1%2BHyDRdHu4L3LrW%2FOlkAY59f0%3D&reserved=0
> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=gtWY7qWMibGao0x5GdhekB7%2BVez9sqCv4TGX6j9McQE%3D&reserved=0
> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=%2Bjx%2BxL3hvxzO2%2B8E5Nf6YV4mnsU1p6PI5QuNzUW5%2Fto%3D&reserved=0
>
--
Life isn't valuable if you don't have someone to care
Blog : https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fagungprasetyo.net%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0cc87d31e4214ea0d60f08d644944840%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=0Sii0xXCtJodqd9SsDZ%2Bgdz91pr47so%2BT5bm8YJtnco%3D&reserved=0
IG & Twitter : prazetyo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20181107/23d4eb82/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8820 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20181107/23d4eb82/attachment-0001.png
More information about the Eprints-tech
mailing list