Empty DB with install scripts

Ransack2316

New Member
Jul 17, 2025
2
0
1
31
Tried to install from master a few days back. This is on a Raspberry Pi 4 with their build of Debian Bookworm. PHP 8.2.

Ran fusionpbx-install.sh scripts. Had a few errors, corrected those (as in I re-imaged the machine each time to do it because idk about the idempotency of the install scripts), and finally got the login screen. Logged in and got a PHP stacktrace pretty early, like 4 calls in. Something about a database property being null. Ran \dt in psql. Nothing... Somehow whatever seeds the database did not run. I did not find any error in Postgres logs, but I am also not sure that I was comprehensive enough in ruling out Postgres.

As a last effort, I tried running the upgrade script, but it seemed to just output an array continuously in a loop. Had to move forward with a basic FreeSWITCH install instead for this project.

Any tips on what I should be looking for or checking to make sure the database schema gets initialized?
 
There was a discussion on this in the forums recently, I managed to successfully install on a Pi and posted details here. I meant to submit some proper pull requests but haven't had the time yet.
 
I think my issue may be different. I had already made the necessary changes to have PHP 8.2 set up. I was a little surprised that the scripts skipped 8.2 in the first place since, if I remember correctly, 8.3 and 8.4 were there.

I got all the way to the point where I could go to the login page, but upon logging in, I get the DB null error.

Somehow the DB was never seeded during the installation, but nothing stood out to me as being obviously related to DDL errors or anything like that. I just kept getting the "call to method on a null object" or whatever.

FusionPBX is overkill for the project I'm working on anyway. It's a lot of extra deps to manage when a simple FreeSWITCH install with Postgres will work just fine.