Open Source Training Seminar


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


modules newer than online version after 2.2->2,4 upgrade

sprior's picture

I goofed, I've done a FreePBX upgrade before, but this time I applied the changes before trying to upgrade modules. Now I'm getting messages when I try to check for module updates which say that my installed modules are newer then the online version - I'm assuming this means that the system is checking against the old 2.2 repository instead of the new 2.4 one. I also don't have the module there to force the module upgrade to the 2.4 level.

Is there any way to recover from this without doing a blow away reinstall? Do I need to get the module manually to force the 2.4 module level (and if so, where do I get it)?

Thanks in advance
Steve


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

module version always get

p_lindheimer's picture

module version always get 'bigger' including across major versions. If yours is saying this, my guess is your upgrade didn't go right, you did get some newer modules, but your framework is older or at least the version number in the database never got bumped. Try re-running the install of the new version.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


I did try rerunning the new

sprior's picture

I did try rerunning the new install and nothing changed. BTW, based on the contents of /usr/src I was upgrading from version 2.2.1 to 2.4.0. Here are the modules which are squawking:

feature code admin installed 2.4.0.1 (newer than online version 1.0.4)
voicemail installed 2.4.0.1 (newer than online version 1.6.4.2)
music on hold 2.4.0.1 (online version 1.5)
recordings 3.3.6.1 (online version 3.3.4.1)
info services 2.4.0 (online version 1.3.3)

the framework version is 2.4.0.0

Any ideas? How worried should I be? I've been avoiding making any changes since the upgrade and the warnings.

Steve


You need to get it fixed,

p_lindheimer's picture

You need to get it fixed, your install has not updated the version info in the database. The only reason those ones are updated is because those happen to be the modules that come with the tarball. Almost every other existing module needs to be upgraded in 2.4 and you won't see those until your system properly upgrades. Try doing "install_amp --force-version 2.2.0" in your install directory.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


./install_amp

sprior's picture

./install_amp --force-version 2.2.0 doesn't seem to have changed anything. I still get the module warnings. There are also warnings in the install log:

Please update your modules and reload Asterisk by browsing to your server.
Generating AMP configs..OK
Restarting Flash Operator Panel..OK
Checking customappsreg..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking core..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking music..

Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking infoservices..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking dashboard..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking recordings..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking framework..
The following error(s) occured:
- Module is already enabled
enabled
Checking featurecodeadmin..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Checking voicemail..
Module successfully installed

The following error(s) occured:
- Module is already enabled
installed
Please update your modules and reload Asterisk by browsing to your server.


BTW, If changing something

sprior's picture

BTW, If changing something manually in the database is required, I'm comfortable with doing that - I'm actually a database programmer by day.


sprior, it's not a matter of

p_lindheimer's picture

sprior,
it's not a matter of just updating the database. If the above is all the output you get then something is not right. The install script should cycle through every intermediate version updating that version number as it proceeds, and each step there are potential upgrade scripts that gets run (you can see them in the upgrades directory). Between 2.2 and 2.4 there is a significant amount of schema changes and conversions that take place and it looks like that has not happened. Try pulling a new copy of the tarball and unpacking it somewhere else and running through the upgrades again.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


I pulled a new tarball and

sprior's picture

I pulled a new tarball and unpacked in a new directory then ran ./install_amp --force-version 2.2.0. Got the same result.


Any other ideas or am I

sprior's picture

Any other ideas or am I stuck?