Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: Not a git repository (or any of the parent directories): .git #8679

Closed
natros opened this issue Aug 31, 2015 · 8 comments
Closed

fatal: Not a git repository (or any of the parent directories): .git #8679

natros opened this issue Aug 31, 2015 · 8 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@natros
Copy link

natros commented Aug 31, 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
Copy link
Member

tsteur commented Sep 1, 2015

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

@natros
Copy link
Author

natros commented Sep 1, 2015

Installed from git using tag 2.14.2

@tsteur
Copy link
Member

tsteur commented Sep 2, 2015

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
Copy link
Author

natros commented Sep 2, 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
Copy link
Member

tsteur commented Sep 2, 2015

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
Copy link
Member

mattab commented Sep 20, 2015

Hi @natros
Thanks for the report. The bug was also reported in: #8771

@mattab mattab closed this as completed Sep 20, 2015
@mattab
Copy link
Member

mattab commented Sep 20, 2015

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

@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Sep 20, 2015
@natros
Copy link
Author

natros commented Sep 21, 2015

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants