mirror of
https://github.com/wekan/wekan.git
synced 2026-03-04 04:40:16 +01:00
Fix DB migration from 8.19 to 8.21 stuck forever.
Thanks to MaccabeeY and xet7 ! Fixes #6078
This commit is contained in:
parent
e177bf54e2
commit
a31a615da6
9 changed files with 869 additions and 71 deletions
|
|
@ -7,6 +7,8 @@ export const cronMigrationCurrentStep = new ReactiveVar('');
|
|||
export const cronMigrationSteps = new ReactiveVar([]);
|
||||
export const cronIsMigrating = new ReactiveVar(false);
|
||||
export const cronJobs = new ReactiveVar([]);
|
||||
export const cronMigrationCurrentStepNum = new ReactiveVar(0);
|
||||
export const cronMigrationTotalSteps = new ReactiveVar(0);
|
||||
|
||||
function fetchProgress() {
|
||||
Meteor.call('cron.getMigrationProgress', (err, res) => {
|
||||
|
|
@ -17,6 +19,8 @@ function fetchProgress() {
|
|||
cronMigrationCurrentStep.set(res.currentStep || '');
|
||||
cronMigrationSteps.set(res.steps || []);
|
||||
cronIsMigrating.set(res.isMigrating || false);
|
||||
cronMigrationCurrentStepNum.set(res.currentStepNum || 0);
|
||||
cronMigrationTotalSteps.set(res.totalSteps || 0);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue