Elastix 0.8.5 and embedded Freepbx

andreapichler

Joined
Aug 23, 2007
Messages
3
Likes
0
Points
0
#1
Hello.
I installed the 8.5 beta and tried to update freepbx to the recently released 2.3.0 version (http://www.freepbx.org/support/documentation/installation/upgrading-your-system)
The upgrade procedure (is not working (I think it depens on the "embedded" integration in elastix) - the page System-Pbx configuration after the upgrade will not be displayed.
My question is: why the development team has integrated (embedded) freepbx in elastix ?
A simple link to the freepbx page (/admin) (like trixbox) was not simplier ?
How can I upgrade to the newer versions ?
Thanks
Andrea
 

mbit

Joined
Jul 4, 2007
Messages
466
Likes
0
Points
0
#2
The embedded design is to help move to a all in one interface. Not like Trixbox which has everything everywhere.

If you are updating FreePBX manually you need to do the upgrade through your SSH or terminal. You can still get into the modules of FreePBX by going to the right address.

So do your upgrade in the terminal then in your browser go to

https://yourpbxip/config.php?type=tool&display=modules

This IP will take you into the FreePBX module admin to finish the update.
 

jr_oblika

Joined
Mar 16, 2007
Messages
67
Likes
0
Points
0
#3
I like to make on-line update for freePBX, but return:

SELECT * FROM module_xml WHERE id = "xml" [nativecode=1146 ** Table 'asterisk.module_xml' doesn't exist]

tnx for help !<br><br>Post edited by: jr_oblika, at: 2007/09/03 08:26
 

onsite

Joined
Sep 10, 2007
Messages
35
Likes
0
Points
0
#4
So do your upgrade in the terminal then in your browser go to:
https://yourpbxip/config.php?type=tool&display=modules
Nice trick but when you hit the "Check for updates online" link you see the error "SELECT * FROM module_xml WHERE id = "xml" [nativecode=1146 ** Table 'asterisk.module_xml' doesn't exist"

Where is this talbe?
We are in need of phpmyadmin and webmin here:unsure:

George.

EDIT1: unable to check for updates but able to install a third party addon.
This interface is a mess after completion but fixes afterwards.
Maybe it's not a good idea to embed freepbx gui...<br><br>Post edited by: onsite, at: 2007/09/10 14:16
 

andreapichler

Joined
Aug 23, 2007
Messages
3
Likes
0
Points
0
#5
Hello.
This procedure updates the modules only (not the "core" of freepbx).
I installed the 8.5 (not beta) and tried to update freepbx (via SSH) but the configuration interface has stopped to work.... (unable to open the /admin and als the /config.php?type=tool display=modules).
How can I update to the 2.3 of Freepbx (the first version that supports asterisk 1.4) ?
Thanks
Andrea
 

itakinet

Joined
Jun 22, 2007
Messages
13
Likes
0
Points
0
#6
unembedded 1.0

mv /var/www/html/admin/bounce_op.sh bounce_op.sh_old

Install the FreePBX

cd /usr/src/
wget http://mirror.freepbx.org/freepbx-2.3.0.tar.gz
tar -zxvf freepbx-2.3.0.tar.gz
cd freepbx-2.3.0
./start_asterisk
./install_amp --force-version 2.2.2

nano /var/www/html/config.php

<?php
header("Location: /admin/config.php");
?>

Let me know if this helps at all...
Thanks
Kris

Post edited by: itakinet, at: 2007/09/10 16:21<br><br>Post edited by: itakinet, at: 2007/09/10 22:13
 

onsite

Joined
Sep 10, 2007
Messages
35
Likes
0
Points
0
#7
Any luck with the hack above ?
I didn't have any... yet

Kris, you did it on your own box? How about a little more info ?

Thanks in advance man,
George.
 

itakinet

Joined
Jun 22, 2007
Messages
13
Likes
0
Points
0
#8
What kind of errors are you getting?
Please provide more detailed info..

I have this up and running on our company's hosted asterisk servers at Aretta Communications.

If you want a working Elastix 0.8.5 server spun up quickly, check out our NetPBX product.

http://www.aretta.com/products/hosted-asterisk.php


Kris Sheets
Aretta Communications
http://www.aretta.com
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#9
This is NOT the case with FreePBX 2.3.0 part of the advantage is that the core and any of the framework can be update via the module admin. This was my fear of embedding the freepbx interface. This needs to come out.

Another troubling issue is that I just tried to reinstall 0.8.4 but soon realized that when I did a yum update, it was updating to 0.8.5, I had 0.8.4 working with freepbx 2.3.0 now, I am not sure what to do but this is NOT working. May be forced to go back to Trixbox, or Asterisk from scratch.
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#10
OK, so I made a booboo. I did not make a backup of the /var/www/html/config.php before I changed it. What was the origina?????????????
 

andreapichler

Joined
Aug 23, 2007
Messages
3
Likes
0
Points
0
#11
Hello.
I tried to upgrade a new installed Elastix 0.8.5 but during the update I have a lot of errors:

PHP Warning: opendir(/var/www/html/admin/modules/recordings/images): failed to
open dir: Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 427
PHP Warning: readdir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 428
PHP Warning: closedir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 458
PHP Warning: opendir(/var/www/html/admin/modules/core/bin): failed to open dir:
Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 427
PHP Warning: readdir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 428
PHP Warning: closedir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 458
PHP Warning: opendir(/var/www/html/admin/modules/core/etc): failed to open dir:
Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 427
PHP Warning: readdir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 428
PHP Warning: closedir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 458
PHP Warning: opendir(/var/www/html/admin/modules/core/agi-bin): failed to open
dir: Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 495
PHP Warning: readdir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 496
PHP Warning: closedir(): supplied argument is not a valid Directory resource in
/var/lib/asterisk/bin/retrieve_conf on line 522
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = elastix456
no crontab for asterisk
no crontab for asterisk
Please update your modules and reload Asterisk by browsing to your server.
Generating AMP configs..OK
Restarting Flash Operator Panel..OK
Checking infoservices.. PHP Warning: PHP Startup: Unable to load dynamic librar
y '/usr/lib/php/modules/pcntl.so' - /usr/lib/php/modules/pcntl.so: cannot open s
hared object file: No such file or directory in Unknown on line 0

Module successfully installed
installed
Checking framework.. PHP Warning: PHP Startup: Unable to load dynamic library '
/usr/lib/php/modules/pcntl.so' - /usr/lib/php/modules/pcntl.so: cannot open shar
ed object file: No such file or directory in Unknown on line 0
Opening the PBX configuration I recieve a blank page. Is the pcntl.so not included in Elastix ?

Any suggestions?
Thanks
Andrea
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#12
When I made the changes that you outlined, the screen just goes blank with no error. Refreshing the page or reloading results in the same.
 

itakinet

Joined
Jun 22, 2007
Messages
13
Likes
0
Points
0
#13
I just clean installed Elastix 0.8.5 from ISO and had the same issues.. all the php errors, and the blank screen..

after I did a yum update and went to

https://my.pbx.ip/admin/

I could see the FreePBX 2.3 after the index.php redirect

It seems to call the /admin/index.php which does something and redirects me to the /admin/config.php where I can see freePBX & update the modules..

I had also moved the bounce_op.sh back into the /admin directory..

I will look at this more tomorrow..
I have included my ssh as a txt file http://forum.elastix.org/old_files/unembedded.txt
 

eleventeenth

Joined
Jul 30, 2007
Messages
11
Likes
0
Points
0
#14
this forum thread details how we got the system to a workable state after it was killed by this upgrade.
 

xmx

Joined
Aug 28, 2007
Messages
17
Likes
0
Points
0
#15
Here is another solution... and it works ;)
 

xmx

Joined
Aug 28, 2007
Messages
17
Likes
0
Points
0

Members online

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,567
Latest member
achilont13
Top