-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Ubuntu: "The program can't find any usable optical drives" #98
Comments
Could you provide the output of:
|
Running that, I get:
|
I'm in a similar boat, but on Fedora running with podman. I've also configure the container to run in privileged mode and switched the --device parameters over to the --mount parameter while running in privileged mode. |
My output for the requested command:
|
And what is the output of:
|
When running that command this is the output:
|
Here's mine:
|
I've searched around for this issue, and it's been reported by a few users online, generally it seems to be a permissions thing or a MakeMKV update that's broken something. I'm running this docker container within an Ubuntu server virtual machine running on Proxmox, with the disk drive attached natively to the VM. I don't anticipate any issues on that side. Therefore for me it's likely to be that another version of MakeMKV would fix it, or I need to elevate the privileges of this docker container somehow. I'm not yet sure how to do either, but I'll give it a go. |
I'm also suspecting an issue with MakeMKV itself. If you run the container in privileged mode ( |
Just a wee update. I added
|
Do you have the same issue with the latest update ? |
I have bought a USB Blu-Ray drive, and that is picked up just fine by the MakeMkv Docker container after that specific USB device is passed through to the Ubuntu server VM in Proxmox. As such, I am forced to conclude that the issue was either a problem with that internal DVD drive or with the way Proxmox was passing it through. I am closing this issue, but hopefully if anyone else encounters this problem with an internal DVD drive it will lead them towards trying a USB DVD drive and potentially seeing an easy win. |
I don't think of buying new hardware as an easy win, generally. You're letting the computer beat you! FYI, this issue still exists. I'm able to verify the contents of my DVD in the Proxmox guest and the container by mounting them. I don't know how to verify that EDIT: |
Same error on a SATA DVD drive. Fixed by installing a known to work with MakeMKV SATA drive. Would like my working drive but it's from 2007 so I doubt they make it anymore. OS: Fedora server |
I had this issue earlier and it turned out that the user running the command wasn't added to the |
Same problem for me. |
Same issue on a Debian 12.5 Proxmox VM. I use the official makemkv image for the container.
I basically used jcreek docker-compose file to install the container. (priviledged container) I have seen somebody talking about decription issues, Any guess on how to solve this issue? |
You should first check the container's log to make sure your drive is found and properly exposed. |
I've tried this a couple ways,
Using Proxmox 8.2 as the hypervisor
I think it has to do with Proxmox, but I am not sure really how to confirm that. |
how do I check the IDs on the host system? which docker-compose file did you use to create the docker container within the proxmox lxc container? I think you didn't use a VM in the end |
For a docker running in a Proxmox LXC type installation of this docker image I was also successful with just changing the 'GID in CT' for the two passthrough-devices (/dev/srX and /dev/sgY) to the cdrom group of the LXC container. Uusually this would be '24': You may double check this ID by running Apart from that, nothing else had to be changed. Neither the default 'Access Mode in CT' nor running the docker container in privileged mode. In case you are wondering: To view and edit the 'GID in CT' setting you need to enable the "Avanced" checkbox in the Proxmox Device Passthrough dialogue. |
@derandiunddasbo Thank you, that did the trick for me! Was about to give up when I found your solution! |
I set this up using this docker-compose file:
Accessing the web interface on port 5800 I can see a message stating that "The program can't find any usable optical drives"
I have checked the docker logs, and note that it claims to have found my disk drive, at the correct locations revealed by running
sudo sg_map
from the terminal (/dev/sr0, /dev/sg2).I'm unsure what the issue is here. Based on the docker logs I would expect it to work, however the web interface says it can't find a usable drive, and the auto disc ripper does not run.
Any suggestions would be greatly appreciated!
The text was updated successfully, but these errors were encountered: