Settings not aplied

Hi There,

I’m using the latest FreePBX distro (10.13.66-2), and the last days I’ve got some issues.
When i make a change, and click on the apply changes button, everything seems to be OK.
Asterisk says that it has been reloaded, but the changes did not apply.

In the folder /var/www/html/admin/modules/core/etc/ the files are not changed…
Am i doing something wrong? Core module version is 13.0.1alpha18

The files will never change in the folder you are referencing. Files are changed in /etc/asterisk for non symlinked files. I’m pretty sure everything is working correctly for you.

My mistake, I wasn’t looking at the _additional files in /etc/asterisk.
I’ve made a change in a queue, and did a reload. Al the files in /etc/asterisk are still have changed may 8… The only file reflecting the right time is disa-1.conf.

Are the permissions on the files correct? Have you tried to run fwconsole chown?

Yes, done that.
Files are all from the same owner and rights are OK.
Still only disa-1.conf is changed after an “apply config”

I just updated the parkpro module, so that all modules are up to date, but now it states that I’ve got 85 tampered files?

   Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/browser_download.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/button_pause_green.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/button_play_green.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/mail.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/pause_control.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/play_control.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/play_controls.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/settings.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/images/trash.png missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/js/global.js missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/assets/less/bootstrap.less missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/footer.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/greetings.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/header.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/mailbox.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/nav.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/settings.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/views/vmx.php missing"
Module: "Voicemail", File: "/var/www/html/admin/modules/voicemail/ucp/Voicemail.class.php missing"
Module: "Call Forward", File: "/var/www/html/admin/modules/callforward/ucp/assets/js/global.js missing"
Module: "Call Forward", File: "/var/www/html/admin/modules/callforward/ucp/Callforward.class.php missing"
Module: "Call Forward", File: "/var/www/html/admin/modules/callforward/ucp/views/settings.php missing"
Module: "Call Waiting", File: "/var/www/html/admin/modules/callwaiting/ucp/assets/js/global.js missing"
Module: "Call Waiting", File: "/var/www/html/admin/modules/callwaiting/ucp/Callwaiting.class.php missing"
Module: "Call Waiting", File: "/var/www/html/admin/modules/callwaiting/ucp/views/settings.php missing"
Module: "Do-Not-Disturb (DND)", File: "/var/www/html/admin/modules/donotdisturb/ucp/assets/js/global.js missing"
Module: "Do-Not-Disturb (DND)", File: "/var/www/html/admin/modules/donotdisturb/ucp/Donotdisturb.class.php missing"
Module: "Do-Not-Disturb (DND)", File: "/var/www/html/admin/modules/donotdisturb/ucp/views/settings.php missing"
Module: "Follow Me", File: "/var/www/html/admin/modules/findmefollow/ucp/assets/js/global.js missing"
Module: "Follow Me", File: "/var/www/html/admin/modules/findmefollow/ucp/Findmefollow.class.php missing"
Module: "Follow Me", File: "/var/www/html/admin/modules/findmefollow/ucp/views/settings.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/delete.png missing"
Module:
 "Fax Configuration Professional", File: 
"/var/www/html/admin/modules/faxpro/ucp/assets/images/fax_binoculars.png
 missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/fax_delete.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/fax_diskette.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/fax.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/fax_right.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/new.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/settings.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/images/trash.png missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/js/global.js missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/assets/less/bootstrap.less missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/Faxpro.class.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/views/footer.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/views/header.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/views/mailbox.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/views/nav.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/views/send.php missing"
Module: "Fax Configuration Professional", File: "/var/www/html/admin/modules/faxpro/ucp/views/settings.php missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/assets/images/status_away.png missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/assets/images/status_busy.png missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/assets/images/status_offline.png missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/assets/images/status.png missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/assets/js/global.js missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/assets/less/bootstrap.less missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/Presencestate.class.php missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/views/settings.php missing"
Module: "Presence State", File: "/var/www/html/admin/modules/presencestate/ucp/views/statusesMenu.php missing"
Module: "EndPoint Manager", File: "/var/www/html/admin/modules/endpoint/ucp/assets/js/admin.js missing"
Module: "EndPoint Manager", File: "/var/www/html/admin/modules/endpoint/ucp/assets/js/global.js missing"
Module: "EndPoint Manager", File: "/var/www/html/admin/modules/endpoint/ucp/assets/less/bootstrap.less missing"
Module: "EndPoint Manager", File: "/var/www/html/admin/modules/endpoint/ucp/Endpoint.class.php missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/assets/js/global.js missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/assets/less/bootstrap.less missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/Conferencespro.class.php missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/views/main.php missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/views/nav.php missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/views/settings.php missing"
Module: "Conference Pro", File: "/var/www/html/admin/modules/conferencespro/ucp/views/view.php missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/assets/js/global.js missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/assets/less/bootstrap.less missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/Contactmanager.class.php missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/views/contact.php missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/views/contactro.php missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/views/contacts.php missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/views/groupcreate.php missing"
Module: "Contact Manager", File: "/var/www/html/admin/modules/contactmanager/ucp/views/nav.php missing"
Module: "XMPP", File: "/var/www/html/admin/modules/xmpp/ucp/assets/js/global.js missing"
Module: "XMPP", File: "/var/www/html/admin/modules/xmpp/ucp/assets/less/bootstrap.less missing"
Module: "XMPP", File: "/var/www/html/admin/modules/xmpp/ucp/Xmpp.class.php missing"
Module: "Call Event Logging", File: "/var/www/html/admin/modules/cel/ucp/assets/js/global.js missing"
Module: "Call Event Logging", File: "/var/www/html/admin/modules/cel/ucp/assets/less/bootstrap.less missing"
Module: "Call Event Logging", File: "/var/www/html/admin/modules/cel/ucp/Cel.class.php missing"
Module: "Call Event Logging", File: "/var/www/html/admin/modules/cel/ucp/views/results.php missing"
Module: "Call Event Logging", File: "/var/www/html/admin/modules/cel/ucp/views/view.php missing"

Running refreshsignatures is also giving an error:
[[email protected] asterisk]# fwconsole moduleadmin refreshsignatures
Getting Data from Online Server…
Done
Checking Signatures of Modules…
Checking accountcodepreserve…
PHP Fatal error: Class ‘GPG’ not found in /var/www/html/admin/libraries/Console/Moduleadmin.class.php on line 617

You’ve got some serious errors with this system. Missing the GPG class will break almost anything. You are missing a ton of files. Almost like half of your web root has been deleted.

I haven’t deleted anything myself, just applied the updates almost every day…

Is there a way to fix the GPG class, so i can rerun a check?

Please run:

ls -l /var/www/html/admin/libraries/BMO

and paste the results here.

[[email protected] asterisk]# ls -l /var/www/html/admin/libraries/BMO
total 316
-rw-r–r-- 1 asterisk asterisk 3998 May 13 08:37 86CE877469D2EAD9.key
-rw-r–r-- 1 asterisk asterisk 3937 May 13 08:37 9F9169F4B33B4659.key
-rw-r–r-- 1 asterisk asterisk 10801 May 13 08:37 Ajax.class.php
-rw-r–r-- 1 asterisk asterisk 4422 May 13 08:37 BMO.interface.php
-rw-r–r-- 1 asterisk asterisk 3757 May 13 08:37 Codecs.class.php
-rw-r–r-- 1 asterisk asterisk 1268 May 13 08:37 Config.class.php
-rw-r–r-- 1 asterisk asterisk 5256 May 13 08:37 ConfigFile.class.php
-rw-r–r-- 1 asterisk asterisk 6885 May 13 08:37 Cron.class.php
-rw-r–r-- 1 asterisk asterisk 2350 May 13 08:37 Curl.class.php
-rw-r–r-- 1 asterisk asterisk 6497 May 13 08:37 Database.class.php
-rw-r–r-- 1 asterisk asterisk 13479 May 13 08:37 DB_Helper.class.php
-rw-r–r-- 1 asterisk asterisk 5520 May 13 08:37 DialplanHooks.class.php
-rw-r–r-- 1 asterisk asterisk 3723 May 13 08:37 FileHooks.class.php
-rw-r–r-- 1 asterisk asterisk 1085 May 13 08:37 Framework.class.php
-rw-r–r-- 1 asterisk asterisk 3182 May 13 08:37 FreePBX.class.php
-rw-r–r-- 1 asterisk asterisk 49671 May 13 08:37 Freepbx_conf.class.php
-rw-r–r-- 1 asterisk asterisk 20264 May 13 08:37 GPG.class.php
-rw-r–r-- 1 asterisk asterisk 8696 May 13 08:37 GuiHooks.class.php
-rw-r–r-- 1 asterisk asterisk 6827 May 13 08:37 Hooks.class.php
-rw-r–r-- 1 asterisk asterisk 3198 May 13 08:37 Installer.class.php
-rw-r–r-- 1 asterisk asterisk 7234 May 13 08:37 Less.class.php
-rw-r–r-- 1 asterisk asterisk 7634 May 13 08:37 LoadConfig.class.php
-rw-r–r-- 1 asterisk asterisk 6078 May 13 08:37 Modules.class.php
-rw-r–r-- 1 asterisk asterisk 3727 May 13 08:37 ModulesConf.class.php
-rw-r–r-- 1 asterisk asterisk 18090 May 13 08:37 Notifications.class.php
-rw-r–r-- 1 asterisk asterisk 7514 May 13 08:37 OOBE.class.php
-rw-r–r-- 1 asterisk asterisk 4892 May 13 08:37 Performance.class.php
-rw-r–r-- 1 asterisk asterisk 19527 May 13 08:37 PKCS.class.php
-rw-r–r-- 1 asterisk asterisk 6461 May 13 08:37 Request_Helper.class.php
-rw-r–r-- 1 asterisk asterisk 2409 May 13 08:37 Search.class.php
-rw-r–r-- 1 asterisk asterisk 8162 May 13 08:37 Self_Helper.class.php
-rw-r–r-- 1 asterisk asterisk 2230 May 13 08:37 Unlock.class.php
-rw-r–r-- 1 asterisk asterisk 1751 May 13 08:37 View.class.php
-rw-r–r-- 1 asterisk asterisk 5505 May 13 08:37 WriteConfig.class.php

This morning I’ve installed the latest FreePBX framework update (13.0.1alpha45).
Now i can run a refreshsignatures, It’s resulting with no errors.
In the dashboard the error’s are also gone.

Only problem that remains is that only 1 file is edited in /etc/asterisk. resulting in settings not being applied…

I have two test systems and two dev systems. All are generating configurations correctly.

mmm, really strange…
Is there a way to do some debugging, to see what is happening when pressing “apply config”?