[ckan-dev] Help! - data resources gone missing

Alex (Maxious) Sadleir maxious at gmail.com
Thu May 15 02:53:11 UTC 2014


I have experienced this too - my best theory is it happens to datasets
with very small CSV files and there is some kind of race condition in
the DataPusher updating the resources.

On datasets that it occurs (7 or so small CSVs), it occurs
consistently after it occurs for the first time whenever another file
is added or existing file edited. Interestingly the resources are all
marked as deleted within ms of each other and if I manually set the
state back to Active in postgres, I have to set the dataset Private
and Public to trigger them to reappear.

On Thu, May 15, 2014 at 12:43 PM, Aaron McGlinchy
<McGlinchyA at landcareresearch.co.nz> wrote:
> Hi,
>     I created a dataset and had uploaded a number of resources yesterday (about 10, of various file formats).
>
> Today I had some more resources to add, and I edited the dataset and began uploading the additional resources.  Whilst doing so I used the reorder resources button to arrange them in the order I wanted.  When I did this with the first additional resource it worked fine, but when I added another resource and went to reorder, the list of resources to rearrange that came up only had a single resource (the one just loaded) and all the ones I had loaded earlier disappeared.
>
> When I clicked back to the Dataset it only showed that single resource.  However I knew the link for some of the resources I had previously loaded so I opened that and the resource I check is still there, just not showing up under the dataset.
>
> What can I do to get them back listed under the dataset?
>
> Thanks
> Aaron
>
> ________________________________
>
> Please consider the environment before printing this email
> Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
> The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev



More information about the ckan-dev mailing list