I’m actually spending a LOT of time in Sysadmin in 13 (As you would have noticed by the massive numbers of new packages appearing and bugs being fixed), so I’ll add this to my list to investigate, hopefully today!
Feel free to open a bug about this on issues.freepbx.org if you want, and I’ll update it there, or, if I remember, I’ll reply here when I figure out what the problem is!
OK, I shall look harder! You sure you’re using the latest sysadmin for 13?
No. It’s REALLY simple. It installs the licence in /etc/schmooze and then restarts apache. I managed to get my 12 machine to install the licence file, but not restart apache (As the error said)…
Well I guess the next thing to try is see if the restarter is broken. Try running this as root:
/var/www/html/admin/modules/sysadmin/hooks/restart-apache. This is what I see: [root@freepbx-a ~]# pwd
/root
[root@freepbx-a ~]# /var/www/html/admin/modules/sysadmin/hooks/restart-apache
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using 172.24.44.1 for ServerName
[ OK ]
[root@freepbx-a ~]#
Ok, so a ‘fwconsole chown’ will fix that. I just don’t know how your machine got into that state. BEFORE YOU RUN THAT COMMAND, can you please paste the output of this:
ls -al /var/www/html/admin/modules/sysadmin/hooks/
If you wrap it in <code> and </code> it’ll appear formatted properly here.
yes it did the trick. I’m going to try another install from scratch and see if it happens again. I swear this has happened the last 3 times. Unless i’m dreaming.
Okay, i was able to make it happen again. Here are the steps:
install Freepbx Distro on VirtualBox 5.0 VM
BETA – 10.13.66 64 bit, Asterisk 13, normal install
server reboots
freepbx 13 installs
login to freepbx13 and install syadmin module
apply config
files in /var/www/html/admin/modules/sysadmin/hooks/ show 644 permissions as mentioned above.
rebooted just for fun. no change to permissions in the hooks directory…
run fwconsole chown and permissions are then set properly.
The sysadmin module was NOT installed at all. I had to install it. I checked for the existance of /var/www/html/admin/modules/sysadmin after installing from the ISO and it didn’t exist. Freepbx module admin showed “Not Installed (Available Online)”.
Well… I’ve confirmed this, and I’m chasing up why it’s happening. Sorry about that! I don’t know if it’s an ISO issue, or something we can fix without making you download another ISO, but I’m caring about it 8-\
Thank you! I’ll update again when I figure out what’s going on.
Edit: Fixed! Was a bad RPM. Reinstalling now and everything installs properly!
In 2018 this problem is very much still present. I’ve been trying to install a fresh copy into VM via freepbx install ISO. Everything install ok. The problem starts with activation… The system cannot be activated no matter which asterisk distro i choose to install at start. It gets deployment ID and when I try to activate it, it only loads about:blank. System is not activated. Trying to activate it via console using fwconsole fails as it cannot find any existing deployment. Manually activating machine with given ID goes through, but the webpage still wants to activate the machine. The DNS is resolving everything, the machine is connected to internet (I can upade it without a problem). I’ve pretty much given up on this as it seems that the problem is known but not solved for some reason. I’d say out of the box installation and activation on a WORKING fresh machine should be almost seamless. I cannot pass activation…wow.