Code Monkey home page Code Monkey logo

yourls-geoip-update's Introduction

GeoIP Update Listed in Awesome YOURLS!

This plugin updates the GeoIP database.

Requires YOURLS 1.8.2 and above, and a Maxmind account and a free license key.

Installation

  1. In /user/plugins, create a new folder named geoip-update.
  2. Drop these files in that directory.
  3. Go to the Plugins administration page (eg. http://sho.rt/admin/plugins.php) and activate the plugin.
  4. Have fun!

Usage

Input your license key and click "Update DB". That's all.

image

Advanced usage

You can use this plugin to automatically update the GeoIP database using cron if available on your server.

See file run.php in the plugin directory for more information.

License

Do whatever the hell you want with it.

yourls-geoip-update's People

Contributors

iamkhalidbashir avatar ozh avatar servery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yourls-geoip-update's Issues

invalid License key

Database not updated.
Error downloading "GeoLite2-Country". Invalid license key.

when I try generating a key it asks me:
ld versions of our GeoIP Update program use a different license key format. Will this key be used for GeoIP Update? Yes / No

I selected "Yes", than it asks me :
Generate a license key and config file for use with geoipupdate version 3.1.1 or newer.
or
Generate a license key and config file for use with geoipupdate versions older than 3.1.1.
This key will be stored in an unhashed format.

i tried all options and all give me error on your plugin that key is invalid.
which one should I use?

Currently, working? Invalid license key

Thanks for the plugin in general ๐Ÿ‘

I'm getting currently:

Database not updated.

Error downloading "GeoLite2-Country". Invalid license key.

I've tried https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=YOUR_LICENSE_KEY&suffix=tar.gz to be sure, that my key is working, and I could download with the same key (and validated it multiple times) without problems.

If it should work, how can I further debug this problem? Is it possible that the plugin is currently broken with the latest YOURLs 1.9.2?

What I've noticed is that my license key looks drastically longer (40 characters long) than the one on the screenshot in the README.md. Is it possible that something regarding the key format has changed?

use of run.php to update

Hi,
thx a ton for the version 1.9.0 - upgrade worked out perfect for me, just one point open, I would like to useh the run.php for geopip updates.

Do I only need to insert the maxmind key and just use "/usr/bin/php run.php" in a cron script?

I am not sure how to handle the automatic update?

Thanks in advance for ur help.

Best regards,
Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.