Invoice Ninja Setup problem

I have installed invoice ninja for several years, but yesterday suddenly the “Invoice Ninja Setup” screen appeared and I don’t know how to solve it.
Why does it ask me to install something that is already installed?

This is the beginning of the page:

Invoice Ninja Setup
If you need help you can either post to our support forum or email us at contact@invoiceninja.com.
– Commands to create a MySQL database and user
CREATE SCHEMA ninja DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER ‘ninja’@‘localhost’ IDENTIFIED BY ‘ninja’;
GRANT ALL PRIVILEGES ON ninja.* TO ‘ninja’@‘localhost’;
FLUSH PRIVILEGES;

I hope someone can guide me to solve this problem.
First of all, Thanks

Hi.

Is it possible something changed on your server, for example maybe the PHP version?

No. I already checked that and that is not the problem. The PHP version remains the same.

I suggest confirming that the database credentials in the .env file can be used to access the database.

I already did. They are correct, but the problem continues.

I’m not sure, you may want to try setting up a clean install of the app and then copying over the database and .env file.

The truth is, I’m not an expert, I didn’t want to try that solution so as not to risk losing the existing records (that’s why I hadn’t wanted to update to a more current version) but I think I’ll have no choice but to try it.
Thank you.

To be clear, I’m suggesting that you setup a new install which is separate from your current install.

Yeah. This is what I’m going to do.
Thanks.