The interesting bit is that both the db and the thumbs folder are located on /volumeUSB1/usbshare/immich/ (usb ssd attached to Synology, immich running in Portainer), and the db seems fine and also there's enough space so that everything could be saved.