stash-box icon indicating copy to clipboard operation
stash-box copied to clipboard

[Bug Report] Some images do not get saved

Open Maista6969 opened this issue 8 months ago • 1 comments

Very rarely an image will fail to get saved when uploaded to StashDB. This always happens with the same image and has been tested across both different browsers and different users.

To Reproduce

  1. Download this NSFW image
  2. Create or edit a scene on StashDB
  3. On the image tab, choose to upload the image downloaded in step 1.
  4. Observe that the image fails to load

edit: this will actually not reproduce the bug since a site admin has manually intervened to add the image to the StashDB CDN

The fact that this happens so rarely but is fully reproducible, but not on all stash-box instances, makes me think that it could be an edge case related to the configuration

Maista6969 avatar Apr 18 '25 22:04 Maista6969

The images are "cached" by their checksum so if the initial upload failed any subsequent re-upload will not update the image. The workaround is to modify the image to change the checksum and then upload it.

DogmaDragon avatar Apr 18 '25 22:04 DogmaDragon