Simetimes image references not being inserted into file_managed table, which brings to deletion of images with cron job

Comments

WebRIPPER created an issue. See original summary.

Stan.Ezersky’s picture

I have the same problem

xandeadx’s picture

How to reproduce?

adubovskoy’s picture

++ the same error, but can't reproduce manually. just happened sometimes.

tarazingo’s picture

Subscribe!
I noticed a bug that sometimes images themselves are removed from the server, which results in broken links to images!
This can happen in a month, maybe the next day!

sk2013’s picture

+++++1

We are also experiencing this issue many a times. We cant figure it out which file, when it will be deleted. Some of the images Sometimes getting deleted.

Any experienced users can guide us.

Thanks for the excellent module.

TDI007’s picture

subscribe ...
We found sometimes missing images in our documentation, but no way to reproduce this behavior.
We upload the files and put some styles on it, so the images were saved in another location, compared to none style is used

At the moment no image is included in file_managed if a style is used, only pictures we upload via IMCE are managed correctly. For those images I found entries in file_usage too.

Furthermroe we use Workbench module, so we have published and unpublished content - maybe there is another dependency

xandeadx’s picture

Update module to last dev and enable option "Show status message after form submit" on admin/config/content/ocupload. After you can see files status after form submit.

dbielke1986’s picture

StatusFileSize
new9.13 KB
new14.43 KB
new27.63 KB

Attached you will find a status message after a upload.

Problem (or not?):
After the upload an entry within the file_managed was created (see attached image), but not in the file_usage.
Should there not be an entry in both tables?

BR, Daniel

xandeadx’s picture

Module nothing adds in file_usage.

ivnish’s picture