Closed loeeeee closed 3 months ago
The issue no longer happens after commit ccdbf065c419fe3f754cc6f79b37aac34aa64aad .
However, to fix existing instance, following steps are needed.
INSTALL_DIR/app
,INSTALL_DIR/app/upload
to a somewhere that can be persist, e.g. /home/immich/storage
, andln -s /home/immich/storage /home/immich/app/upload
Now, the thumbnail will be preserved between upgrade of immich instance.
Note that this would only happens if the UPLOAD_DIR
in .env
file does not end with upload
.
UPLOAD_DIR=/home/immich/upload
, you are good,UPLOAD_DIR=/mnt/Blahblahblah/upload
, you are good,UPLOAD_DIR=/home/immich/blahblahblah
, you need to move the upload folder around following the guide above,UPLOAD_DIR=/mnt/DigiMem
, you need to move the upload folder around following the guide above.
Currently, the
UPLOAD_DIR
upload folder does not get softlinked toupload
folder inside theapp
folder inINSTALL_DIR
. Instead, it will keep its original name.For example, if one set the
UPLOAD_DIR=/mnt/DigiMem
, the resulting soft link will beINSTALL_DIR/app/DigiMem
, while the expected behavior isINSTALL_DIR/app/upload/ -> /mnt/DigiMem
. Currently, anupload
folder that is not linked to anywhere will be created, and all the thumbnails will be saved there.The problem is that during upgrade, the
app
folder will be wiped, and so does all the thumbnails.