7.4 KiB
sidebar_position |
---|
7 |
FAQ
What is the difference between the cloud icon on the mobile app?
Can I add my existing photo library?
Yes, with an external library.
Why are only photos and not videos being uploaded to Immich?
This often happens when using a reverse proxy or cloudflare tunnel in front of Immich. Make sure to set your reverse proxy to allow large POST requests. In nginx
, set client_max_body_size 50000M;
or similar. Cloudflare tunnels are limited to 100 mb file sizes. Also check the disk space of your reverse proxy, in some cases proxies caches requests to disk before passing them on, and if disk space runs out the request fails.
Why is Immich slow on low-memory systems like the Raspberry Pi?
Immich optionally uses machine learning for several features. However, it can be too heavy to run on a Raspberry Pi. You can mitigate this or disable machine learning entirely.
How can I lower Immich's CPU usage?
The initial backup is the most intensive due to the number of jobs running. The most CPU-intensive ones are transcoding and machine learning jobs (Tag Images, Encode CLIP, Recognize Faces), and to a lesser extent thumbnail generation. Here are some ways to lower their CPU usage:
- Lower the job concurrency for these jobs to 1.
- Under Settings > Transcoding Settings > Threads, set the number of threads to a low number like 1 or 2.
- Under Settings > Machine Learning Settings > Facial Recognition > Model Name, you can change the facial recognition model to
buffalo_s
instead ofbuffalo_l
. The former is a smaller and faster model, albeit not as good.- You must re-run the Recognize Faces job for all images after this for facial recognition on new images to work properly.
- If these changes are not enough, see below for how you can disable machine learning.
How can I disable machine learning?
:::info Disabling machine learning will result in a poor experience for searching and the 'Explore' page, as these are reliant on it to work as intended. :::
Machine learning can be disabled under Settings > Machine Learning Settings, either entirely or by model type. For instance, you can choose to disable smart search with CLIP, but keep facial recognition enabled. This means that the machine learning service will only process the enabled jobs.
However, disabling all jobs will not disable the machine learning service itself. To prevent it from starting up at all in this case, you can comment out the immich-machine-learning
section of the docker-compose.yml.
I'm getting errors about models being corrupt or failing to download. What do I do?
You can delete the model cache volume, which is where models are downloaded. This will give the service a clean environment to download the model again.
What happens to existing files after I choose a new Storage Template?
Template changes will only apply to new assets. To retroactively apply the template to previously uploaded assets, run the Storage Migration Job, available on the Jobs page.
In the uploads folder, why are photos stored in the wrong date?
This is fixed by running the storage migration job.
Why is object detection not very good?
The default image tagging model is relatively small. You can change this for a larger model like google/vit-base-patch16-224
by setting the model name under Settings > Machine Learning Settings > Image Tagging. You can then re-run the Image Tagging job to get improved tags.
How can I see Immich logs?
Most Immich components are typically deployed using docker. To see logs for deployed docker containers, you can use the Docker CLI, specifically the docker logs
command. For examples, see Docker Help
How can I run Immich as a non-root user?
- Set the
PUID
/PGID
environment variables (in.env
). - Set the corresponding
user
argument indocker-compose
for each service. - Add an additional volume to
immich-microservices
that mounts internally to/usr/src/app/.reverse-geocoding-dump
.
The non-root user/group needs read/write access to the volume mounts, including UPLOAD_LOCATION
.
How can I reset the admin password?
The admin password can be reset by running the reset-admin-password command on the immich-server.
How can I backup data from Immich?
See backup and restore.
How can I purge data from Immich?
Data for Immich comes in two forms:
- Metadata stored in a postgres database, persisted via the
pg_data
volume - Files (originals, thumbs, profile, etc.), stored in the
UPLOAD_LOCATION
folder.
To remove the Metadata you can stop Immich and delete the volume.
docker-compose down -v
After removing the containers and volumes, the Files can be cleaned up (if necessary) from the UPLOAD_LOCATION
by simply deleting an unwanted files or folders.
How can I move all data (photos, persons, albums) from one user to another?
This requires some database queries. You can do this on the command line (in the PostgreSQL container using the psql command), or you can add for example an Adminer container to the docker-compose.yml
file, so that you can use a web-interface.
:::warning This is an advanced operation. If you can't to do it with the steps described here, this is not for you. :::
-
MAKE A BACKUP - See backup and restore.
-
Find the id of both the 'source' and the 'destination' user (it's the id column in the users table)
-
Three tables need to be updated:
// reassign albums update albums set "ownerId" = '<destinationId>' where "ownerId" = '<sourceId>'; // reassign people update person set "ownerId" = '<destinationId>' where "ownerId" = '<sourceId>'; // reassign assets update assets set "ownerId" = '<destinationId>' where "ownerId" = '<sourceId>' and checksum not in (select checksum from assets where "ownerId" = '<destinationId>');
-
There might be left-over assets in the 'source' user's library if they are skipped by the last query because of duplicate checksums. These are probably duplicates anyway, and can probably be removed.