DEV Community

Cover image for Troubleshooting untuk Matomo Web Analytics
Erol Joudy
Erol Joudy

Posted on • Originally published at blog.erol.dev

Troubleshooting untuk Matomo Web Analytics

Artikel ini memuat masalah-masalah troubleshooting yang akan muncul baik selama proses instalasi pada backend maupun frontend, maupun saat konfigurasi Matomo lewat browser.


Troubleshooting pada backend

Proxy masih berjalan

Apabila muncul pesan error seperti dibawah ini,

[Sat Aug  8 09:58:08 WITA 2020] LISTEN   0         128                       *:80                     *:*        users:(("apache2",pid=2207,fd=4),("apache2",pid=2206,fd=4),("apache2",pid=2205,fd=4),("apache2",pid=2204,fd=4),("apache2",pid=2202,fd=4),("apache2",pid=2170,fd=4))
[Sat Aug  8 09:58:08 WITA 2020] tcp port 80 is already used by (("apache2",pid=2207,fd=4),("apache2",pid=2206,fd=4),("apache2",pid=2205,fd=4),("apache2",pid=2204,fd=4),("apache2",pid=2202,fd=4),("apache2",pid=2170,fd=4))
[Sat Aug  8 09:58:08 WITA 2020] Please stop it first
[Sat Aug  8 09:58:08 WITA 2020] _on_before_issue.
Enter fullscreen mode Exit fullscreen mode

Stop dulu service apache2 yang sedang berjalan, dengan cara berikut.

sudo service apache2 stop
Enter fullscreen mode Exit fullscreen mode

Port 80 terblokir

Apabila muncul pesan error seperti dibawah ini,

[Sat Aug  8 10:15:52 WITA 2020] Standalone mode.
[Sat Aug  8 10:15:52 WITA 2020] Single domain='contoh.com'
[Sat Aug  8 10:15:52 WITA 2020] Getting domain auth token for each domain
[Sat Aug  8 10:15:55 WITA 2020] Getting webroot for domain='contoh.com'
[Sat Aug  8 10:15:55 WITA 2020] Verifying: contoh.com
[Sat Aug  8 10:15:55 WITA 2020] Standalone mode server
[Sat Aug  8 10:16:00 WITA 2020] Pending
[Sat Aug  8 10:16:03 WITA 2020] Pending
[Sat Aug  8 10:16:05 WITA 2020] Pending
[Sat Aug  8 10:16:08 WITA 2020] contoh.com:Verify error:Fetching http://contoh.com/.well-known/acme-challenge/bYQS7C58B7onTpHPDj6gBi2YBmcOSY4zhvne51QQUz0: Timeout during connect (likely firewall problem)
[Sat Aug  8 10:16:08 WITA 2020] Please add '--debug' or '--log' to check more details.
[Sat Aug  8 10:16:08 WITA 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
Enter fullscreen mode Exit fullscreen mode

Pastikan firewall server tidak memblokir port 80, jika firewallnya menggunakan ufw jalankan perintah berikut secara berurutan.

sudo ufw allow http
sudo ufw allow https
sudo ufw reload
Enter fullscreen mode Exit fullscreen mode

Oldest comments (0)