Error install VitXi

Hi Folks.
Iam trying to install vitxi but on the browser screen i have this error:
Could not connect. Please check your settings.

On the cli i try to do:
php artisan logs:clear && php artisan app:fix-permissions
php artisan migrate:fresh --force
php artisan websockets:ssl-config
systemctl restart vitxi && systemctl restart vitxi-worker

on the php artisan migrate:fresh --force i get the result:
2020_05_20_200419_create_groups_table … 12.82ms FAIL
In Factory.php line 864:
Class “Database\Factories\GroupFactory” not found



I hope someone help me.

Hi Sir!

It seems that the installation is corrupted, could you please check if this VitXi version is 4.5.0-4,

Best Regards,

Yes!
The version is: 4.5.0-4
I cant do new installation, the server is in production.
How Can I verify the database?

Att

I am running into a server cant connect error also on 4.5.0-4
I am helping a friend get his new VitalPBX up and running.


None of the Vitxi CLI commands have fixed the problem. I have uninstalled and reinstalled multiple times.

We would like to review the issue in detail, I sent you a private message

Please send a screenshot (make sure to hide any sensitive information) of the latest log file located at /usr/share/vitxi/backend/storage/logs/

Unable to see any logs at that location

Have you set a password for the root user of the database?

I have a root user and pw for the OS, I haven’t specifically set one for the db; unless the installation does that. Im sorry, I am windows guy, so I am learning Linux as I go. Normally when I install Vital and then open up the Vitxi it has me set the un/pw for the db for the install, however this time it shows it can’t connect to the server as you see in the picture.

Hi i have same error on fresh install

Hello everyone!

We’ve rebuilt the latest version to fix this issue. Please follow the steps below to apply the fix:

  1. Go to the Addons module in VitalPBX.
  2. Click the “Check Online” button.
  3. Find the VitXi addon and click “Reinstall”.
  4. Once reinstalled, run the following commands in the terminal:

sudo chown -R www-data:www-data /usr/share/vitxi/backend/*
vitxi optimize && vitxi logs:clear
systemctl enable vitxi && systemctl start vitxi
systemctl enable vitxi-worker && systemctl start vitxi-worker
firewall-cmd --permanent --zone=public --add-port=8089/tcp
firewall-cmd --reload

Finally, reload VitXi and complete the setup wizard.

Thanks Maynor for remote support

I tried the solution listed and it didn’t resolve our issue. Still seeing Cant Connect. What next?

Only if it is a new installation, run: vitxi migrate:fresh

Then try to complete the wizard,

Greetings,

Maynor,
That did it, working now!
Thank You so much for all that you do, we appreciate the time you dedicate to the forums.
John

That’s great to hear, glad it worked!

I really appreciate your kind words. It’s always a pleasure to help out. Don’t hesitate to reach out if anything else comes up!

Best regards,