Github install of piwik composer error


#1

So failing piwik 2.9.1 not working… I have tried the github version…

but I get this…


  [RuntimeException]
  Failed to clone git@github.com:phacility/xhprof, git was not found, check that it is inst
  alled and in your PATH env.
  sh: 1: git: not found


root@bolt:/var/sentora/hostdata/test/public_html/piwik# curl -sS https://getcomposer.org/installer | php

#!/usr/bin/env php
All settings correct for using Composer
Downloading...

Composer successfully installed to: /var/sentora/hostdata/test/public_html/piwik/composer.phar
Use it: php composer.phar
root@bolt:/var/sentora/hostdata/test/public_html/piwik#
root@bolt:/var/sentora/hostdata/test/public_html/piwik# php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
  - Installing doctrine/lexer (v1.0)
    Downloading: 100%

  - Installing leafo/lessphp (v0.4.0)
    Downloading: 100%

  - Installing myclabs/php-enum (1.2.1)
    Downloading: 100%

  - Installing doctrine/annotations (v1.2.1)
    Downloading: 100%

  - Installing mnapoli/phpdocreader (1.3.0)
    Downloading: 100%

  - Installing doctrine/cache (v1.3.1)
    Downloading: 100%

  - Installing container-interop/container-interop (1.0.0)
    Downloading: 100%

  - Installing mnapoli/php-di (5.0.x-dev 27341c0)
    Cloning 27341c05b930e3768f19f4c4b20eec14ce84bd06
    Failed to download mnapoli/php-di from source: Failed to clone git@github.com:mnapoli/PHP-                          DI.git, git was not found, check that it is installed and in your PATH env.

sh: 1: git: not found

    Now trying to download from dist
  - Installing mnapoli/php-di (5.0.x-dev 27341c0)
    Downloading: 100%

  - Installing piwik/decompress (0.1.1)
    Downloading: 100%

  - Installing mustangostang/spyc (0.5.1)
    Downloading: 100%

  - Installing piwik/device-detector (2.7)
    Downloading: 100%

  - Installing piwik/network (0.1.0)
    Downloading: 100%

  - Installing symfony/console (v2.5.6)
    Downloading: 100%

  - Installing tedivm/jshrink (v0.5.2)
    Downloading: 100%

  - Installing twig/twig (v1.16.2)
    Downloading: 100%

  - Installing symfony/event-dispatcher (v2.5.6)
    Downloading: 100%

  - Installing guzzle/guzzle (v3.9.2)
    Downloading: 100%

  - Installing aws/aws-sdk-php (2.7.1)
    Downloading: 100%

  - Installing facebook/xhprof (master master)
    Cloning master



  [RuntimeException]
  Failed to clone git@github.com:phacility/xhprof, git was not found, check that it is inst
  alled and in your PATH env.
  sh: 1: git: not found



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]





(Matthieu Napoli) #2

git was not found, check that it is installed


#3

thanks… (apt-get install git-core) well that works now… of course… the latest git version of piwik still fails at the same place as the 2.9.1 one

http:///piwik/index.php?action=systemCheck&trackerStatus=500

:frowning:


(Matthieu Aubry) #4

can you check your apache server error log file for an error 500 there?


#5

This is what I get when I goto http:///piwik/


[Fri Dec 12 09:52:18.939532 2014] [:error] [pid 10001] [client <ip>:10341] PHP Fatal error:  Uncaught exception 'Exception' with message 'General_ExceptionConfigurationFileNotFound' in /var/sentora/hostdata/<domain>/public_html/piwik/core/Config.php:351\nStack trace:\n#0 /var/sentora/hostdata/<domain>/public_html/piwik/core/Config.php(329): Piwik\\Config->checkLocalConfigFound()\n#1 /var/sentora/hostdata/<domain>/public_html/piwik/core/Config.php(407): Piwik\\Config->init()\n#2 /var/sentora/hostdata/<domain>/public_html/piwik/core/Tracker/TrackerConfig.php(37): Piwik\\Config->__get('Tracker')\n#3 /var/sentora/hostdata/<domain>/public_html/piwik/core/Tracker/TrackerConfig.php(31): Piwik\\Tracker\\TrackerConfig::getConfig()\n#4 /var/sentora/hostdata/<domain>/public_html/piwik/core/Tracker.php(65): Piwik\\Tracker\\TrackerConfig::getConfigValue('debug')\n#5 /var/sentora/hostdata/<domain>/public_html/piwik/piwik.php(70): Piwik\\Tracker::loadTrackerEnvironment()\n#6 {main}\n  thrown in /var/sentora/hostdata/<domain>/public_html/piwik/core/Config.php on line 351, referer: http://<domain>/piwik/

Soon as I goto [next] url bar http:///piwik/index.php?action=systemCheck&trackerStatus=500

And no errors at all anywhere apache logs show nothing more than the previous error.