networkteam / orphaned-resources
Removes orphaned files in Data/Persistent/Resources
Installs: 692
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:neos-package
Requires
- neos/flow: ~5.0 || ~6.0 || ~7.0
This package is auto-updated.
Last update: 2024-12-14 17:08:40 UTC
README
Provides a command that removes orphaned files in Data/Persistent/Resources
which have no resource entity in db.
They are safe to delete.
This is the counterpart to the Flow command resource:clean
.
Usage
./flow orphanedresource:remove --execute --minimum-age=3600
Why is it necessary?
In a perfect world it's not necessary, but when a resource is created in filesystem and an exception or service outage occurs before it's persisted in database then you have such orphaned resource files.