InvoiceNinja v4 errors

Hi!

I’m trying to log in to my invoicenina v4 and looks like the .env got deleted. I just created a fresh installation (with the same old database so I don’t loose any data) and I can’t log in any more.

I get the error:

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

My .env:

APP_ENV=development
APP_DEBUG=false
APP_URL=http://facturacion.domain.com/public
APP_KEY=SomeRandomStringSomeRandomString
APP_CIPHER=AES-256-CBC
APP_LOCALE=en

MULTI_DB_ENABLED=true
MULTI_DB_CACHE_ENABLED=true

DB_TYPE=mysql
DB_STRICT=false
DB_HOST=localhost
DB_USERNAME=domain_factura
DB_PASSWORD=domain_facturacion
DB_PASSWORD=pass

MAIL_DRIVER=log
TRAVIS=true
API_SECRET=password
[email protected]
[email protected]

Hi,

I suggest confirming that the database credentials are correct.

Hi! The credentials are Ok

I’m not sure, that’s the only reason I’m aware of for that error.

Do you see the accounts table when accessing the database?

The database looks OK. I’m not sure what to do now.