[ckan-dev] Change uploaded resource url
Alex Gartner
alexandru.gartner+ckan at gmail.com
Fri Aug 31 12:27:23 UTC 2018
Hi,
after changing the values in the database you probably need to reindex the
data in solr.
Something like this should help:
paster --plugin=ckan search-index rebuild --config=/etc/ckan/prod.ini
On Fri, Aug 31, 2018 at 3:02 PM vikesh rambaran <vikesh.rambaran at gmail.com>
wrote:
> Hi
>
> We have uploaded multiple resources into different datasets to a CKAN
> server.
>
> The CKAN server needs to be moved to a different server.
> The site_url therefore changes.
> Unfortunately the CKAN resources are now not accessible via the URL link.
>
> How can we change the CKAN resource urls to be accessible again ?
>
> [The resource.url and package.url fields in the postgres ckan_default
> database was changed manually but this did not help. The CKAN web interface
> still shows the previous url for the resources]
>
> Thank you for your help
> Vicki
> _______________________________________________
> 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/20180831/4eb7400e/attachment-0002.html>
More information about the ckan-dev
mailing list