Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker image error with "opts being undefined"

See original GitHub issue

This error is specific to the docker image. When I installed the binary it worked perfectly.

  • Installed and configured the channel and plex to use the DVR. Everything seemed to be going smoothly.
  • Pressing the play button doens’t work.
  • docker-compose logs show this error:

pseudotv | Stream starting. Channel: 1 (Channel 1) pseudotv | No Subtitles pseudotv | /home/node/app/src/ffmpeg.js:168 pseudotv | this.emit(‘error’, { code: code, cmd: ${opts.ffmpegPath} ${tmpargs.join(' ')} }) pseudotv | ^ pseudotv |

pseudotv | ReferenceError: opts is not defined pseudotv | at ChildProcess.<anonymous> (/home/node/app/src/ffmpeg.js:168:58) pseudotv | at ChildProcess.emit (events.js:310:20) pseudotv | at maybeClose (internal/child_process.js:1021:16) pseudotv | at Socket.<anonymous> (internal/child_process.js:443:11) pseudotv | at Socket.emit (events.js:310:20) pseudotv | at Pipe.<anonymous> (net.js:672:12) pseudotv | npm ERR! code ELIFECYCLE pseudotv | npm ERR! errno 1 pseudotv | npm ERR! pseudotv@1.0.0 start: node index.js pseudotv | npm ERR! Exit status 1 pseudotv | npm ERR! pseudotv | npm ERR! Failed at the pseudotv@1.0.0 start script.

I am guessing this is a problem with the node version used by the Dockerfile.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

vexoriancommented, Aug 12, 2020

@jonfairbanks thanks for making me notice I don’t have issues enabled. Also the fork is official now and we finallly have docker images in docker hub at

vexoriancommented, Aug 10, 2020

Wouldn’t it be nice?

I am basically in the process of forking the project cause the current official repo doesn’t have active people with access to merge commits into it. We are releasing new test versions frequently and a stable version is coming soon to my repo at

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker-compose run fails for running network_mode=host ...
With this docker-compose.yml , the error will happen when the backend container is already running and we attempt to execute another docker run ......
Read more >
service refers to an undefined volume invalid compose ...
It looks like this mount might be intended to overwrite all of the application code in the image; this can result in inconsistent...
Read more >
Troubleshoot volume errors
This topic discusses errors which may occur when you use Docker volumes or bind mounts. Error: Unable to remove filesystem. Some container-based utilities, ......
Read more >
How to Use Docker's Health Check Command
After that, if you check the status of the container using docker ps . it will return something like: undefined.
Read more >
Docker container sync "NoMethodError: undefined method ...
We had the same issue, confined to Docker repositories. I can confirm that deleting the repository and recreating it resolved the problem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found