Support

Akeeba Backup for WordPress

#29407 Updating with Watchful.li

Posted in ‘Akeeba Backup for WordPress’
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

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Thursday, 19 April 2018 17:17 CDT

arnoldwender
Hello,

I just want to ask you to please consider adding support to use the Wordpress updates report system, I use Watchful.li and I have to update manually Akkeba Backup on all the WordPress sites I use Akeeba Backup, that´s a tedious task.

Thank You!

P.S. Thank you for the Akeeba stickers and card, they are awesome!

Arnold

Wender Media - https://www.wendermedia.com | SEO-Halle - https://seo-halle.de

nicholas
Akeeba Staff
Manager
Hello Arnold,

This is only possible for plugins which are listed in and distributed through the WordPress Plugin Directory. Unfortunately, the directory poses some restrictions which make it impossible for us to use it. Most notably it requires developers to not make money out of their software. Developing and supporting Akeeba Backup is a full time job for four people. It simply can't be done free of charge. We don't have millions in venture capitalist funding like Automattic does...

Besides, I have no idea why you filed this ticket to begin with. Watchful.li supports updating Akeeba Backup for WordPress since late 2014. You may need to enter your Download ID. If unsure, ask them :)

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!

arnoldwender
Hi Nicholas,

That´s weird, I filled this Ticket after getting the response from Watchful.li, see Attachement, have a nice day!

My Download-ID is of course entered since day 1 of Watchful.li... but it only works for Joomla! Sites

Arnold

Wender Media - https://www.wendermedia.com | SEO-Halle - https://seo-halle.de

nicholas
Akeeba Staff
Manager
Um, that doesn't make any sense whatsoever! I have often replied to tickets filed by Vic Drover specifically regarding the way Watchful.li handles Akeeba Backup updates. In fact we were talking about how to apply a definitive plugin name by means of a subdirectory in the ZIP file just a few months ago. I am wondering if they have the feature in beta but not deployed...?

If you are feeling adventurous, edit wp-content/plugins/akeebabackupwp/akeebabackupwp.php and find this block:
// Autoupdate info
// add_filter ('pre_set_site_transient_update_plugins', array('AkeebaBackupWPUpdater', 'getupdates'), 10, 2);
// add_filter ('plugins_api', array('AkeebaBackupWPUpdater', 'checkinfo'), 10, 3);
// add_filter ('upgrader_pre_download', array('AkeebaBackupWPUpdater', 'addDownloadID'), 10, 3);
// add_filter ('upgrader_package_options', array('AkeebaBackupWPUpdater', 'packageOptions'), 10, 2);
// add_filter ('after_plugin_row_akeebabackupwp/akeebabackupwp.php', array('AkeebaBackupWPUpdater', 'updateMessage'), 10, 3);

Change it to
// Autoupdate info
add_filter ('pre_set_site_transient_update_plugins', array('AkeebaBackupWPUpdater', 'getupdates'), 10, 2);
add_filter ('plugins_api', array('AkeebaBackupWPUpdater', 'checkinfo'), 10, 3);
add_filter ('upgrader_pre_download', array('AkeebaBackupWPUpdater', 'addDownloadID'), 10, 3);
add_filter ('upgrader_package_options', array('AkeebaBackupWPUpdater', 'packageOptions'), 10, 2);
add_filter ('after_plugin_row_akeebabackupwp/akeebabackupwp.php', array('AkeebaBackupWPUpdater', 'updateMessage'), 10, 3);

This will report the updates the WordPress' Plugins page. However, there was a reason we disabled it. Some badly written third party plugins interfere with these filters, causing WordPress to throw a white page / error 500. The problem does not come from our code so we can't fix it. It comes from third party code. Our code only triggers the bug in the third party code. So I disabled this feature until I can add a switch to let our users disable the integrated update.

Uncommenting the lines I indicated you will re-enable this feature. Akeeba Backup will now be reporting the availability of updates to WordPress. It will also provide the correct Download URL, with the Download ID, when WordPress tries to fetch the plugin update. I guess that should be more than enough for Watchful.li if that's what they meant in their reply (and not that the plugin has to be hosted in the Directory so they can query the update status through the Directory's API). Please let me know if that works.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!