[ECODP-dev] Trying to install release 01

John Glover john.glover at okfn.org
Wed Sep 4 14:18:55 UTC 2013


Hi Bert,

The PO will presumably be updating an existing database (whether in test or
production), which already has tracking data, so they will see their view
counts up to and including the previous day as described. So, they will see
the view immediately (although the data is always 1 day out of date).

We could add artificial data to the database for testing purposes when
using a new database, but we don't have an existing script to do this so
one would have to be created. Another option would be to show datasets with
0 views in the list as well, although this doesn't seem ideal. We could
probably change the behaviour of the tracking update command to include
partial results from the current day, but this would obviously require
additional work, and would still mean that someone would have to view
datasets on the test machine before updating the stats and search index.

Regards,
John


On 4 September 2013 16:00, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com
> wrote:

> Hi John,
>
> Lets wait indeed a day. But I have here an installation guideline problem.
> Does it mean we have to write in the installation manual that the
> installation will take 2 days to get the proper view?
>
> I think we should consider here a way out to have the view correct
> immediately in production.
> It is hard to tell to PO to offer the public a 'partial view' for at least
> one day (or even more) before the view gets to the desired state.
>
> Is there a way to feed the system with artificial data to start with?
>
> kind regards,
>
> Bert
>
>
>
> 2013/9/4 John Glover <john.glover at okfn.org>
>
>> Hi Dimitrios,
>>
>> The tracking stats are updated for up to and including the previous day,
>> so if this is a new database then you will have to wait and run it again
>> tomorrow (or you could try changing your system clock). This is why we
>> recommended that the cron job that updates the stats is run after midnight.
>>
>> Regards,
>> John
>>
>>
>> On 4 September 2013 14:45, Dimitrios Mexis <dimitrios.mexis at tenforce.com>wrote:
>>
>>>  Hello John,
>>> from what you tell me, I ended up doing that after having clicked some
>>> of the datasets:
>>>
>>> /applications/ecodp/users/ecodp/ckan/ecportal/bin/paster
>>> --plugin=ckanext-ecportal ecportal
>>> searchcloud-generate-unapproved-search-list -c
>>> /applications/ecodp/users/ecodp/ckan/conf/ecportal.ini
>>> /applications/ecodp/users/ecodp/ckan/ecportal/bin/paster --plugin=ckan
>>> tracking update -c /applications/ecodp/users/ecodp/ckan/conf/ecportal.ini
>>> /applications/ecodp/users/ecodp/ckan/ecportal/bin/paster --plugin=ckan
>>> search-index rebuild -r -c
>>> /applications/ecodp/users/ecodp/ckan/conf/ecportal.ini
>>>
>>> Is there something else that I need to do perhaps ? As I still not see
>>> the "Most Viewed Dataset" box.
>>>
>>> [  FYI: by the way , the machine has internal IP as 192.168.35.139
>>> And I have copied there the configuration from your development machine,
>>> adapting the only the change of IPs.  ]
>>>
>>> Thanks
>>> Dimitrios
>>>
>>>
>>> On 4/09/2013 10:07, John Glover wrote:
>>>
>>> Hi Dimitrios,
>>>
>>>  Is this on a new database? The box is not currently displayed if there
>>> are no datasets that have any views. So you would need to view some
>>> datasets, refresh the tracking data and then rebuild the search index.
>>>
>>>  Regards,
>>> John
>>>
>>>
>>> On 4 September 2013 09:28, Dimitrios Mexis <dimitrios.mexis at tenforce.com
>>> > wrote:
>>>
>>>>  Good morning John,
>>>>
>>>> trying to install the new version of CKAN, we don't see the "most
>>>> viewed datasets" box.
>>>> I clicked some of the datasets, and then run the command: *paster
>>>> --plugin=ckan search-index rebuild -r -c <config>
>>>>
>>>> *Is there something else that the user needs to do ?*
>>>>
>>>>
>>>> *Dimitrios*
>>>> *
>>>>
>>>
>>>
>>>
>>
>
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130904/344c89dc/attachment.html>


More information about the ecodp-dev mailing list