Hi,
I just started the automatic Update to 4.16.0 from within the Matomo Backend.
I was greeted with the message that composer was not installed and how I could install it.
But when I tried php composer.phar install I was told:
Composer could not find a composer.json file in /var/www/html
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
There was no composer.json file anywhere. So I looked into the GIT repo and found it. I manually created the file withe the content from GIT and now the installation/update worked fine.
I looked into the Matomo.zip downloaded from the Matomo Website, and there was no composer.json either.
What am I missing? Why is composer.json needed but not included?
Hello @Thomas_Oliver_Mollcomposer isn’t necessary when installing using our built packages. Can you please try to re-upload the built release for 4.16 (Backing up your config file and then copying it into the config file). Please let us know how it goes.
I have the same problem. I am using Matomo with docker and I have no Idea how I can solve this issue. When I follow the instruction of the website to install composer in the docker I get also the message with the missing composer.json
How did you solve this?
Thanks
GĂĽnter
Hi,
I just realized that the archive cron job was non-functional. it just terminated without output and without error.
But that could be fixed after extracting the files matomo-latest.zip over the ones in my Docker Container and following the advice from the System-Check from within the Matomo GUI to remove a lot of files that are superfluous.
Not sure if all problems are fixed now, the archiving of last Weeks data will take a while. Just wanted to give you a heads up.