Error while setup when using version from git

Hi,

I cloned the repo from GitHub, uploaded it to my server to an analytics folder at my site’s root, then attempted the install via https://mysite.com/analytics/.

This gave me a few errors related to Composer and meant I had to run:

curl -sS https://getcomposer.org/installer | php 
php composer.phar install

as suggested by the Matomo.

I also had to install the php_curl module:

sudo apt-get install php-curl

After which I could install as per usual, so yeah, apart from working out how to install php_curl everything works for me :slight_smile:

Hope that helps.

Hi,

Installing the software from git is really discouraged unless you want to setup a development environment.

Otherwise just use the latest version from https://builds.piwik.org/

The error you are seeing is therefore also not from Matomo, but from composer. It tries to install guzzle/guzzle which needs the curl php module. But the PHP you used to run composer with doesn’t have curl installed. (Maybe it is a different one than the web version)

Sorry man, we cross posted. I felt bad leaving it there, so I went ahead and installed php_curl, then edited my post. It all works now.

Thanks for the tip regarding using the latest version from https://builds.piwik.org/

1 Like

There are a couple of typos in the GDPR overview. What’s the best way to inform you of them?

Hi,

It would be really great if you could send me a message here on the forum (just enabled it for you)

1 Like