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

db files ending up in build/prod/db/db instead of build/prod/db? #39

Open
franklouwers opened this issue May 6, 2021 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@franklouwers
Copy link

Hi,

I had a weird issue upgrading this morning: I was running an older version (March 2021 I believe), which was installed by git clone'ing this repo.

This morning I did a git pull, followed by a make prod and a restart of the comment-server.

When checking the site, I saw that no comments were loaded, and when logging in, I noticed a few PostgreSQL errors on the console. I quickly determined that the last few migrations hadn't run.

I then noticed that the .sql migration files were placed in ~/commentoplusplus/build/prod/db/db, while the other (March) sql files where in ~/commentoplusplus/build/prod/db.

After I copied all .sql files from the db/db dir to the db dir, and kicked the server, everything ran.

@souramoo souramoo added bug Something isn't working good first issue Good for newcomers labels Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants