[ckan-dev] Dataproxy: how can I disabled it?

Matthew Fullerton matt.fullerton at gmail.com
Mon Oct 31 05:18:21 UTC 2016


Hi Isabel,
Are these possibly resources that were in your CKAN prior to an upgrade?
Datastore_active may need to be manually set in the database to match the
reality in order to fix this (my experience).

-Matt

On 27 October 2016 at 12:53, Isabel M. Ruiz Mellado <
isaruizmellado at gmail.com> wrote:

> Hi Adrià,
>
> We have all files in datastore, I can see them tables and datas into
> datastore database, but CKAN opens some files using datastore and other
> using dataproxy, for example:
>
> This is a datasource which is in our datastore but CKAN tries to load from
> dataproxy [1]
>
> And this is a datasource which is in our datastore and CKAN loads from
> datastore: [2]
>
> It seems, first one is in an incosistent status.
>
> [1]: http://datosabiertos.malaga.eu/dataset/lineas-y-
> horarios-bus-rutas/resource/1aac7c91-06f4-4499-96b8-d917f58c93c4
>
> [2]: http://datosabiertos.malaga.eu/dataset/lineas-y-
> horarios-bus-horario/resource/cf34723a-24a5-43ab-8478-cc7216dfe77c
>
>
> ////////
>
> Hola Adrià,
> Si me permites, te escribo en español, para explicarme con más detalle.
> Tenemos recursos (como los que te paso arriba) que vemos en la base de
> datos datastore y veo sus datos, pero algunos de ellos CKAN los abre con el
> dataproxy y da error [1] y otros los abre con el datastore y funcionan [2].
>
> Parece como si estuviera en un estado incosistente y aunque está como
> datastore, sigue intentandolo con dataproxy.
>
> Necesitamos que CKAN abra estos recursos con el datastore y deje de
> intentarlo con dataproxy, pero no encuentro el modo.
>
> Por último, comentarte que hemos descartado la opción de eliminarlos y
> volver a crearlos porque ya tenemos "terceros" que están usandolo y ya
> hacen referencia a este ID :(
>
>
> Muchas gracias!
>
>
> On Wed, Oct 26, 2016 at 11:25 AM, Adrià Mercader <adria.mercader at okfn.org>
> wrote:
>
>> Hi Isabel,
>>
>> It's currently not possible to disable DataProxy. The ideal solution
>> is to get these files into the DataStore to avoid using the DataProxy,
>> but I agree that disabling the DataProxy and just showing a "Preview
>> not available" message would be a better approach.
>>
>> If you want to override the current recline view this is where the
>> DataProxy is enabled:
>>
>> https://github.com/ckan/ckan/blob/master/ckanext/reclineview
>> /theme/public/recline_view.js#L51:L57
>>
>> Adrià
>>
>> On 26 October 2016 at 09:49, Isabel M. Ruiz Mellado
>> <isaruizmellado at gmail.com> wrote:
>> > Hi all,
>> >
>> > Can anyone help us with this?
>> >
>> > Thanks!!
>> >
>> >>
>> >> We have CKAN 2.5.2.
>> >>
>> >> We have availabled recline_view.
>> >>
>> >> There are some CSV files which show this error:
>> >>
>> >> Could not load view: DataProxy returned an error (Request Error:
>> Backend
>> >> did not respond after 10 seconds)
>> >>
>> >> and CSV file can not be previewed.
>> >>
>> >> I read some forums and CKAN installations that talk about "Support for
>> the
>> >> DataProxy will be dropped on future CKAN releases"
>> >>
>> >> What can I do to avoid my CKAN attend to access Dataproxy server ?
>> >>
>> >>
>> >> --
>> >> Isabel M. Ruiz Mellado
>> >> http://about.me/isabelruiz
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > 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
>>
>
>
>
> --
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
>
> _______________________________________________
> 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/20161031/980c745f/attachment-0003.html>


More information about the ckan-dev mailing list