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

Update from deprecated versions #513

Closed
ivanbarsukov opened this issue Sep 26, 2023 · 2 comments
Closed

Update from deprecated versions #513

ivanbarsukov opened this issue Sep 26, 2023 · 2 comments

Comments

@ivanbarsukov
Copy link

My server was abandoned for years and now I want to update planka or maybe export data from old version and import to current. Is there any way to safe migrate from 0.1.6?

Migrator log:

planka_1    | /app/node_modules/knex/lib/migrations/migrate/Migrator.js:566
planka_1    |     throw new Error(
planka_1    |           ^
planka_1    | 
planka_1    | Error: The migration directory is corrupt, the following files are missing: 20180721234154_create_project_membership_table.js
planka_1    |     at validateMigrationList (/app/node_modules/knex/lib/migrations/migrate/Migrator.js:566:11)
planka_1    |     at Migrator.latest (/app/node_modules/knex/lib/migrations/migrate/Migrator.js:69:7)
planka_1    |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
planka_1    |     at async /app/db/init.js:11:5
@meltyshev
Copy link
Member

An example of updating (from 0.1.6 to 1.0.0) can be found here: #139 (comment). Hope this helps, and then Planka should update automatically to the latest version via migrations.

@ivanbarsukov
Copy link
Author

Thank you!

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

2 participants