News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Attachment files missing?

Started by jindroush, August 14, 2022, 10:34:52 AM

Previous topic - Next topic

jindroush

I updated 2.0.19 to 2.1.2 with large updater. Everything went +- smoothly (some timeout errors blinked several times).
After that, everything seemed to work okay, I also ran all 'checkers' and there were few missing attachments and few attachments with missing posts. Currently when I run action=admin;area=manageattachments;sa=maintenance, the check reports no errors.

But, in the error log, I see several logs of this type:
https://www.[MYFORUM].org/forum/index.php?action=dlattach;attach=110106;type=avatar
2: sha1_file(.../forum/attachments/106961_bd015fec58e4a9c755809c5486dcae6fd1661e12): Failed to open stream: No such file or directory
How is this possible? All of the errors have type=avatar.

Doug Heffernan

This is a bug that we are aware of, and it will be fixed in the upcoming version.

jindroush

Thanks! Just to be sure - fixed in a way that the errors won't be reported or fixed in a way that I'd have to dig the missing files from backups?

Illori

the error message will be corrected.

shawnb61

And you should no longer need the files.  No need to go digging through backups.

The problem appears to happen when crawlers are looking for certain files that no longer exist.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: