[Guide] Installing "GeoIP Database"

Specific support for Deluge on Microsoft Windows OS
Post Reply
johnwickru
New User
New User
Posts: 1
Joined: Wed Jun 25, 2025 6:39 am

[Guide] Installing "GeoIP Database"

Post by johnwickru »

was inches away from asking for help about getting the country flags of peers to show up.
if you also have issue, my solution was to download the database in the link from this post:
Synergist wrote: Mon Nov 04, 2019 1:51 am ... https://www.miyuru.lk/geoiplegacy ...
specifically from the "Maxmind - Country" tab & IPv4 (1.72m) .dat. (ipv6 / ipv4 & 6 combination doesnt work)

and installing it in a similar manner
Image

hope this may help someone from frustration
greg2step
Member
Member
Posts: 17
Joined: Wed Nov 09, 2022 9:13 pm

Re: [Guide] Installing "GeoIP Database"

Post by greg2step »

Thanks!
User avatar
ambipro
Moderator
Moderator
Posts: 681
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Guide] Installing "GeoIP Database"

Post by ambipro »

greg2step wrote: Wed Jul 09, 2025 6:36 pmThanks!
I maintain a up to date (updates every 3 days from maxmind) geoip.dat for Deluge usage located at HTTPs://geo.el0.org if you are interested in getting a more up to date version.
greg2step
Member
Member
Posts: 17
Joined: Wed Nov 09, 2022 9:13 pm

Re: [Guide] Installing "GeoIP Database"

Post by greg2step »

ambipro wrote: Thu Jul 10, 2025 12:58 am
greg2step wrote: Wed Jul 09, 2025 6:36 pmThanks!
I maintain a up to date (updates every 3 days from maxmind) geoip.dat for Deluge usage located at HTTPs://geo.el0.org if you are interested in getting a more up to date version.
Does it work to point deluge directly to HTTPs://geo.el0.org/GeoIP.dat or does the file need to be downloaded and placed on local storage periodically?

Thanks

Greg
User avatar
ambipro
Moderator
Moderator
Posts: 681
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Guide] Installing "GeoIP Database"

Post by ambipro »

No, you have to point it to local, setup a scheduled task on windows (cron on linux) to download the file to local storage. It has to point to a path on your system.
User avatar
ambipro
Moderator
Moderator
Posts: 681
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Guide] Installing "GeoIP Database"

Post by ambipro »

greg2step wrote: Thu Jul 10, 2025 2:20 pm
ambipro wrote: Thu Jul 10, 2025 12:58 am
greg2step wrote: Wed Jul 09, 2025 6:36 pmThanks!
I maintain a up to date (updates every 3 days from maxmind) geoip.dat for Deluge usage located at HTTPs://geo.el0.org if you are interested in getting a more up to date version.
Does it work to point deluge directly to HTTPs://geo.el0.org/GeoIP.dat or does the file need to be downloaded and placed on local storage periodically?

Thanks

Greg
I just noticed a bad page rule, so I had to make a new URL - FYI. This should work now where before it redirected erroneously.
greg2step
Member
Member
Posts: 17
Joined: Wed Nov 09, 2022 9:13 pm

Re: [Guide] Installing "GeoIP Database"

Post by greg2step »

ambipro wrote: Mon Jul 14, 2025 4:58 am I just noticed a bad page rule, so I had to make a new URL - FYI. This should work now where before it redirected erroneously.
Thanks. It works now. Easy powershell script with Start-BITStransfer or Invoke-Webrequest both work to grab the file and store it locally.

The only issue I haven't sorted out, once the file is downloaded and Deluge is pointing to it, the file is open, so the script can't overwrite the file unless Deluge daemon is stopped. I may just run it monthly as part of Windows update and reboot.

Thanks again
User avatar
ambipro
Moderator
Moderator
Posts: 681
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Guide] Installing "GeoIP Database"

Post by ambipro »

greg2step wrote: Mon Jul 14, 2025 1:23 pm
ambipro wrote: Mon Jul 14, 2025 4:58 am I just noticed a bad page rule, so I had to make a new URL - FYI. This should work now where before it redirected erroneously.
Thanks. It works now. Easy powershell script with Start-BITStransfer or Invoke-Webrequest both work to grab the file and store it locally.

The only issue I haven't sorted out, once the file is downloaded and Deluge is pointing to it, the file is open, so the script can't overwrite the file unless Deluge daemon is stopped. I may just run it monthly as part of Windows update and reboot.

Thanks again

Yes, you would want to run it prior to starting deluge, something like a batch file that starts Deluge but grabs the file first, I had previously maintained containers (which I know suggest using LSIO or binhex) which grab it on initialization, but you can't replace a file that's in use. You could alternate between two files, and just use the API to switch between them when they're replaced.
Post Reply