I was given 'temporary' images for a number of bio pages, and now have better quality images to replace them with. Removing or replacing the old images in the Admin UI is failing (without giving me any error messages or indications of anything wrong: the old image is just there no matter what I do). If I connect to the server by SSH and rm CEO.jpeg
from bash, then the database is out of sync with the file system, and when I upload the new version of CEO.jpeg, I get an error because that is already in the database.
If I just edit the file_usage
table and set count
to 0
, will that have any nasty side effects? (I will also, of course, manually delete the file from the file system.) Do I have to manually track down each node and edit it too? Or can I just go to those nodes in the Admin UI after manual removal and add the new versions of the images?
(I've checked answers to this question and this question but the situation in those is very different.)