What is it with the open source community and the arrogant attitude of:
“If you can’t install my software correctly, it’s because you’re stupid”
Real people do not know the ins and outs of someone else’s software, and also have a time and patience limit. So many FOSS installation procedures seem to be oblivious to this real-life fact, and so is FreePBX.
I think it’s a bit rich to blame someone for “missing something” considering the installation instructions file contains the following:
"THESE INSTRUCTIONS ARE OUTDATED!!! (JULY, 2008)
PLEASE VISIT: http://www.freepbx.org/support/documentation/installation "
where that web page’s instructions stop at “./install_amp” (which precedes the point where the OPs problem actually arose), with the page then pointing you to a forum full of fragmented instructions and half-answered threads.
I ran into the same problems today as the OP. The only log file containing anything showing an error was the apache2.log, The solution was:
- add the apache2 user (www-data), to the “asterisk” group
- chmod the FreePBX folder to allow reading and execution to group members
- restart Apache2 & Asterisk
- The FreePBX index should now work. You may need to fix any further issues thrown up by the Status page.
The alternative suggested by the forums was to only use Apache2 to run the FreePBX site and nothing else and run apache2 as user “asterisk”. Sadly, this is the real world and I need to run several sites on that server!
If anyone from the FOSS community ever reads this, as I have said on many threads across the web in my years of using open-source…
If you want your work to be widely used and appreciated:
a) please think about user-friendliness when you write an installer
b) not everyone has exactly the same setup / distro / knowledge / patience as you, it is your responsibility as software creator to account for this and write in safety-nets
c) UPDATE YOUR F##KING DOCUMENTATION!!! “This is outdated, please visit” is not good enough!
d) When someone runs into trouble with your package, consider the possibility that a contributing factor is one or more of: bad documentation, broken installer, inappropriate instructions; rather than pure user incompetence. You are probably partly to blame for the difficulties people are having. Sorry, but it’s true.