Cronify icon indicating copy to clipboard operation
Cronify copied to clipboard

Undefined table: 7 ERROR: relation "user" does not exist

Open sined79 opened this issue 2 years ago • 1 comments

image Hello,

From step 5 described in the cronify README (docker-compose.yml), everything works well until user login (/admin) where I get this Symfony DB error after atempting to connect with [email protected] user :

"An exception occurred while executing a query: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "user" does not exist LINE 1: ....roles AS roles_3, t0.password AS password_4 FROM "user" t0 ..."

I followed the doc, but maybe I missed a step? If it's the case, sorry for my issue.

Thankyou for all your work ! It's wonderful :)

Regards,

sined79 avatar Mar 29 '22 13:03 sined79

@sined79 I got the same error. After make install, the migrations was not executed. According to Docker, I change the DATABASE_URL on the env file by DATABASE_URL="postgresql://symfony:ChangeMe@database:5432/app?serverVersion=13&charset=utf8". I ran the make install command again. And I created a user with the command symfony console app:create-user [email protected] password.

Hadrien45 avatar Apr 04 '22 10:04 Hadrien45