Kesteve
Kesteve
IImmich
Created by Kesteve on 12/24/2024 in #help-desk-support
External Library with \' in the Import Path failed to scan for files
I have checked the postgres DB and library details here, importPaths is stored correctly the database:
~$ docker exec -it immich_postgres psql --dbname=immich --username=postgres
psql (14.10 (Debian 14.10-1.pgdg120+1))
Type "help" for help.

immich=# \x
Expanded display is on.
immich=# SELECT * FROM "libraries" where id = 'b8248174-ee5b-4dbe-ab44-2e6f39a61ad3';
-[ RECORD 1 ]-----+------------------------------------------
id | b8248174-ee5b-4dbe-ab44-2e6f39a61ad3
name | Karne iPhone Backup
ownerId | 34ce2420-9705-43e2-82dc-0934077abebe
importPaths | {"/volume1/photo/Camera/Karen's iPhone/"}
exclusionPatterns | {**/@eaDir/**,**/._*}
createdAt | 2024-12-24 04:36:38.358352+00
updatedAt | 2024-12-24 06:31:29.977503+00
deletedAt |
refreshedAt | 2024-12-24 06:31:29.975+00

immich=# \q
~$ docker exec -it immich_postgres psql --dbname=immich --username=postgres
psql (14.10 (Debian 14.10-1.pgdg120+1))
Type "help" for help.

immich=# \x
Expanded display is on.
immich=# SELECT * FROM "libraries" where id = 'b8248174-ee5b-4dbe-ab44-2e6f39a61ad3';
-[ RECORD 1 ]-----+------------------------------------------
id | b8248174-ee5b-4dbe-ab44-2e6f39a61ad3
name | Karne iPhone Backup
ownerId | 34ce2420-9705-43e2-82dc-0934077abebe
importPaths | {"/volume1/photo/Camera/Karen's iPhone/"}
exclusionPatterns | {**/@eaDir/**,**/._*}
createdAt | 2024-12-24 04:36:38.358352+00
updatedAt | 2024-12-24 06:31:29.977503+00
deletedAt |
refreshedAt | 2024-12-24 06:31:29.975+00

immich=# \q
And here I logged in to the immich_server shell, and ls the path to make sure there are files available, you can see the jpeg files exist:
~$ docker exec -it immich_server /bin/bash
root@e1032bcf1d14:/usr/src/app# ls -l /volume1/photo/Camera/Karen\'s\ iPhone/100APPLE | head
total 892076
d--------- 1 root root 56016 Dec 17 2021 @eaDir
-rwxrwxrwx 1 1026 users 201284 Jun 7 2015 IMG_0001.JPG
-rwxrwxrwx 1 1026 users 124261 Jun 7 2015 IMG_0002.JPG
-rwxrwxrwx 1 1026 users 400733 Jun 8 2015 IMG_0003.JPG
-rwxrwxrwx 1 1026 users 148776 Jun 8 2015 IMG_0004.JPG
-rwxrwxrwx 1 1026 users 100477 Jun 8 2015 IMG_0005.JPG
-rwxrwxrwx 1 1026 users 368470 Jun 8 2015 IMG_0006.JPG
-rwxrwxrwx 1 1026 users 65040 Apr 13 2017 IMG_0007.JPG
-rwxrwxrwx 1 1026 users 148413 Apr 13 2017 IMG_0008.JPG
~$ docker exec -it immich_server /bin/bash
root@e1032bcf1d14:/usr/src/app# ls -l /volume1/photo/Camera/Karen\'s\ iPhone/100APPLE | head
total 892076
d--------- 1 root root 56016 Dec 17 2021 @eaDir
-rwxrwxrwx 1 1026 users 201284 Jun 7 2015 IMG_0001.JPG
-rwxrwxrwx 1 1026 users 124261 Jun 7 2015 IMG_0002.JPG
-rwxrwxrwx 1 1026 users 400733 Jun 8 2015 IMG_0003.JPG
-rwxrwxrwx 1 1026 users 148776 Jun 8 2015 IMG_0004.JPG
-rwxrwxrwx 1 1026 users 100477 Jun 8 2015 IMG_0005.JPG
-rwxrwxrwx 1 1026 users 368470 Jun 8 2015 IMG_0006.JPG
-rwxrwxrwx 1 1026 users 65040 Apr 13 2017 IMG_0007.JPG
-rwxrwxrwx 1 1026 users 148413 Apr 13 2017 IMG_0008.JPG
Does it looks like Immich forgot to escape the ' in the Import Path and thus failed to import assets?
7 replies
IImmich
Created by Kesteve on 12/24/2024 in #help-desk-support
External Library with \' in the Import Path failed to scan for files
I have set Logging level to Verbose, and clicked Scan for this particular External Library, here are the logs:
[Nest] 36 - 12/24/2024, 6:31:29 AM DEBUG [Api:LoggingInterceptor~t06gr9q9] POST /api/libraries/b8248174-ee5b-4dbe-ab44-2e6f39a61ad3/scan 204 5.35ms 123.204.11.96
[Nest] 8 - 12/24/2024, 6:31:29 AM LOG [Microservices:LibraryService] Refreshing library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3 for new assets
[Nest] 8 - 12/24/2024, 6:31:29 AM LOG [Microservices:LibraryService] Scanning library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3 for removed assets
[Nest] 8 - 12/24/2024, 6:31:29 AM DEBUG [Microservices:LibraryService] No non-excluded assets found in any import path for library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3
[Nest] 8 - 12/24/2024, 6:31:30 AM DEBUG [Microservices:LibraryService] Discovered 0 asset(s) in library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3...
[Nest] 8 - 12/24/2024, 6:31:30 AM DEBUG [Microservices:LibraryService] Queued check of 0 asset(s) in library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3...
[Nest] 36 - 12/24/2024, 6:31:29 AM DEBUG [Api:LoggingInterceptor~t06gr9q9] POST /api/libraries/b8248174-ee5b-4dbe-ab44-2e6f39a61ad3/scan 204 5.35ms 123.204.11.96
[Nest] 8 - 12/24/2024, 6:31:29 AM LOG [Microservices:LibraryService] Refreshing library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3 for new assets
[Nest] 8 - 12/24/2024, 6:31:29 AM LOG [Microservices:LibraryService] Scanning library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3 for removed assets
[Nest] 8 - 12/24/2024, 6:31:29 AM DEBUG [Microservices:LibraryService] No non-excluded assets found in any import path for library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3
[Nest] 8 - 12/24/2024, 6:31:30 AM DEBUG [Microservices:LibraryService] Discovered 0 asset(s) in library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3...
[Nest] 8 - 12/24/2024, 6:31:30 AM DEBUG [Microservices:LibraryService] Queued check of 0 asset(s) in library b8248174-ee5b-4dbe-ab44-2e6f39a61ad3...
You can see there is 0 assets reported.
7 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
This is my first week using Immich, and v1.121.0 is the only version I have ever used.
15 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
Hey @bo0tzz I just found this one: https://github.com/immich-app/immich/issues/3547 Looks like this is a common problem and in the issuee alextran1502 mentioned this should be fixed in Immich, if I'm still suffering the problem does it mean the bug is not completely fixed? What do you think?
15 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
btw, the file has Handler Description : IsoMedia File Produced by Google, 5-11-2011 This one should be a video I download from Google Photos.
15 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
@bo0tzz thank you for your help!
15 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
ahh... exiftool shows the problem Create Date : 170164:04:18 01:13:28 Modify Date : 2016:11:21 01:50:54 Media Create Date : 2016:11:21 01:50:54 Media Modify Date : 2016:11:21 01:50:54
15 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
Forgot to mention, I'm running Immich docker container on Synology DS920+.
15 replies
IImmich
Created by Kesteve on 12/4/2024 in #help-desk-support
Video date incorrectly shown from unrealistic Year 170164 but MP4 file's embedded date is 2016.
I have extracted the mediainfo from the mp4 file, which looks correct to me.
15 replies