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

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.