jlesage / docker-makemkv

Docker container for MakeMKV
MIT License
435 stars 50 forks source link

AUTO_DISC_RIPPER=1 Unresponsive #87

Open lovej7 opened 4 years ago

lovej7 commented 4 years ago

Everytime I start container with AUTO_DISC_RIPPER=1 the drive doesn't do anything when a disc is inserted.

sudo docker run -d \ --name=makemkv \ -p 5800:5800 \ -v /docker/appdata/makemkv:/config:rw \ -v $HOME:/storage:ro \ -v /mnt/md0/Storage/Library/Media/Movies:/output:rw \ -e AUTO_DISC_RIPPER=1 \ --device /dev/sg0 \ jlesage/makemkv

Is the command I am using to create the container. If I leave out the -e AUTO_DISC_RIPPER=1 line I can rip disks fine through the GUI.

Running on Unbuntu Desktop 20.04.

Sorry if something doesnt make sense I am very new to linux and docker.

Thanks!

jlesage commented 4 years ago

When the container started, it won't rip and already loaded disc. Did you try to eject and re-insert the disc? If this still doesn't work, try to look at the container's log (docker logs <name of the container>).

lovej7 commented 4 years ago

I have tried ejecting and re-inserting the disc. When the Autodiscripper is enabled my system doesnt even detect a disc anymore even when I try to access the disc through file browser.

log.txt

Logs dont seem to indicate anything happening when i eject and reinsert disc.

jlesage commented 4 years ago

Does the MakeMKV GUI app see the disc ?

lovej7 commented 4 years ago

No the GUI does not see the disc when it is inserted, Says "No Disc Inserted" and the computer cannot access the disk either while the Autodiscripper is enabled.

But once I disable the Auto disc ripper the gui rips discs just fine and the computer can access discs fine again.

rusty6285 commented 3 years ago

I have this same issue, was any fix identified? when Automatic Disc Ripper: Enabled: = 1, I get 'No disc inserted'. Ripping works fine manually from the GUI when this is left as 0.

jlesage commented 3 years ago

I don't see this issue on my side... Could you provide the output of:

docker exec <container name> ps
rusty6285 commented 3 years ago

Hi! forgive me, a little new to this. I couldn't get the command to work from the Unraid console, it would spit out this error:

Unable to find image 'makemkv:latest' locally docker: Error response from daemon: pull access denied for makemkv, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

However, I did get some output from just using 'ps' from within the Makemkv console, see below. Apologies if I'm providing the wrong data! (btw this was with 'Automatic Disc Ripper: Enabled currently set to 0).

/tmp # ps PID USER TIME COMMAND 1 root 0:00 s6-svscan -s -t0 /var/run/s6/services 35 root 0:00 s6-supervise s6-fdholderd 610 root 0:00 s6-supervise app 615 root 0:00 s6-supervise nginx 616 root 0:00 s6-supervise openbox 618 root 0:00 s6-supervise x11vnc 619 root 0:00 s6-supervise xvfb 790 daemon 0:00 s6-fdholderd -1 -i rules 808 root 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf -g daemon off; 823 root 0:00 /usr/bin/Xvfb :0 -screen 0 1280x768x24 844 nginx 0:00 nginx: worker process 845 nginx 0:00 nginx: worker process 880 app 0:00 /usr/bin/openbox 894 root 0:00 s6-supervise logmonitor 895 root 0:00 s6-supervise statusmonitor 896 root 0:00 s6-supervise certsmonitor 902 root 0:00 /usr/bin/x11vnc -display :0 -rfbport 5900 -rfbportv6 -1 -no6 -noipv6 -httpportv6 -1 -forever -desktop 911 app 0:00 {makemkv} /opt/makemkv/bin makemkv 937 app 0:00 /opt/makemkv/bin/makemkvcon guiserver A0001+shm 945 root 0:00 sh 951 root 0:00 ps

jlesage commented 3 years ago

Sorry, I made a typo in the command I provided. It is now fixed. But the way you did it also works.

Get you get the same command output with the automatic disc ripper enabled ?

rusty6285 commented 3 years ago

PID USER TIME COMMAND 1 root 0:00 s6-svscan -s -t0 /var/run/s6/services 32 root 0:00 s6-supervise s6-fdholderd 617 root 0:00 s6-supervise app 622 root 0:00 s6-supervise nginx 623 root 0:00 s6-supervise openbox 624 root 0:00 s6-supervise xvfb 626 root 0:00 s6-supervise x11vnc 627 root 0:00 s6-supervise autodiscripper 801 daemon 0:00 s6-fdholderd -1 -i rules 819 root 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf -g daemon off; 830 root 0:00 /usr/bin/Xvfb :0 -screen 0 1280x768x24 855 nginx 0:00 nginx: worker process 856 nginx 0:00 nginx: worker process 861 root 0:00 s6-supervise certsmonitor 870 root 0:00 /usr/bin/x11vnc -display :0 -rfbport 5900 -rfbportv6 -1 -no6 -noipv6 -httpportv6 -1 -forever -desktop 879 app 0:00 sh ./autodiscripper 921 app 0:00 /usr/bin/openbox 1240 root 0:00 s6-supervise logmonitor 1241 root 0:00 s6-supervise statusmonitor 1247 app 0:00 {makemkv} /opt/makemkv/bin makemkv 1270 app 0:00 /opt/makemkv/bin/makemkvcon guiserver A0001+shm 2172 root 0:00 sh 2476 app 0:00 sleep 5 2477 root 0:00 ps

lferette commented 9 months ago

I have the exact same problem using the latest image.

This is docker exec ps with AUTO_DISC_RIPPER=1:

--- ~ » docker ps
CONTAINER ID   IMAGE             COMMAND   CREATED          STATUS          PORTS                                                 NAMES
d8e075d98ee3   jlesage/makemkv   "/init"   42 minutes ago   Up 42 minutes   0.0.0.0:5800->5800/tcp, :::5800->5800/tcp, 5900/tcp   lionel-makemkv-1
--- ~ » docker exec -it lionel-makemkv-1 ps
PID   USER     TIME  COMMAND
    1 root      0:00 /opt/base/sbin/cinit --progname supervisor --default-service-uid 1000 --default-service-gid 1000 -
  999 app       0:00 Xvnc -Log *:stderr:100 -nolisten tcp -nolisten local -listen unix -geometry 1920x1080 -depth 24 -r
 1004 app       0:00 nginx: master process /opt/base/sbin/nginx -c /opt/base/etc/nginx/nginx.conf -g daemon off;
 1010 app       0:00 nginx: worker process
 1011 app       0:00 nginx: worker process
 1014 app       0:00 /opt/base/bin/openbox --config-file /var/run/openbox/rc.xml --startup touch /var/run/openbox/openb
 1033 app       0:19 {makemkv} /opt/makemkv/bin makemkv debug /config/log/makemkv/debug.txt -std
 1041 app       0:02 /opt/makemkv/bin/makemkvcon guiserver A0001+std
 1048 app       0:03 {autodiscripper} /bin/sh /opt/makemkv/bin/autodiscripper
137736 app       0:00 sleep 5
137737 root      0:00 ps

and now AUTO_DISC_RIPPER=0:

--- ~ » docker exec -it lionel-makemkv-1 ps
PID   USER     TIME  COMMAND
    1 root      0:00 /opt/base/sbin/cinit --progname supervisor --default-service-uid 1000 --default-service-gid 1000 -
  818 app       0:00 Xvnc -Log *:stderr:100 -nolisten tcp -nolisten local -listen unix -geometry 1920x1080 -depth 24 -r
  823 app       0:00 nginx: master process /opt/base/sbin/nginx -c /opt/base/etc/nginx/nginx.conf -g daemon off;
  829 app       0:00 nginx: worker process
  830 app       0:00 nginx: worker process
  833 app       0:00 /opt/base/bin/openbox --config-file /var/run/openbox/rc.xml --startup touch /var/run/openbox/openb
  852 app       0:00 {makemkv} /opt/makemkv/bin makemkv debug /config/log/makemkv/debug.txt -std
  860 app       0:00 /opt/makemkv/bin/makemkvcon guiserver A0001+std
  873 root      0:00 ps

I do have some familiarity with Unix, so if you have any pointers for debugging, don't hesitate to use me as proxy.