Update from deprecated versions #359

Closed
opened 2026-02-04 18:41:47 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ivanbarsukov on GitHub (Sep 26, 2023).

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
Originally created by @ivanbarsukov on GitHub (Sep 26, 2023). 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 ```
Author
Owner

@meltyshev commented on GitHub (Sep 26, 2023):

An example of updating (from 0.1.6 to 1.0.0) can be found here: https://github.com/plankanban/planka/issues/139#issuecomment-871094096. Hope this helps, and then Planka should update automatically to the latest version via migrations.

@meltyshev commented on GitHub (Sep 26, 2023): An example of updating (from 0.1.6 to 1.0.0) can be found here: https://github.com/plankanban/planka/issues/139#issuecomment-871094096. Hope this helps, and then Planka should update automatically to the latest version via migrations.
Author
Owner

@ivanbarsukov commented on GitHub (Sep 27, 2023):

Thank you!

@ivanbarsukov commented on GitHub (Sep 27, 2023): Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#359