wp-update-server-stats icon indicating copy to clipboard operation
wp-update-server-stats copied to clipboard

no stats.db3

Open Kevbiz opened this issue 8 years ago • 3 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?

Kevbiz avatar Jul 11 '17 18:07 Kevbiz

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

YahnisElsts avatar Jul 11 '17 18:07 YahnisElsts

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?

Kevbiz avatar Jul 11 '17 19:07 Kevbiz

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.

YahnisElsts avatar Jul 11 '17 19:07 YahnisElsts