2016-09-25 131 views
0

我試圖將我的數據集上傳到數據存儲區。上傳錯誤:無法連接到DataPusher。 ckan中的錯誤2.4.3

我創建數據集並嘗試上傳數據集到數據存儲,並在ckan界面中使用「上傳到數據存儲」菜單。

我得到了「上傳錯誤:無法連接到DataPusher」。在網絡中沒有任何日誌錯誤消息(CKAN日誌,日誌datapusher)

enter image description here

這是我development.ini

sqlalchemy.url = postgresql://ckan_default:[email protected]/ckan_default 
ckan.datastore.write_url = postgresql://ckan_default:[email protected]/datastore_default 
ckan.datastore.read_url = postgresql://datastore_default:[email protected]/datastore_default 
ckan.datastore.default_fts_lang = english 
ckan.datastore.default_fts_index_method = gist 
ckan.site_url = http://ckan.daniel.com 

ckan.site_id = default 
solr_url = http://127.0.0.1:8983/solr/ckan 
ckan.plugins = stats text_view image_view recline_view datastore datapusher 
ckan.views.default_views = image_view text_view recline_view 

ckan.preview.direct = png jpg gif 
ckan.preview.loadable = html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom csv tsv rss txt json 

ckan.storage_path = /var/lib/ckan 
ckan.max_resource_size = 10 
ckan.max_image_size = 2 
ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 
ckan.datapusher.url = http://ckan.daniel.com:8080/ 

和datapusher正在運行的內容。

# curl http://ckan.daniel.com:8800 
    { 
     "help": "\n  Get help at:\n  http://ckan-service-provider.readthedocs.org/." 
    } 

我用ckan 2.4.3 + postgresql 9.1 + rhel 6.6 + solr 5.4。

我是否缺少某些數據存儲配置?

謝謝。

+0

在你'.ini文件ckan.datapusher.url = http://ckan.daniel.com :8080 /',但顯然你的datapusher運行在8800端口。 – lfurini

+0

嗨我更改datapusher url的端口。但錯誤消息是相同的。 – Daniel

+0

現在可以嗎?如何成功? – user1406691

回答

1

變化production.ini的最後一行從

ckan.datapusher.url = http://ckan.daniel.com:8080/ 

ckan.datapusher.url = http://ckan.daniel.com:8800/ 
相關問題