ImmichI
Immich3y ago
wiinc1

Import External Library

Hi All,
I love immich and the potential it can offer to get away from Google Photos et al, but I'm encountering a challenge getting the majority of photos and videos pre-Immich into Immich. I have tried following the external library , but with no success. I have moved onto the CLI based import process but I'm missing something along the way. Below are the steps taken... I'd appreciate any help to correct where I went wrong.

  1. Logged into the immich-server docker container via docker exec -it 405fc6a7021c /bin/bash (405fc6a7021c = docker container id)
  2. Updated the below command found here: https://immich.app/docs/features/bulk-upload (immich upload --key HFEJ38DNSDUEG --server http://192.168.1.216:2283/api --recursive directory/) I want all the photos and videos included in the subfolder included in the upload
`docker run -it --rm -v "/mnt/clegane/Pictures/Media:/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key Lf121lCAvArU9IztOGYe4UOjJwXWmZUkiWWhDYbNgs --server http://192.168.1.147:2283/api --recursive directory/

/mnt/clegane/Pictures/Media = mounted path to the folder that includes all the photos, videos, and subfolders.
Lf121lCAvArU9IztOGYe4UOjJw**mZUkiWWhDYbNgs (Not the actual API key = the API key found via instructions here: https://immich.app/docs/features/bulk-upload
http://192.168.8.1:2283/api = the address to the immich app (not the actual IP)

The result from the above command is: bash: docker: command not found

Setup:
  • OS - Ubuntu Server
  • Deployment via Docker Compose
  • External library mnt'd from another server
  • Pulled down all the photos from Google Takeout which includes the folder structure that is included in the Google zip files
You can use the CLI to upload an existing gallery to the Immich server
Was this page helpful?