Clean up directories when deploying new instances of Bridge
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.
- % Done changed from 0 to 100
- Status changed from New to Resolved
- Due date set to 09/17/2020
Implemented in branch feature_10493 for media folder.
- % Done changed from 100 to 50
- % 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.
Since this may suddenly break existing verification results, let's postpone the merge to master.
- 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.
Also available in: Atom