[ckan-dev] Datastore - “Could not connect to DataPusher.”

Pedro Ferro pedro.ferro at gmail.com
Wed Dec 14 10:55:19 UTC 2016


Thank you Stefan.

You are probably right... I never made a Datapusher setup during the CKAN
installation (thought I read it somewhere that  Datastore was installed
along Ckan).


I've a Ckan development installation, so should I follow witch instructions
?
http://docs.ckan.org/projects/datapusher/en/latest/deployment.html

or

http://docs.ckan.org/projects/datapusher/en/latest/development.html


thanks,
Pedro


2016-12-14 8:37 GMT+00:00 <ckan-dev-request at lists.okfn.org>:

> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 14 Dec 2016 09:37:09 +0100
> From: Stefan Oderbolz <stefan.oderbolz at liip.ch>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] Datastore - ?Could not connect to DataPusher.?
> Message-ID:
>         <CAARrFXfoWfjNc6DKPYp9Be=1ZTAQB8bnhkR5m1BFcE0hvejVTQ at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Pedro,
>
> did you setup DataPusher as described here:
> http://docs.ckan.org/projects/datapusher/en/latest/deployment.html ?
>
> >From your netstat output it seems there is no process listening on port
> 8800, so I guess the whole DataPusher setup is missing, but this is just a
> wild guess.
>
> Best regards Stefan
>
> On Tue, Dec 13, 2016 at 6:36 PM, Pedro Ferro <pedro.ferro at gmail.com>
> wrote:
>
> > Hi,
> >
> >
> >
> > I?ve made an installation of CKAN 2.5.3 with Solr 5.1.0 in a virtual
> > machine with Ubuntu 14.04.
> >
> > The virtual machine is bridge, not accessible for the web.and I?m working
> > beyond a proxy
> >
> >
> >
> > Everything seems to running well except when I try to load a file to
> > Datastore I?ve an error ?Could not connect to DataPusher.?
> >
> >
> > My development.ini file:
> >
> > sqlalchemy.url = postgresql://ckan_default:MYPASSW@localhost
> /ckan_default
> >
> > ckan.datastore.write_url = postgresql://ckan_default: MYPASSW
> > @localhost/datastore_default
> >
> > ckan.datastore.read_url = postgresql://datastore_default: MYPASSW
> > @localhost/datastore_default
> >
> >
> >
> > ckan.site_url =http://10.0.70.138:5000
> >
> >
> >
> > ckan.site_id = OMEUSITE
> >
> > solr_url = http://127.0.0.1:8983/solr/ckan
> >
> >
> >
> > ckan.plugins = stats text_view image_view recline_view datastore
> > datapusher pdf_view spatial_metadata spatial_query resource_proxy
> geo_view
> > geojson_view wmts_view harvest ckan_harvester csw_harvester waf_harvester
> > doc_harvester
> >
> > ckanext.spatial.search_backend = solr-spatial-field
> >
> >
> >
> > ckan.views.default_views = image_view text_view recline_view pdf_view
> > geo_view geojson_view wmts_view
> >
> >
> >
> > ckan.datapusher.url = http://0.0.0.0:8800/
> >
> >
> >
> >
> > If I made netstat ?tulpn I get this:
> >
> >
> > Proto Recv-Q Send-Q Local Address           Foreign Address
> > State       PID/Program name
> > tcp        0      0 0.0.0.0:80 <http://0.0.0.0/>              0.0.0.0:*
> > LISTEN      1411/nginx
> > tcp        0      0 127.0.1.1:53            0.0.0.0:*
> > LISTEN      931/dnsmasq
> > tcp        0      0 127.0.0.1:631           0.0.0.0:*
> > LISTEN      6771/cupsd
> > tcp        0      0 127.0.0.1:5432          0.0.0.0:*
> > LISTEN      929/postgres
> > tcp        0      0 0.0.0.0:5000            0.0.0.0:*
> > LISTEN      2709/python
> > tcp        0      0 127.0.0.1:6379          0.0.0.0:*
> > LISTEN      1424/redis-server 1
> > tcp6       0      0 127.0.0.1:7983          :::*
> > LISTEN      1553/java
> > tcp6       0      0 :::80                   :::*
> > LISTEN      1411/nginx
> > tcp6       0      0 ::1:631                 :::*
> > LISTEN      6771/cupsd
> > tcp6       0      0 :::8983                 :::*
> > LISTEN      1553/java
> > udp        0      0 0.0.0.0:5353            0.0.0.0:*
> > 736/avahi-daemon: r
> > udp        0      0 0.0.0.0:61072           0.0.0.0:*
> > 919/dhclient
> > udp        0      0 127.0.1.1:53            0.0.0.0:*
> > 931/dnsmasq
> > udp        0      0 0.0.0.0:68              0.0.0.0:*
> > 919/dhclient
> > udp        0      0 0.0.0.0:631             0.0.0.0:*
> > 863/cups-browsed
> > udp        0      0 0.0.0.0:46216           0.0.0.0:*
> > 736/avahi-daemon: r
> > udp6       0      0 :::5353                 :::*
> > 736/avahi-daemon: r
> > udp6       0      0 :::34086                :::*
> > 919/dhclient
> > udp6       0      0 :::35682                :::*
> > 736/avahi-daemon: r
> >
> >
> >
> >
> >
> >
> > I?m not an IT guy so I could be doing some basic error on the
> installation.
> >
> >
> > Any help is appreciated!
> >
> >
> > Thanks,
> > Pedro
> >
> > _______________________________________________
> > 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
> >
> >
>
>
> --
> Liip AG  // Limmatstrasse 183 //  CH-8005 Z?rich
> Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.okfn.org/pipermail/ckan-dev/
> attachments/20161214/48ad0f44/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> 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
>
>
> ------------------------------
>
> End of ckan-dev Digest, Vol 74, Issue 19
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161214/465a5d4c/attachment-0003.html>


More information about the ckan-dev mailing list