flywalt
IImmich
•Created by flywalt on 12/2/2024 in #help-desk-support
cannot encode videos
hi there's some issue with my video services. I found :
1. the microservices log keeps report"ERROR [Microservices:MediaService] mov,mp4,m4a,3gp,3g2,mj2",
2. and the encode task won't proceed.
3. at first the exteral library scaned like 14000 video files, but later the count droped to 4000, while the encode task count is still 14000 and won't go foward.
What I've done is to use the hardware accelerate as the docs described. My host CPU is n5015 which is the 11th type of intel and capable of qsv.
39 replies
IImmich
•Created by flywalt on 11/28/2024 in #help-desk-support
PostgreSQL Keeps Restarting and server failed
The issue I encountered is that after running normally for some time, PostgreSQL stops functioning properly, which causes the server to fail. Below are my deployment environment and detailed problem description.
Deployment Environment:
Host 1: x86 Synology NAS, CPU J3160, 8GB RAM
Deployment: Initialized Immich1, added Synology photo folder as an external library but did not start photo processing tasks. The server was seperated into server and microservice, and the microservice container was stopped, while other four remained in use.
docker-compose.yml:
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /volume4/homes/dafei/Photos:/mnt/media/Photos:ro #external album
- /etc/localtime:/etc/localtime:ro
Host 2: x86 Ubuntu (ESXi VM), CPU N5105, 8GB RAM
Deployment: Immich2 was set up primarily to run the microservice. All five were in use.
Used NFS to mount the following directories:
Synology photo folder /volume4/homes/dafei/Photos (mounted to /mnt/DS920/photos).
Synology Docker's Immich folder /volume4/docker/immich (mounted to /mnt/DS920/immich).
docker-compose.yml:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /mnt/DS920/photos:/mnt/media/Photos:ro
- /etc/localtime:/etc/localtime:ro
.env:
UPLOAD_LOCATION=/mnt/DS920/photos
DB_DATA_LOCATION=/mnt/DS920/immich/postgres
---
Initially, the program ran smoothly, but over time, the external library statistics became inaccurate and failed to update.
Upon reviewing logs, database connection errors were observed, with Host 1's PostgreSQL service reporting issues.
Logs from Host 1's PostgreSQL:
The following repeated messages were logged:
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-11-28 01:33:07.696 UTC [1] LOG: redirecting log output to logging collector process
2024-11-28 01:33:07.696 UTC [1] HINT: Future log output will appear in directory "log".
23 replies