[ckan-dev] "search-index rebuild" renders broken dataset links

Rene Pietzsch rpietzsch at brox.de
Wed Oct 22 12:03:29 UTC 2014


Hi Adrià,

I did not modified that parameter in the ini file but used it as generated by /sbin/my_init inside the docker container.

Regards,  
René


Am Mittwoch, 22. Oktober 2014 um 11:39 schrieb Adrià Mercader:

> Hi guys,
>  
> This looks indeed as an issue. Can I quickly confirm if you have the
> site_url setting set up on your ini config file?
>  
> Thanks,
>  
> Adrià
>  
> On 22 October 2014 09:11, Stephan Schrade <schrade at online2000.de (mailto:schrade at online2000.de)> wrote:
> > Hi René,
> > this is the same error I have described in
> > "[ckan-dev] URL for downloadable ressource is wrong"
> > and I still have no solution for this :(
> > The suggestion was that our solr configuration is wrong, but as I found out
> > you can't make an index rebuild if your solr configuration is wrong.
> > (I made an installation by source on RHEL)
> >  
> > But your installation comes right out of docker so there everything should
> > be ok in the first place.
> >  
> > So I think this is an issue and not a problem of misconfiguration.
> >  
> > CU Stephan
> >  
> > Am 21.10.2014 18:52, schrieb Rene Pietzsch:
> > >  
> > > 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
> > > o paster --plugin=ckan search-index clear -o
> > > --config=/etc/ckan/default/ckan.ini
> > > o 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 (http://hub.docker.com).
> > >  
> > > Can this be due to any misconfiguration or can you confirm this an issue?
> > >  
> > > Many thanks in advance.
> > >  
> > > Regards, René
> > >  
> > >  
> > > _______________________________________________
> > > ckan-dev mailing list
> > > ckan-dev at lists.okfn.org (mailto: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 (mailto: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 (mailto: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/20141022/500eaadb/attachment-0003.html>


More information about the ckan-dev mailing list