Getting Error 255 after running restore and applying config

I’m getting a 255 error after trying to restore a config to a new machine without a previous config. I can’t find my exact error in any of the other discussions. I’m pretty new to Linux and could really use some help in resolving this. I don’t want to have to reinstall if not needed. This is my error:

Reload failed because retrieve_conf encountered an error: 255

exit: 255
Unable to continue. fopen(/var/www/html/admin/modules/cxpanel/main.log): failed to open stream: Permission denied in /var/www/html/admin/modules/cxpanel/lib/logger.class.php on line 42
#0 [internal function]: Whoops\Run->handleError(2, ‘fopen(/var/www/…’, ‘/var/www/html/a…’, 42, Array)
#1 /var/www/html/admin/modules/cxpanel/lib/logger.class.php(42): fopen(’/var/www/html/a…’, ‘w’)
#2 /var/www/html/admin/modules/cxpanel/ cxpanel_logger->open()
#3 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(95): cxpanel_get_config(‘asterisk’)
#4 /var/lib/asterisk/bin/retrieve_conf(866): FreePBX\DialplanHooks->processHooks(‘asterisk’, Array)
#5 {main}

please try run: “fwconsole chown” from linux shell.

1 Like

Thank you James, that seems to have fixed the issue.