Reload failed because retrieve_conf encountered an error: 1

Hello community! I was doing Module Updates and it did not complete. I tried again and it completed, Now when I click on "Apply Changes’ I get an error:

exit: 1
Unable to continue. file_put_contents(/opt/isymphony3/server/jvm.args): failed to open stream: Permission denied in /var/www/html/admin/modules/cxpanel/Cxpanel.class.php on line 77
#0 [internal function]: Whoops\Run->handleError(2, ‘file_put_conten…’, ‘/var/www/html/a…’, 77, Array)
#1 /var/www/html/admin/modules/cxpanel/Cxpanel.class.php(77): file_put_contents(’/opt/isymphony3…’, ‘’)
#2 /var/www/html/admin/libraries/BMO/FileHooks.class.php(97): FreePBX\modules\Cxpanel->genConfig()
#3 /var/www/html/admin/libraries/BMO/FileHooks.class.php(26): FreePBX\FileHooks->processNewHooks()
#4 /var/lib/asterisk/bin/retrieve_conf(877): FreePBX\FileHooks->processFileHooks(Array)
#5 {main}

I don’t know if it’s related, but maybe worth mentioning I had previously altered “one_touch_recording.php” in accordance with this tech doc:

http://docs.getisymphony.com/display/ISYMKB/Recording+button+does+not+create+recording

fwconsole ma list

No repos specified, using: [standard,extended,commercial,unsupported] from last GUI settings

±---------------------±-----------±--------±------------+
| Module | Version | Status | License |
±---------------------±-----------±--------±------------+
| accountcodepreserve | 13.0.2.2 | Enabled | GPLv2 |
| amd | 13.0.2 | Enabled | GPLv3+ |
| announcement | 13.0.7.7 | Enabled | GPLv3+ |
| areminder | 14.0.4.4 | Enabled | Commercial |
| arimanager | 13.0.4 | Enabled | GPLv3+ |
| asterisk-cli | 14.0.1 | Enabled | GPLv3+ |
| asteriskinfo | 13.0.7.1 | Enabled | GPLv3+ |
| backup | 14.0.10.1 | Enabled | GPLv3+ |
| blacklist | 14.0.1 | Enabled | GPLv3+ |
| broadcast | 14.0.1.11 | Enabled | Commercial |
| builtin | | Enabled | |
| bulkhandler | 13.0.14.8 | Enabled | GPLv3+ |
| calendar | 14.0.2.7 | Enabled | GPLv3+ |
| callback | 13.0.5.3 | Enabled | GPLv3+ |
| callerid | 13.0.8.14 | Enabled | Commercial |
| callforward | 14.0.1.3 | Enabled | AGPLv3+ |
| calllimit | 13.0.5.7 | Enabled | Commercial |
| callrecording | 14.0.11 | Enabled | AGPLv3+ |
| callwaiting | 14.0.1.1 | Enabled | GPLv3+ |
| campon | 13.0.4.1 | Enabled | GPLv3+ |
| cdr | 14.0.5.16 | Enabled | GPLv3+ |
| cel | 14.0.2.10 | Enabled | GPLv3+ |
| certman | 14.0.3.1 | Enabled | AGPLv3+ |
| cidlookup | 14.0.1.7 | Enabled | GPLv3+ |
| conferences | 13.0.23.13 | Enabled | GPLv3+ |
| conferencespro | 14.0.2.8 | Enabled | Commercial |
| configedit | 13.0.7.1 | Enabled | AGPLv3+ |
| contactmanager | 14.0.4.12 | Enabled | GPLv3+ |
| core | 14.0.18.45 | Enabled | GPLv3+ |
| cos | 13.0.12.2 | Enabled | Commercial |
| customappsreg | 13.0.5.5 | Enabled | GPLv3+ |
| cxpanel | 14.0.2 | Enabled | GPLv3 |
| dahdiconfig | 14.0.1.3 | Enabled | GPLv3+ |
| dashboard | 14.0.4.2 | Enabled | AGPLv3+ |
| daynight | 14.0.1 | Enabled | GPLv3+ |
| dictate | 13.0.5 | Enabled | GPLv3+ |
| digium_phones | 13.0.7.4 | Enabled | GPLv2 |
| digiumaddoninstaller | 13.0.1.1 | Enabled | GPLv2 |
| directory | 13.0.19.8 | Enabled | GPLv3+ |
| disa | 13.0.6.11 | Enabled | AGPLv3+ |
| donotdisturb | 14.0.1.1 | Enabled | GPLv3+ |
| dundicheck | 2.11.0.3 | Enabled | GPLv3+ |
| endpoint | 14.0.2.179 | Enabled | Commercial |
| extensionroutes | 13.0.10.7 | Enabled | Commercial |
| extensionsettings | 13.0.4 | Enabled | GPLv3+ |
| fax | 14.0.2.6 | Enabled | GPLv3+ |
| faxpro | 14.0.5 | Enabled | Commercial |
| featurecodeadmin | 13.0.6.4 | Enabled | GPLv3+ |
| findmefollow | 14.0.1.21 | Enabled | GPLv3+ |
| firewall | 13.0.57.1 | Enabled | AGPLv3+ |
| framework | 14.0.5.25 | Enabled | GPLv2+ |
| freepbx_ha | 13.0.11 | Enabled | Commercial |
| fw_langpacks | 14.0.1 | Enabled | GPLv3+ |
| hotelwakeup | 14.0.1.4 | Enabled | GPLv2 |
| iaxsettings | 14.0.1.4 | Enabled | AGPLv3 |
| infoservices | 13.0.1.3 | Enabled | GPLv2+ |
| irc | 13.0.1 | Enabled | GPLv3+ |
| ivr | 14.0.4 | Enabled | GPLv3+ |
| languages | 14.0.1.3 | Enabled | GPLv3+ |
| logfiles | 13.0.10.5 | Enabled | GPLv3+ |
| manager | 13.0.2.5 | Enabled | GPLv2+ |
| miscapps | 13.0.3.1 | Enabled | GPLv3+ |
| miscdests | 13.0.6 | Enabled | GPLv3+ |
| motif | 13.0.3.2 | Enabled | GPLv3+ |
| music | 13.0.22.5 | Enabled | GPLv3+ |
| outroutemsg | 13.0.2.1 | Enabled | GPLv3+ |
| paging | 14.0.8 | Enabled | GPLv3+ |
| pagingpro | 14.0.2.14 | Enabled | Commercial |
| parking | 13.0.19.10 | Enabled | GPLv3+ |
| parkpro | 14.0.2.6 | Enabled | Commercial |
| pbdirectory | 2.11.0.6 | Enabled | GPLv3+ |
| phonebook | 13.0.6.1 | Enabled | GPLv3+ |
| phpinfo | 13.0.2 | Enabled | GPLv2+ |
| pinsets | 13.0.12 | Enabled | GPLv3+ |
| pinsetspro | 13.0.9.13 | Enabled | Commercial |
| pm2 | 13.0.5.1 | Enabled | AGPLv3+ |
| pms | 14.0.2.28 | Enabled | Commercial |
| presencestate | 14.0.1.7 | Enabled | GPLv3+ |
| printextensions | 13.0.3.1 | Enabled | GPLv3+ |
| queuemetrics | 2.11.0.3 | Enabled | GPLv3+ |
| queueprio | 13.0.4 | Enabled | GPLv3+ |
| queues | 14.0.2.23 | Enabled | GPLv2+ |
| queuestats | 14.0.1.22 | Enabled | Commercial |
| qxact_reports | 14.0.7.12 | Enabled | Commercial |
| recording_report | 14.0.1.21 | Enabled | Commercial |
| recordings | 13.0.30.12 | Enabled | GPLv3+ |
| restapi | 13.0.21.1 | Enabled | AGPLv3 |
| restapps | 13.0.92.30 | Enabled | Commercial |
| ringgroups | 14.0.1.5 | Enabled | GPLv3+ |
| sangomacrm | 14.0.1.15 | Enabled | Commercial |
| setcid | 13.0.6.2 | Enabled | GPLv3+ |
| sipsettings | 14.0.27.7 | Enabled | AGPLv3+ |
| sipstation | 14.0.1.8 | Enabled | Commercial |
| sms | 14.0.4.6 | Enabled | Commercial |
| soundlang | 14.0.5 | Enabled | GPLv3+ |
| speeddial | 2.11.0.4 | Enabled | GPLv3+ |
| superfecta | 14.0.7 | Enabled | GPLv2+ |
| sysadmin | 14.0.26 | Enabled | Commercial |
| timeconditions | 14.0.2.16 | Enabled | GPLv3+ |
| tts | 13.0.10 | Enabled | GPLv3+ |
| ttsengines | 13.0.7.3 | Enabled | AGPLv3 |
| ucp | 14.0.3.1 | Enabled | AGPLv3+ |
| userman | 14.0.3.48 | Enabled | AGPLv3+ |
| vega | 14.0.3.12 | Enabled | Commercial+ |
| vmblast | 13.0.8 | Enabled | GPLv3+ |
| vmnotify | 14.0.1.2 | Enabled | Commercial |
| voicemail | 14.0.4.2 | Enabled | GPLv3+ |
| voicemail_report | 13.0.13.3 | Enabled | Commercial |
| vqplus | 14.0.1.21 | Enabled | Commercial |
| weakpasswords | 13.0.2 | Enabled | GPLv3+ |
| webcallback | 13.0.11.2 | Enabled | Commercial |
| webrtc | 14.0.3.8 | Enabled | GPLv3+ |
| xmpp | 14.0.1.19 | Enabled | AGPLv3 |
| zulu | 14.0.56.4 | Enabled | Commercial |
±---------------------±-----------±--------±------------+

I have the same issue. Did you resolve it already??

Hello @Seejay212,

The error:

Unable to continue. file_put_contents(/opt/isymphony3/server/jvm.args): failed to open stream: Permission denied in /var/www/html/admin/modules/cxpanel/Cxpanel.class.php on line 77

indicates that the asterisk user do not have permissions to create/update the file jvm.args.
Try to change the ownership on the admin directory like that:
chown -R asterisk.asterisk /var/www/html/admin

and then try to reinstall the module again.

Thank you,

Daniel Friedman
Trixton LTD.

Thanks for the reply @danielf.

I ran command

Alas, the error persists. When I uninstall iSymphony I’m able to “Apply Config” When reinstalling the module, I get the error as before when I click “Apply Config”.

Hopefully you have more advice! :slight_smile:

no dice. I can only “Apply Config” with the iSymphony module removed.

You need to give permissions to the file in error which is “/opt/isymphony3/server/jvm.args”

1 Like
chown -R asterisk.asterisk /opt/isymphony3

should get you close enough.

1 Like

Thanks @tm1000 that did it!

After changing permissions:

clicking “Apply Config” is successful now.

Thanks @cynjut !

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