[ckan-dev] Undelete a dataset

Isabel Ruiz isaruizmellado at gmail.com
Tue Aug 6 10:55:41 UTC 2013


Thanks Stefan,

I have changed state=active in package and package_revision tables.

And I cannot see the datasets I have deleted.

Do I have to reindex solr? (if I have to... what is the command to reindex?)






On Tue, Aug 6, 2013 at 12:09 PM, Stefan Oderbolz <stefan.oderbolz at liip.ch>wrote:

> I think this is still a missing feature (see
> https://github.com/okfn/ckan/issues/868). If I'm not wrong you can only
> "undelete" it if you change the value directly in the database (see tables
> package and package_revision). Currently there is not even a possibility to
> do this the command line.
>
> Maybe you can try to purge the dataset completly and then re-insert
> (import?) it.
>
> Regards Stefan
>
>
> On Tue, Aug 6, 2013 at 11:54 AM, Isabel Ruiz <isaruizmellado at gmail.com>wrote:
>
>> Hi!
>>
>> I have ckan 2.0.1
>>
>> I have deleted a dataset, if I edit it, it shows state = deleted
>>
>> How can I recover it? I mean, how can I public it?
>>
>> Thanks
>>
>> --
>> Isabel M. Ruiz Mellado
>> http://about.me/isabelruiz
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
>
> --
> Liip AG  //  Feldstrasse 133 //  CH-8004 Zurich
> Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 
Isabel M. Ruiz Mellado
http://about.me/isabelruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130806/b635f50b/attachment-0001.html>


More information about the ckan-dev mailing list