?
avatar C-Lodder
C-Lodder
11 May 2020

Summary

Minimum Extension Stability: set to Alpha
URL: /administrator/index.php?option=com_installer&view=update

There seems to be some sort of issue with Update Servers for templates in Joomla 4. Having deployed an update server, I've cleared the cache and clicked "Find Updates".

Looking at the #__updates table, I can see the template listed, however extension_id is set to 0, and the client value 0 instead of 1, so the update won't be shown.

The #__update_sites_extensions is showing the correct extension_id value.

Does this feature not support templates?

System information (as much as possible)

  • PHP 7.4
  • Joomla 4.0-dev branch (latest)
avatar C-Lodder C-Lodder - open - 11 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 May 2020
avatar C-Lodder C-Lodder - change - 11 May 2020
The description was changed
avatar C-Lodder C-Lodder - edited - 11 May 2020
avatar C-Lodder C-Lodder - change - 11 May 2020
The description was changed
avatar C-Lodder C-Lodder - edited - 11 May 2020
avatar SharkyKZ
SharkyKZ - comment - 11 May 2020

In the update XML client should be the name, not the ID of the client.

avatar C-Lodder
C-Lodder - comment - 11 May 2020

@SharkyKZ

https://docs.joomla.org/Deploying_an_Update_Server

client – Required for modules and templates as of 3.2.0. – The client ID of the extension, which can be found by looking inside the #_extensions table. To date, use 0 for "site" and 1 for "administrator".

avatar C-Lodder
C-Lodder - comment - 11 May 2020

@SharkyKZ Turns out you were right. Changing the client to administrator works. It appears the documentation needs updating

avatar C-Lodder C-Lodder - change - 11 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-11 14:32:32
Closed_By C-Lodder
avatar C-Lodder C-Lodder - close - 11 May 2020

Add a Comment

Login with GitHub to post a comment