arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Provide debian packages for armel too #844

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As suggested by the "Debian Fusionpbx Pkg or Source Install" script, armel 
architecture should be supported.

" ArmEL only supported in the build of freeswitch . "

But there is no packages for armel available in the repository. FreeSWITCH 
installation from source succeeds but the rest of FusionPBX installation 
process fails with this error:

  404  Not Found
[...]
W: Impossible de récupérer 
http://repo.fusionpbx.com/fusionpbx/release/debian/dists/wheezy/main/binary-arme
l/Packages  404  Not Found

It would be appreciated if packages for armel could be provided.

Thank you

Original issue reported on code.google.com by jfdarv@gmail.com on 6 Feb 2015 at 2:38

GoogleCodeExporter commented 9 years ago
There is a fusionpbx pkg for arm.
There is no postgres pkg for arm, you can compile postgres from src.

Original comment by nysoluti...@gmail.com on 6 Feb 2015 at 2:44

GoogleCodeExporter commented 9 years ago
The only packages available are for armhf, not armel. If you look at line 44 of 
the script, it is written that armel should be compatible.

And errors seen when running script show that it is looking for the missing 
repository.

Also, I red somehere that Postgresql was a pretty bad choice for flash drives, 
although I couldn't find the source of this claim right now. I was thinking of 
using sqlite.

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 4:24

GoogleCodeExporter commented 9 years ago
Rneese was the one building fusion pkgs, he just got job, as of now there is no 
volunteer to build pkgs, the recommended install is from google svn.
You can use freeswitch pkgs if they support armel.

Original comment by nysoluti...@gmail.com on 6 Feb 2015 at 4:55

GoogleCodeExporter commented 9 years ago
Thanks for taking the time to help. I also tried to install FusionPBX using the 
"Easy FusionPBX" method. Everything seemed to go well but I had this error when 
trying to open the Web page:

Fatal error: Call to a member function execute() on a non-object in 
/var/www/fusionpbx/resources/classes/menu.php on line 43

But I guess this is another story.

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 5:05

GoogleCodeExporter commented 9 years ago
Which branch did you install from? trunk or dev?
I run dev line 43 is                    
$sql .= "and (menu_item_protected <> 'true' ";

I don't think that is causing the issue.

Original comment by nysoluti...@gmail.com on 6 Feb 2015 at 5:24

GoogleCodeExporter commented 9 years ago
Yeah, the error message is from a few days ago... The line in question is the 
second one (I think):

$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();

I'll give it another shot, it may be a database connection problem.

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 1:05

GoogleCodeExporter commented 9 years ago
Oh, and I missed the last character when I copied/pasted the message. It was on 
line 430 not 43.

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 1:42

GoogleCodeExporter commented 9 years ago
                    foreach($_SESSION['groups'] as $row) {
Which theme did you choose?
Are you on dev branch or trunk?
You can delete the /secure/fusionpbx.db and /resources/config.php to restart 
the web install.

Original comment by nysoluti...@gmail.com on 6 Feb 2015 at 1:48

GoogleCodeExporter commented 9 years ago
I used the trunk branch. Now I will give it a try with the dev branch as 
suggested in the Wiki. Fingers crossed! Thanks again for your help, it is 
really appreciated.

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 2:10

GoogleCodeExporter commented 9 years ago
I use the default theme, "Enhanced". Here's the error message when I try to 
open the Web page after installation:

Fatal error: Call to a member function execute() on a non-object in 
/var/www/fusionpbx/resources/classes/menu.php on line 446

Using dev branch.

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 3:34

GoogleCodeExporter commented 9 years ago
You are using SQLite? what did you put as the path to the db? may be a 
permission issue accessing the db.

Original comment by nysoluti...@gmail.com on 6 Feb 2015 at 4:05

GoogleCodeExporter commented 9 years ago
I found the culprit! It was due to a timer that probably ended before the 
installation from the Web page was completed.

I fixed it by increasing the timers using the information I found here:
https://rtcamp.com/tutorials/php/increase-script-execution-time/

I am using SQLite and the path suggested by the script:
/var/www/fusionpbx/secure

Maybe the title of this suggestion should be changed to something like 
"Increase php and nginx timers for people running FusionPBX on crappy hardware 
like me"!

Original comment by jfdarv@gmail.com on 6 Feb 2015 at 5:59

GoogleCodeExporter commented 9 years ago
About what I said for PostgreSQL not being a good idea on a flash drive, I 
found where I red that:
http://wiki.fusionpbx.com/index.php?title=Debian_Fusionpbx_Pkg_or_Source_Install

################################################################################
#
# Install postgresql server 9.4 (y/n) (client included)(Local Machine)
# Notice:
# You should not use postgresql server on a nand/emmc/sd. It cuts the 
performance
# life in half due to all the needed reads and writes. This cuts the life of
# your pbx emmc/sd in half.
################################################################################
#

But I'm not quite sure if it also stands for USB flash drives.

Original comment by jfdarv@gmail.com on 7 Feb 2015 at 12:37