[ckan-dev] "search-index rebuild" renders broken dataset links
Rene Pietzsch
rpietzsch at brox.de
Tue Oct 21 16:52:56 UTC 2014
Hello all,
I played with the paster search-index commands and observed this:
I added a dataset and the resource link (e.g. http://192.168.50.11/dataset/bb333113-bcec-40c7-b146-c06f285b71dd/resource/2125d749-9a34-4b46-878b-e49d70b77122/download/Protokoll20140718.txt ) works fine, providing the resource to download/display.
then I did
paster --plugin=ckan search-index clear -o --config=/etc/ckan/default/ckan.ini
paster --plugin=ckan search-index rebuild --config=/etc/ckan/default/ckan.ini
now the same resource link is rendered as (e.g. http://192.168.50.11/dataset/my-2nd-dataset/resource/:///dataset/bb333113-bcec-40c7-b146-c06f285b71dd/resource/2125d749-9a34-4b46-878b-e49d70b77122/download/Protokoll20140718.txt ) which returns a 404.
First URI still reveals the original resource, of course.
I am running the latest dockerized version (ckan/ckan + ckan/postgres + ckan/solr) available from hub.docker.com.
Can this be due to any misconfiguration or can you confirm this an issue?
Many thanks in advance.
Regards, René
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141021/a91a22e6/attachment-0002.html>
More information about the ckan-dev
mailing list