Issues during Storage Migration on TrueNAS Scale

After doing the storage migration following the official documentation my server would not start. I would have needed to upgrade to 1.143.x to fix this but as I was a little late to the party, that was no longer provided by the official repository. I foolishly followed the instructions linked in the "Invalid upgrade path" error and tried to downgrade to 1.132.3 using the snapshot. I rolled back to 1.135.0 since I was unable to find the correct version but now I can't roll "forward" to the snapshot of 1.142.1, which I had been using previously. I would need some assistance on going back to that and afterwards upgrading to 1.143 for the migrations so I can upgrade to the newest version. Setting up a new App instance didn't work since the necessary migrations are missing, if there is a path to do that without data loss it would be great too. Thank you so much for your help in advance!
142 Replies
Immich
Immich•this hour
:wave: Hey @miasinterestinglife, 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 - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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.
miasinterestinglife
miasinterestinglifeOP•this hour
1 doesn't really apply since I am trying to achieve just that Immich-Server Pod log:
2025-10-02 07:53:15.353952+00:00Detected CPU Cores: 4
2025-10-02 07:53:17.213177+00:00Starting api worker
2025-10-02 07:53:17.216713+00:00Starting microservices worker
2025-10-02 07:53:19.461958+00:00[Nest] 7 - 10/02/2025, 9:53:19 AM  LOG [Microservices:EventRepository] Initialized websocket server
2025-10-02 07:53:19.545338+00:00Error: The database currently has VectorChord 0.4.3 activated, but the Postgres instance only has 0.3.0 available.
2025-10-02 07:53:19.546282+00:00This most likely means the extension was downgraded.
2025-10-02 07:53:19.546306+00:00If VectorChord 0.4.3 is compatible with Immich, please ensure the Postgres instance has this available.
2025-10-02 07:53:19.546320+00:00at /usr/src/app/dist/services/database.service.js:88:23
2025-10-02 07:53:19.546333+00:00at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-10-02 07:53:19.546348+00:00at async /usr/src/app/dist/repositories/database.repository.js:381:27
2025-10-02 07:53:19.546359+00:00at async /usr/src/app/node_modules/kysely/dist/cjs/kysely.js:535:20
2025-10-02 07:53:19.546369+00:00at async DefaultConnectionProvider.provideConnection (/usr/src/app/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
2025-10-02 07:53:19.546383+00:00at async /usr/src/app/dist/repositories/database.repository.js:378:13
2025-10-02 07:53:15.353952+00:00Detected CPU Cores: 4
2025-10-02 07:53:17.213177+00:00Starting api worker
2025-10-02 07:53:17.216713+00:00Starting microservices worker
2025-10-02 07:53:19.461958+00:00[Nest] 7 - 10/02/2025, 9:53:19 AM  LOG [Microservices:EventRepository] Initialized websocket server
2025-10-02 07:53:19.545338+00:00Error: The database currently has VectorChord 0.4.3 activated, but the Postgres instance only has 0.3.0 available.
2025-10-02 07:53:19.546282+00:00This most likely means the extension was downgraded.
2025-10-02 07:53:19.546306+00:00If VectorChord 0.4.3 is compatible with Immich, please ensure the Postgres instance has this available.
2025-10-02 07:53:19.546320+00:00at /usr/src/app/dist/services/database.service.js:88:23
2025-10-02 07:53:19.546333+00:00at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-10-02 07:53:19.546348+00:00at async /usr/src/app/dist/repositories/database.repository.js:381:27
2025-10-02 07:53:19.546359+00:00at async /usr/src/app/node_modules/kysely/dist/cjs/kysely.js:535:20
2025-10-02 07:53:19.546369+00:00at async DefaultConnectionProvider.provideConnection (/usr/src/app/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
2025-10-02 07:53:19.546383+00:00at async /usr/src/app/dist/repositories/database.repository.js:378:13
pgVecto Pod:
2025-10-02 07:52:43.848013+00:00Using SSD storage
2025-10-02 07:52:44.507569+00:002025-10-02T07:52:44.507569118Z
2025-10-02 07:52:44.507602+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-10-02 07:52:44.507617+00:002025-10-02T07:52:44.507617798Z
2025-10-02 07:52:46.488746+00:002025-10-02 07:52:46.488 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
2025-10-02 07:52:46.489046+00:002025-10-02 07:52:46.488 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
2025-10-02 07:52:47.981888+00:002025-10-02 09:52:47.981 CEST [1] LOG: starting PostgreSQL 15.12 (Debian 15.12-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-10-02 07:52:47.994459+00:002025-10-02 09:52:47.994 CEST [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-10-02 07:52:47.994493+00:002025-10-02 09:52:47.994 CEST [1] LOG: listening on IPv6 address "::", port 5432
2025-10-02 07:52:48.031838+00:002025-10-02 09:52:48.031 CEST [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-10-02 07:52:48.258964+00:002025-10-02 09:52:48.258 CEST [34] LOG: database system was shut down at 2025-10-01 22:00:52 CEST
2025-10-02 07:52:48.287145+00:002025-10-02 09:52:48.287 CEST [37] FATAL: the database system is starting up
2025-10-02 07:52:48.530326+00:002025-10-02 09:52:48.530 CEST [1] LOG: database system is ready to accept connections
2025-10-02 07:52:43.848013+00:00Using SSD storage
2025-10-02 07:52:44.507569+00:002025-10-02T07:52:44.507569118Z
2025-10-02 07:52:44.507602+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-10-02 07:52:44.507617+00:002025-10-02T07:52:44.507617798Z
2025-10-02 07:52:46.488746+00:002025-10-02 07:52:46.488 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
2025-10-02 07:52:46.489046+00:002025-10-02 07:52:46.488 GMT [1] LOG: skipping missing configuration file "/var/lib/postgresql/data/postgresql.override.conf"
2025-10-02 07:52:47.981888+00:002025-10-02 09:52:47.981 CEST [1] LOG: starting PostgreSQL 15.12 (Debian 15.12-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-10-02 07:52:47.994459+00:002025-10-02 09:52:47.994 CEST [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-10-02 07:52:47.994493+00:002025-10-02 09:52:47.994 CEST [1] LOG: listening on IPv6 address "::", port 5432
2025-10-02 07:52:48.031838+00:002025-10-02 09:52:48.031 CEST [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-10-02 07:52:48.258964+00:002025-10-02 09:52:48.258 CEST [34] LOG: database system was shut down at 2025-10-01 22:00:52 CEST
2025-10-02 07:52:48.287145+00:002025-10-02 09:52:48.287 CEST [37] FATAL: the database system is starting up
2025-10-02 07:52:48.530326+00:002025-10-02 09:52:48.530 CEST [1] LOG: database system is ready to accept connections
machine-learning Pod:
2025-10-02 07:52:48.374032+00:00[10/02/25 09:52:48] INFO  Starting gunicorn 23.0.0
2025-10-02 07:52:48.374611+00:00[10/02/25 09:52:48] INFO  Listening at: http://[::]:32002 (15)
2025-10-02 07:52:48.375190+00:00[10/02/25 09:52:48] INFO  Using worker: immich_ml.config.CustomUvicornWorker
2025-10-02 07:52:48.405480+00:00[10/02/25 09:52:48] INFO  Booting worker with pid: 16
2025-10-02 07:53:00.905580+00:00[10/02/25 09:53:00] INFO  Started server process [16]
2025-10-02 07:53:00.906085+00:00[10/02/25 09:53:00] INFO  Waiting for application startup.
2025-10-02 07:53:00.907020+00:00[10/02/25 09:53:00] INFO  Created in-memory cache with unloading after 300s
2025-10-02 07:53:00.907053+00:00  of inactivity.
2025-10-02 07:53:00.907617+00:00[10/02/25 09:53:00] INFO  Initialized request thread pool with 12 threads.
2025-10-02 07:53:00.908185+00:00[10/02/25 09:53:00] INFO  Application startup complete.
2025-10-02 07:52:48.374032+00:00[10/02/25 09:52:48] INFO  Starting gunicorn 23.0.0
2025-10-02 07:52:48.374611+00:00[10/02/25 09:52:48] INFO  Listening at: http://[::]:32002 (15)
2025-10-02 07:52:48.375190+00:00[10/02/25 09:52:48] INFO  Using worker: immich_ml.config.CustomUvicornWorker
2025-10-02 07:52:48.405480+00:00[10/02/25 09:52:48] INFO  Booting worker with pid: 16
2025-10-02 07:53:00.905580+00:00[10/02/25 09:53:00] INFO  Started server process [16]
2025-10-02 07:53:00.906085+00:00[10/02/25 09:53:00] INFO  Waiting for application startup.
2025-10-02 07:53:00.907020+00:00[10/02/25 09:53:00] INFO  Created in-memory cache with unloading after 300s
2025-10-02 07:53:00.907053+00:00  of inactivity.
2025-10-02 07:53:00.907617+00:00[10/02/25 09:53:00] INFO  Initialized request thread pool with 12 threads.
2025-10-02 07:53:00.908185+00:00[10/02/25 09:53:00] INFO  Application startup complete.
Redis Pod: (cannot send because it is too long, but indicates a normal startup without issues Permissions Pod also starts normally but log is too long Troubleshooting Steps so far: - Upgrading didn't work due to the unavailable intermediate version (1.143.x) - New Instance didn't work, again due to missing intermediate version - accidentally/stupidly rolled back to way too old version (cannot change storage layout now because the dropdown for pgData is greyed out) - cannot update due to inability to change to new storage layout
Immich
Immich•this hour
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
miasinterestinglife
miasinterestinglifeOP•this hour
@Xiticks
Xiticks
Xiticks•20h ago
Could you also share your current Immich config? As well as the dataset you have on the system? It seems that you did not needed to rollback to 1.132.3 or other version as you were already on 1.142.1
miasinterestinglife
miasinterestinglifeOP•20h ago
Yes, I was very sleep-deprived at the time and just followed that advice without thinking too much
miasinterestinglife
miasinterestinglifeOP•20h ago
No description
No description
No description
No description
No description
miasinterestinglife
miasinterestinglifeOP•20h ago
and this is what happens when i try to change the storage confuguration
No description
miasinterestinglife
miasinterestinglifeOP•20h ago
No description
Xiticks
Xiticks•20h ago
Ok, so you were using ixVolumes, so your original is somewhat intact, Which version of Immich is this atm ?
miasinterestinglife
miasinterestinglifeOP•20h ago
1.135.0 is what I rolled back to but it should be 1.142.2 (or another minor patch, could be 1.142.1 too)
Xiticks
Xiticks•20h ago
What I would try first, given your explanation Delete the Immich app DO NOT CHECK THE BOX "Delete IxVolumes" Otherwise there is no way back Then you install a "new" immich app and point data to the "data" dataset, and postgres to the pgData one
miasinterestinglife
miasinterestinglifeOP•20h ago
Already tried that, it still throws the "invalid upgrade path" error The only installable version is 1.144 (or newer) and I am probably missing some migrations from 1.143 I just got the tip to convert it into a custom app and change the version that way manually, is that safe to do?
Xiticks
Xiticks•20h ago
Do this anyway As you will do that
miasinterestinglife
miasinterestinglifeOP•20h ago
oh, okay
Xiticks
Xiticks•20h ago
I can guide you through it all the data should still be in ixVolumes atm, so there is a way to rollback if something else happens
miasinterestinglife
miasinterestinglifeOP•19h ago
alright just set up another instance pointing to the new datasets so i convert it to a custom app now?
Xiticks
Xiticks•19h ago
Check the logs first, just to be sure
miasinterestinglife
miasinterestinglifeOP•19h ago
yup, it's throwing the error as expected
Xiticks
Xiticks•19h ago
Ok so convert to custom app
miasinterestinglife
miasinterestinglifeOP•19h ago
2025-10-02 12:21:22.266282+00:00Error: Invalid upgrade path. For more information, see https://immich.app/errors#typeorm-upgrade
Xiticks
Xiticks•19h ago
but do not change the version yet
miasinterestinglife
miasinterestinglifeOP•19h ago
okay, so i just click on the custom app button
Xiticks
Xiticks•19h ago
So edit the version, but try 1.136.0 around line 173, there is image: ghcr.io/immich-app/immich-machine-learning:vx.xxx.x change vvx.xxx.xto v1.136.0 Do the same at around line 419 for image: ghcr.io/immich-app/immich-server:vvx.xxx.x
miasinterestinglife
miasinterestinglifeOP•19h ago
weird, all the images are at 1.144.1 don't know what happend there
Xiticks
Xiticks•19h ago
you installed the latest available so this makes sense
miasinterestinglife
miasinterestinglifeOP•19h ago
oh yeah, forgot that part
Xiticks
Xiticks•19h ago
If you refreshed you apps, it might even have been 2.0.0 as it's now avaible on TrueNAS, but we don't care for now
miasinterestinglife
miasinterestinglifeOP•19h ago
i appear to have a permissions issue: 2025-10-02 12:29:49.815967+00:00[Nest] 17 - 10/02/2025, 2:29:49 PM  ERROR [Api:StorageService] Failed to create /usr/src/app/upload/encoded-video/.immich: Error: EACCES: permission denied, mkdir '/usr/src/app/upload/encoded-video'
Xiticks
Xiticks•19h ago
Oooh
miasinterestinglife
miasinterestinglifeOP•19h ago
but it has started and done some typeORM migrations
Xiticks
Xiticks•19h ago
Well, then let it run for now
miasinterestinglife
miasinterestinglifeOP•19h ago
the server is shown as exited
Xiticks
Xiticks•19h ago
ok so that's "fine" did not know this would be necessary Do that then
miasinterestinglife
miasinterestinglifeOP•19h ago
it is importing a lot of data and saying the application successfully started
Xiticks
Xiticks•19h ago
Can you share the logs just to be sure? But if you can access the webui, it should be good
miasinterestinglife
miasinterestinglifeOP•19h ago
I can, i am just unable to login
miasinterestinglife
miasinterestinglifeOP•19h ago
i could try resetting the password to rule any issues with the instance out, not sure if that is safe though
Xiticks
Xiticks•19h ago
? How so? You forgot your password? Can you log into the server shell (The Immich server shell) and type immich-admin list-users Just to see if it list at least some users
miasinterestinglife
miasinterestinglifeOP•19h ago
i just realized what was the issue I had an older broken immich instance it's that dataset
Xiticks
Xiticks•19h ago
For? Everything?
miasinterestinglife
miasinterestinglifeOP•19h ago
yup, apparently
Xiticks
Xiticks•19h ago
How did your rsync your stuff ?
miasinterestinglife
miasinterestinglifeOP•19h ago
i don't know how THAT happened
Xiticks
Xiticks•19h ago
All from ixVolumes? or you had datasets on a pool at some point?
miasinterestinglife
miasinterestinglifeOP•19h ago
like this: rsync -av /mnt/Data/ix-applications/releases/new-immich/volumes/ix_volumes/uploads/ /mnt/Data/immich/data/uploads/
Xiticks
Xiticks•19h ago
-_-
miasinterestinglife
miasinterestinglifeOP•19h ago
but that is the new instance
Xiticks
Xiticks•19h ago
That's probably not
miasinterestinglife
miasinterestinglifeOP•19h ago
nope, always been ixvolumes
Xiticks
Xiticks•19h ago
can you cd into what's written in the guide? first
sudo su
sudo su
then
cd /mnt/.ix-apps/app_mounts/immich/
cd /mnt/.ix-apps/app_mounts/immich/
then you do
ll
ll
in there and you share me the output
miasinterestinglife
miasinterestinglifeOP•19h ago
oh ohhhhhhhh
Xiticks
Xiticks•19h ago
as well as
du -h --max-depth=1
du -h --max-depth=1
and you also share this output You come from an "old" Truenas version, correct? Like Cobia or Bluefin?
miasinterestinglife
miasinterestinglifeOP•19h ago
root@Wasti[/mnt/.ix-apps/app_mounts/immich]# ll
total 61
drwxr-xr-x 9 root 9 Feb 14 2025 ./
drwxr-xr-x 11 root 11 Sep 19 14:58 ../
drwxr-xr-x 2 root 3 Sep 14 2024 library/
drwxr-xr-x 2 netdata 29 Oct 30 2024 pgBackup/
drwx------ 20 netdata 26 Nov 2 2024 pgData/
drwxr-xr-x 2 root 3 Sep 14 2024 profile/
drwxr-xr-x 4 root 5 Sep 14 2024 thumbs/
drwxr-xr-x 4 root 5 Sep 14 2024 uploads/
drwxr-xr-x 4 root 5 Sep 14 2024 video/
root@Wasti[/mnt/.ix-apps/app_mounts/immich]# ll
total 61
drwxr-xr-x 9 root 9 Feb 14 2025 ./
drwxr-xr-x 11 root 11 Sep 19 14:58 ../
drwxr-xr-x 2 root 3 Sep 14 2024 library/
drwxr-xr-x 2 netdata 29 Oct 30 2024 pgBackup/
drwx------ 20 netdata 26 Nov 2 2024 pgData/
drwxr-xr-x 2 root 3 Sep 14 2024 profile/
drwxr-xr-x 4 root 5 Sep 14 2024 thumbs/
drwxr-xr-x 4 root 5 Sep 14 2024 uploads/
drwxr-xr-x 4 root 5 Sep 14 2024 video/
yup that's what broke the old instance back then
Xiticks
Xiticks•19h ago
share that alos, please
miasinterestinglife
miasinterestinglifeOP•19h ago
it's still running
Xiticks
Xiticks•19h ago
Yes, so when they migrated from k8s to docker, they made a change in the ixVOlumes, but kept the "old" way if some migration did not work properly As you might have been out of timeline, your apps disappeared, and you reinstalled fresh So when it broke, I suppose you had to upload everything again?
miasinterestinglife
miasinterestinglifeOP•19h ago
yes
Xiticks
Xiticks•19h ago
and you have other apps that you had to reset?
miasinterestinglife
miasinterestinglifeOP•19h ago
yup
Xiticks
Xiticks•19h ago
and you also used ixVolumes for those?
miasinterestinglife
miasinterestinglifeOP•19h ago
yes
Xiticks
Xiticks•19h ago
because I think it would be save to delete this "ix-applications" dataset
miasinterestinglife
miasinterestinglifeOP•19h ago
should du be taking this long?
Xiticks
Xiticks•19h ago
Did you ssh into the server or did it through webUI and if webUI are you using firefox?
miasinterestinglife
miasinterestinglifeOP•19h ago
i'm doing it through ssh
Xiticks
Xiticks•19h ago
oh well, then it might take a bit of time because it "reads" everything and you might have a lot of thumbs
miasinterestinglife
miasinterestinglifeOP•19h ago
yes, there's around 15-20.000 pictures in there
Xiticks
Xiticks•19h ago
I just want ot verify that your files are indeed there as if that is the case, you could probably do that After we set everything
miasinterestinglife
miasinterestinglifeOP•19h ago
okay i've switch to the web interface now
Xiticks
Xiticks•19h ago
Don't need to, ssh is better for the command stuff when the du is done, and the outputs looks like your stuff is indeed there you can/could remove the data and pgData from here As they come from the broken instace, right? It seems weird though, because "data" is bigger than your previous ix-application dataset so yeah, would wait for that to finish and verify
miasinterestinglife
miasinterestinglifeOP•19h ago
root@Wasti[/mnt/.ix-apps/app_mounts/immich]# du -h --max-depth=1
9.6G ./thumbs
4.2G ./video
4.8G ./pgBackup
91G ./uploads
1.0K ./profile
886M ./pgData
1.0K ./library
110G
root@Wasti[/mnt/.ix-apps/app_mounts/immich]# du -h --max-depth=1
9.6G ./thumbs
4.2G ./video
4.8G ./pgBackup
91G ./uploads
1.0K ./profile
886M ./pgData
1.0K ./library
110G
seems to roughly match, gonna look into the folders to verify according to the folder changed dates these are as outdated as the other stuff
Xiticks
Xiticks•19h ago
There is no "backups" folder though
miasinterestinglife
miasinterestinglifeOP•19h ago
there's both instances there
Xiticks
Xiticks•19h ago
But it looks like pgData is more recent
miasinterestinglife
miasinterestinglifeOP•19h ago
okay the change dates appear to be unreliable as subfolders are much newer
Xiticks
Xiticks•19h ago
yes, that's somewhat what I thought
miasinterestinglife
miasinterestinglifeOP•19h ago
yeah, i was ini the broken instance, oops
Xiticks
Xiticks•19h ago
was going to ask you this
miasinterestinglife
miasinterestinglifeOP•19h ago
i'm doing it for the correct one now
Xiticks
Xiticks•19h ago
could you jsut check into pgBackup? Just to see what's in there because it should have also been a "backups" folder but it ain't there idk why
miasinterestinglife
miasinterestinglifeOP•19h ago
No description
miasinterestinglife
miasinterestinglifeOP•19h ago
(the broken instance) the new one has an empty (or inaccessible) folder
Xiticks
Xiticks•19h ago
Wait what do you mean broken instance?
miasinterestinglife
miasinterestinglifeOP•19h ago
the old one
Xiticks
Xiticks•19h ago
are you in /mnt/.ix-apps ?
miasinterestinglife
miasinterestinglifeOP•19h ago
very old one
Xiticks
Xiticks•19h ago
Or somewhere else?
miasinterestinglife
miasinterestinglifeOP•19h ago
yes
Xiticks
Xiticks•19h ago
is there multiple immich ? /mnt/.ix-apps/app_mounts/ cd into that and do ll
miasinterestinglife
miasinterestinglifeOP•19h ago
yes, there is the instance "immich" and "new-immich"
Xiticks
Xiticks•19h ago
holy so ll into new immich pleash and show the output
miasinterestinglife
miasinterestinglifeOP•19h ago
No description
Xiticks
Xiticks•19h ago
Tahts more like it! can you cd into backups and also do ll there?
miasinterestinglife
miasinterestinglifeOP•19h ago
No description
Xiticks
Xiticks•19h ago
Ok, so that's nice
miasinterestinglife
miasinterestinglifeOP•19h ago
okay so I must've been on 1.143
Xiticks
Xiticks•19h ago
So you rsync THESE into data and pgData following the guide
miasinterestinglife
miasinterestinglifeOP•19h ago
alright, should i clear those out first?
Xiticks
Xiticks•19h ago
(no need for pgBackup, it's an ould) you mean the dataset there?
miasinterestinglife
miasinterestinglifeOP•19h ago
yes, the newly created datasets with the ancient data
Xiticks
Xiticks•19h ago
yes, I would even delete them and recreate them make sure you select the "apps" preset for the data one (as instructed in the guide) as for pgData, you keep the generic preset
miasinterestinglife
miasinterestinglifeOP•19h ago
doing that now
Xiticks
Xiticks•19h ago
yeah, will take a bit, so ping me when it's done But based on what you said: rollback to version 1.135 or something like that, I think that after the sync, install the app from the catalog would work because the breaking changes of 1.136/1.137 are handled by Immich given the TrueNAS config
miasinterestinglife
miasinterestinglifeOP•16h ago
@Xiticks just a quick question: the documentation has the uploads folder called "upload" but in my dataset it is called "uploads", which one is correct?
Xiticks
Xiticks•16h ago
The latter, you have to rsync from uploads to upload Previously as it was a dataset, the name did not matter (because it was mounted with the correct "upload" name) but now that it will be a folder inside a dataset, and that you only mount the dataset, the naming is important For example the "data" dataset, you can set whatever name you want, but the folders it will contain: thumbs, library, upload and so on... have to be "exact" match
miasinterestinglife
miasinterestinglifeOP•16h ago
oh okay, thanks!
Xiticks
Xiticks•16h ago
if you already rsyned the data, that's no issue you can just then mv uploads to upload inside the dataset and this will "rename" it instead of moving everything again
miasinterestinglife
miasinterestinglifeOP•14h ago
@Xiticks just finished copying everything, the new size of around 150GB makes a lot more sense. Can I now safely delete the old apps (keeping the iXVolumes for the moment of course)?
Xiticks
Xiticks•14h ago
yes! And as you said keep the ixVolumes
miasinterestinglife
miasinterestinglifeOP•14h ago
i am getting this error in /var/log/app_lifecycle.log (i replaced the newline characters with actual newlines for readability)
miasinterestinglife
miasinterestinglifeOP•14h ago
from what i could find this is because the pgData datasets is not yet owned by the user netdata, changing that now
Xiticks
Xiticks•14h ago
yep Wait thoguh I can share a screenshot if I haven't done it already
miasinterestinglife
miasinterestinglifeOP•14h ago
oh, thanks for that!
Xiticks
Xiticks•14h ago
it's especially for "apply user" and "apply perms recursively" but the screen is the default set by TrueNAS, so replicating it will make sure that it's working
miasinterestinglife
miasinterestinglifeOP•14h ago
yes, but I would've actually been more wrong about the access modes and the group
Xiticks
Xiticks•14h ago
You have to strip the acl if you have not the same "view"
miasinterestinglife
miasinterestinglifeOP•14h ago
I've done that and I'm trying to install now
miasinterestinglife
miasinterestinglifeOP•14h ago
I've done it like this, but it's still throwing some errors and not installing
No description
miasinterestinglife
miasinterestinglifeOP•13h ago
could this perhaps be an issue with the parent dataset being owned by root?
miasinterestinglife
miasinterestinglifeOP•13h ago
this looks right to me at least
No description
Xiticks
Xiticks•13h ago
can you cd into pgData? and do ls there??
miasinterestinglife
miasinterestinglifeOP•13h ago
do i need to move the files to the parent folder (the dataset)?
No description
Xiticks
Xiticks•13h ago
you rsynced wrong that's the issue so there do
mv pgData/* ./ && rm -r pgData
mv pgData/* ./ && rm -r pgData
miasinterestinglife
miasinterestinglifeOP•13h ago
yeah, the issue was tab autocompletion removing the trailing slash after the last folder
Xiticks
Xiticks•13h ago
Does it work now?
miasinterestinglife
miasinterestinglifeOP•12h ago
yes it does, thank you soooooooo much for this!!! it is now safe to delete the old ixapplicatioins dataset, right?
Xiticks
Xiticks•12h ago
Should be yeah maybe double check that you have the same upload/library size on both
miasinterestinglife
miasinterestinglifeOP•12h ago
well that is the outdated stuff that hasn't been updated since february. in the now running instance the latest pictures from yesterday afternoon are present
Xiticks
Xiticks•12h ago
oh yeah but I was also talking about the content of ixVolumes
miasinterestinglife
miasinterestinglifeOP•12h ago
yeah, it would probably be a good thing to also delete the ones of the now removed instance both the old storage config and the new datasets contain folders of the same size. how would i go about deleting them from the .ix_apps folder? (if that is safe to do as that is taking up a lot of storage)
Xiticks
Xiticks•12h ago
that's safe
sudo rm -r /mnt/.ix-apps/app_mounts/immich
sudo rm -r /mnt/.ix-apps/app_mounts/immich
should delete immich folder and it content
miasinterestinglife
miasinterestinglifeOP•11h ago
should this be any cause for concern?
No description
miasinterestinglife
miasinterestinglifeOP•11h ago
applies to both "immich" and "new-immich" (the very old and old setups)
Xiticks
Xiticks•11h ago
Onlu old immich has ix-volumes, right?
miasinterestinglife
miasinterestinglifeOP•11h ago
yes
Xiticks
Xiticks•11h ago
then remove the old immich first
miasinterestinglife
miasinterestinglifeOP•11h ago
are you suggesting the fellow rm -rf? i have removed all outdated instances of immich
Xiticks
Xiticks•11h ago
no no So you only have ONE immich instance?
miasinterestinglife
miasinterestinglifeOP•11h ago
yes i removed them from the apps interface without deleting their ixvolumes after i had done all of this migration to remove any confusion: until about v1.125 the first instance "immich" was used until it broke (don't recall for what reason exactly) and then "new-immich" came in, i just kept the old one in case I needed some of that data (i did not). Now, after all of this migration I have a brand-new instance of immich and I removed the other two from the apps interface and kept their ixvolumes. There is now only one immich very sorry for the confusion

Did you find this page helpful?