Freepbx suggest me to run "Fwconsole reload --verbose" when I click on red button "Apply Config"

Hi to all,

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.

any ideas?

regards.

Possible file permissions problem, what is the result of

 sudo -u asterisk fwconsole reload --verbose

If it is permissions, then you can usually resolve with

fwconsole chown
1 Like

Hello!

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 :frowning:

Did you manually change any users/permissions?

No man

Hi dude, i have the same problem since yesterday.
On Fryday everything was correct. What is the problem?

Probably there is a bug on some update!

Hello,

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?

Thank you,

Daniel Friedman
Trixton LTD.

3 Likes

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

Downloading…
0/19688539 [>---------------------------] 0%

19688539/19688539 [============================] 100%
Finished downloading
Extracting…Done
Download completed in 7 seconds
Create symlink…Done
Checking database tables…Done
Migrating tables as required…Done
Checking Settings and Defaults…Done
Generating Configs…Done
Downloading Firmware…Done (Background)
Generating CSS…Done
Module endpoint version 15.0.39.37 successfully installed
Updating Hooks…Done
Chowning directories…Done
All upgrades completed successfully!
Updating Hooks…Done
Chowning directories…Done

2 Likes

@danielf’s issue is due to EPM and resolved in Endpoint Manager versions v14.0.68.36, v15.0.39.37

I’m not sure if that also resolved your issue @mikele83, but glad its sorted.

2 Likes

@lgaetz solved :wink:

thank you @lgaetz for your prompt reply.

Thank you,

Daniel Friedman
Trixton LTD.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.