Experiencing a 401 Unauthorized Error During Update?

If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here( onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.

Implemented GeoIP Netsets download

  • Norsk Jernbaneklubb
  • Topic Author
  • Offline
More
4 years 8 months ago - 4 years 8 months ago #1122 by Norsk Jernbaneklubb
GeoIP Netsets download was created by Norsk Jernbaneklubb
Regarding the GeoIP Netsets download it says

Do NOT download the GeoIP Database more then one time a day as this may result in your server being blocked from downloading the database.
The adviced download frequency is once per month.


Could this update be done automatically (as an option)? In a busy day it's not easy to remember everything that needs updating.

Otherwise, thanks for a great extension!

DOWNLOAD link to TEST version
This message contains confidential information
Last edit: 4 years 8 months ago by Ruud van Lent. Reason: Added downloadlink to test version
The topic has been locked.
More
4 years 8 months ago #1123 by Ruud van Lent
Replied by Ruud van Lent on topic GeoIP Netsets download
Hi,

thanks for your question.
The reason why it doesn't update automatically is twofold:
1. updating takes a long time, which is done by a user when done automatically
2. the geoip database rarely updates itself: the maintainer of the database states that there are only very limited changes on a monthly basis.

So once downloaded, you are good to go for a (very) long time

Further more: when automated and triggered by a visitor, the visitor can leave the page before it is completed or reload the page because it takes to long to complete (longer as he expects). So automating should ideally be done in a controlled session: e.g. via a cron that visits a special url on your site that will then download and parse the geoip files.

I will add this to my 'feature, but needs thinking list' :)
The topic has been locked.
More
4 years 8 months ago #1124 by Ruud van Lent
Replied by Ruud van Lent on topic GeoIP Netsets download
BTW, because ochSimpleFirewall does a lot of logging I have created a new (free) component that will make the logfiles accessible from the Joomla back-end without the need for ftp, logging in to your hosting environment or use of other resource heavy components

onlinecommunityhub.nl/joomla-extensions/ochlogfiles
The topic has been locked.
  • Norsk Jernbaneklubb
  • Topic Author
  • Offline
More
4 years 8 months ago - 4 years 8 months ago #1125 by Norsk Jernbaneklubb
Replied by Norsk Jernbaneklubb on topic GeoIP Netsets download
Hi,

Thanks for the quick reply.

First time download of the NetSets could take quite some time, but my experience is that later updates are pretty quick.

If using a cron job is the best solution, that's fine with us. Of course, when you say that there are only very limited changes on a monthly basis, there's no hurry for this. But thanks for putting it on your list!
Last edit: 4 years 8 months ago by Norsk Jernbaneklubb.
The topic has been locked.
  • Norsk Jernbaneklubb
  • Topic Author
  • Offline
More
4 years 8 months ago - 4 years 8 months ago #1126 by Norsk Jernbaneklubb
Replied by Norsk Jernbaneklubb on topic GeoIP Netsets download
Thanks for the new extension ochLogFiles.

[strike]I think there's a bug, it only seems to show two random files, instead of showing all.[/strike]

UPDATE: It's only showing files in "/administrator/logs", but my log files are in "/logs".
My newest sites don't even have the folder "/administrator/logs", and the extension fails, giving the error message Path is not a folder.

The extension should use the specified "Path to Log Folder" in Global Configuration.
Last edit: 4 years 8 months ago by Norsk Jernbaneklubb.
The topic has been locked.
More
4 years 8 months ago - 4 years 8 months ago #1131 by Ruud van Lent
Replied by Ruud van Lent on topic GeoIP Netsets download

NJK wrote: Thanks for the new extension ochLogFiles.

[strike]I think there's a bug, it only seems to show two random files, instead of showing all.[/strike]

UPDATE: It's only showing files in "/administrator/logs", but my log files are in "/logs".
My newest sites don't even have the folder "/administrator/logs", and the extension fails, giving the error message Path is not a folder.

The extension should use the specified "Path to Log Folder" in Global Configuration.


Hi, thanks for reporting and updating.
That is a good suggestion to take the global config log location instead of making the (wrong) assumption.
BTW: when doing a fresh install of Joomla, the log location is set to administrator/logs, I know that this was not always the case :)
Will push out an update when implemented!

Thanks again!
regards,
Ruud.
Last edit: 4 years 8 months ago by Ruud van Lent.
The topic has been locked.
  • Norsk Jernbaneklubb
  • Topic Author
  • Offline
More
4 years 8 months ago #1139 by Norsk Jernbaneklubb
Replied by Norsk Jernbaneklubb on topic GeoIP Netsets download
Ruud wrote:

Hi, thanks for reporting and updating.
That is a good suggestion to take the global config log location instead of making the (wrong) assumption.
BTW: when doing a fresh install of Joomla, the log location is set to administrator/logs, I know that this was not always the case :)
Will push out an update when implemented!


Thanks, that's very good, considering admin can change the location to whatever he/she wants.

I have to disagree with you on the default location. I'm no expert, but I think it's the other way around. As far as I know it used to be in /administrator in earlier Joomla versions. I just installed a fresh copy of Joomla 3.9.16 at Launch Joomla, and the logs folder is located in ./logs.
The topic has been locked.
More
4 years 8 months ago - 4 years 8 months ago #1140 by Ruud van Lent
Replied by Ruud van Lent on topic GeoIP Netsets download
Actually that could also be the case. I have a 'fresh' joomla 3.9.16 site for testing, but i realize that I do not install that from scratch but I have a backup that I restore. When a new version of Joomla is issued I update that site and make a new backup (not sure with what version i started).

anyway....

just pushed ochLogFiles version 1.0.1 that will now take the Global Config location as default (until you change it in the component).

Thanks again!
Have a good weekend and stay safe!
Last edit: 4 years 8 months ago by Ruud van Lent.
The topic has been locked.
  • Norsk Jernbaneklubb
  • Topic Author
  • Offline
More
4 years 8 months ago #1141 by Norsk Jernbaneklubb
Replied by Norsk Jernbaneklubb on topic GeoIP Netsets download
Thanks, this is now working perfect!

Regards, Frode at NJK
The topic has been locked.
More
4 years 8 months ago #1183 by Ruud van Lent
Replied by Ruud van Lent on topic GeoIP Netsets download
Hi Frode,

in the first post (your post) I have added a download link to the 1.9.0 test version.

Added in this version is the possibility to automate (via e.g. cronjob) the GeoIP databases.

Instructions in the GeoIP NetSets tab.

In case of issues, you can reinstall version 1.8.0.

Looking forward to your feedback!

Please remember, downloading to many times a day will get you banned on the GeoIP database site, so test with care :)
The topic has been locked.