Project

General

Profile

Actions

Feature #10493

closed

Clean up directories when deploying new instances of Bridge

Added by Evgeny Novikov over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
09/11/2020
Due date:
09/17/2020
% Done:

100%

Estimated time:
Published in build:

Description

When Bridge is deployed in the second time, there may be some absolutely useless files from the old instance. As far as I understand, it has sense to clean up directories "media" and "logs". Maybe something else. Maybe some directories are cleaned up already.

Actions #1

Updated by Vladimir Gratinskiy over 3 years ago

  • Due date set to 09/17/2020
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Implemented in branch feature_10493 for media folder.

Actions #2

Updated by Vladimir Gratinskiy over 3 years ago

  • % Done changed from 100 to 50
Actions #3

Updated by Vladimir Gratinskiy over 3 years ago

  • % Done changed from 50 to 100

Implemented for logs folder, but some files can't be deleted as migration process locks it on migration. But the initial migration should try to empty such files.

Actions #4

Updated by Evgeny Novikov over 3 years ago

Since this may suddenly break existing verification results, let's postpone the merge to master.

Actions #5

Updated by Evgeny Novikov over 3 years ago

  • Status changed from Resolved to Closed

I merged the branch to master in 272c95d38. Note, that this change is not backward compatible, so, you need to completely reinstall Klever after it.

Actions

Also available in: Atom PDF