[ckan-dev] Docker create_datastore
Jorge Jeferson
jeferson.si at gmail.com
Fri May 25 16:47:22 UTC 2018
Thanks, I was able to solve it, the first instruction of the 3
documentation item is not necessary, since it was already executed during
the ckan installation process.
>
> http://docs.ckan.org/en/2.8/maintaining/installing/install-from-docker-compose.html#datastore-and-datapusher
I continued with the installation and finished, now I can not solve an
error during the registration of a file, you are presenting this message,
can you help me?
[image: errodatastore.PNG]
--
Jorge Jeferson
Salvador - BA | Tel.: (55) 71.9.8822.2585
About.me <http://about.me/jorgejeferson> | GitHub
<https://github.com/jorgejeferson> | Google+
<https://plus.google.com/+JorgeJeferson>
Facebook <https://www.facebook.com/jjcjesus> | Twitter
<http://twitter.com/jorgejeferson> | Linkedin
<http://www.linkedin.com/in/jefersonsi>
Em sex, 25 de mai de 2018 às 10:32, Ryan Brooks <ryan at slatehorse.com>
escreveu:
> Hi Jorge,
>
> Which version of CKAN are you using? For 2.8 that file is in
> /docker-entrypoint-initdb.d/00_create_datastore.sh (notably not .sql).
>
> However, because it’s baked into the container in
> /docker-entrypoint-initdb.d, it should be run when the container is first
> created.
>
> So the easy answer might be: skip over that and carry on.
>
> Cheers,
>
> Ryan
>
> Further reading:
>
> - https://docs.docker.com/samples/library/postgres/, details how to
> extend the image, and how /docker-entrypoint-initdb.d works.
> -
> https://github.com/ckan/ckan/blob/2.8/contrib/docker/postgresql/Dockerfile#L15
> shows where the file is added to the Docker image.
> -
> https://github.com/ckan/ckan/blob/2.8/contrib/docker/postgresql/docker-entrypoint-initdb.d/00_create_datastore.sh
> is the file you’re after.
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180525/9d2a5943/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errodatastore.PNG
Type: image/png
Size: 50038 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180525/9d2a5943/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: errodatastore.PNG
Type: image/png
Size: 50038 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180525/9d2a5943/attachment-0005.png>
More information about the ckan-dev
mailing list