planka
planka copied to clipboard
[Unable to migrate] Migration not found
Hello. I followed the steps in #139 to get my planka's data to latest version but i can't as i'm stuck on with knex migrate:up
. My backup missed the 20180721234154_create_project_membership_table.js
so i added it as mentioned in that steps. After downloading to migrations directory, i noticed it hasn't right permissions so i added executable permission for user, group and others to have the exact same permissions as other files. Now i tried to migrate up but without luck.
Migration "20180721234154_create_project_manager_table.js" not found. Error: Migration "20180721234154_create_project_manager_table.js" not found. at Migrator.up (/app/node_modules/knex/lib/migrations/migrate/Migrator.js:132:17) at processTicksAndRejections (node:internal/process/task_queues:96:5)
And for second file same error:
Migration "20180722001747_create_board_membership_table.js" not found. Error: Migration "20180722001747_create_board_membership_table.js" not found. at Migrator.up (/app/node_modules/knex/lib/migrations/migrate/Migrator.js:132:17) at processTicksAndRejections (node:internal/process/task_queues:96:5)
Why has there not been a code implementation to do an auto upgrade for those users still on an older version?
I tried all the sql related steps listed in other issues and I could not get it work, I gave up and returned to the original version I had. And if this is not implemented, I will genuinely start looking at exporting the DB and moving else where. The changes made were breaking changes and as far as I can see no effort has been made to facilitate the move to the newest version for your existing users.
My words. They tell us how they're back and actively developing but in fact, nearly no progress was made and it looks more like stagnation. I seriously needed to start over because the old database didn't let me upgrade itself and when I switched back, it just didn't work. Planka is awesome due to it's looks. Also has some major features that every kanban board should have but they're just unable to develop it. For now I'm just using it as it is and hope I could switch to something better or they start to take this project seriously.
Push please!
Same here. Trying to update to latest but had to fall back to 0.1.2
and had the migration error. Can't seem to get it to work...
Apparently I can update up until 0.1.6
, so maybe something happened at 1.0.0
that gives the error.
In the 1.0.0 release there were a lot of breaking changes, so it's a little bit hard to update from the beta. Please follow this thread for the fix: https://github.com/plankanban/planka/issues/139.