Dashboard not showing fresh Install

mobi

New Member
Aug 18, 2024
9
2
3
53
Hi guys i need help with fresh install on debian 12 after installation when i login to dashboard it is empty after accepting username and password , i found a old post wher eit was suggested to run this command ,i see errors showing ,can someone guide how to fix it?


php /var/www/fusionpbx/core/upgrade/upgrade.php

Upgrade
-----------------------------------------

Database
Schema: No Change

PHP Fatal error: Uncaught Error: Cannot use object of type settings as array in /var/www/fusionpbx/app/sofia_global_settings/app_defaults.php:11
Stack trace:
#0 /var/www/fusionpbx/resources/classes/domains.php(654): include()
#1 /var/www/fusionpbx/core/upgrade/upgrade.php(280): domains->upgrade()
#2 {main}
thrown in /var/www/fusionpbx/app/sofia_global_settings/app_defaults.php on line 11

Fatal error: Uncaught Error: Cannot use object of type settings as array in /var/www/fusionpbx/app/sofia_global_settings/app_defaults.php:11
Stack trace:
#0 /var/www/fusionpbx/resources/classes/domains.php(654): include()
#1 /var/www/fusionpbx/core/upgrade/upgrade.php(280): domains->upgrade()
#2 {main}
thrown in /var/www/fusionpbx/app/sofia_global_settings/app_defaults.php on line 11
 
This issue has been fixed. A new install should work correctly.

Or you can run the following commands.
cd /var/www/fusionpbx
git pull
php core/upgrade/upgrade.php

Once you run upgrade.php you shouldn't see the error again.
 
  • Like
Reactions: mdriaz
I just finished a new install on Debian 12 to confirm it is working correctly again.

The install seems to have gone well and FreeSWITCH installed fine.
 
  • Like
Reactions: mdriaz