evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

Error on create instance

Open michaelloliveira opened this issue 11 months ago • 7 comments

Welcome!

  • [x] Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Image

What did you expect?

Erro on click Save button

What did you observe instead of what you expected?

Image

Screenshots/Videos

No response

Which version of the API are you using?

2.2.3

What is your environment?

Windows

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

michaelloliveira avatar Feb 21 '25 21:02 michaelloliveira

same error here!

IsaelVVI avatar Feb 22 '25 00:02 IsaelVVI

Same here

andrefelipe18 avatar Feb 23 '25 21:02 andrefelipe18

Fixed! run again migration db

michaelloliveira avatar Feb 24 '25 18:02 michaelloliveira

Fixed! run again migration db

where was it fixed? because there were no changes in the main or develop branches, and this error occurs in both when using a new clean installation using mysql.

IsaelVVI avatar Feb 24 '25 19:02 IsaelVVI

I solved it by downloading the code in the develop branch and personally fixing the migrations

IsaelVVI avatar Feb 24 '25 19:02 IsaelVVI

Hello. I have the same error (with mysql too). How I can solve this in docker v2.2.3 ???

leocharrua avatar May 11 '25 01:05 leocharrua

I'm trying to generate the docker image from the develop brunch, but I get this error on the 'npm install' step:

npx prisma generate --schema=prisma/postgresql-schema.prisma && npx prisma migrate deploy --schema=prisma/postgresql-schema.prisma Error: Could not load --schema from provided path prisma/postgresql-schema.prisma: file or directory not found npm error code 1 npm error path /evolution npm error command failed npm error command sh -c npx prisma generate --schema=prisma/postgresql-schema.prisma && npx prisma migrate deploy --schema=prisma/postgresql-schema.prisma

leocharrua avatar May 11 '25 02:05 leocharrua