ckan / ckan-docker

Scripts and images to run CKAN using Docker Compose
104 stars 197 forks source link

After Installation, Data Store is not available, table view is not available #173

Open JasonPad19 opened 2 months ago

JasonPad19 commented 2 months ago

After a brand-new docker installation, I can successfuly login to site and upload dataset.

But after upload a csv file, DataStore shows error

image

Also tableview is not available.

image

Do you have any idea what I miss please? how to fix it?

JasonPad19 commented 2 months ago

Found this log in datapusher.

2024-09-22 21:28:15,789 INFO Fetching from: http://ckan:5000/dataset/50a684d5-a158-4a84-9b26-b6f2ab54e50a/resource/06ece1f8-21c2-4c6b-b5b8-7eadd98389ea/download/sp500-index-price.csv 2024-09-23 09:28:16 2024-09-22 21:28:16,049 INFO Determined headers and types: [{'id': 'Date', 'type': 'timestamp'}, {'id': 'PX_LAST', 'type': 'numeric'}] 2024-09-23 09:28:16 2024-09-22 21:28:16,119 INFO Saving chunk 0 2024-09-23 09:28:16 2024-09-22 21:28:16,157 ERROR Job "push_to_datastore (trigger: date[2024-09-22 21:28:15 UTC], next run at: 2024-09-22 21:28:15 UTC)" raised an exception 2024-09-23 09:28:16 Traceback (most recent call last): 2024-09-23 09:28:16 File "/usr/lib/python3.9/site-packages/apscheduler/executors/base.py", line 125, in run_job 2024-09-23 09:28:16 retval = job.func(*job.args, **job.kwargs) 2024-09-23 09:28:16 File "/usr/lib/python3.9/site-packages/datapusher-0.0.20-py3.9.egg/datapusher/jobs.py", line 527, in push_to_datastore 2024-09-23 09:28:16 send_resource_to_datastore(resource, headers_dicts, records, 2024-09-23 09:28:16 File "/usr/lib/python3.9/site-packages/datapusher-0.0.20-py3.9.egg/datapusher/jobs.py", line 259, in send_resource_to_datastore 2024-09-23 09:28:16 check_response(r, url, 'CKAN DataStore') 2024-09-23 09:28:16 File "/usr/lib/python3.9/site-packages/datapusher-0.0.20-py3.9.egg/datapusher/jobs.py", line 156, in check_response 2024-09-23 09:28:16 raise HTTPError( 2024-09-23 09:28:16 datapusher.jobs.HTTPError:

kowh-ai commented 2 months ago

@JasonPad19 Are you changing the base image in the Dockerfile ?

JasonPad19 commented 2 months ago

Hi @kowh-ai , No I didn't change any configuration in Dockerfile