You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once i shut down the device, everything related to external libraries gets lost and the process is reset.
The OS that Immich Server is running on
Portainer CE
Version of Immich Server
v1.102.3
Version of Immich Mobile App
v1.102.0 build.148
Platform with the issue
Server
Web
Mobile
Your docker-compose.yml content
## WARNING: Make sure to use the docker-compose.yml of the current release:## https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml## The compose file on main may not be compatible with the latest release.#name: immichservices:
immich-server:
container_name: immich_serverimage: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}command: ['start.sh', 'immich']volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- ${EXTERNAL_PATH}:/usr/src/app/externalenv_file:
- stack.envports:
- 2283:3001depends_on:
- redis
- databaserestart: alwaysimmich-microservices:
container_name: immich_microservicesimage: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/hardware-transcoding# file: hwaccel.transcoding.yml# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcodingcommand: ['start.sh', 'microservices']volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
- ${EXTERNAL_PATH}:/usr/src/app/externalenv_file:
- stack.envdepends_on:
- redis
- databaserestart: alwaysimmich-machine-learning:
container_name: immich_machine_learning# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.# Example tag: ${IMMICH_VERSION:-release}-cudaimage: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration# file: hwaccel.ml.yml# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicablevolumes:
- model-cache:/cacheenv_file:
- stack.envrestart: alwaysredis:
container_name: immich_redisimage: registry.hub.docker.com/library/redis:6.2-alpine@sha256:84882e87b54734154586e5f8abd4dce69fe7311315e2fc6d67c29614c8de2672restart: alwaysdatabase:
container_name: immich_postgresimage: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}POSTGRES_USER: ${DB_USERNAME}POSTGRES_DB: ${DB_DATABASE_NAME}volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/datarestart: alwaysvolumes:
model-cache:
1. I'm running this in Flashstor NAS device and using Portainer CE to deploy. Currently I'm using only with "External libraries".
Everything synchronises and I see all the photos loaded from External Library and everything seems as expected.
2. I shut down the NAS device.
3. When I turn it ON again, everything is gone and it takes me from "Get Started" button where I've to create again the user and setup everything from scratch and run the jobs.PS: I set upload location outside the container to utilize the full NAS space and to not be depended on container. My doubts are on db location maybe shall be set the same as upload location.
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Seems the problem is as I anticipated. The database location should be in the same level with upload location.
Changing .env as below solved the issue:
The bug
Once i shut down the device, everything related to external libraries gets lost and the process is reset.
The OS that Immich Server is running on
Portainer CE
Version of Immich Server
v1.102.3
Version of Immich Mobile App
v1.102.0 build.148
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: