YahnisElsts / wp-update-server-stats

Gather statistics from wp-update-server logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no stats.db3

Kevbiz opened this issue · comments

Hello,

I just installed the wp-update-server-stats. It keeps saying "Error: Database hasn't been initialised. See readme.md for usage instructions.". i Can not find the database file anywhere. How do i get the database with correct tables. Do i need to create it by myself or am i missing a package?

Have you executed the update command listed in the Usage section? If not, do that to initialise the database.

Aaah maybe that it is! So i need to install the wp-update-server package on a different location inside the same domain to gain access to the logs so i can run the updater? Then i will get the database?

As the usage instructions say, this tool works by analysing log files. And yes, the easiest way to get access to logs would be to install it on the same site as the update server.

However, if you don't want to do that, you can install it elsewhere and then manually copy the logs from the update server to that location (and then run the update command). It works, but it takes more time.