[ckan-dev] CKAN 2.3 page view tracking - tracking summary always zero
Alessio Dragoni
alessio.dragoni at gmail.com
Mon Aug 10 23:47:32 UTC 2015
Hello,
I'm experiencing the same issue of Jorge.
I may be wrong but it seems to me this change introduced the error:
https://github.com/ckan/ckan/commit/2ca159606805c1bec2d585e20d0a3b4165df88a3
Hope there's someone that want check it better since right now I can't
do it.
thanks,
Alessio
On 03/24/2015 02:10 AM, George Sattler wrote:
> Hi Jorge
> Enabling the tracking will begin CKAN collecting raw tracking which
> you can see in the ‘tracking_raw' table in the database. The next step
> is to run the paster task to generate a summary from what’s in
> ‘tracking_raw' table and adds it to the ‘tracking_summary' table.
>
> Step 2
> (http://docs.ckan.org/en/latest/maintaining/tracking.html?highlight=tracking#enabling-page-view-tracking)
> describes the commands to run to
> - generate the summary, and
> - refresh the search-indexes to include this summary info.
>
> I suggest testing it out before adding it to your crontab by running
> these tasks:
> paster tracking update -c /etc/ckan/default/production.ini
> paster search-index rebuild -c /etc/ckan/default/production.ini
>
> It might be that you just missed the last step to do the re-indexing
> though.
>
> Hope that helps
>
> Cheers
> George
>
>> On 24 Mar 2015, at 8:10 am, Jorge Pantoja <jorgepantojam at gmail.com
>> <mailto:jorgepantojam at gmail.com>> wrote:
>>
>> Hi Everyone,
>>
>> I'm trying to install the Page View Tracking on CKAN 2.3 (following
>> this guide http://docs.ckan.org/en/latest/maintaining/tracking.html),
>> however the tracking summary is always zero for all the datasets I
>> have. I've included the ckan.tracking_enabled = true on the
>> production.ini. When I check the api of each package, it shows:
>>
>> tracking_summary: {
>> total: 0,
>> recent: 0
>> },
>>
>>
>> What could be the problem?
>>
>>
>> Thanks for your help,
>>
>> Jorge
>>
>>
>> _______________________________________________
>> 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
>
>
> ------------------------------------------------------------------------
> This email and any files transmitted with it is confidential and
> intended solely for the use of the addressee. The unauthorised use,
> dissemination, forwarding, printing or copying of this communication
> is strictly prohibited. If you have received this communication in
> error please notify us immediately by reply email and destroy this
> communication. Any views and opinions presented in this email are
> solely those of the author and do not necessarily represent the views
> of XVT Solutions. The recipient should check this email and any
> attachments for viruses. XVT Solutions accepts no liability for the
> content of this email, and any damage caused by any viruses that could
> potentially be transmitted through this email.
>
>
> _______________________________________________
> 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/20150811/2c134917/attachment-0002.html>
More information about the ckan-dev
mailing list