[bd] Attachment Store [Deleted]

I've got them both working together. Only errors have been the 120 second time out, but that is nothing to do with @xfrocks add-on.

Currently on post 58,000 out of 242,000, so still a fair bit to go.
 
With the latest version, I've found an issue when rebuilding the thumbnail cache when choosing to keep the original file name.

Example:

http://www.z22se.co.uk/threads/sat-morning-with-matt-neil.15708/#post-1141916

The thumbnails in that thread have been re-built, the the thumbnail is now inside the thumb directory

Specific image as an example

http://data.z22se.com/data/attachment-files/2010/03/15393_DSC_1867.JPG

This is taking the thumbnail from here, which is working: http://data.z22se.com/data/attachment-files/2010/03/thumb/15393_DSC_1867.JPG

However, the original file is still in the hash format with the original thumbnail:
Rich (BB code):
-rw-r--r--  1 z22se z22se  638317 Feb 28  2012 15393_57759086cb0cfc696b2ce0b130e82402.JPG
-rw-r--r--  1 z22se z22se  30542 Jul 14 17:08 15393_57759086cb0cfc696b2ce0b130e82402_thumb.jpg

new thumb directory
Rich (BB code):
ls -hl | grep 15393
-rw-r--r-- 1 z22se z22se  30K Sep  9 15:13 15393_DSC_1867.JPG

This was caused by running the "Rebuild Attachment Thumbnails" via the ACP. I've had to cancel this, as I suspect it's already affected 20,000+ attachments :(

Any suggestions what I need to do to get these back? Otherwise, I've borked 5+ years worth of attachments?
 
With the latest version, I've found an issue when rebuilding the thumbnail cache when choosing to keep the original file name.

Example:

http://www.z22se.co.uk/threads/sat-morning-with-matt-neil.15708/#post-1141916

The thumbnails in that thread have been re-built, the the thumbnail is now inside the thumb directory

Specific image as an example

http://data.z22se.com/data/attachment-files/2010/03/15393_DSC_1867.JPG

This is taking the thumbnail from here, which is working: http://data.z22se.com/data/attachment-files/2010/03/thumb/15393_DSC_1867.JPG

However, the original file is still in the hash format with the original thumbnail:
Rich (BB code):
-rw-r--r--  1 z22se z22se  638317 Feb 28  2012 15393_57759086cb0cfc696b2ce0b130e82402.JPG
-rw-r--r--  1 z22se z22se  30542 Jul 14 17:08 15393_57759086cb0cfc696b2ce0b130e82402_thumb.jpg

new thumb directory
Rich (BB code):
ls -hl | grep 15393
-rw-r--r-- 1 z22se z22se  30K Sep  9 15:13 15393_DSC_1867.JPG

This was caused by running the "Rebuild Attachment Thumbnails" via the ACP. I've had to cancel this, as I suspect it's already affected 20,000+ attachments :(

Any suggestions what I need to do to get these back? Otherwise, I've borked 5+ years worth of attachments?
First, this should be possible to fix, take time but possible. Please contact me via conversation to start the recover progress.
Now back to the issue, I have checked the code and the filename is wiped when it's resaved. A fix will be available soon.

TL;DR: your 5+ years worth of attachments will survive.
 
No, it would have broken in my case regardless of this. I've replicated it on my test install which doesn't have metamirror. It's an issue specifically with attachment store.
So we shouldn't use maintain file names? If I uncheck the box and hit save, it won't affect the existing ones since MetaMirror already ran through them all but it would help prevent the error from happening again?
 
So we shouldn't use maintain file names? If I uncheck the box and hit save, it won't affect the existing ones since MetaMirror already ran through them all but it would help prevent the error from happening again?
I don't know. I'm waiting on @xfrocks to take a look in my case. He has just released a fix that should prevent any issues going forward.
 
So we shouldn't use maintain file names? If I uncheck the box and hit save, it won't affect the existing ones since MetaMirror already ran through them all but it would help prevent the error from happening again?
I don't know. I'm waiting on @xfrocks to take a look in my case. He has just released a fix that should prevent any issues going forward.

The bug has been fixed with v0.9.12b (available here).

@MattW, please download and install this bug fix add-on: https://xfrocks.com/other/threads/bd-attachment-store-bug-fix-20130909.93/ and run it. After running, you can delete it.
 
Top Bottom