-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Issue -the following files are missing: 20180721234154_create_project_membership_table.js #238
Comments
same here, and sadly for me I tried to exec into the container and run Edit: this saved me: #139 (comment) |
|
The procedure worked for me without any errors. However, when restarting the web container, it still complains about the missing migration and hence does not boot. As the container keeps running (instead of dying), I was able to download the migration again: docker-compose exec planka sh
# Within the container:
/app $ cd db
/app/db $ wget https://raw.githubusercontent.com/plankanban/planka/d6cb1f6683774ffa52012f42b6483a8a93e704d1/server/d
b/migrations/20180721234154_create_project_membership_table.js -P migrations Data seems to be still intact after these procedures. |
A kind reminder to make database backups 🙂 NOW=$(date +"%d%m%yT%T")
PLANKA_DB_PASSWORD="<DB Password Here>"
docker exec -i planka /bin/bash -c "PGPASSWORD=$PLANKA_DB_PASSWORD pg_dump --username planka planka" > dump_$NOW.bak |
I am getting the following error from the latest docker (1.13).
Error: The migration directory is corrupt, the following files are missing: 20180721234154_create_project_membership_table.js
The text was updated successfully, but these errors were encountered: