[ckan-dev] Update resource URL
Alan Tygel
alantygel at gmail.com
Thu Jul 23 16:21:44 UTC 2015
great! That was it!
Thank you very much,
alan
On Thu, Jul 23, 2015 at 6:14 PM, Alex Gartner <
alexandru.gartner+ckan at gmail.com> wrote:
> Just a thought: did you reindex solr after the change ? The information
> usually comes from there.
>
> Alex
>
> On Thu, Jul 23, 2015 at 7:09 PM, Alan Tygel <alantygel at gmail.com> wrote:
>
>> Hi,
>>
>> I've changed the host URL from my CKAN install, and noticed that
>> resources are still pointing to the old URL.
>>
>> Through the website, if I just enter the resource management screen and
>> save it, it automatically updates. But obviously I dont want to do it
>> manually.
>>
>> I look into the database, but both the tables "resource" and in the
>> "table resource_revision" have already the correct address. Still, it
>> appears on the resource site the wrong address.
>>
>> One example:
>>
>> http://dados.contraosagrotoxicos.org/dataset/producao-organica-certificada/resource/ad74105b-2974-4575-9809-f5d3eeb8f504
>>
>> where the wrong address is
>>
>>
>> http://vps4.eita.org.br/ckan/dataset/c4ccb60a-6a13-489e-b603-57196a2bf580/resource/ad74105b-2974-4575-9809-f5d3eeb8f504/download/cnpo-marco-2015mapa1.xls
>>
>> and the right one should be
>>
>>
>> http://dados.contraosagrotoxicos.org/dataset/c4ccb60a-6a13-489e-b603-57196a2bf580/resource/ad74105b-2974-4575-9809-f5d3eeb8f504/download/cnpo-marco-2015mapa1.xls
>>
>> Where is the wrong address coming from?
>>
>> I should add that very recently I updated CKAN to 2.4.0.
>>
>> all the best,
>> alan
>>
>> --
>> Programa de Pós-Graduação em Informática - PPGI/UFRJ
>> EITA - Educação, Informação e Tecnologias para Autogestão
>> Núcleo de Solidariedade Técnica - Soltec/UFRJ <http://www.soltec.ufrj.br>
>> http://www.cirandas.net/alantygel
>> http://www.contraosagrotoxicos.org
>>
>> _______________________________________________
>> 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
>
>
--
Programa de Pós-Graduação em Informática - PPGI/UFRJ
EITA - Educação, Informação e Tecnologias para Autogestão
Núcleo de Solidariedade Técnica - Soltec/UFRJ <http://www.soltec.ufrj.br>
http://www.cirandas.net/alantygel
http://www.contraosagrotoxicos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150723/063ce4dc/attachment-0003.html>
More information about the ckan-dev
mailing list