Asterisk won't start after upgrade to 13

Glad to know its been fixed. I followed the link and didn’t immediately see where/what the fix is.

Hi Andrew!

It looks like we need to be logged on to see the commits…

I did not see it at first and I did after I logged on…

Have a nice day!

PS: I am not quite sure why Jira does this (most likely by default)…

1 Like

mkdir($dir,0777,true); on line 34 of that file?

Hi bwaynef!

This is what I am seeing to but I suggest you update otherwise your system will complain that the module has been altered because its signature will no longer match…

Good luck and have a nice day!

Nick

If the update you’re referring to is from the Admin > Module Admin > Check Online I get the following for the Core Module:

"Core 13.0.41 Sangoma Technologies Corporation GPLv3+ Newer than online version (2.11.0.35) "

I see in the thread below, it’s suggested that if version upgrader was used to upgrade, it then needs to be uninstalled. I used pbx upgrader. That seems similar enough that the same logic might apply.

http://issues.freepbx.org/browse/FREEPBX-7122

Uninstallation of the FreePBX Upgrade module isn’t available from within the web interface.

You are referencing a ticket that is years old. Don’t. Your core is reporting 2.11 don’t you think thats a huge problem?

Pbx upgrader will go away once everything is upgraded. Apparently you are in a half baked upgrade

Run: fwconsole ma upgradeall

On the command line:

[root@confbridge01 bin]# fwconsole ma upgradeall
No repos specified, using: [extended,standard] from last GUI settings

Up to date.
Updating Hooks…Done
[root@confbridge01 bin]#

Then trying to apply the config on the web interface

Error!Close
Reload failed because retrieve_conf encountered an error: 1

click here for more info
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

Your system is somehow reporting that it is version 2.11 when you upgraded to 13. You have massive problems with this install. Do you want to keep using it?

Thank you for your help. Looks like it makes more sense to start over. Do you have any suggestions on removing what’s installed before I try to install afresh w/ 13?

Well I mean if you want to continue with this install and are OK with it I can walk you through a few steps that will recover it but I dont know what else will be wrong? I guess I’m asking if thats something you want to try?

Let me know the next steps and we can see if it makes sense to keep going. How about that? (Thanks for your help.)

Run these commands

mysql
use asterisk;
select * from admin where variable = 'version';

Paste the response here. Example:

mysql> select * from admin where variable = 'version';
+----------+---------+
| variable | value   |
+----------+---------+
| version  | 13.0.60 |
+----------+---------+
1 row in set (0.00 sec)

mysql> select * from admin where variable = ‘version’;
±---------±-------+
| variable | value |
±---------±-------+
| version | 2.11.0 |
±---------±-------+
1 row in set (0.00 sec)

Next command:

fwconsole ma list | grep framework

[root@confbridge01 rc.d]# fwconsole ma list | grep framework
| framework | 13.0.54 | Enabled |

fwconsole ma download http://mirror.freepbx.org/modules/packages/framework/framework-13.0.60.tgz
fwconsole ma install framework

Then

mysql
use asterisk;
select * from admin where variable = 'version';

[root@confbridge01 rc.d]# fwconsole ma download http://mirror.freepbx.org/modules/packages/framework/framework-13.0.60.tgz
No repos specified, using: [standard] from last GUI settings

Starting framework-13.0.60.tgz download…
Processing
Downloading…
8162259/8162259 [============================] 100%
Finished downloading
Extracting…Done
Module http://mirror.freepbx.org/modules/packages/framework/framework-13.0.60.tgz successfully downloaded

[root@confbridge01 rc.d]# fwconsole ma install framework
Unable to install module framework:

  • FreePBX version 13.0 or higher is required, you have 2.11.0
    Updating Hooks…Done

[root@confbridge01 rc.d]# mysql -p
Enter password:
mysql> use asterisk;

Database changed
mysql> select * from admin where variable = ‘version’;
±---------±-------+
| variable | value |
±---------±-------+
| version | 2.11.0 |
±---------±-------+
1 row in set (0.00 sec)