Coder Social home page Coder Social logo

Comments (8)

jlesage avatar jlesage commented on August 13, 2024

For your first issue, I tried to replicate and I could not. mkv files are always put in the correct folder. Are you using the latest version of the image? Maybe you could provide the container log showing the issue?

For you second point, I agree that it's a situation that could be fixed. I will check what would be the best way to achieve this.

from docker-makemkv.

tb-lund avatar tb-lund commented on August 13, 2024

Thank you for the reply. That is indeed very strange. I have been using the "latest" version but today also deleted it and forced the v1.9.3. Here is my starting parameters:

docker run -d \ --restart=unless-stopped \ --name=makemkv \ -p 5800:5800 \ -v /appdata/makemkv:/config:rw \ -v /appdata:/storage:ro \ -v /mnt/pve/NFS-media/Videos/Import/raw:/output:rw \ -e AUTO_DISC_RIPPER=1 \ -e AUTO_DISC_RIPPER_EJECT=1 \ -e AUTO_DISC_RIPPER_MIN_TITLE_LENGTH=360 \ -e UMASK=000 \ -e KEEP_APP_RUNNING=1 \ --device /dev/sr0 \ --device /dev/sg0 \ jlesage/makemkv:v1.9.3

I would be very happy to supply a log file, but the fact is that it does not generate any log file in the "appdata/makemkv/log" directory only the nginx log. Should I be looking elsewhere? The troubleshooting I have done is to run two disks from the same series. In this case my old "The West Wing" box.
The first disk generated the directory "THE_WEST_WING" and the files "title00.mkv", "title01.mkv", "title02.mkv", "title03.mkv".

When I insert the the second disk it generates a second directory "THE_WEST_WING-BpCbMi" then spins the disk for 30 seconds and ejects it without saving any files. Then I rename the .mkv files without renaming the directory e.g., title00.mkv to S1E1.mkv and insert the second disk again. Then it generates a third directory "THE_WEST_WING-pPOBFH" and runs the disk through but saves the "title00.mkv" in the original "THE_WEST_WING" directory.

Have I caused this through changes in the docker command?

from docker-makemkv.

jlesage avatar jlesage commented on August 13, 2024

You can get the container log by executing the command docker logs [container name].

You should see messages showing the auto disc ripper working.

from docker-makemkv.

tb-lund avatar tb-lund commented on August 13, 2024

Thank you! Now I see the log.

Strangely enough it says "chown: /output/THE_WEST_WING-CHOpcD: Operation not permitted"
The output folder has men set to "777" and the docker container is run as root to avoid any such issues.

from docker-makemkv.

jlesage avatar jlesage commented on August 13, 2024

Which type of filesystem/mount /raw is on the host?

from docker-makemkv.

tb-lund avatar tb-lund commented on August 13, 2024

This is a NFS mount from a NAS.

I have re-run it now with specifying the user through:

-e USER_ID=0
-e GROUP_ID=0 \

and skipped the:
-e UMASK=000 \

So far, it is actually working! Should have been the same user, i.e., root, but at least it is working.

from docker-makemkv.

tb-lund avatar tb-lund commented on August 13, 2024

For those who do run into the same issue. The problem is something called a "root_squash" which is default of NFS shares e.g., on the ReadyNas which I'm using. This disables the root function on the share and thus results in the "Operation not permitted" error. Fortunately, the solution is easy. Add "no_root_squash" in the parentheses section i.e.,
(insecure,insecure_locks,rw,no_root_squash,async)
to the share in /etc/exports of the NAS and reboot the NAS. then everything works as expected.

from docker-makemkv.

jlesage avatar jlesage commented on August 13, 2024

Note that you should not have to run MakeMKV as root. So the next image update will have a fix that will allow you to run as non-root while still having the ability to set UMASK to 000.

The next update will also cover your first point.

from docker-makemkv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.