I'm trying to get an update server going, but I'm just not succeeding. I've instrumented the Joomla update code, and it's finding the update on my server, and it identifies it as an update, but it's failing in the step where it matches up the found update to an installed extension. I'm actually trying to do a "package".

Are updates supported for packages? I'm just checking because I know that there are things like uninstall SQL scripts that aren't supported across all extension types.

Does anyone know of a non-trivial package that has auto-updates I could disassemble and look at?

  • Could you provide the code from your extension's XML file and the code from the XML file on your server?
    – Lodder
    Apr 7, 2016 at 8:29

2 Answers 2


I'll take a wild guess before you reply to my comment above. In your extension's update XML file, perhaps you have set the type attribute incorrectly for the update server. As it's a package you wish to update, the type needs to be set to collection:

    <server type="collection" priority="1" name="My Extension Name">http://example.com/update.xml</server>
  • It would follow logically then that I have to do updates on all 3 of my extensions and create corresponding update blocks and files. What a huge pain. Apr 7, 2016 at 19:48

That got me on the right track. It's a little non-intuitive that you can't use extension for package. Here's what I ended up with that works.

First, the package manfiest

            <server type="collection" priority="1" name="Connect Daily Update Site">http://www.connectdaily.com/joomla/updates/package.xml</server>

Now, in package.xml

<extensionset name="Connect Daily" description="Connect Daily Events Calendar System">
 <extension name="Connect Daily Package"   element="pkg_connectdaily"     type="package"   version="0.9.2" detailsurl="http://www.connectdaily.com/joomla/updates/pkg.xml"/>

finally, pkg.xml

            <name>Connect Daily</name>
            <description>Connect Daily Events Calendar System</description>
            <infourl title="Connect Daily">http://www.connectdaily.com/joomla/</infourl>
                    <downloadurl type="upgrade" format="zip">http://www.connectdaily.com/joomla/updates/pkg_connectdaily-0.9.2.zip</downloadurl>
            <maintainer>George Sexton</maintainer>
            <targetplatform name="joomla" version="3.[23456789]"/>

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.