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

[BUG] Emby fails to start with Emby-Mediainfo-Plugin Mod #948

Closed
1 task done
DaveO16176 opened this issue Sep 2, 2024 · 1 comment
Closed
1 task done

[BUG] Emby fails to start with Emby-Mediainfo-Plugin Mod #948

DaveO16176 opened this issue Sep 2, 2024 · 1 comment

Comments

@DaveO16176
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

emby-mediainfo-plugin

Name of base container

Emby

Current Behavior

When the Emby container restarts the mod forces the container to exit because the unzip command queries for user input to overwrite the existing biftool_linux.zip file. Initially creating the container or recreating the container avoids this error.

Expected Behavior

The mod should suppress the overwrite query and overwrite the existing biftool_linux.zip file if the mod downloaded a newer version of the file.

Steps To Reproduce

  1. Restart an Emby container with the emby-mediainfo-plugin as a docker mod
  2. Container's log will show the unzip command querying for user input and eventually existing, which will cause the Emby container to exit

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

version: '3.8'
services:
  emby:
    image: lscr.io/linuxserver/emby:latest
    container_name: emby
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - NVIDIA_VISIBLE_DEVICES=all
      - DOCKER_MODS=linuxserver/mods:emby-mediainfo-plugin
    runtime: nvidia
    volumes:
      - /media/emby/config:/config
      - /media/pool:/mnt/share1
      - /media/a_star_hdd/recordings:/recordings
      - /media/a_star_hdd/transcode:/transcode
    ports:
      - 8096:8096
    restart: unless-stopped

Container logs

2024-09-02T17:56:30.244798329Z [mod-init] Running Docker Modification Logic
2024-09-02T17:56:30.410786139Z [mod-init] Adding linuxserver/mods:emby-mediainfo-plugin to container
2024-09-02T17:56:31.185342424Z [mod-init] linuxserver/mods:emby-mediainfo-plugin at sha256:1f90339379c476cd40b6a4badb7147dd9677f1825b03e2823473fa9128d1b8cc has been previously applied skipping
2024-09-02T17:56:31.213295435Z [migrations] started
2024-09-02T17:56:31.213320552Z [migrations] no migrations found
2024-09-02T17:56:31.231177001Z usermod: no changes
2024-09-02T17:56:31.231943326Z ───────────────────────────────────────
2024-09-02T17:56:31.231958605Z 
2024-09-02T17:56:31.231963885Z       ██╗     ███████╗██╗ ██████╗
2024-09-02T17:56:31.231967842Z       ██║     ██╔════╝██║██╔═══██╗
2024-09-02T17:56:31.231971559Z       ██║     ███████╗██║██║   ██║
2024-09-02T17:56:31.231975236Z       ██║     ╚════██║██║██║   ██║
2024-09-02T17:56:31.231978863Z       ███████╗███████║██║╚██████╔╝
2024-09-02T17:56:31.231986758Z       ╚══════╝╚══════╝╚═╝ ╚═════╝
2024-09-02T17:56:31.231999291Z 
2024-09-02T17:56:31.232004652Z    Brought to you by linuxserver.io
2024-09-02T17:56:31.232009791Z ───────────────────────────────────────
2024-09-02T17:56:31.232152200Z 
2024-09-02T17:56:31.232165285Z To support LSIO projects visit:
2024-09-02T17:56:31.232169833Z https://www.linuxserver.io/donate/
2024-09-02T17:56:31.232173480Z 
2024-09-02T17:56:31.232177137Z ───────────────────────────────────────
2024-09-02T17:56:31.232181205Z GID/UID
2024-09-02T17:56:31.232184721Z ───────────────────────────────────────
2024-09-02T17:56:31.234316862Z 
2024-09-02T17:56:31.234325789Z User UID:    1000
2024-09-02T17:56:31.234329116Z User GID:    1000
2024-09-02T17:56:31.234332211Z ───────────────────────────────────────
2024-09-02T17:56:31.234998538Z Linuxserver.io version: 4.8.8.0-ls217
2024-09-02T17:56:31.235139775Z Build-date: 2024-08-29T21:27:04+00:00
2024-09-02T17:56:31.235151136Z ───────────────────────────────────────
2024-09-02T17:56:31.235154943Z     
2024-09-02T17:56:31.260830378Z **** Installing packages ****
2024-09-02T17:56:31.265309306Z [pkg-install-init] **** Installing all mod packages ****
2024-09-02T17:56:31.583872769Z Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
2024-09-02T17:56:31.661058164Z Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
2024-09-02T17:56:31.741415632Z Hit:3 http://archive.ubuntu.com/ubuntu noble-security InRelease
2024-09-02T17:56:32.333475651Z Reading package lists...
2024-09-02T17:56:32.898153297Z Reading package lists...
2024-09-02T17:56:33.034262664Z Building dependency tree...
2024-09-02T17:56:33.034321966Z Reading state information...
2024-09-02T17:56:33.198041608Z mediainfo is already the newest version (24.01.1-1build2).
2024-09-02T17:56:33.198056767Z mkvtoolnix is already the newest version (82.0-1build2).
2024-09-02T17:56:33.198059813Z unzip is already the newest version (6.0-28ubuntu4).
2024-09-02T17:56:33.198062337Z 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2024-09-02T17:56:33.222339305Z **** Installing BIF Tool ****
2024-09-02T17:56:33.227594286Z   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2024-09-02T17:56:33.227654079Z                                  Dload  Upload   Total   Spent    Left  Speed
2024-09-02T17:56:33.350591824Z 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2024-09-02T17:56:33.468435403Z 
100  266k  100  266k    0     0  1105k      0 --:--:-- --:--:-- --:--:-- 1105k
2024-09-02T17:56:33.472981897Z Archive:  biftool_linux.zip
2024-09-02T17:56:33.473023766Z replace /usr/bin/biftool? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
2024-09-02T17:56:33.473035638Z (EOF or read error, treating as "[N]one" ...)
2024-09-02T17:56:33.473629769Z s6-rc: warning: unable to start service init-mod-emby-mediainfo-plugin-postinstall: command exited 1
@DaveO16176
Copy link
Author

PR fixed the issue.

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

No branches or pull requests

1 participant