scrufola
IImmich
•Created by scrufola on 8/23/2023 in #help-desk-support
Number of images/videos does not match
In the
Administration - Server Status
section it shows shows 19301 photos and 504 videos (= 19805) for that user.
When I run a find on the library I get 19974 files (images and videos).
Then I checked the database and found 19975 entries. (And indeed, one of the assets does not have a matching file on the file system)
```docker-compose exec -u postgres database psql immich -P tuples_only -c 'SELECT "ownerId","originalPath" FROM assets WHERE "ownerId" = '"'5c511457-c
05f-4a36-bbf7-4f33f0913473';" | grep /library/ | wc -l
199753 replies
IImmich
•Created by scrufola on 8/23/2023 in #help-desk-support
I try to upload 2 images with the CLI but no image are added to the library
I try to upload 2 images with the CLI but no image is added to the library. Is there something I'm doing wrong? As you can see, the CLI deleted the images from the source folder even thought they did not appear in the libraries folder.
I'm running 1.74.0
```
$ find /l/immich/library/me/ -type f | wc -l
19974
$ docker run -it --rm -v "/l/tmp/import:/import" ghcr.io/immich-app/immich-cli:latest upload --key $KEY --server https://my.server/api --delete --album 'Sizilien 2020'
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 2 local assets
Comparing local assets with those on the Immich instance...
A total of 2 assets will be uploaded to the server
A total of 2 assets will be added to album(s).
NOTE: some assets may already be associated with the album, this will not create duplicates.
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ | 100% 2/2 Current file [/import/IMG_20201006_102615-4.jpg]
Creating albums...
$ find /l/immich/library/me/ -type f | wc -l
19974
$ ls -la import
total 33
drwxr-xr-x 2 immich immich 2 Aug 22 22:26 .
drwxrwxrwx 3 root root 4 Aug 22 22:25 ..
12 replies