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

[Unable to migrate] Migration not found #242

Open
Pheggas opened this issue May 9, 2022 · 6 comments
Open

[Unable to migrate] Migration not found #242

Pheggas opened this issue May 9, 2022 · 6 comments

Comments

@Pheggas
Copy link

Pheggas commented 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)

@SiM22
Copy link

SiM22 commented Jun 14, 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.

@Pheggas
Copy link
Author

Pheggas commented Jun 14, 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.

@skahl
Copy link

skahl commented Jun 17, 2022

Push please!

@Gondolindrim
Copy link

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
Copy link

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

@meltyshev
Copy link
Member

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: #139.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants