© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
40 replies
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
Bulk Upload (Using the CLI) | Immich
You can use the CLI to upload an existing gallery to the Immich server
Libraries | Immich
Overview
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Default Library (CLI import) vs New External library
ImmichIImmich / help-desk-support
3y ago
External Library: multiple external libraries or multiple import paths within a single library?
ImmichIImmich / help-desk-support
6mo ago
external library
ImmichIImmich / help-desk-support
7mo ago
external library seems to not import 1 folder
ImmichIImmich / help-desk-support
2w ago