Queues/Ring Groups modules not updating

Hello,

I received notification that new versions of Ring Groups (2.8.0.0) and Queues (2.7.0.4) are available, however, when I try to upgrade these nothing appears to download/untar and the versions remain at 2.7.0.2 despite reporting successful installation.

What to check?

Thanks
Chris

Now you are asking :frowning: … this wasn’t a distro so I must have installed it myself - can’t believe I can’t remember.

Anyway, I do recall modules previously telling me that my Queues module version 2.7.0.3 was newer than the online version. I’ve ignored that for months.

I’ve tried uninstalling queues and re-installing but the problem persists.

I’ll try and clean it up completely.

What? The latest Queue module is 2.7.0.3 and Ring group is 2.7.0.2

Do you use a distro or did you install FreePBX your self?

Hmm… it gets stranger:

root@thepbx2:/var/www/admin/modules/_cache# ls -alt qu*
-rw-rw-r-- 1 asterisk asterisk 149530 2010-04-30 15:51 queues-2.7.0.2.tgz
-rw-rw-r-- 1 asterisk asterisk 149472 2010-03-26 22:00 queues-2.7.0.3.tgz
-rw-rw-r-- 1 asterisk asterisk 164435 2010-02-28 20:23 queues-2.7.0.0.tgz
-rw-rw-r-- 1 asterisk asterisk  10478 2010-02-28 20:22 queueprio-2.7.0.0.tgz
-rw-rw-r-- 1 asterisk asterisk 163061 2010-02-25 12:05 queues-2.7.0beta1.4.tgz
-rw-rw-r-- 1 asterisk asterisk  10080 2009-09-06 11:02 queueprio-2.6.0.1.tgz
-rw-rw-r-- 1 asterisk asterisk 155911 2009-08-27 17:17 queues-2.6.0.2.tgz
-rw-rw-r-- 1 asterisk asterisk 136038 2009-08-23 19:13 queues-2.6.0.1.tgz
-rw-rw-r-- 1 asterisk asterisk 105578 2009-06-11 17:31 queues-2.5.4.8.tgz

Confused :frowning:

Well, I uninstalled queues, cleared out _cache and modules/queues then checked for updates. It told me 2.7.0.4 of queues was available online.

I downloaded it and it installed, but reports now that version 2.7.0.2 is installed.

In the _cache directory is:

root@thepbx2:/var/www/admin/modules/_cache# ls -lat qu*
-rw-r--r-- 1 asterisk asterisk 149530 2010-05-01 00:09 queues-2.7.0.2.tgz

C.

Still can’t fix it :0( … any (nice) suggestions?

How did you install FreePBX? Is it a distro or a self-setup system?

Edit. I see that you already answered this. Hmmmm.

If you surf to this address: http://mirror.freepbx.org/modules-2.7.xml
and search for queues, what is the result?

Edit 2: Search in your /var/www/html/admin/functions.php.inc for $repo_url, what does that say?

Hi Mikael,

<module>
  <rawname>queues</rawname> 
  <name>Queues</name> 
  <version>2.7.0.3</version> 
  <publisher>FreePBX</publisher> 
  <license>GPLv2+</license> 
  <type>setup</type> 

edit - copy/paste the right thing!
and

functions.inc.php:      $repo_url = ($override_xml === false) ? "http://mirror.freepbx.org/" : $override_xml;

Maybe it’s a cache issue!? Let me check that…

Thanks for the pointers…

Nope - not a cache issue… where would it be getting the 2.7.0.4 for queues and 2.8.0.0 for ring groups from exactly? Not sure it would be making it up…

I’ll walk the code properly later…

Seems module_xml in the database contains:

<module>
	<rawname>queues</rawname>
	<name>Queues</name>
	<version>2.7.0.4</version>
	<publisher>FreePBX</publisher>
	<license>GPLv2+</license>
	<type>setup</type>

and

<module>
	<rawname>ringgroups</rawname>
	<name>Ring Groups</name>
	<version>2.8.0.0</version>
	<publisher>FreePBX</publisher>
	<license>GPLv2+</license>
	<type>setup</type>
	<category>Inbound Call Control</category>
	<description>
		Creates a group of extensions that all ring together. Extensions can be rung all at once, or in various 'hunt' configurations. Additionally, external numbers are supported, and there is a call confirmation option where the callee has to confirm if they actually want to take the call before the caller is transferred.
	</description>
	<changelog>
		*2.8.0.0* #4133

So I guess something got out of sync somewhere. Can I trash my module_xml content in the DB?

OK, so here’s the problem (I think).

I am running 2.8 beta so I should we should be looking at:

http://mirror.freepbx.org/modules-2.8.xml

Here we see:

<name>Queues</name> 
  <version>2.7.0.4</version> 
...
<location>release/2.8/queues-2.7.0.2.tgz</location> 

The location appears wrong… doh!

Same with Ring Groups:

 <rawname>ringgroups</rawname> 
  <name>Ring Groups</name> 
  <version>2.8.0.0</version> 
...
<location>release/2.7/ringgroups-2.7.0.2.tgz</location> 

So I guess someone needs to update the online version?

And sorry, I should probably have posted this in the beta forum.

Guess I’ll bug it…