Installing Matomo (formerly Piwik) Web Analytics

SecCon

Contributor
Joined
Dec 16, 2017
Messages
175
Today I run Matomo on a live site in a subdomain and use it for some monitoring.

I really don't need it to run on an external web host since I can probably get better performance on my FreeNAS and save some space and administration on my web host account.

I followed mostly this guide from FreeBSD, after creating a Jail for Matomo. https://www.howtoforge.com/how-to-install-matomo-web-analytics-on-freebsd-120/
Then I reviewed the Matomo Guides to make sure everything was correct. https://matomo.org/docs/installation/

But, before I continue with this, do anyone have a guide for installing Matomo on FreeNAS, because I searched I could not find any on these forums. Found this on the old Piwik forums though: https://forum.matomo.org/t/piwik-install-issue-under-freenas-9-10-jail-and-nextcloud-12/24523 which was no help.
 

SecCon

Contributor
Joined
Dec 16, 2017
Messages
175
Snag after snag after snag... following the https://www.howtoforge.com/how-to-install-matomo-web-analytics-on-freebsd-120/ guide is no good. I get to create the DB but after that something is screwed and it wont let me continue, probably deprecated commands. Scrapped for now. I might do a VM instead and get it running with Docker but that is a whole new adventure... Docker experience = 1 app.
 

SecCon

Contributor
Joined
Dec 16, 2017
Messages
175

seanm

Guru
Joined
Jun 11, 2018
Messages
570
I've installed Matomo in FreeBSD: it was totally painless, and I just followed the Matamo installation instructions. I didn't use any jails though, just a FreeBSD VM.
 

SecCon

Contributor
Joined
Dec 16, 2017
Messages
175
Yeah, but then you put VM on top of FreeNAS.

I don't get it, the VM support in 11.3 version of FreeNAS is there, but the remote management of any VM as desktop sucks. You can just as easily install FreeBSD as host OS and run the VM's of that, or just set Nextcloud as a server - or Docker - directly in FreeBSD Host, but I still think you have to resort to VNC for RDS and it is soo primitive compared with Windows and ESXi.

Onoes, FreeBSD Docker is broken... https://wiki.freebsd.org/Docker

To me, some of the point of running FreeNAS is the ability to install web applications in Jails easily and sure I can have the occasional VM but that is just a headache. Then ESXI 7 is soo much better. Nextcloud runs soo well in Jails, its lightning fast and eats very little resources. I just need to get to the filesystem to sort out that www-data ownership... if even possible, we have no user called www-data so I am not sure what to do to fix it.
 

seanm

Guru
Joined
Jun 11, 2018
Messages
570
Yeah, but then you put VM on top of FreeNAS.

I don't get it, the VM support in 11.3 version of FreeNAS is there, but the remote management of any VM as desktop sucks.

ssh is all I need.

You can just as easily install FreeBSD as host OS and run the VM's of that

Correct. But I have powerful hardware running my FreeNAS, so I use that.

To me, some of the point of running FreeNAS is the ability to install web applications in Jails...

I had wanted to do that, but FreeNAS does not keep up-to-date with FreeBSD as fast as I'd like. It's still on FreeBSD 11. I don't want to run my web services on 11, it's too old.

to sort out that www-data ownership... if even possible, we have no user called www-data so I am not sure what to do to fix it.

On FreeBSD it's just `www`.
 

SecCon

Contributor
Joined
Dec 16, 2017
Messages
175
I wish I would feel comfy in SSH, I just don't... As it is I just installed Fedora Server with Cockpit-Project. Put Docker on that and I have most if not everything covered, still testing out a bit but looks promising. Would like some Fedora features available and well see if I can get them there.
 
Top