@natros opened this Issue on August 31st 2015

I have a cron job to Automatically Archive the Reports that started giving me errors after updating to the last version (git clone).

Any clue as to what is causing this?

/usr/bin/php /usr/share/nginx/html/piwik/console core:archive --url=http://????/piwik > /var/log/piwik-archive.log
fatal: Not a git repository (or any of the parent directories): .git
ERROR [2015-08-14 23:05:03] Empty or invalid response 'fatal: Not a git repository (or any of the parent directories): .git a:52:{s:10:"2015-06-25";a:0:{}s:10:"2015-06-26";a:0:{}s:10:"2015-06-27";a:0:{}s:10:"2015-06-28";a:0:{}s:10:"2015-06-29";a:0:{}s:10:"2015-06-30";a:0:{}s:10:"2015-07-01";a:0:{}s:10:"2015-07-02";a:0:{}s:10:"2015-07-03";a:0:{}s:10:"2015-07-04";a:0:{}s:10:"2015-07-05";a:0:{}s:10:"2015-07-06";a:0:{}s:10:"2015-07-07";a:0:{}s:10:"2015-07-08";a:0:{}s:10:"2015-07-09";a:0:{}s:10:"2015-07-10";a:0:{}s:10:"2015-07-11";a:0:{}s:10:"2015-07-12";a:0:{}s:10:"2015-07-13";a:0:{}s:10:"2015-07-14";a:0:{}s:10:"2015-07-15";a:36:{s:16:"nb_uniq_visitors";d:6;s:9:"nb_visits";d:6;s:8:"nb_users";i:0;s:10:"nb_actions";d:35;s:11:"max_actions";d:11;s:12:"bounce_count";d:2;s:16:"sum_visit_length";d:4833;s:19:"nb_visits_returning";d:6;s:20:"nb_actions_returning";d:35;s:26:"nb_uniq_visitors_returning";d:6;s:18:"nb_users_returning";i:0;s:21:"max_actions_returning";d:11;s:21:"bounce_rate_ret
urning";s:3:"33%";s:30:"nb_actions_per_visit_returning";d:5.7999999999999998;s:26:"avg_time_on_site_returning";d:806;s:14:"nb_conversions";i:0;s:19:"nb_visits_converted";i:0;s:7:"revenue";i:0;s:15:"conversion_rate";s:2:"0%";s:30:"nb_conversions_returning_visit";i:0;s:35:"nb_visits_converted_returning_visit";i:0;s:23:"revenue_returning_visit";i:0;s:31:"conversion_rate_returning_visit";s:2:"0%";s:12:"nb_pageviews";d:35;s:17:"nb_uniq_pageviews";d:7;s:12:"nb_downloads";i:0;s:17:"nb_uniq_downloads";i:0;s:11:"nb_outlinks";i:0;s:16:"nb_uniq_outlinks";i:0;s:11:"nb_searches";i:0;s:11:"nb_keywords";i:0;s:28:"nb_hits_with_time_generation";d:35;s:19:"avg_time_generation";d:0.050999999999999997;s:11:"bounce_rate";s:3:"33%";s:20:"nb_actions_per_visit";d:5.7999999999999998;s:16:"avg_time_on_site";d:806;}s:10:"2015-07-16";a:40:{s:16:"nb_uniq_visitors";d:11;s:9:"nb_visits";d:28;s:8:"nb_users";i:0;s:10:"nb_actions";d:76;s:11:"max_actions";d:6;s:12:"bounce_count";d:10;s:16:"sum_visit_length";d
......
@tsteur commented on September 1st 2015 Owner

Which Piwik version is it? Did you install Piwik via git or via our latest.zip downloaded from the website?

@natros commented on September 1st 2015

Installed from git using tag 2.14.2

@tsteur commented on September 2nd 2015 Owner

I've never had this kinda problem before. Is everything else working?

Did you run git submodule update --init? Are you maybe using a Virtual Machine with a shared directory?

@natros commented on September 2nd 2015

Yes, I have all the sub modules and I’m a VM but no shared directory.

Is there anything I can do to find what is causing the problem?

Thanks.

On 02/09/2015, at 09:24, Thomas Steur notifications@github.com wrote:

git submodule update --init

@tsteur commented on September 2nd 2015 Owner

I'm not sure. Maybe have a look if you see something in the logs? I'd also check if file permissions are okay for .git directories.

@mattab commented on September 20th 2015 Owner

Hi @natros
Thanks for the report. The bug was also reported in: https://github.com/piwik/piwik/issues/8771

@mattab commented on September 20th 2015 Owner

Workaround is: do not use absolute path of /path/to/console but use relative path instead (eg. cd /path/to/piwik && ./console)

@natros commented on September 21st 2015

Thank you

This Issue was closed on September 20th 2015
Powered by GitHub Issue Mirror