[ckan-dev] All datasets disappeared

Mike Sinclair mm.sinclair08 at gmail.com
Sun Feb 15 05:39:52 UTC 2015


Worked perfectly :) Although it happened again, so we have reindexed twice
now. I'm not sure why this is only happening with this one instance; we'll
have to look into it.

Thanks,

Mike
ᐧ

On Wed, Feb 4, 2015 at 7:29 PM, George Sattler <George.sattler at xvt.com.au>
wrote:

>  Hi Mike
> Sounds like Solr’s somehow lost all of it’s indexed datasets. If you’re
> still able to view the dataset search page /dataset without getting a
> server error then it would seem that solr is still at least running. Not
> quite sure though why dumping and reloading the database would fix it
> though.
>
>  Try running this to rebuild the indexes:
> #with your python virtualenv activated
> cd /usr/lib/ckan/default/src/ckan
> paster search-index rebuild -c /etc/ckan/default/production.ini
>
> Then see if your datasets are listed at /dataset. Let me know if that
> fixes it (or not).
>
>  George
>
>  On 5 Feb 2015, at 10:50 am, Mike Sinclair <mm.sinclair08 at gmail.com>
> wrote:
>
>  Hi,
>
> Today one of our CKAN instances (2.2) had all of it's datasets disappear.
> Everything else on the site worked fine.
>
> There were no errors generated in the log files that we can see.
>
> If you knew the exact URL of the dataset you could go there, but nothing
> would display on the /data page.
>
> We resolved the issue by dumping and reloading the database.
>
> Thoughts?
>
> Mike
> _______________________________________________
> 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
>
>
>
> ------------------------------
> This email and any files transmitted with it is confidential and intended
> solely for the use of the addressee. The unauthorised use, dissemination,
> forwarding, printing or copying of this communication is strictly
> prohibited. If you have received this communication in error please notify
> us immediately by reply email and destroy this communication. Any views and
> opinions presented in this email are solely those of the author and do not
> necessarily represent the views of XVT Solutions. The recipient should
> check this email and any attachments for viruses. XVT Solutions accepts no
> liability for the content of this email, and any damage caused by any
> viruses that could potentially be transmitted through this email.
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150214/34391cc2/attachment-0003.html>


More information about the ckan-dev mailing list