#157k photos moved to trash, can't be restored (external library)

1 messages · Page 1 of 1 (latest)

royal kernel
#

Without me putting them there, around 157k photos have been moved to the trash, and I don't know why nor can I restore them from trash.

What does not work:

  • Restoring all photos via the "Restore all" button (pop up "0 files restored")
  • Manually selecting small/mid/large segments of images and hitting the restore button (seems to work at first, but they just show up again in the trash)

Given this could trigger some serious data loss (the 30 days auto delete limit should be quite far away, but I'm not trusting this as the whole issue is quite dubious), as they are all located on my OG file structure in an external library:

  • Could I go to settings, delete the external library connection and re-enter it?
  • What would I need to do to block immichs access (or switch to write only) to the external library folder on my NAS to be safe until it' sovled?

I'm running v1.134.0 on Portainer on a Synology NAS.

Any ideas on why this might've happened and how I can fix it?

Thanks & Best!

chrome knollBOT
#

:wave: Hey @royal kernel,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

bleak nymph
#

They will get trashed if the folder is offline when an external library scan happens. Just make sure the assets are available and rescan it

royal kernel
bleak nymph
#

Hard to say, really depends on your setup. But basically if the library isn't available at the time of the scan, that is when the assets get trashed

royal kernel
bleak nymph
#

There should be no data loss no. But you should see first if the container can actually see the files and if there are any errors in the logs

echo iron
#

Hi there
Did you ever find the solution to this issue? I have exactly the same issue.
I've setup a docker on a ProxMox LXC just for Immich and mapped an external library to my Synology NFS folder of photos with read only access. The photos show up in the app with no issues after the first scan. Sometime later they are all in the trash folder, no idea why. The NFS folder is always online.

untold trellis
#

Hello! I joined to ask a similar question. I haven't set up Immich yet, I'm still shopping for hardware. I have a NAS where I store my personal photography and ideally would like to run Immich on a separate device and access those photos as a read only external library.

I'm wondering how that will work if my nas is hibernating when a scan occurs. Also, will Immich generate thumbnails and store them locally on the device it's running on? In that case would it be possible to browse my photos while my NAS is offline?

Thanks a bunch!

gleaming grove
#

The NAS should remain always accessible. We dont optimize for this use case

#

If the nas is offline during scan all files will move to trash