Jump to content

Immich update through Command Deck fails: "Failed to upgrade app: Task failed due to staleness"


Recommended Posts

Posted

My Immich update is failing. Plex did fine. It always stops at 20% and then give me the message after a couple hours: "Failed to upgrade app: Task failed due to staleness". Anyone else seeing this/have a fix?

image.thumb.png.fe44937f5d6b27abc9a475d051f0bd63.png

Posted

You are likely seeing this error because your Immich app is still using the old folder structure, which they no longer support in Immich version 1.143.0

I have reported your issue in the Q3 Command Deck Update thread in the hope that the issue can be fixed. Alternatively you will need to do a manual migration of your pictures from one folder structure to another.

 

  • Like 2
Posted

Same Issue with me. Can someone give a walk through on how to migrate to new folder structure. I saw some details online but its not clear with HexOS in as a layer.. 

Posted

I had this same issue have managed to do the migration commands are a bit different as it seems the way Hex OS installs this is not conventional i followed this guild 

https://docs.immich.app/install/truenas/#migration-from-old-storage-configuration

unfortunately you need to do this via the truenas interface as Hex OS to my knowledge does not give you access to all that is needed. also worth noting the shell method they tell you to use within truenas scale can time out but you can SSH in if needed this can be turned on in trunasScale interface from Settings System Services SSH then in groups add Truenas_admin this means you dont have to keep moving the mouse while the commands run which was useful as i had over 100GB of data on HDDs so took a while (see image for SSH settings)

Commands used Below ( best to run 1 line at a time so you can see errors) you will need to change HDDs to the path of your application if your pool is not called HDDs

if you need help finding your path it can be seen in the settings for the app from the truenas scale interface (have also put a screenshot) there will be one entry for each of the below sections e.g library , upload , thumbs etc

Click Edit on the Application Info widget.

In the Storage Configuration section


rsync -av /mnt/HDDs/Photos/ /mnt/HDDs/Applications/immich/data/library/
rsync -av /mnt/HDDs/Applications/immich/uploads/ /mnt/HDDs/Applications/immich/data/upload/
rsync -av /mnt/HDDs/Applications/immich/thumbs/ /mnt/HDDs/Applications/immich/data/thumbs/
rsync -av /mnt/HDDs/Applications/immich/profile/ /mnt/HDDs/Applications/immich/data/profile/
rsync -av /mnt/HDDs/Applications/immich/encoded_videos/ /mnt/HDDs/Applications/immich/data/encoded-video/
rsync -av /mnt/.ix-apps/app_mounts/immich/backups/ /mnt/HDDs/Applications/immich/data/backups/

Screenshot From 2025-10-02 22-17-29.png

Screenshot From 2025-10-02 22-20-34.png

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...