Hi all, im new in dkan (and drupal). I just use dkan for a goverment to provide some open data and information to public.
I face some difficulties to check the progress of dkan import datastore.
What i do is :
drush dkan-datastore:list, it say "waiting". But it's to long.
I check through database, it say : status : error
1 check in drush queue:list , there is no queue in list.
`The same file tested in my local, running well and csv success parse to the database, but why not in prod`.
I compare through drush core:status, both production and local is same (use same php 7.4, drupal 9.1.1 and same drush 10.5).
I do drush dkan-datastore:import, no output/no error, but the status l of importing is still waiting.
this is the file https://filebin.net/5yh0ezwvaicf6dk5
this is the json that send to insert dataset via API :
{ "@type": "dcat:Dataset", "identifier": "3f64265aa-31b47f27e-82db489ec-144d5", "title": "Lorem Ipsum", "description": "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit", "keyword": [ "PDPB", "TPS" ], "theme": [ "Adhoc" ], "accessLevel": "public", "issued": "2021-09-02", "modified": "2021-09-02", "publisher": { "@type": "org:Organization", "name": "Tekmas" }, "distribution": [ { "@type": "dcat:Distribution", "name": "test_csv", "status": "done", "downloadURL": "https://opendatadev.kpu.go.id/sites/default/files/files/1077dac30d8ba676b8960c6a62aea742.csv", "mediaType": "text/csv", "format": "csv", "title": "test_csv", "url": "https://opendatadev.kpu.go.id/sites/default/files/files/1077dac30d8ba676b8960c6a62aea742.csv" } ] }
Ask,
What's the problem ?
Correct way to check or step to trace the process of import data(csv).
For example datastore name is datastore_6862ggsjHgj72837383, where does the name come from, and where (table) that show connection between dataset - query - datastore
Hi all, im new in dkan (and drupal). I just use dkan for a goverment to provide some open data and information to public.
I face some difficulties to check the progress of dkan import datastore.
What i do is :
I compare through drush core:status, both production and local is same (use same php 7.4, drupal 9.1.1 and same drush 10.5).
I do drush dkan-datastore:import, no output/no error, but the status l of importing is still waiting.
this is the file https://filebin.net/5yh0ezwvaicf6dk5 this is the json that send to insert dataset via API :
{ "@type": "dcat:Dataset", "identifier": "3f64265aa-31b47f27e-82db489ec-144d5", "title": "Lorem Ipsum", "description": "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit", "keyword": [ "PDPB", "TPS" ], "theme": [ "Adhoc" ], "accessLevel": "public", "issued": "2021-09-02", "modified": "2021-09-02", "publisher": { "@type": "org:Organization", "name": "Tekmas" }, "distribution": [ { "@type": "dcat:Distribution", "name": "test_csv", "status": "done", "downloadURL": "https://opendatadev.kpu.go.id/sites/default/files/files/1077dac30d8ba676b8960c6a62aea742.csv", "mediaType": "text/csv", "format": "csv", "title": "test_csv", "url": "https://opendatadev.kpu.go.id/sites/default/files/files/1077dac30d8ba676b8960c6a62aea742.csv" } ] }
Ask,
Thanks for all your help! @fmizzell @dharizza