#Crawling for assets...No files found, exiting

1 messages ยท Page 1 of 1 (latest)

spark mulch
#

Hi ๐Ÿ™‚

I am trying to use immich CLI (npm), and the --recursive part won't work. When I upload a single file, it all works fine, but i have thousands of files and don't want to manually upload each one.

Anyway, i have no idea why it won't work with --recursive. This is the command I'm running:

immich upload -a -c 5 --recursive "/media/drive/files/Camera Uploads (Old)/

I have checked the perms, and they are correct AFAICT. But like i said, it works with a single file. I am running immich as the same user that is uploading.

I have also tried just immich upload --recursive "media/drive/files/Camera Uploads (Old)" and that doesn't work either. it seems to be a problem with --recursive

I am on ubuntu 24.04 running headless. npm version is 10.8.2 and node version is v20.20.2

Anyone got any idea? The title is the problem.

TIA ๐Ÿ™‚

north daggerBOT
#

:wave: Hey @spark mulch,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

spark mulch
#

`# You can find documentation for all the supported env variables at https://docs.immi>

The location where your uploaded files are stored

UPLOAD_LOCATION=/media/drive/files/Camera\ Uploads

The location where your database files are stored. Network shares are not supported>

DB_DATA_LOCATION=./postgres

To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier fr>

TZ=Etc/UTC

The Immich version to use. You can pin this to a specific version like "v2.1.0"

IMMICH_VERSION=v3

Connection secret for postgres. You should change it to a random password

Please use only the characters A-Za-z0-9, without special characters or spaces

DB_PASSWORD=[redacted]

The values below this line do not need to be changed

###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich`

.env

#

`name: immich

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- '2283:2283'
depends_on:
- redis
- database
environment:
- PUID=1000
- PGID=1000
restart: always
healthcheck:
disable: false

immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends: # uncomment this section for hardware acceleration - see https://docs.immich.app/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the -wsl version for WSL2 where applicable
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
environment:
- PUID=1000
- PGID=1000
healthcheck:
disable: false

redis:
container_name: immich_redis
image: docker.io/valkey/valkey:9@sha256:4963247afc4cd33c7d3b2d2816b9f7f8eeebab148d29056c2ca4d7cbc966f2d9
healthcheck:
test: redis-cli ping || exit 1
restart: always`

#

`database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
PUID: 1000
PGID: 1000
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb
#environment:
# - PUID=1000
#- PGID=1000
restart: always
healthcheck:
disable: false

volumes:
model-cache:`

docker-compose.yml

#

had to split the docker-compose as I don't have nitro and it was too long

#

anyway, if anyone has any ideas, I'd be grateful very much ๐Ÿ™‚

#

I just tried some other versions of node/npm, and same thing. tried the latest version just now, same thing

#

FWIW, I'm not set on immich/cli. if there's another way to upload them, I will use that. i only need it once

spark mulch
#

anyone able to help?

past geyser
#

use immich-go for directory upload?

spark mulch
#

ah. i had not heard of that. i will give it a go, thanks

past geyser
north daggerBOT
spark mulch
#

oh hell yeah, it's working. thanks ๐Ÿ™‚

#

thanks so much ๐Ÿ™‚