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
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
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?
 

dbbrito

Member
Oct 27, 2021
44
1
8
45
A completely clean install of debian 11, seems to be a problem with the install script.

fusion.jpeg
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
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
 

dbbrito

Member
Oct 27, 2021
44
1
8
45
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:

markjcrane

Active Member
Staff member
Jul 22, 2018
503
177
43
49
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.
 

dbbrito

Member
Oct 27, 2021
44
1
8
45
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?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
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.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
503
177
43
49
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.