Error accessing debian 11 interface

Status
Not open for further replies.

dbbrito

Member
Oct 27, 2021
44
1
8
45
Friends, I installed fusion on debian11 and when accessing the interface I came across the error:

error: SQLSTATE[08006] [7] FATAL: database "{database_name}" does not exist

Thanks and regards
 
Sounds like a failed installation. Do you still have the log from that installation? Most people won't unless they copy and paste it to a file.

As a complete guess, you already had PostgreSQL partially set up? Do you have anything in PostgreSQL?
 
Look in /etc/fusionpbx at the config file you may be able to put the correct db in there, you may need to change the config.lua too
 
It really is an error in the script, see that it recorded the wrong name in config.conf I think the variable $ was missing
database.0.name = {database_name}
 
Last edited:
Recent changes have required me to work on the FusionPBX. Issue reported by dbbrito is fixed. There is still likely a few other things to fix. I'll be doing another test install soon.
 
Now I can see the login screen, now the errors appear:
Warning: Invalid argument supplied for foreach() in /var/www/fusionpbx/resources/classes/domains.php on line 458

Warning
: Invalid argument supplied for foreach() in /var/www/fusionpbx/resources/classes/domains.php on line 464

Is it because I'm using AWS?
 
Is it because I'm using AWS?[/B]

No, it is because Mark is making major changes right now to the installer script and it has thrown up a few unforseen problems, he is busy nailing them right now though. Just be patient, it will soon be fixed.
 
The install is working again. Did see an error but it minor because the settings are there when I logged in.
 
Status
Not open for further replies.