Database connection error

Hello,

The app was not loading and so I upgraded it to the latest version through softacalous and now its showing following error.

https://3web.in/billing/public/setup

==========
Error: app is already configured, backup then delete the .env file to re-run the setup

Its not able to connect to database.

Please help me out all my billing data is in it.

Hi,

Are you using MariaDB? I think this problem can be solved by upgrading to PHP 7.3 (Noteā€¦ not PHP 7.4).

Hello,
I have changed the php version to 7.3.24 but still the same, I have installed in a new directory through softacalous, its also getting the same error.

==============
https://3web.in/ninja/public/setup

Error: app is already configured, backup then delete the .env file to re-run the setup

Please help me.
Regards,
Ritesh

Are there any details about the error in storage/logs/laravel-error.log

Is it possible you changed the CLI PHP version but the web version is unchanged? You can use a phpinfo page to check.

Hey Ritesh how did you fix it? Looks like your URL for 3Web works! I am stuck in the same position.