Using MakeMKV on Linux Ubuntu 24.04.2 LTS; Docker 28.3.3; automatic ripping machine 2.17.5.
ARM worked for 130 DVD/Bluray then started failing with code 253.
[08-20-2025 15:10:23] INFO ARM: Processing files to: /home/arm/media/transcode/movies/The-Shop-Around-the-Corner (1940)_175570256022
[08-20-2025 15:10:23] INFO ARM: ************* Ripping disc with MakeMKV *************
[08-20-2025 15:10:23] INFO ARM: Updating MakeMKV key...
[08-20-2025 15:10:23] INFO ARM: Starting MakeMKV rip. Method is mkv
[08-20-2025 15:10:24] ERROR ARM: Call to MakeMKV failed with code: 253
[08-20-2025 15:10:24] INFO ARM: MakeMKV info exits.
[08-20-2025 15:10:24] ERROR ARM: MakeMKV did not complete successfully. Exiting ARM! Error: Call to MakeMKV failed with code: 253
[08-20-2025 15:10:24] ERROR ARM:
Makemkv fails code 253
Re: Makemkv fails code 253
Apparently your container doesn't have makemkvcon so this can't be a makemkv problem, it's a container problem. As far as I know there is no official MakeMKV Docker image so you need to ask the container maintainer.
-
- Posts: 6
- Joined: Mon Jul 14, 2025 7:52 pm
Re: Makemkv fails code 253
So, I started over. I deleted A.R.M. container and image. Then reinstalled A.R.M. from repository.
I am now running A.R.M version 2.18.3. Now, I get a different error. MakeMKV says it had an error updating the key. See log below.
I guess I'll just give up until someone tells me they have MakeMKV fixed.
Not sure what else to try.
Log file follows.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
I am now running A.R.M version 2.18.3. Now, I get a different error. MakeMKV says it had an error updating the key. See log below.
I guess I'll just give up until someone tells me they have MakeMKV fixed.
Not sure what else to try.
Log file follows.
Code: Select all
[08-28-2025 20:41:00] INFO ARM: ARM version: 2.18.3
[08-28-2025 20:41:00] INFO ARM: Python version: 3.10.12 (main, May 27 2025, 17:12:29) [GCC 11.4.0]
[08-28-2025 20:41:00] INFO ARM: User is: arm
[08-28-2025 20:41:00] INFO ARM: Alembic head is: a79af75f4b31
[08-28-2025 20:41:00] INFO ARM: Database version is: a79af75f4b31
[08-28-2025 20:41:00] INFO ARM: ************* Starting ARM processing at 2025-08-28 20:41:00.591024 *************
[08-28-2025 20:41:01] INFO ARM: Creating new job for drive.
[08-28-2025 20:41:01] INFO ARM: Looking for log files older than 1 days old.
[08-28-2025 20:41:01] INFO ARM: Checking path /home/arm/logs/ for old log files...
[08-28-2025 20:41:01] INFO ARM: Deleting log file: THE_SHOP_AROUND_THE_CORNER_175570256022.log
[08-28-2025 20:41:01] INFO ARM: Deleting log file: THE_SHOP_AROUND_THE_CORNER.log
[08-28-2025 20:41:01] INFO ARM: Checking path /home/arm/logs/progress for old log files...
[08-28-2025 20:41:01] INFO ARM: Job: The_Martian
[08-28-2025 20:41:01] INFO ARM: Job #135 with PID 402 is currently running.
[08-28-2025 20:41:01] INFO ARM: Starting Disc identification
[08-28-2025 20:41:01] INFO ARM: Mounting disc to: /mnt/dev/sr1
[08-28-2025 20:41:01] INFO ARM: Mounting disc was successful
[08-28-2025 20:41:08] INFO ARM: Disc identified as video
[08-28-2025 20:41:09] INFO ARM: Disc title Post ident - title:The-Martian year:2015 video_type:movie disctype: bluray
[08-28-2025 20:41:09] INFO ARM: We have no previous rips/jobs matching this label
[08-28-2025 20:41:09] INFO ARM: Waiting 60 seconds for manual override.
[08-28-2025 20:41:29] INFO ARM: Manual override found. Overriding auto identification values.
[08-28-2025 20:41:29] INFO ARM: ******************* Logging ARM variables *******************
[08-28-2025 20:41:29] INFO ARM: devpath: /dev/sr1
[08-28-2025 20:41:29] INFO ARM: mountpoint: /mnt/dev/sr1
[08-28-2025 20:41:29] INFO ARM: title: The Martian
[08-28-2025 20:41:29] INFO ARM: year: 2015
[08-28-2025 20:41:29] INFO ARM: video_type: movie
[08-28-2025 20:41:29] INFO ARM: hasnicetitle: True
[08-28-2025 20:41:29] INFO ARM: label: The_Martian
[08-28-2025 20:41:29] INFO ARM: disctype: bluray
[08-28-2025 20:41:29] INFO ARM: manual_start: False
[08-28-2025 20:41:29] INFO ARM: ******************* End of ARM variables *******************
[08-28-2025 20:41:29] INFO ARM: ******************* Logging config parameters *******************
[08-28-2025 20:41:29] INFO ARM: skip_transcode: False
[08-28-2025 20:41:29] INFO ARM: mainfeature: True
[08-28-2025 20:41:29] INFO ARM: minlength: 600
[08-28-2025 20:41:29] INFO ARM: maxlength: 99999
[08-28-2025 20:41:29] INFO ARM: videotype: auto
[08-28-2025 20:41:29] INFO ARM: manual_wait: True
[08-28-2025 20:41:29] INFO ARM: manual_wait_time: 60
[08-28-2025 20:41:29] INFO ARM: ripmethod: mkv
[08-28-2025 20:41:29] INFO ARM: mkv_args:
[08-28-2025 20:41:29] INFO ARM: delrawfiles: True
[08-28-2025 20:41:29] INFO ARM: hb_preset_dvd: HQ 720p30 Surround
[08-28-2025 20:41:29] INFO ARM: hb_preset_bd: HQ 1080p30 Surround
[08-28-2025 20:41:29] INFO ARM: hb_args_dvd: --subtitle scan -F
[08-28-2025 20:41:29] INFO ARM: hb_args_bd: --subtitle scan -F --subtitle-burned --audio-lang-list eng --all-audio
[08-28-2025 20:41:29] INFO ARM: raw_path: /home/arm/media/raw/
[08-28-2025 20:41:29] INFO ARM: transcode_path: /home/arm/media/transcode/
[08-28-2025 20:41:29] INFO ARM: completed_path: /home/arm/media/completed/
[08-28-2025 20:41:29] INFO ARM: extras_sub: extras
[08-28-2025 20:41:29] INFO ARM: emby_refresh: False
[08-28-2025 20:41:29] INFO ARM: emby_server:
[08-28-2025 20:41:29] INFO ARM: emby_port: 8096
[08-28-2025 20:41:29] INFO ARM: notify_rip: True
[08-28-2025 20:41:29] INFO ARM: notify_transcode: True
[08-28-2025 20:41:29] INFO ARM: max_concurrent_transcodes: 0
[08-28-2025 20:41:29] INFO ARM: max_concurrent_makemkvinfo: 0
[08-28-2025 20:41:29] INFO ARM: ******************* End of config parameters *******************
[08-28-2025 20:41:29] INFO ARM: Checking for fstab entry.
[08-28-2025 20:41:29] INFO ARM: fstab entry is: /dev/sr1 /mnt/dev/sr1 udf,iso9660 users,noauto,exec,utf8,ro 0 0
[08-28-2025 20:41:29] INFO ARM: Final Output directory "/home/arm/media/transcode/movies/The Martian (2015)"
[08-28-2025 20:41:29] INFO ARM: Final Output directory "/home/arm/media/completed/movies/The Martian (2015)"
[08-28-2025 20:41:29] INFO ARM: Processing files to: /home/arm/media/transcode/movies/The Martian (2015)
[b][08-28-2025 20:41:29] INFO ARM: ************* Ripping disc with MakeMKV *************
[08-28-2025 20:41:30] INFO ARM: Updating MakeMKV key...
[08-28-2025 20:41:30] ERROR ARM: Error updating MakeMKV key, return code: 50 INVALID_MAKEMKV_SERIAL
[08-28-2025 20:41:30] ERROR ARM: MakeMKV did not complete successfully. Exiting ARM! Error: Error updating MakeMKV key, return code: 50 INVALID_MAKEMKV_SERIAL
[08-28-2025 20:41:30] ERROR ARM: [/b]
Traceback (most recent call last):
File "/opt/arm/arm/ripper/makemkv.py", line 876, in prep_mkv
proc = subprocess.run(cmd, capture_output=True, check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/bin/bash', '/opt/arm/scripts/update_key.sh', ' XXXX']' returned non-zero exit status 50.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/arm/arm/ripper/arm_ripper.py", line 56, in rip_visual_media
makemkv_out_path = makemkv.makemkv(job)
File "/opt/arm/arm/ripper/makemkv.py", line 722, in makemkv
prep_mkv()
File "/opt/arm/arm/ripper/makemkv.py", line 880, in prep_mkv
raise UpdateKeyRunTimeError(err.returncode, cmd, output=err.stdout.decode("utf-8"))
arm.ripper.makemkv.UpdateKeyRunTimeError: Error updating MakeMKV key, return code: 50 INVALID_MAKEMKV_SERIAL
Traceback (most recent call last):
Code: Select all
File "/opt/arm/arm/ripper/main.py", line 225, in <module>
main(log_file, job, args.protection)
File "/opt/arm/arm/ripper/main.py", line 111, in main
arm_ripper.rip_visual_media(have_dupes, job, logfile, protection)
File "/opt/arm/arm/ripper/arm_ripper.py", line 60, in rip_visual_media
raise ValueError from mkv_error
ValueError
[08-28-2025 20:41:30] ERROR ARM: A fatal error has occurred and ARM is exiting. See traceback below for details.
[08-28-2025 20:41:30] ERROR ARM: eject: cannot open /dev/sr1: Device or resource busy
[08-28-2025 20:41:30] INFO ARM: Releasing current job from drive
Re: Makemkv fails code 253
You need to understand that this is a container problem and that you need to ask here: https://github.com/automatic-ripping-ma ... ine/issues
Your container should have a command to update the key manually, it would look something like:
If your container does not have that option, you need to ask them to add it as license data should always be configurable by the user.
Again, _GO_ASK_THE_CONTAINER_MAINTER at https://github.com/automatic-ripping-ma ... ine/issues
Your container should have a command to update the key manually, it would look something like:
Code: Select all
docker exec -it $container_name sh -c updatekey "T-...."
Again, _GO_ASK_THE_CONTAINER_MAINTER at https://github.com/automatic-ripping-ma ... ine/issues
-
- Posts: 6
- Joined: Mon Jul 14, 2025 7:52 pm
Re: Makemkv fails code 253
Never had that option before and it worked for several months.
I'll get the current beta key and try that option.
I'll get the current beta key and try that option.