Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sined79 opened this issue Mar 29, 2022 · 1 comment
Open

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

sined79 opened this issue Mar 29, 2022 · 1 comment

Comments

@sined79
Copy link

sined79 commented Mar 29, 2022

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,

@Hadrien45
Copy link

Hadrien45 commented Apr 4, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants