This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I have some files which are no longer linked to any models.
Is it safe to delete them manually (directly from the system_files table) or is there a "clean" command to do that job ?
The command is php artisan october:util purge uploads
and it's available in v1.1.0 and up (added in https://github.com/octobercms/october/commit/7fde924ec1d3c66791830e975c998815d0fe0b24#diff-0c788c25a37aa6940b68eb59c908847d)
Did you check to make sure the command actually exists in the code (as implemented in the link I provided) before running it? It was a stub command before that commit (i.e. it was there but didn't do anything).
Indeed, the command is not present in the code. I've applied the latest update from the backend (Settings -> System) but the command still does not appear in the code.
Should I update the system in a different way ?
v1.1.0 is only available via composer right now, so either apply the code change yourself manually or switch to using composer and update that way instead.
1-6 of 6