Change of update server in extension xml does not work

Did you find a bug in Joomla! 3.x but aren't sure? This forum is the place to help figure out if the problem is a bug and how to report it. If you are an experienced Joomla! user and are certain that you have found a bug please use the Bug Tracker to submit your issue.
This forum is for discussion about bugs and to get help with reporting them to the Bug Tracker: https://issues.joomla.org

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
mikesamar
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Fri Jun 09, 2006 7:32 pm

Change of update server in extension xml does not work

Post by mikesamar » Fri Oct 23, 2015 1:22 pm

Hello,

I have troubles to change the url of the update server for my extension.
I want to move the update server file to a new location, so I changed in the install xml of the extension (plugin):
<updateservers>
<server type="extension" priority="1" name="Extension Update Site">https://new-url.com/update/extension.xml</server>
</updateservers>

When I install the new version of the extension with the method "update" the url is not changed in the table "#__update_sites".
It stays the old value.

What is wrong in my approach or is it a bug in Joomla?

I checked in Joomla 3.4.5.

Thank you.

Regards Mike

User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10381
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

Re: Change of update server in extension xml does not work

Post by ot2sen » Sat Oct 24, 2015 6:28 am

Hi Mike,

Did it perhaps add a new entry while keeping the old?

There was a report a few days ago on this:
https://github.com/joomla/joomla-cms/issues/8113
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org

mikesamar
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Fri Jun 09, 2006 7:32 pm

Re: Change of update server in extension xml does not work

Post by mikesamar » Sat Oct 24, 2015 7:45 pm

Yes It created a new entry while keeping the old.

An old one that is not valid anymore, I removed priority 2 site, is not removed.

Yes, I think it is the same issue so I will follow it.

chrisvaughan
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Sun Dec 30, 2007 9:23 pm

Re: Change of update server in extension xml does not work

Post by chrisvaughan » Fri Apr 01, 2016 2:15 pm

I have the same issue. We have a number of our own extensions and had to move the update server.
Now all the sites using these extensions have both the old and the new update servers listed.
Is there any way of an extension telling Joomla to remove the old update server?

chrisvaughan
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Sun Dec 30, 2007 9:23 pm

Re: Change of update server in extension xml does not work

Post by chrisvaughan » Fri Jun 10, 2016 7:09 am

This issue really needs sorting. I had to change update server for some modules and now each site that uses the extensions has both the old and new update server listed.
I guess I could manually edit the sql table of each site but with over 100 sites and not that sort of access to them anyway, I don't know what to do.
If the manifest file had an option to specify an update server that should be removed that would sort the issue.

chrisvaughan
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Sun Dec 30, 2007 9:23 pm

Re: Change of update server in extension xml does not work

Post by chrisvaughan » Fri Jun 10, 2016 7:10 am

PS the other option is that installing a extension removes all old update servers for that extension and only keeps the ones in the current manifest

User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10381
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

Re: Change of update server in extension xml does not work

Post by ot2sen » Fri Jun 10, 2016 9:18 am

There is some improvements on the way for the upcoming Joomla 3.6.0, which had a beta1 release yesterday.

Try see this new feature [com_installer] [updatesites] Add options to delete and rebuild update sites #9744
https://github.com/joomla/joomla-cms/pull/9744
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org


Locked

Return to “Joomla! 3.x Bug Reporting”