GSA / enterprise-data-inventory

The Enterprise Data Inventory is a CKAN based data management system for private and public data management
7 stars 5 forks source link

resource file upload fails for some existing dataset resources #157

Closed kvuppala closed 9 years ago

kvuppala commented 9 years ago

On some dataset resources replacing a csv file causes a 500 internal server error, the same csv gets uploaded successfully to file store as well as data store. Seen this happen only in live site, we have utilized a workaround to create a new resource and update the old resource URL to second resource URL instead of a file upload.

kvuppala commented 9 years ago

Issue is resolved on inventory.data.gov, the issue was caused by the older files having an incorrect SELinux context.

Removed the duplicate resources that were created as an alternate approach to overcome above issue, below resources now just have only one resource URL which was created when the datasets were initially created in inventory https://inventory.data.gov/dataset/federal-executive-agency-internet-domains-as-of-06172014 https://inventory.data.gov/dataset/federal-data-center-consolidation-initiative-fdcci-data-center-closings-2010-2014 https://inventory.data.gov/dataset/data-gov-dataset-view-metrics