[Support] Djoss - MakeMKV


Recommended Posts

Hey Guys,

 

I've been using this container for some time now and have a pretty sizable media library, so thanks for your efforts. Recently however, I've lost my ability to rip discs. The hard stop seems to be that it doesn't recognize my fairly new optical drive with the auto ripper (nothing shows up) and in the GUI (says no optical drives), despite this being in the log on start up:

 

Registration key already up-to-date.
[cont-init.d] 90-makemkv.sh: exited 0.
[cont-init.d] 95-check-optical-drive.sh: executing...
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: found optical drive [/dev/sr0, /dev/sg3], group 19.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
[cont-init.d] 96-install-autodiscripper-srv.sh: executing...
[cont-init.d] 96-install-autodiscripper-srv.sh: installing automatic disc ripper service...
[cont-init.d] 96-install-autodiscripper-srv.sh: exited 0.

 

Now there are tons of errors related to fontconfigs that I assume are unrelated as I have been ripping despite them without issue until now. Thanks for any help you can provide.

Link to comment
15 hours ago, Tergo247 said:

Hey Guys,

 

I've been using this container for some time now and have a pretty sizable media library, so thanks for your efforts. Recently however, I've lost my ability to rip discs. The hard stop seems to be that it doesn't recognize my fairly new optical drive with the auto ripper (nothing shows up) and in the GUI (says no optical drives), despite this being in the log on start up:

 

Registration key already up-to-date.
[cont-init.d] 90-makemkv.sh: exited 0.
[cont-init.d] 95-check-optical-drive.sh: executing...
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: found optical drive [/dev/sr0, /dev/sg3], group 19.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
[cont-init.d] 96-install-autodiscripper-srv.sh: executing...
[cont-init.d] 96-install-autodiscripper-srv.sh: installing automatic disc ripper service...
[cont-init.d] 96-install-autodiscripper-srv.sh: exited 0.

 

Now there are tons of errors related to fontconfigs that I assume are unrelated as I have been ripping despite them without issue until now. Thanks for any help you can provide.

This same drive was recognized in the past?

Link to comment
On 7/7/2019 at 9:15 PM, Tergo247 said:

Yes, I've ripped in something to the tune of 50 discs with it.

Could you provide the output of the following commands:

docker exec MakeMKV lsscsi -g -k

docker exec MakeMKV env HOME=/config s6-applyuidgid -u 99 -g 100 -G 19 /opt/makemkv/bin/makemkvcon -r --cache=1 info disc:9999

Link to comment
root@GowingNAS:~# docker exec MakeMKV lsscsi -g -k
[0:0:0:0]    disk    SanDisk  Cruzer Fit       1.00  /dev/sda   /dev/sg0
[1:0:0:0]    disk    ATA      WDC WD40EFRX-68N 0A82  /dev/sdb   /dev/sg1
[2:0:0:0]    disk    ATA      WDC WD40EFRX-68N 0A82  /dev/sdc   /dev/sg2
[3:0:0:0]    cd/dvd  ASUS     BC-12B1ST   b    3.00  /dev/sr0   /dev/sg3
[4:0:0:0]    disk    ATA      Samsung SSD 840  4B0Q  /dev/sdd   /dev/sg4
root@GowingNAS:~# docker exec MakeMKV env HOME=/config s6-applyuidgid -u 99 -g 100 -G 19 /opt/makemkv/bin/makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.14.4 linux(x64-release) started","%1 started","MakeMKV v1.14.4 linux(x64-release)"
MSG:5042,0,0,"The program can't find any usable optical drives.","The program can't find any usable optical drives."
DRV:0,256,999,0,"","",""
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5010,0,0,"Failed to open disc","Failed to open disc"

Here's what I got. I ordered an external 5.25 enclosure. I'll be able to test the drive on another computer when it arrives.

Link to comment
22 hours ago, Tergo247 said:

root@GowingNAS:~# docker exec MakeMKV lsscsi -g -k
[0:0:0:0]    disk    SanDisk  Cruzer Fit       1.00  /dev/sda   /dev/sg0
[1:0:0:0]    disk    ATA      WDC WD40EFRX-68N 0A82  /dev/sdb   /dev/sg1
[2:0:0:0]    disk    ATA      WDC WD40EFRX-68N 0A82  /dev/sdc   /dev/sg2
[3:0:0:0]    cd/dvd  ASUS     BC-12B1ST   b    3.00  /dev/sr0   /dev/sg3
[4:0:0:0]    disk    ATA      Samsung SSD 840  4B0Q  /dev/sdd   /dev/sg4
root@GowingNAS:~# docker exec MakeMKV env HOME=/config s6-applyuidgid -u 99 -g 100 -G 19 /opt/makemkv/bin/makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.14.4 linux(x64-release) started","%1 started","MakeMKV v1.14.4 linux(x64-release)"
MSG:5042,0,0,"The program can't find any usable optical drives.","The program can't find any usable optical drives."
DRV:0,256,999,0,"","",""
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5010,0,0,"Failed to open disc","Failed to open disc"

Here's what I got. I ordered an external 5.25 enclosure. I'll be able to test the drive on another computer when it arrives.

Could you also provide the output of:

ls -l /dev/sr0 /dev/sg3

 

Do you know if the problem started after an updated version of MakeMKV ?

Link to comment
  • 2 weeks later...

Hey guys I'm having a problem where, when I start the MakeMKV docker, several of my CPU threads go to 100%. This is on unraid 6.7.2 and wasn't happening before. Latest versions of community applications and MakeMKV. Also have Plex and Handbrake dockers. Any ideas?

Link to comment
On 7/19/2019 at 1:57 PM, thorkull said:

Hey guys I'm having a problem where, when I start the MakeMKV docker, several of my CPU threads go to 100%. This is on unraid 6.7.2 and wasn't happening before. Latest versions of community applications and MakeMKV. Also have Plex and Handbrake dockers. Any ideas?

Does MakeMKV is ripping a disc?

Link to comment
On 7/21/2019 at 7:23 PM, Djoss said:

You can try to run "htop" to see which process is using the cpu.


 

 1  [|                                                                       0.7%]   5  [                                                                        0.0%]
  2  [|                                                                       0.7%]   6  [                                                                        0.0%]
  3  [|                                                                       0.7%]   7  [                                                                        0.0%]
  4  [                                                                        0.0%]   8  [                                                                        0.0%]
  Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||            1.69G/31.4G]   Tasks: 89, 179 thr; 2 running
  Swp[                                                                       0K/0K]   Load average: 5.27 4.97 3.58
                                                                                      Uptime: 6 days, 00:19:12

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 9412 root       20   0  6364  4468  3100 R  0.7  0.0  0:09.21 htop
 3310 root       20   0 1090M 58452 35252 S  0.7  0.2 19:31.76 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --log-level=error
 2997 nobody     20   0  146M  8480  3980 S  0.7  0.0  1:31.73 nginx: worker process
20334 root       20   0  111M 13384  7840 S  0.7  0.0  0:00.06 php-fpm: pool www
 3325 root       20   0 1090M 58452 35252 S  0.7  0.2  0:38.14 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --log-level=error
16951 root       20   0  603M 29588 21656 S  0.7  0.1  0:37.50 containerd --config /var/run/docker/containerd/containerd.toml --log-level error
11372 nobody     20   0  290M 42356 31744 S  0.0  0.1  0:02.96 /opt/makemkv/bin makemkv
20307 root       20   0  111M 13388  7840 S  0.0  0.0  0:00.07 php-fpm: pool www
 4277 nobody     35  15 1666M 53828 10396 S  0.0  0.2  2:05.64 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-ad17d5f9e/Framework.bundle/Conte
 4122 nobody     20   0 2227M  175M 38540 S  0.0  0.5 15:31.46 /usr/lib/plexmediaserver/Plex Media Server
 3329 root       20   0  603M 29588 21656 S  0.0  0.1 15:36.14 containerd --config /var/run/docker/containerd/containerd.toml --log-level error
 3350 root       20   0 1090M 58452 35252 S  0.0  0.2  0:57.34 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --log-level=error
 4304 nobody     20   0 2386M  605M 19044 S  0.0  1.9 22:41.17 /usr/lib/plexmediaserver/Plex DLNA Server
 2993 root       20   0 13272  4308  3240 S  0.0  0.0 12:49.19 ttyd -d 0 -i /var/run/ttyd.sock login -f root
11363 root       20   0 19412  7684  3132 S  0.0  0.0  0:01.14 /usr/bin/x11vnc -display :0 -rfbport 5900 -rfbportv6 -1 -no6 -noipv6 -httpportv6 -1 -forever -desktop MakeMKV
11399 nobody     20   0  521M 11464  9408 S  0.0  0.0  0:01.16 /opt/makemkv/bin/makemkvcon guiserver G0012
 4512 nobody     20   0 2386M  605M 19044 S  0.0  1.9  2:13.55 /usr/lib/plexmediaserver/Plex DLNA Server
 3803 nobody     20   0 2386M  605M 19044 S  0.0  1.9  3:27.77 /usr/lib/plexmediaserver/Plex DLNA Server
32558 nobody     20   0 1666M 53828 10396 S  0.0  0.2  0:03.78 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-ad17d5f9e/Framework.bundle/Conte
 3346 root       20   0  603M 29588 21656 S  0.0  0.1  0:47.32 containerd --config /var/run/docker/containerd/containerd.toml --log-level error
 3345 root       20   0  603M 29588 21656 S  0.0  0.1  0:48.73 containerd --config /var/run/docker/containerd/containerd.toml --log-level error
 4151 nobody     35  15 1666M 53828 10396 S  0.0  0.2  8:14.22 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-ad17d5f9e/Framework.bundle/Conte
 4432 nobody     20   0 2386M  605M 19044 S  0.0  1.9  0:03.96 /usr/lib/plexmediaserver/Plex DLNA Server
 4123 nobody     20   0 2227M  175M 38540 S  0.0  0.5  0:36.17 /usr/lib/plexmediaserver/Plex Media Server
 3324 root       20   0 1090M 58452 35252 S  0.0  0.2  1:01.52 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --log-level=error
 4494 nobody     20   0 2386M  605M 19044 S  0.0  1.9  0:02.92 /usr/lib/plexmediaserver/Plex DLNA Server
 4282 nobody     20   0 2227M  175M 38540 S  0.0  0.5  2:30.99 /usr/lib/plexmediaserver/Plex Media Server
11398 nobody     20   0  521M 11464  9408 S  0.0  0.0  0:01.31 /opt/makemkv/bin/makemkvcon guiserver G0012
 3328 root       20   0 1090M 58452 35252 S  0.0  0.2  1:02.94 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --log-level=error
14723 root       20   0 1090M 58452 35252 S  0.0  0.2  0:58.13 /usr/bin/dockerd -p /var/run/dockerd.pid --storage-driver=btrfs --log-level=error
 3338 root       20   0  603M 29588 21656 S  0.0  0.1  0:41.69 containerd --config /var/run/docker/containerd/containerd.toml --log-level error
11640 root       20   0  603M 29588 21656 S  0.0  0.1  0:48.19 containerd --config /var/run/docker/containerd/containerd.toml --log-level error
 4507 nobody     20   0 2386M  605M 19044 S  0.0  1.9  2:13.35 /usr/lib/plexmediaserver/Plex DLNA Server

Note that the above doesn't match the GUI:

 

Unraid_MakeMKV_HighCPU.png.76828758855acc6c3c21f9528d6ad9a3.png

Link to comment
21 hours ago, Typhoon said:

Hi guys.

 

Does anybody know how to fix the 'your application has temporarily expired' issue? This is the first time I have seen it. It asks about a beta registration key or something. 

 

Thanks!

The beta key you had probably expired.  Try to restart the container to get the latest one.

Link to comment
  • 4 weeks later...

Hi Djoss,


Similar issue to what Tergo247 faced, albeit this is my first time running unraid/makemkv.

 

root@Tower:~# docker exec MakeMKV lsscsi -g -k
...
[6:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.10  /dev/sr0   /dev/sg3 
...
root@Tower:~# docker exec MakeMKV env HOME=/config s6-applyuidgid -u 99 -g 100 -G 19 /opt/makemkv/bin/makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.14.4 linux(x64-release) started","%1 started","MakeMKV v1.14.4 linux(x64-release)"
MSG:5042,0,0,"The program can't find any usable optical drives.","The program can't find any usable optical drives."
DRV:0,256,999,0,"","",""
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5010,0,0,"Failed to open disc","Failed to open disc"
TCOUNT:0
root@Tower:~# ls -l /dev/sr0 /dev/sg3
crw-rw---- 1 root root  21, 3 Aug 27 19:33 /dev/sg3
brw-rw---- 1 root cdrom 11, 0 Aug 27 19:54 /dev/sr0

 

Link to comment

Physically reinstalled the Bluray drive (different sata port etc) and now it seems to work.

Went from sr0 | sg3 to sr0 | sg1.

 

root@Tower:~# docker exec MakeMKV lsscsi -g -k
...
[2:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.10  /dev/sr0   /dev/sg1 
...
root@Tower:~#  docker exec MakeMKV env HOME=/config s6-applyuidgid -u 99 -g 100 -G 19 /opt/makemkv/bin/makemkvcon -r --cache=1 info disc:9999
MSG:1005,0,1,"MakeMKV v1.14.4 linux(x64-release) started","%1 started","MakeMKV v1.14.4 linux(x64-release)"
DRV:0,1,999,0,"BD-RE ASUS BW-16D1HT 3.10","","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
MSG:5010,0,0,"Failed to open disc","Failed to open disc" 
TCOUNT:0

root@Tower:~# ls -l /dev/sr0 /dev/sg1
crw-rw---- 1 root cdrom 21, 1 Sep  2 14:23 /dev/sg1
brw-rw---- 1 root cdrom 11, 0 Sep  2 15:18 /dev/sr0

 

Link to comment
On 9/1/2019 at 6:56 PM, Taddeusz said:

This container doesn't seem to be picking up the correct playlists for BD+ titles any more. I see it in the log that it says it's using java in /usr/lib/jvm/jdk/bin/java but when it's done reading it hasn't picked on the main title or anything.

This is a known issue.  I've been in talk with the developper of MakeMKV but didn't get a solution yet.

Link to comment

Is there a workaround for the fontconfig errors with this container? I see the latest commit on the GitHub addresses it but there has not been a new version released yet to include the change. This is what I am seeing in the log;

 

Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"

Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'

Fontconfig error: Cannot load default config file

 

Link to comment
14 hours ago, dave said:

Is there a workaround for the fontconfig errors with this container? I see the latest commit on the GitHub addresses it but there has not been a new version released yet to include the change. This is what I am seeing in the log;

 


Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"

Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'

Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'

Fontconfig error: Cannot load default config file

 

These errors are harmless.  However, a new release should be done soon, so the fix for this will be included. 

Link to comment
15 hours ago, Taddeusz said:

@Djoss I use the RealVNC VNC Viewer on my Mac and iOS devices and it's always complaining about unencrypted connections so I was playing around with enabling the secure feature on your containers. It appears that RealVNC uses their own type of encryption and is not compatible with SSL/TLS type encryption?

Correct.

SSVNC is a VNC viewer that works, but to my knowledge it's Windows/Linux only.

https://github.com/jlesage/docker-makemkv#ssvnc

Link to comment
  • 2 weeks later...
On 9/21/2019 at 4:18 AM, hocky said:

Hi,

just updated the docker and now i only get a black screen when opening the WebUI.

Before the update, it worked well for quite some months now.

Any idea?

 

I don't have the issue on my side... Can you provide the output of:

find /mnt/user/appdata/MakeMKV

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.