[ckan-dev] Use ofs-hero if persisted_state.json is corrupted
Stefan Oderbolz
stefan.oderbolz at liip.ch
Thu Nov 6 14:59:16 UTC 2014
Yes it's definitively 2.2.1. All I know is that not all files that are
present in the filestore are in persisted_state.json (either after adding
them with harvesters or a manual upload).
When regenerating the file using ofs-hero, it works.
- Stefan
PS: we recently upgraded from 2.0.2, maybe we forgot something (?)
On Thu, Nov 6, 2014 at 3:09 PM, Nigel Babu <nigel.babu at okfn.org> wrote:
> Huh, that's weird. The filestore in 2.2.1 does not *write* anything to the
> persisted_state.json file, so it should not be corrupted. It only *reads*
> from the persisted_state.json file.
>
> Are you sure you're on 2.2.1? Are you on 2.1.2?
>
> Nigel Babu
> Senior Sysadmin, Open Knowledge
>
> On 6 November 2014 18:19, Stefan Oderbolz <stefan.oderbolz at liip.ch> wrote:
>
>> Hi there,
>>
>> we encounter currently a similar issue than [1], so
>> the persisted_state.json of pairtree is corrupt and does not contain all
>> files that have been uploaded. After some research I learned about ofs-hero
>> [2].
>>
>> Is this for 2.2.1 still the way to go? Or has pairtree been replaced by
>> something else as suggested in [1]?
>>
>> Thanks for your help.
>>
>> - Stefan
>>
>> [1] https://github.com/ckan/ckan/issues/1352
>> [2] https://github.com/ckan/ofs-hero
>>
>> --
>> Liip AG // Limmatstrasse 183 // CH-8005 Zürich
>> Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
--
Liip AG // Limmatstrasse 183 // CH-8005 Zürich
Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141106/872f350d/attachment-0003.html>
More information about the ckan-dev
mailing list