I have a older roll my own install debian 7 freepbx 12 asterisk 11
its been running great for what we need I upgraded the asterisk to
11.6-cert18
and also tried to fix the framework in the freepbx module admin that the dashboard wanted me to upgrade.
so i did this and it would not apply
I tried disabling things mentioned in the log files to see if I could get past apply
[2018-Jul-14 19:38:35] [PHP-NOTICE] (/var/lib/asterisk/bin/retrieve_conf:181) - Use of undefined constant FREEPBX_LOG_ERROR - assumed ‘FREEPBX_LOG_ERROR’
[2018-Jul-14 19:38:35] [FREEPBX_LOG_ERROR] (bin/retrieve_conf:181) - Tried to link /var/www/html/admin/modules/endpointman/ari/modules/phonesettings.module to /var/www/html/recordings/modules/phonesettings.module, but /var/www/html/recordings/modules doesn’t exist
[2018-Jul-14 19:38:35] [FATAL] (libraries/utility.functions.php:470) - retreive_conf failed to get engine information and cannot configure up a softwitch with out it. Error: ERROR-UNABLE-TO-PARSE
[2018-Jul-14 19:38:35] [CRITICAL] (BMO/Notifications.class.php:493) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 1)
[2018-Jul-14 19:41:29] [PHP-NOTICE] (/var/www/html/admin/libraries/modulefunctions.class.php:1031) - Undefined offset: 4
[2018-Jul-14 19:41:29] [PHP-NOTICE] (/var/www/html/admin/libraries/modulefunctions.class.php:1031) - Undefined offset: 4
[2018-Jul-14 19:41:54] [PHP-NOTICE] (/var/www/html/admin/page.modules.php:191) - ob_flush(): failed to flush buffer. No buffer to flush
[2018-Jul-14 19:41:54] [PHP-NOTICE] (/var/www/html/admin/page.modules.php:367) - ob_flush(): failed to flush buffer. No buffer to flush
[2018-Jul-14 19:41:54] [PHP-NOTICE] (/var/www/html/admin/config.php:544) - ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush
[2018-Jul-14 19:41:56] [PHP-NOTICE] (/var/www/html/admin/libraries/modulefunctions.class.php:1031) - Undefined offset: 4
[2018-Jul-14 19:41:56] [PHP-NOTICE] (/var/www/html/admin/libraries/modulefunctions.class.php:1031) - Undefined offset: 4
[2018-Jul-14 19:41:59] [NOTICE] (BMO/Notifications.class.php:493) - [NOTIFICATION]-[core]-[MEMLIMIT] - Memory Limit Changed (Your memory_limit, -1M, is set too low and has been increased to 100M. You may want to change this in you php.ini config file)
[2018-Jul-14 19:41:59] [FATAL] (libraries/utility.functions.php:470) - retreive_conf failed to get engine information and cannot configure up a softwitch with out it. Error: ERROR-UNABLE-TO-PARSE
[2018-Jul-14 19:41:59] [CRITICAL] (BMO/Notifications.class.php:493) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 1)
[2018-Jul-14 19:42:01] [NOTICE] (BMO/Notifications.class.php:493) - [NOTIFICATION]-[core]-[MEMLIMIT] - Memory Limit Changed (Your memory_limit, -1M, is set too low and has been increased to 100M. You may want to change this in you php.ini config file)
[2018-Jul-14 19:42:01] [FATAL] (libraries/utility.functions.php:470) - retreive_conf failed to get engine information and cannot configure up a softwitch with out it. Error: ERROR-UNABLE-TO-PARSE
[2018-Jul-14 19:42:01] [CRITICAL] (BMO/Notifications.class.php:493) - [NOTIFICATION]-[freepbx]-[RCONFFAIL] - retrieve_conf failed, config not applied (Reload failed because retrieve_conf encountered an error: 1)
I am looking for a simple fix.
i backed up all the files and tried to us the command I used to install it according to my notes
./install_amp --installdb --username=asteriskuser --password=S0MePassworDDD --dbhost=‘127.0.0.1’ --dbname=‘asterisk’ --freepbxip=‘192.168.1.210’ --cgibin=’/var/www/cgi-bin’ --bin=’/var/lib/asterisk/bin’ --sbin=’/usr/local/sbin’ --asteriskuser=admin --asteriskpass=B8nKmYaSTdbP855 --asteriskip=‘127.0.0.1’ --scripted
everything seems fine until it dies with this
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…[FATAL] Could not determine asterisk version (got: “Asterisk certified/11.6-cert18” please report this)
You need to upgrade to a supported FreePBX version. Your FreePBX 12 is not supported and it doesn’t support newer asterisk versions like what you are trying to use.
I just want it to run can I not just force it some how? editing something or a option i tried --force-version and it seems to be a real option but just ignors it
I am trying not to reload the whole thing. all I did was update a module because the dashboard made it sound important worst thing I could of done.
now I can even change a ext or anything because I am unable to apply anything
I am running wheezy Debian 7 I have a feeling freepbx requires something that might need me to upgrade to debian 8 i do not want to do that. The reason i think this is i am not able to find any mention of freepbx 13 and debian 7 in the same sentence in any searches i have done
I will attempt to upgrade it right now if I am confident that I can do so.
so far I attempted to install what is nessary and download the compressed 13 latest
but when I try to install
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Error!
Could not determine Asterisk version (got: Asterisk certified/11.6-cert18 built by root @ pb1 on a x86_64 running Linux on 2018-07-14 15:01:51 UTC). Please report this.
Done
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install…Yes (No /etc/freepbx.conf file detected)
Database installation checking credentials and permissions…Connected!
Initializing FreePBX Settings
Finished initalizing settings
Copying files (this may take a bit)…
0/5291 [>---------------------------] 0%/etc/asterisk/voicemail.conf.template has been changed from the original version.
Overwrite:
[x] Exit
[y] Yes
[n] No
[d] Diff
y
-> Original file: /etc/asterisk/voicemail.conf.template
-> New file: /usr/src/freepbx/amp_conf/astetc/voicemail.conf.template
Exiting install program.
The morel of the story is that back few years back in debian wheezy i was unable to get 13 to run eventually settled on asterisk 11 and freepbx 12 and got it all running stable …
It would of probably ran today if I did not touch the update. my iptables where tight enough that it would not of mattered would of got many more years but i had to click on the update…
I was not sure I could get 13 up and running remotely let alone on debian 7.
seems just as buggy all sorts of errors that if you search them on here they tell you to just ignor. maybe my favorite pbx will get better but for now I will stick with 13. unless someone can tell me 14 is better and or a newer version of asterisk is better.
I would then need to see if it runs on debian 9 because debian as most debian people note is such a well built easy to maintain setup with out the bloat.
I wish the paied modules used a more universal platform instead of being stuck to just one (this hurts you). the Version of linux I work still with but really do not love.
I would thank someone but I really just helped myself. tonyclewis i was looking for a quick answer in the end I felt (no offense) that I could of just forced it some how or reversed what i did. but I guess no one wants to stay in the past so I get it. the load to a newer version was well the real only answer taking way to much of my time (since I was remote) would of been faster if I was there and could wipe reload