Support

Admin Tools

#10208 atoolsupdatecheck sends E-Mail every 4 hours

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Sunday, 08 January 2012 16:57 CST

klabog
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No related found
Have I searched the forum before posting? yes
Have I read the documentation before posting (which pages?)? yes
Datenbankversion 5.1.41-3ubuntu12.10
Datenbankzeichensatz utf8_general_ci
PHP-Version 5.3.2-1ubuntu4.11
Webserver Apache/2.2.14 (Ubuntu)
PHP-Interface fΓΌr den Webserver apache2handler
Joomla!-Version Joomla! 1.7.3 Stable [ Ember ] 14-Nov-2011 14:00 GMT
Joomla!-Plattform-Version Joomla Platform 11.2.0 Stable+Modified [ Omar ] 27-Jul-2011 00:00 GMT
Browserkennung Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7
Admin Tools Professional 2.1.14

Description of my issue:

Since the last update of AdminTools and / or Akeebabackup my server is sending me about every four hours a mail that there is a new version available. Because this is an Alpha-Version I don't want to install it nor be informed about. But I won't miss this feature to be informed about stable versions - only one time a day should be enough.
Is there a way to configure what class of updates should be announced and in what frequency?

Thanks, Klaus

user54642
Good one klabog Was going to ask the same question myself.

John

nicholas
Akeeba Staff
Manager
Hi guys,

you are right, but this is the way the plugin was designed to work. Clearly, I hadn't thought of that situation. The problem is that the plugin asks Live Update for the availability of an updated version. However, Live Update can only read an update stream which contain only one update, the last published version. Therefoew, it's picking up the alpha.

Now I have a chicken and egg problem. If I revert the update file to 2.1.14, everybody with the alpha release will see the 2.1.14 as the current version. However, if they click Update, then 2.1.14 will be installed on top of 2.2.x, which will kill their site. If I leave it as it is, you see the 2.2.a2 as an available update and the plugin will keep on sending an email to you. If I update Live Update itself to support multiple versions in the update stream, all existing version of Admin Tools will stop showing the availability of updates, which is a huge problem as people will end up stuck with old, outdated versions with known issues. It's a triple losing game, any way I look at it.

So, the only workaround I have to propose is to disable that plugin until the 2.2 series reaches at least RC status.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

klabog
Some ideas:

1. Why don't you add a parameter to the plugin where one can chose which sort of update he wants: alpha, beta, RC, stable? Then you mark your download sources with those labels. Shouldn't be so difficult. Am I wrong that you had this in earlier versions?

2. I think one mail should be sufficient. Plugin could set a lock until a newer update is available. Every four hours is obviously too much!

3. If this all is to much work you can provide a source with all-time same name (last-stable) and let fetch the plugin only this one. You simply have to link the last stable version to this name. Those who like alpha, beta or RCs can subscribe a mailing list.

Thanks for your help, Klaus

nicholas
Akeeba Staff
Manager
HI Klaus,

1. I have this in Akeeba Backup, I don't have this (and never had) in Admin Tools. Even if I add it (which I am planning to do), it will affect future releases of Admin Tools, not the 2.1.x series which is your problem.

2. Is it? I don't think so. You can receive your email through a web interface, your PC with Thunderbird at home, a Mac with Sparrow at work, your iPhone with Apple Mail on the road and so on. Each one of them has its own spam rules. One one of them the mail could be marked as spam, on the others not. You might also read the email and trash it, the phone rings and you have now forgotten about the new version. I can go on forever. The bottom line is that if the plugin sends one email, it can be missed. That's why it sends one email every 24 hours, not every 4 hours (I have it installed on all of my sites, I only get one email every 24 hours per site).

3. It's similar to #1. It would still affect only the future releases, unless I decided to screw up everyone who has installed 2.2.a1/.a2, as I would now prompt them to install 2.1.14 on top of 2.2.x which would funk up their sites (see my previous reply for details).

Therefore, the only TEMPORARY workaround is to disable the plugin. Future versions will have the same feature as Akeeba Backup, i.e. you will be able to select the minimum stability level to be notified for. I can not go back in time to change the old releases and I can not make any change in the update streams on the server without causing dead sites. I don't know about you, but I prefer 10 people complaining about something as trivial as receiving many emails than one person complaining about something as grave as my software killing his site. It's a matter of perspective, I guess.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

brianteeman
Sorry Nicholas to disagree but the other posters are correct.

I have received the email at
  • 18:08
  • 21:26
  • 01:43
  • 08:10

user54642
Have diabled until v2.2 is released, I was getting emails every 24 hours not 4?

John

nicholas
Akeeba Staff
Manager
Ah, you guys are right. I have typed 10800 seconds (3 hours) instead of 86400 (24 hours). Sorry! I still don't get why the plugin runs on my sites only once every 24 hours. Coincidence? Might be.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

klabog
I just checked and found that's not four hours but some irregular periods, sometimes much shorter.
I have a multi language site with three languages and get the messages in two languages (suppose - because one is incomplete). I will add a screen-print of my mail program and hopefully you will understand my point of view.
No, I did not install anything related with akeeba more than one time.

Regards, Klaus

nicholas
Akeeba Staff
Manager
I will tell you how the plugin works. On every page load, the plugin checks the last time it ran. If it was less than three hours ago (bug: its should be 24 hours), it will not proceed. Then, it "throws the dice". This means, it takes a random number from 1 to 5 and compares it to 3. This means that it will have a 20% chance of running. This is our "failsafe", preventing the plugin from firing by two different page loads at the exact same time. Then it will ask Live Update if there's an update available and, if so, send you an email.

As you can understand, you need enough traffic for the plugin to even execute. This is what is causing the randomness in the times of the messages. If you have a site like AkeebaBackup.com with dozens of thousands of pageloads every day, the emails get sent like clockwork. If you have a site with a dozen visits every day, you might not get any emails at all.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!