[Unable to migrate] Migration not found #189

Closed
opened 2026-02-04 17:45:59 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @Pheggas on GitHub (May 9, 2022).

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)

Originally created by @Pheggas on GitHub (May 9, 2022). 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)`
Author
Owner

@SiM22 commented on GitHub (Jun 15, 2022):

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.

@SiM22 commented on GitHub (Jun 15, 2022): 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.
Author
Owner

@Pheggas commented on GitHub (Jun 15, 2022):

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.

@Pheggas commented on GitHub (Jun 15, 2022): 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.
Author
Owner

@skahl commented on GitHub (Jun 17, 2022):

Push please!

@skahl commented on GitHub (Jun 17, 2022): Push please!
Author
Owner

@Gondolindrim commented on GitHub (Aug 31, 2022):

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

@Gondolindrim commented on GitHub (Aug 31, 2022): 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...
Author
Owner

@Gondolindrim commented on GitHub (Aug 31, 2022):

Apparently I can update up until 0.1.6 , so maybe something happened at 1.0.0 that gives the error.

@Gondolindrim commented on GitHub (Aug 31, 2022): Apparently I can update up until `0.1.6` , so maybe something happened at `1.0.0` that gives the error.
Author
Owner

@meltyshev commented on GitHub (Sep 2, 2022):

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.

@meltyshev commented on GitHub (Sep 2, 2022): 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#189