From 5c37d23788c04a40d79516caaf38c5da752cef3b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Feb 2026 04:14:37 +0000 Subject: [PATCH] Clean up post-setup instructions: one step for import path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The import-photos.sh script creates the admin account via API, so "Open browser and create admin account" is no longer needed for the import path. Post-setup is now just: Import path (Strategy 1 + existing photos): "Run ~/docker/immich/import-photos.sh" — one step, no browser External library path (Strategy 2): Still requires web UI for library creation (3 steps) No existing photos: Still requires web UI for storage template (2 steps) https://claude.ai/code/session_01NAtxAkC5t6YVb3gcP1VcX8 --- ubuntu-post-install.sh | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/ubuntu-post-install.sh b/ubuntu-post-install.sh index 1c63acd..a2168c7 100644 --- a/ubuntu-post-install.sh +++ b/ubuntu-post-install.sh @@ -3431,10 +3431,21 @@ IMPORT_SCRIPT_BODY echo "│ IMMICH SETUP STEPS │" echo "└─────────────────────────────────────────────────────────────────┘" echo "" - echo " 1. Open http://localhost:2283 and create your admin account" - echo "" - if [ "$IMMICH_STRATEGY" = "2" ]; then + if [ -n "$EXISTING_PHOTOS_SOURCE" ] && [ "$IMMICH_STRATEGY" != "2" ]; then + echo " Import your existing photos:" + echo " $IMMICH_DIR/import-photos.sh" + echo "" + echo " The script handles everything automatically:" + echo " creates your admin account, generates an API key," + echo " configures the storage template, installs the CLI," + echo " and imports all photos from $EXISTING_PHOTOS_SOURCE" + echo " with EXIF dates preserved." + echo "" + echo " After import, open http://localhost:2283 to browse your photos." + elif [ "$IMMICH_STRATEGY" = "2" ]; then + echo " 1. Open http://localhost:2283 and create your admin account" + echo "" echo " 2. Enable storage template (keeps new uploads organized):" echo " Admin → Settings → Storage Template → Enable" echo " Template: {{y}}/{{MM}}/{{filename}}" @@ -3446,16 +3457,9 @@ IMPORT_SCRIPT_BODY echo "" echo " New uploads from the mobile app or web UI are stored" echo " separately in: $UPLOAD_LOCATION" - elif [ -n "$EXISTING_PHOTOS_SOURCE" ]; then - echo " 2. Run the import script:" - echo " $IMMICH_DIR/import-photos.sh" - echo "" - echo " The script handles everything automatically:" - echo " creates your admin account, generates an API key," - echo " configures the storage template, installs the CLI," - echo " and imports all photos from $EXISTING_PHOTOS_SOURCE" - echo " with EXIF dates preserved." else + echo " 1. Open http://localhost:2283 and create your admin account" + echo "" echo " 2. Enable storage template (keeps files organized by date):" echo " Admin → Settings → Storage Template → Enable" echo " Template: {{y}}/{{MM}}/{{filename}}"