I’ve uploaded freebox modules but after reboot when I click on the red button “Apply config” the popup appear: “Unknown Error. Please Run: fwconsole reload --verbose”
So I go to console as root and the command success.
But it is annoing because evere time I make one modify through GUI I have to rerun the command in console.
if I exec this command as root: [root@freepbx ~]# sudo -u asterisk fwconsole reload --verbose
I obtain this:
Reload Started
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Reload Complete
so… I executed this: [root@freepbx ~]# fwconsole chown
and I obtained these:
Setting Permissions…
Setting base permissions…Done in 5 seconds
Setting specific permissions…
53451 [============================]
Finished setting permissions
Now, if I go back GUI and click again on red button “Apply Config” the problem remains
I had a similar problem on a new installation of Freepbx15 a few days ago (“Unknown Error. Please Run: fwconsole reload --verbose”) that was not activated. After a regular module update and a system update (yum update), I got this error in the GUI, but was able to reload through fwconsole cli. I also saw on the fwconsole cli that the system is trying to set the LC_CTYPE system parameter with no luck upon reloading (fwconsole reload). I suspected that it was because one of the commercial module (probably the endpoint manager but I am not sure) and after a successful activation, I was able to apply the changes through the GUI.
I did not think that it was a bug at the time, but now I see that there is definitely a new system behavior on the modules repository and the Zend encryption system. probably due to the recent changes on the module repositories. @lgaetz, @mfredrickson would you mind take a look at that?
Hi to all, today I’ve updated freepbx and voilà! The problem is resolved:
[root@freepbx ~]# fwconsole ma upgradeall
No repos specified, using: [standard] from last GUI settings
Module(s) requiring upgrades: endpoint
Upgrading module ‘endpoint’ from 15.0.39.36 to 15.0.39.37
Downloading module ‘endpoint’
Processing endpoint