Skip to content

noppol2817/MMDB-WatchTower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ MMDB-WatchTower - Keep your location data always current

MMDB-WatchTower manages your MaxMind database files. It ensures your IP intelligence data stays accurate by fetching updates, checking them for errors, and swapping files without interrupting your services. This tool keeps your applications running with the latest geolocation information.

📥 Getting Started

Follow these steps to set up the software on your Windows computer.

  1. Visit the official download page to retrieve the latest installer for your system.
  2. Locate the link labeled "Assets" on the page.
  3. Choose the file ending in .exe that matches your Windows version.
  4. Save the file to your computer.

⚙️ System Requirements

MMDB-WatchTower works on most modern Windows systems. Ensure your machine meets these basic requirements before you begin the installation.

  • Operating System: Windows 10 or Windows 11.
  • Memory: 256 MB of available RAM.
  • Storage: 100 MB of free disk space.
  • Permissions: Administrative access to install software and modify system files.
  • Network: A stable internet connection to check for database updates.

🛠️ Installation Process

Run the installer to prepare the software.

  1. Open the folder where you saved the download.
  2. Double-click the file to start the installation wizard.
  3. Follow the instructions on the screen to select your installation path.
  4. Click Finish to complete the setup.
  5. The application will now appear in your start menu as MMDB-WatchTower.

🚀 How It Works

The software performs several background tasks to maintain your database files. It handles the full lifecycle of the file update process so you do not have to perform manual checks.

Automatic Updates

The tool connects to the MaxMind servers at set intervals. It checks if a newer version of the database exists. If a new version is available, the software initiates the download process automatically.

Verification Steps

The software performs a sanity check on every downloaded file. It validates the file structure to prevent corruption. If the file is incomplete or damaged, the tool discards it and notifies you of the failure.

Smoke Testing

Before replacing your active database, the tool runs a test. It attempts to load the new file in a restricted environment. This confirms the new data works as expected before you rely on it for your production needs.

Atomic Swaps

When the test passes, the tool performs a swap. It replaces the old file with the new one in a single step. This prevents data loss and maintains access to your location information at all times.

Rollback Capability

If a system error occurs during the update process, the tool reverts to the last known good version of the database. This feature prevents downtime and keeps your application stable even if the update source encounters issues.

📊 Monitoring and Observability

The software tracks the health of your updates. It provides data that you can view to understand the current state of your system.

  • Update Status: See when the last successful update finished.
  • Success Rate: Review the history of your past update attempts.
  • Error Logging: Access logs if you need to troubleshoot a specific update failure.

💻 Running the Software

Once installed, the application runs as a background service. You do not need to keep a window open for it to function.

  1. Open your system tray in the bottom right corner of your Windows taskbar.
  2. Look for the MMDB-WatchTower icon.
  3. Right-click the icon to open the settings menu.
  4. From this menu, you can manually trigger an update or check the current version of your database files.

🗝️ Configuration

You might need to adjust the settings to match your specific requirements.

  1. Open the configuration file located in the program directory. It is typically named config.yaml.
  2. Use any text editor, like Notepad, to change the values.
  3. Adjust the update frequency if you want the tool to check for new files less or more often.
  4. Save the file.
  5. Restart the MMDB-WatchTower service from the Windows Services manager to apply the changes.

⚠️ Troubleshooting Common Issues

If the software fails to update, check these common areas.

  • Internet connectivity: Ensure your firewall allows the software to connect to the internet.
  • Disk space: Check that your hard drive has enough space to store the new database files.
  • File permissions: Ensure your user account has permission to write to the folder where the database is kept.
  • Configuration errors: Review your config.yaml file for any typos or invalid settings.

If the problem persists, check the log file located in the installation folder. The log entries describe exactly why an update might fail, such as a lost connection or a server timeout.

📋 Best Practices

To get the most out of MMDB-WatchTower, observe these tips.

  • Monitor the logs once a week to ensure updates happen as scheduled.
  • Keep your system clock accurate. The software relies on accurate time stamps to manage update schedules correctly.
  • Back up your database files before you modify the installation folder manually.
  • Ensure you have enough storage space to accommodate multiple versions of the database if you change the rollback settings.

🚩 Frequently Asked Questions

Does this tool require a paid subscription?

The MMDB-WatchTower software is free. However, you must maintain your own MaxMind account if your specific use case requires a paid license key for the database files themselves.

Can I run multiple instances?

Running multiple instances on the same machine can cause file access conflicts. We recommend running only one instance to manage your database files.

Does this impact my system performance?

The tool uses minimal system resources. You will not notice a difference in system speed while the software runs in the background.

About

Automate MaxMind DB updates with integrity checks, atomic file swaps, and built-in rollback protection for production systems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages