Upgraded from 5.2-->5.3 - Cant run App Defaults without error after Upgrade

rkbsimpsipper

Member
Jan 3, 2022
38
2
8
40
As stated, I pushed the upgrade using this method

When I run the app default it errors out the webui and displays this

Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /var/www/fusionpbx/resources/switch.php:304 Stack trace: #0 /var/www/fusionpbx/resources/switch.php(304): fwrite() #1 /var/www/fusionpbx/app/vars/app_defaults.php(216): save_var_xml() #2 /var/www/fusionpbx/resources/classes/domains.php(654): include('...') #3 /var/www/fusionpbx/core/upgrade/index.php(136): domains->upgrade() #4 {main} thrown in /var/www/fusionpbx/resources/switch.php on line 304

Line 304 has an entry fwrite as the error states, but I am unsure what I need to do.

Thanks for the help
KB
 

rkbsimpsipper

Member
Jan 3, 2022
38
2
8
40
I verified there were no differences in these php config files themselves, there are no changes from the rest of my servers. Could an issue like this be caused by not doing a versioning upgrade process? like from 5.1->5.2, then 5.2->5.3? Aside from this the only key difference in this deployment is its in a vps versus my own server farm. When I ran the upgrade it states the app defaults are ran, so I am wondering if this error is even worth my time? Thoughts?