I installed CKAN and I am having difficulty with adding the DataStore extension using as a guide Setting Up the DataStore from the latest CKAN docs. When I get to the line
curl -X GET "http://127.0.0.1:5000/api/3/action/datastore_search?resource_id=_table_metadata", I get this reponse: curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused.
When I look at a dataset I created through the CKAN instance through my browser, the data preview on my JSON file shows an error:
and trying to click the upper link to download the file directly also gives me a browser error when it goes to the URL:
I'm not sure what my next steps should be to figure out what's wrong but I think the FileStore is working since I was able to upload a picture and load it for an Organization listing.
The installation is fresh and has all the default settings from the installation guide so I haven't done any special modifications. Thanks for your help in advance.
ckan.site_urlset to in yourprodution.ini/development.ini? - k-nutckan.site_url = http://opendata.test- Sean Yeesite_urlshould be set to the URL under which your site is available. It is used for constructing URLs. So you probably need to change it tohttp://127.0.0.1:5000(assuming your ckan is running under that URL) - k-nuthttp://127.0.0.1:5000but I used the address we have and it worked. Thanks very much for your help! - Sean Yee