9

My Joomla! CMS administration dashboard notifies me when an update to an extension is available.

I then use the 'one-click' update and that extension gets updated.

How do these 'one-click' updates work?

Does Joomla! have a 'central database' of extension versions that the Joomla! CMS checks against? (i.e. a centralized system that keeps track).

Or does each extension provider run their own 'update servers' which the Joomla! CMS checks against?

What's happening 'behind the scenes' to make 'one-click' updates work?

2 Answers 2

12

Each extension provider creates their own update server which is specified in the manifest file included with the extension. Here is the Joomla! documentation on deploying an update server.

While this sounds complicated, it is actually really simple. At it's most basic, the server consists of an XML file that tells Joomla! where to find each available version of the extension. Joomla! selects the appropriate version and retrieves it from the location specified by the server.

1
  • 4
    Behind the scenes those update files just link to a zip file that is the latest version of the extension or package. Joomla just downloads and installs in automatically if the version is later than the copy you have. It's using the same process used to install an extension from a URL. Commented Apr 23, 2014 at 6:06
4

Each extension provider runs their own "update server", the location of which is contained within the extension manifest xml file.

For further information

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.