NO BUTTONS
-
Hello I have this error
[root@localhost fop2]# /usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - Valid License (7)Can't exec "/usr/local/fop2/autoconfig-buttons.sh": Permission denied at script/fop2_server.pl line 580, <$CONFIG> line 1.
Connection to manager OK!My system is
Centos 6.5
Asterisk 12
freepbx 12 beta
FOP 2.28 finalRegards,
Marcelo -
How did you install FOP2? It seems files were copied across systems without preserving permissions. Check that you have the /usr/local/fop2/autoconfig-buttons.sh file and that it has execute permissions. If on doubt, assign execute permissions with the command
chmod a+x /usr/local/fop2/autoconf*.sh -
I've installed it from a tarball.
I've executed the command and the previous error disappeared.
I have no buttons on my screen.
I have this error:
[root@localhost fop2]# ./autoconfig-buttons.sh
! Cannot connect to Fo2 Manager database -
I've installed it from a tarball.
I've executed the command and the previous error disappeared.
I have no buttons on my screen.
I have this error:
[root@localhost fop2]# ./autoconfig-buttons.sh
! Cannot connect to Fo2 Manager database -
Did you run "make" or copied files by hand? The autoconf* scripts are bundled with execute permissions, so you shouldn't have the first issue at all. Anyways, now we made some progress.
Now onto the 2nd problem, perhaps FreePBX 12 beta does not store configuration details in the /etc/amportal.conf file or /etc/freepbx.conf file, that the autoconf scripts use in order to connect to the asterisk mysql database. Do you have those files? Do not paste their contents as is here as they contain sensitive information (like your mysql password!).
Try this:
cat /etc/amportal.conf | grep AMPDBNAMEand this:
cat /etc/freepbx.conf | grep AMPDBNAMEDoes it return anything?
-
This are the results
[root@localhost ~]# cat /etc/freepbx.conf | grep AMPDBNAME
$amp_conf['AMPDBNAME'] = 'asterisk';[root@localhost ~]# cat /etc/amportal.conf | grep AMPDBNAME
AMPDBNAME=asterisk -
-
Hello,
I've downgraded to version 2.27 and it is working fine.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login