I
Immich2y ago
zarev

The new migration job (solved)

Hello, before I make a mistake,, I have a question regarding the new thumbnail migration system. Should I create a subfolder (and if yes, where I can do that?) or do I just have to click on "Start" in the Migrate assets and face thumbnails section. Thanks in advance
26 Replies
harababurel
harababurel2y ago
just run it, it will create sub-directories in thumbs/
zarev
zarevOP2y ago
Okay, because when I click it seems like it's waiting. So is this normal? Should I wait?
jrasm91
jrasm912y ago
Yeah, you can just wait for a little bit. It should queue some jobs and then it will go down. You can also see progress in UPLOAD_LOCATION/thumbs
zarev
zarevOP2y ago
Thank you very much @jrasm91 & @harababurel . ❤️ Hi, since 1 hour it's the same.
zarev
zarevOP2y ago
No description
zarev
zarevOP2y ago
UPLOAD_LOCATION/thumbs Where is it? There is no other job
jrasm91
jrasm912y ago
Well, that makes me think your microservices container isn't running. You should check the logs. thumbnail location will be at that path where UPLOAD_LOCATION is the value in your .env file.
zarev
zarevOP2y ago
No description
zarev
zarevOP2y ago
/appdata/immich/immich-app/immich-data/thumbs I have reboot the microservice: `[Nest] 7 - 10/02/2023, 7:09:15 PM LOG [TypesenseRepository] Schema up to date: assets/assets-v8 [Nest] 7 - 10/02/2023, 7:09:15 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v2 [Nest] 7 - 10/02/2023, 7:09:15 PM LOG [TypesenseRepository] Schema up to date: faces/faces-v1 [Nest] 7 - 10/02/2023, 7:09:15 PM LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v2","name":"albums"},{"collection_name":"assets-v8","name":"assets"}] [Nest] 7 - 10/02/2023, 7:09:15 PM LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false} [Nest] 7 - 10/02/2023, 7:09:15 PM LOG [NestApplication] Nest application successfully started +16ms [Nest] 7 - 10/02/2023, 7:09:15 PM LOG [ImmichMicroservice] Immich Microservices is listening on http://[::1]:3002 [v1.79.1] [PRODUCTION] µ no error
jrasm91
jrasm912y ago
Looks like it is running based on that log.
zarev
zarevOP2y ago
What can I do?
jrasm91
jrasm912y ago
The job is still at one?
zarev
zarevOP2y ago
No, it's the same
zarev
zarevOP2y ago
No description
zarev
zarevOP2y ago
No move in the logs [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [SearchService] Running bootstrap [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [TypesenseRepository] Schema up to date: assets/assets-v8 [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v2 [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [TypesenseRepository] Schema up to date: faces/faces-v1 [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v2","name":"albums"},{"collection_name":"assets-v8","name":"assets"}] [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [TypesenseRepository] Collections needing migration: {"assets":false,"albums":false,"faces":false} [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [NestApplication] Nest application successfully started +16ms [Nest] 8 - 10/02/2023, 7:50:52 PM LOG [ImmichMicroservice] Immich Microservices is listening on http://[::1]:3002 [v1.79.1] [PRODUCTION] All other tasks are carried out immediately, but nothing changes here. If I click Start 3 times, it displays 3. I have restored since I asked you for help and haven't touched anything
jrasm91
jrasm912y ago
Microservices is on 1.79, that's why The new job only has a handler for version 1.80. So the job hasn't been picked up
zarev
zarevOP2y ago
Updated and all work fine 😉 Thank you very much for the support!
zarev
zarevOP2y ago
It's nice to see that
No description
jrasm91
jrasm912y ago
There we goooooio
zarev
zarevOP2y ago
Really excellent work, nothing to say! Somes orphans? 52 a4187b12-a5c6-48d1-a90c-aadacbcd16c6.jpeg f9 53 a5 fa 54 a6 fb 55 a7 fc 56 a8 fcacdddb-af85-46bd-8e66-b148f1319c2a.jpeg 57 a9 fd 58 aa fe 59 ab ff
jrasm91
jrasm912y ago
Yes. There is a bug we've found with this release. Feel free to delete
zarev
zarevOP2y ago
Oh, I can delete these files?
jrasm91
jrasm912y ago
Check the microservices logs if there are no errors when you run the job, feel free to delete the top level jpeg files
zarev
zarevOP2y ago
[Nest] 7 - 10/03/2023, 12:07:48 AM LOG [SearchService] Running bootstrap [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [TypesenseRepository] Schema up to date: assets/assets-v10 [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [TypesenseRepository] Schema up to date: albums/albums-v2 [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [TypesenseRepository] Schema up to date: faces/faces-v1  [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [TypesenseRepository] Alias mapping: [{"collection_name":"faces-v1","name":"faces"},{"collection_name":"albums-v2","name":"albums"},{"collection_name":"assets-v8","name":"assets"}] [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [TypesenseRepository] Collections needing migration: {"assets":true,"albums":false,"faces":false} [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [NestApplication] Nest application successfully started +21ms [Nest] 7 - 10/03/2023, 12:07:48 AM LOG [ImmichMicroservice] Immich Microservices is listening on http://[::1]:3002 [v1.80.0] [PRODUCTION] [Nest] 7 - 10/03/2023, 12:08:13 AM LOG [TypesenseRepository] Using new schema: assets-v8 => assets-v10 [Nest] 7 - 10/03/2023, 12:08:13 AM LOG [TypesenseRepository] Deleting old schema: assets-v8
jrasm91
jrasm912y ago
Looks fine
zarev
zarevOP2y ago
Ok, I delete the "orphans". Thank you again 😊

Did you find this page helpful?