Automatic update Jsitemap PRO #511
Replies: 4 comments 9 replies
-
The message you get comes from Joomla! itself and has two parts. Part I – Warning about the checksum It has to do with the checksums in the update stream (see https://docs.joomla.org/Deploying_an_Update_Server and look for “sha256, sha384, sha512” in there). In Joomla! 3.9 and 3.10 they were optional. If they were present, they were checked but nothing would happen if they did not match. In Joomla! 4 they are optional. If they are not present a warning is presented saying that the extension does not provide a checksum for validation of the integrity of the downloaded file. This is what happened here. If they are present, they will be checked and the installation will be prevented if they do not match. In Joomla! 5 they are mandatory and must match. The developer of the extension MUST change their update XML file to provide the missing checksum information. Part II – The manifest XML file is invalid The component in the JSitemap PRO update package has an XML manifest which tells Joomla! how to install it. Joomla! cannot find the administration element which is mandatory for Joomla! components' XML manifests files. Please remember that all of these messages come FROM JOOMLA! ITSELF. Panopticon DOES NOT perform the update of your extension. It merely tells Joomla! to please update the extension with ID 123, where 123 is the extension ID of the extension being updated. Joomla! uses its own code to download the update XML file, verify the checksums, extract the ZIP file and proceed with installing the updated code. The fact that this only works from the backend of the site tells me that the developer of this extension probably uses a plugin to change the download information of the extension when performing the update. This plugin seems to not be loaded under the API application. You need to remind the developer of this extension that using |
Beta Was this translation helpful? Give feedback.
-
Ok I see, Thank you for the clarification. |
Beta Was this translation helpful? Give feedback.
-
-----BEGIN PGP MESSAGE----- wcBMA6+1LLjxrhABAQf/TydWtaNnDO+u+PonfWHYebmzYQNCp+qKKe0qEXOIOf4p |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I was right. But wait, it's even worse. The way JSitemap Pro handles updates is not just fundamentally incompatible with anything other than performing updates manually from Joomla's interface, but betrays an utter lack of knowledge about how to distribute software, and zero critical thinking. It's a rolling Dumpster fire. Their update server is http://storejextensions.org/updates/jsitemap_updater.xml. First of all, it lacks any checksums whatsoever. This sh!t won't fly with Joomla! 5, so they already have a big problem. The second problem is that they say that the update file is http://storejextensions.org/updates/com_jsitemap.zip which is a fake update. If you download that ZIP file you will see that it has an invalid(!) XML manifest. Hence Joomla! complaining about it. But why does it work manually? Their system plugin handles the core Joomla! They make an HTTP call to their server to verify that your email has a valid license to the software. If that returns true, they replace the download URL with a hardcoded one which is “encrypted” using ROT13 as "encryption". In short, anyone with half a brain can see what they are doing – it's in plain sight! – and download the new version for free, without having a license. I just did that. But I digress. The whole problem is that their system plugin is (correctly) not loaded under the API application, therefore it cannot work. At the very least they should move this code out into an Beyond that, they should ideally get a grip on reality and understand that hardcoding a download URL is suicidal for business, especially when the entire protection is ROT-13, a slight variation of Caesar's Cipher which was broken at least 1200 years ago. Not that it matters, since it was dead obvious it's ROT-13 by the fact that their ‘encrypted’ URL starts with |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a problem with Jsitemap automatic update. I use Panopticon to auto update my extensions on multiple sites, but I always get an error message when it tries to update JSitemap PRO. The message says:
Extension updates for site #15 (*****) failed installing update for component “ JSitemap PRO”. Joomla! reported an error: This extension does not provide a checksum for validation of the integrity of the downloaded file. • Component Install: The XML file did not have an administration element. • Error updating component.
However, when I go to the Joomla administration panel and update JSitemap PRO manually, it works fine.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions