[ckan-dev] Moving CKAN instance to another domain name

Adrià Mercader adria.mercader at okfn.org
Tue Sep 8 09:12:06 UTC 2015


Hi Tanmay,

Unfortunately it seems that the URL for file uploads is stored on the
database so it looks that you'll need to update the "resource" and
"resource_revision" tables directly on the DB and reindex Solr.

This assumes that you are using CKAN >= 2.2.

I wonder if we should just store the url without the host part and add
it via the show schema.
What do other devs think?

Adrià

On 8 September 2015 at 07:56, Tanmay Thakur <tthakur at accela.com> wrote:
> Hi,
> We have a CKAN instance running for few months with filestore, datastore and
> datapusher plugins.
> We have many uploaded files and tables in datastore.
> Now, we want to host the same CKAN instance on a different domain name (
> Postgres and SOLR are on different VM and we can directly use it) .
> I have following doubts:
>
> What are the necessary steps in deploying the CKAN instance?
> Is changing “ckan.site_url” in production.ini sufficient?
> Do we need to rebuild SOLR index?
> How should we point to the previously uploaded files?
>
> Please reply even if you know the solution partially.
> Thanks in advance.
>
>
> Regards,
> Tanmay
>
> _______________________________________________
> 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