Automatically update Authentic Theme to the latest stable version

We don't want to leave updating Authentic Theme to end-users as it always confusing for them to see update alerts in the slider.

How can we configure automatic updates for the theme? We already set "Yes" for the "Check for Authentic Theme updates" option, but as I understand it only checks for updates and does not actually run them.

Status: 
Closed (fixed)

Comments

Ilia's picture
Submitted by Ilia on Wed, 08/23/2017 - 04:09

It doesn't run them automatically.

Theme is updated with Webmin. In case you want to update it immediately as it's available, why not just hit update button?

Ilia, because we are a hosting company, we have ton's of Virtualmin servers and we try to automatize as much as we can, not to make our end-users worry about this kind of things that becomes routine especially when there are frequent updates on the theme.

Ilia's picture
Submitted by Ilia on Wed, 08/30/2017 - 03:15

Sorry for not answering promptly.

You can setup cron job for running /authentic-theme/theme-update.sh. Go to theme directory and run ./theme-update.sh --help

Practically what you need to do is to run ./theme-update.sh -release -no-restart

Ilia's picture
Submitted by Ilia on Wed, 08/30/2017 - 03:15

However you might want Webmin to be restarted after theme update.

Ilia's picture
Submitted by Ilia on Wed, 08/30/2017 - 03:16

Status: Active ยป Closed (fixed)