Hi, I accidentally deleted some directories of my site on the server that included the piwik folder. The page that displayed the visitor map has the following code:
Since the sitestats folder and its contents were deleted, I don’t have the index.php file. Can anyone please tell how to go about it. All I have with me is “GeoIPCity.dat” file and data in the database. Thanks
If you still have your config/config.ini.php, you don’t have to do anything apart from maybe setting up GeoIP again and installing plugins from the marketplace.
If you don’t have the config.ini.php anymore, you can go through the installer, enter your MySQL credentials and it should detect that Matomo is already installed in this database (pay attention to use the right database prefix (it might be piwik_ if you installed Matomo a long time ago) and create the correct config.ini.php.