Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transcode videos button in admin/tasks tab not working #14695

Open
2 of 3 tasks
adri1m64 opened this issue Dec 14, 2024 · 3 comments
Open
2 of 3 tasks

Transcode videos button in admin/tasks tab not working #14695

adri1m64 opened this issue Dec 14, 2024 · 3 comments

Comments

@adri1m64
Copy link

The bug

Hello, i've a problem, the Transcode video button in admin settings / tasks not working. When i click on it. It increment the waiting score. It's not a web based bug because the score is the same on the web on my phone. I don't think i can provide log on this bug

The OS that Immich Server is running on

Ubuntu 24.04.1 LTS

Version of Immich Server

v1.122.3

Version of Immich Mobile App

v1.122.3

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: 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}:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - /mnt/backup2/videos:/mnt/videos  # Mapping des vidéos conservé
    env_file:
      - .env
    ports:
      - '2283:2283'
    depends_on:
      - redis
      - database
    restart: always
    healthcheck:
      disable: false
    networks:
      - reseau_global  # Référence au réseau externe existant

  immich-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}-cuda
    image: 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 applicable
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false
    networks:
      - reseau_global  # Référence au réseau externe existant

  redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:2ba50e1ac3a0ea17b736ce9db2b0a9f6f8b85d4c27d5f5accc6a416d8f42c6d5
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always
    networks:
      - reseau_global  # Référence au réseau externe existant

  database:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_INITDB_ARGS: '--data-checksums'
    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
    healthcheck:
      test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
      interval: 5m
      start_interval: 30s
      start_period: 5m
    command:
      [
        'postgres',
        '-c',
        'shared_preload_libraries=vectors.so',
        '-c',
        'search_path="$$user", public, vectors',
        '-c',
        'logging_collector=on',
        '-c',
        'max_wal_size=2GB',
        '-c',
        'shared_buffers=512MB',
        '-c',
        'wal_compression=on',
      ]
    restart: always
    networks:
      - reseau_global  # Référence au réseau externe existant..



  power-tools:
    container_name: immich_power_tools
    image: ghcr.io/varun-raj/immich-power-tools:0.10.1
    ports:
      - "2284:3000"
    env_file:
      - .env

    networks:
      - reseau_global


volumes:
  model-cache:

networks:
  reseau_global:
    external: true  # Indique que ce réseau est externe et ne doit pas être créé

Your .env content

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=./library
# The location where your database files are stored
DB_DATA_LOCATION=./postgres

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=Europe/Paris

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# 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=fezgetrhegfzeghtrjy

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich



IMMICH_API_KEY = frgthyjhrtegrfzehtryj
IMMICH_URL = "http://immich_server:2283"
EXTERNAL_IMMICH_URL = hjgfdgdhfdgrhygtfregbfrj

Reproduction steps

  1. Going in admin settings
  2. Going in tasks
  3. Clicking on missing in transcode videos
    Screen recording 2024-12-14 16.49.33.webm

...

Relevant log output

No response

Additional information

No response

@bo0tzz
Copy link
Member

bo0tzz commented Dec 14, 2024

There should be logs, and we definitely will need them to be able to do anything with this issue. Ideally with the log level set to verbose.

@adri1m64
Copy link
Author

adri1m64 commented Dec 15, 2024

[Nest] 71  - 12/15/2024, 11:01:24 AM VERBOSE [Api:LoggingInterceptor~t07jz29u] 

[Nest] 71  - 12/15/2024, 11:01:25 AM   DEBUG [Api:LoggingInterceptor~8ask6228] GET /api/server/features 200 52.87ms my_ip

[Nest] 71  - 12/15/2024, 11:01:25 AM   DEBUG [Api:LoggingInterceptor~m9cq2ntm] GET /api/server/config 200 57.11ms my_ip

[Nest] 71  - 12/15/2024, 11:01:43 AM   DEBUG [Api:LoggingInterceptor~zq3ovugn] GET /api/server/ping 200 1.70ms ::ffff:127.0.0.1

[Nest] 71  - 12/15/2024, 11:01:49 AM   DEBUG [Api:LoggingInterceptor~m0t27ztc] GET /api/server/storage 200 2.35ms my_ip

[Nest] 71  - 12/15/2024, 11:01:49 AM   DEBUG [Api:LoggingInterceptor~tl7r062q] GET /api/admin/users?withDeleted=true 200 9.56ms my_ip

[Nest] 71  - 12/15/2024, 11:01:51 AM   DEBUG [Api:LoggingInterceptor~1yqmwmbp] GET /api/jobs 200 53.43ms my_ip

[Nest] 71  - 12/15/2024, 11:01:51 AM   DEBUG [Api:LoggingInterceptor~as1b2rmi] GET /api/jobs 200 56.62ms my_ip

[Nest] 71  - 12/15/2024, 11:01:52 AM   DEBUG [Api:LoggingInterceptor~0i8iyg2a] GET /api/server/storage 200 2.46ms my_ip

[Nest] 71  - 12/15/2024, 11:01:52 AM   DEBUG [Api:LoggingInterceptor~ijhkvdr1] GET /api/server/storage 200 2.38ms my_ip

[Nest] 71  - 12/15/2024, 11:01:52 AM   DEBUG [Api:LoggingInterceptor~x7qu5q48] GET /api/server/about 200 214.48ms my_ip

[Nest] 71  - 12/15/2024, 11:01:52 AM   DEBUG [Api:LoggingInterceptor~ci29hjnf] GET /api/server/version-history 200 11.12ms my_ip

[Nest] 71  - 12/15/2024, 11:01:52 AM   DEBUG [Api:LoggingInterceptor~3c8fahmn] GET /api/server/about 200 213.06ms my_ip

[Nest] 71  - 12/15/2024, 11:01:57 AM   DEBUG [Api:LoggingInterceptor~y294v1dp] GET /api/jobs 200 49.51ms my_ip

[Nest] 71  - 12/15/2024, 11:02:02 AM   DEBUG [Api:LoggingInterceptor~v5o5ixe5] GET /api/jobs 200 48.99ms my_ip

[Nest] 71  - 12/15/2024, 11:02:04 AM   DEBUG [Api:JobService~kkvh4tja] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:04 AM   DEBUG [Api:LoggingInterceptor~kkvh4tja] PUT /api/jobs/videoConversion 200 20.88ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:04 AM VERBOSE [Api:LoggingInterceptor~kkvh4tja] 

[Nest] 71  - 12/15/2024, 11:02:04 AM   DEBUG [Api:JobService~e2xff1oj] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:04 AM   DEBUG [Api:LoggingInterceptor~e2xff1oj] PUT /api/jobs/videoConversion 200 13.69ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:04 AM VERBOSE [Api:LoggingInterceptor~e2xff1oj] 

[Nest] 71  - 12/15/2024, 11:02:04 AM   DEBUG [Api:JobService~3qjah2ci] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:04 AM   DEBUG [Api:LoggingInterceptor~3qjah2ci] PUT /api/jobs/videoConversion 200 13.11ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:04 AM VERBOSE [Api:LoggingInterceptor~3qjah2ci] 

[Nest] 71  - 12/15/2024, 11:02:05 AM   DEBUG [Api:JobService~t8czzie5] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:05 AM   DEBUG [Api:LoggingInterceptor~t8czzie5] PUT /api/jobs/videoConversion 200 14.72ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:05 AM VERBOSE [Api:LoggingInterceptor~t8czzie5] 

[Nest] 71  - 12/15/2024, 11:02:05 AM   DEBUG [Api:JobService~87za1x3n] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:05 AM   DEBUG [Api:LoggingInterceptor~87za1x3n] PUT /api/jobs/videoConversion 200 15.79ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:05 AM VERBOSE [Api:LoggingInterceptor~87za1x3n] 

[Nest] 71  - 12/15/2024, 11:02:05 AM   DEBUG [Api:JobService~dcqxjo7l] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:05 AM   DEBUG [Api:LoggingInterceptor~dcqxjo7l] PUT /api/jobs/videoConversion 200 16.81ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:05 AM VERBOSE [Api:LoggingInterceptor~dcqxjo7l] 

[Nest] 71  - 12/15/2024, 11:02:08 AM   DEBUG [Api:LoggingInterceptor~gscsikkz] GET /api/jobs 200 49.71ms my_ip

[Nest] 71  - 12/15/2024, 11:02:14 AM   DEBUG [Api:LoggingInterceptor~855cmotl] GET /api/jobs 200 48.97ms my_ip

[Nest] 71  - 12/15/2024, 11:02:17 AM   DEBUG [Api:LoggingInterceptor~0zwyt3bm] GET /api/server/ping 200 1.49ms ::ffff:127.0.0.1

[Nest] 71  - 12/15/2024, 11:02:20 AM   DEBUG [Api:LoggingInterceptor~z76phexm] GET /api/jobs 200 50.92ms my_ip

[Nest] 71  - 12/15/2024, 11:02:26 AM   DEBUG [Api:LoggingInterceptor~oocc9i5c] GET /api/jobs 200 47.25ms my_ip

[Nest] 71  - 12/15/2024, 11:02:32 AM   DEBUG [Api:LoggingInterceptor~excwf40h] GET /api/jobs 200 48.96ms my_ip

[Nest] 71  - 12/15/2024, 11:02:38 AM   DEBUG [Api:LoggingInterceptor~q35636cc] GET /api/jobs 200 53.17ms my_ip

[Nest] 71  - 12/15/2024, 11:02:40 AM   DEBUG [Api:JobService~p7icnr5l] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:40 AM   DEBUG [Api:LoggingInterceptor~p7icnr5l] PUT /api/jobs/videoConversion 200 15.48ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:40 AM VERBOSE [Api:LoggingInterceptor~p7icnr5l] 

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:JobService~3vs6ntns] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:LoggingInterceptor~3vs6ntns] PUT /api/jobs/videoConversion 200 15.11ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM VERBOSE [Api:LoggingInterceptor~3vs6ntns] 

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:JobService~cg7fj2sx] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:LoggingInterceptor~cg7fj2sx] PUT /api/jobs/videoConversion 200 12.77ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM VERBOSE [Api:LoggingInterceptor~cg7fj2sx] 

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:JobService~xasgiigb] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:LoggingInterceptor~xasgiigb] PUT /api/jobs/videoConversion 200 18.70ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM VERBOSE [Api:LoggingInterceptor~xasgiigb] 

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:JobService~c04iawrs] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:LoggingInterceptor~c04iawrs] PUT /api/jobs/videoConversion 200 12.65ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM VERBOSE [Api:LoggingInterceptor~c04iawrs] 

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:JobService~lkp77f0m] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:LoggingInterceptor~lkp77f0m] PUT /api/jobs/videoConversion 200 13.05ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM VERBOSE [Api:LoggingInterceptor~lkp77f0m] 

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:JobService~69ujxnfz] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM   DEBUG [Api:LoggingInterceptor~69ujxnfz] PUT /api/jobs/videoConversion 200 15.45ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:41 AM VERBOSE [Api:LoggingInterceptor~69ujxnfz] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~c3yfyzqb] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:LoggingInterceptor~c3yfyzqb] PUT /api/jobs/videoConversion 200 12.26ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM VERBOSE [Api:LoggingInterceptor~c3yfyzqb] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~sezirc4s] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:LoggingInterceptor~sezirc4s] PUT /api/jobs/videoConversion 200 13.17ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM VERBOSE [Api:LoggingInterceptor~sezirc4s] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~o22rp33j] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:LoggingInterceptor~o22rp33j] PUT /api/jobs/videoConversion 200 15.27ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM VERBOSE [Api:LoggingInterceptor~o22rp33j] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~19zxq6ob] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:LoggingInterceptor~19zxq6ob] PUT /api/jobs/videoConversion 200 12.73ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM VERBOSE [Api:LoggingInterceptor~19zxq6ob] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~yeoialgt] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:LoggingInterceptor~yeoialgt] PUT /api/jobs/videoConversion 200 12.47ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM VERBOSE [Api:LoggingInterceptor~yeoialgt] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~ynxaklop] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:LoggingInterceptor~ynxaklop] PUT /api/jobs/videoConversion 200 13.51ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:42 AM VERBOSE [Api:LoggingInterceptor~ynxaklop] 

[Nest] 71  - 12/15/2024, 11:02:42 AM   DEBUG [Api:JobService~ocu7x139] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:LoggingInterceptor~ocu7x139] PUT /api/jobs/videoConversion 200 12.82ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM VERBOSE [Api:LoggingInterceptor~ocu7x139] 

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:JobService~zzzvcn1m] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:LoggingInterceptor~zzzvcn1m] PUT /api/jobs/videoConversion 200 12.47ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM VERBOSE [Api:LoggingInterceptor~zzzvcn1m] 

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:JobService~2k15ut9h] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:LoggingInterceptor~2k15ut9h] PUT /api/jobs/videoConversion 200 14.43ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM VERBOSE [Api:LoggingInterceptor~2k15ut9h] 

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:JobService~qstbgfpg] Handling command: queue=videoConversion,force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:LoggingInterceptor~qstbgfpg] PUT /api/jobs/videoConversion 200 12.13ms my_ip

command=start force=false

[Nest] 71  - 12/15/2024, 11:02:43 AM VERBOSE [Api:LoggingInterceptor~qstbgfpg] 

[Nest] 71  - 12/15/2024, 11:02:43 AM   DEBUG [Api:LoggingInterceptor~ljie8jjx] GET /api/jobs 200 49.27ms my_ip

[Nest] 71  - 12/15/2024, 11:02:49 AM   DEBUG [Api:LoggingInterceptor~q4dcla33] GET /api/jobs 200 52.55ms my_ip

[Nest] 71  - 12/15/2024, 11:02:51 AM   DEBUG [Api:LoggingInterceptor~pact4m8a] GET /api/server/ping 200 1.16ms ::ffff:127.0.0.1

[Nest] 71  - 12/15/2024, 11:02:55 AM   DEBUG [Api:LoggingInterceptor~vb9zvk93] GET /api/jobs 200 53.10ms my_ip

[Nest] 71  - 12/15/2024, 11:03:01 AM   DEBUG [Api:LoggingInterceptor~jfl3s679] GET /api/jobs 200 67.35ms my_ip

[Nest] 71  - 12/15/2024, 11:03:07 AM   DEBUG [Api:LoggingInterceptor~epduy1hj] GET /api/jobs 200 50.27ms my_ip

Okay, so I followed what you said and I've done again the bug (i've replace my public ip by "my_ip") here are the results

@mertalev
Copy link
Contributor

I think the job scheduler might have lost connection to Redis. Try restarting Immich and trying again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants