Images for most performers and scenes has disappeared from my Stash

Recently, I changed the location of some of my configuration files. It took some time for me to figure out, but now I always specify -c ~/.stash/config.yml whenever I launch Stash so that it always gets the correct configuration file. In the settings I set the Cache Path, Generated Path, Database path and more to the right locations. I’m pretty sure that I have the directories and files from before in the right places.

However, now the images that I have of most performers have disappeared, as have the images for some scenes. Stash does not consider them to have their images missing, as these ones don’t appear when I filter for “Is Missing is image”.

What may be the cause? Is there a solution?

It means that stash cannot locate the files in the Binary data filesystem path. If you look in the logs, likely you will see entries like the following:

WARN[2025-06-18 15:43:21] read transaction error on fetch screenshot: blob for checksum 32092c01cec273507fefbf8d32bd3c0f does not exist

The path for the blobs is in the settings under System -> Database -> Binary data filesystem path.

Stash doesn’t consider them missing because the images have been set, it just can’t find them.

We also get reports of this issue from users using docker, where they have specified the Binary data filesystem path within the container, which means that the data is blown away when they restart the container.

Alright. I checked the log, and it had some messages about missing images for studios. Unfortunately, I cannot post that message, as it’s gone after doing the steps written below and then restarting.

It looks like I have my blobs directory in home/.stash/, so I put the full path in my setting for the “Binary data filesystem path”. But it still doesn’t appear to have done anything. The images that were missing are still missing.

Does the blobs directory need to be in the same place relative to another directory for it to still work? I have it in the same directory as cache, as before, but now generated is in a different directory.

I hadn’t picked up that you said most of the images weren’t visible and not all.

If it’s still occurring, then you should be able to see the entries in the logs after viewing the query page. It’s strange that the change didn’t do anything. If you get the checksum for the blob, you can try searching your filesystem for that file.

Blobs are stored in a directory structure based on the first four letters of the checksum. For example, for the checksum 32092c01cec273507fefbf8d32bd3c0f above, it would be in the blobs directory under 32/09/32092c01cec273507fefbf8d32bd3c0f.

Oh. Actually, it did put some messages in the log after viewing the listings with the missing images.

I looked at the checksums for the missing files, and they were absent in my ~/.stash/blobs/. However, I found that in my home folder I have ~/blobs/, which had the missing files. It looks like some of my blob files just ended up in the wrong place. I merged it into ~/.stash/blobs/.

Now, many of the previously missing images appear again. There are still some that don’t, yet somehow I no longer see the error messages appear in the log after attempting to view them.