Question

The Matomo + Ubuntu Tutorial

So I have tried following Brian Boucherons tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-matomo-web-analytics-on-ubuntu-20-04 maybe 8 times now.

There are several issues, for me as an inexperienced linux/ubuntu user. I read and follow the tutorial to the letter. And the prerequisites.

  1. apt update is not the same as apt upgrade

  2. docker-compose is not installed prior to running the yml

  3. cert management is deprecated du to new ubunto version (or something else) and needs revision.

etc…

@BBoucheron , could you please revise your tutorial for this, I have tried following it at least half a dozen times and there is always something that causes Matomo not to work. The most common error I get (2 out of 6) is that database goes away after running the initial configuration.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

So I managed to get this to work.

Throw all security outta window, forget about using the latest versions of Ubuntu and other relevant items, like certs. Do it with Ubuntu 20, and do not upgrade anything until you have a working installation and can make a snapshot.

Still wish the guide was written more with new users in mind.

Ah! It is also worth mentioning that the hardware requirements for the droplet are not specified. You should really go with at least 1GB of RAM or it just wont work.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel