YunoHost-Apps / lutim_ynh

Lutim package for YunoHost
https://lut.im
GNU General Public License v3.0
5 stars 7 forks source link

Instance statistics does not work #40

Closed supermamie closed 4 years ago

supermamie commented 5 years ago

On my instance, the SVG graphs of the stats page are empty.

It seems that I have a 404 error trying to get /partial/raw.js which is a graph library

supermamie commented 5 years ago

After comparing with https://lut.im/stats I noticed that even the HTML stats (Raw stats, at the bottom of the page) are empty on my instance, I just have the title, and no statistics.

maniackcrudelis commented 5 years ago

Looks like I have immediately a 404 on /statson my own instance.

There's nothing specific into the nginx config about that. I don't know why it doesn't work anymore. Maybe you could have a look to nginx logs to see if something happens.

supermamie commented 5 years ago

I found nothing in nginx logs (in fact, all nginx logs for this domain are empty, even access logs...)

ldidry commented 5 years ago

Do you have a cron task to generate the stats? https://framagit.org/fiat-tux/hat-softwares/lutim/wikis/cron-jobs#statistics

supermamie commented 5 years ago

I ran the command manually and now I have statistics :+1: This should be setted-up by the install script, or at least notified in the documentation.

(for now I'll add a cron myself to update the stats every nights)

edit : I'm too bad at sysadmin to create a working cron, so I'll do it manually from time to time until this is fixed :stuck_out_tongue: