souramoo/commentoplusplus

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

Offen

#39 geöffnet am 06.05.2021

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (67 Forks)user submission
buggood first issue

Repository-Metriken

Stars
 (433 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide