Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    It means the nohup command is disabled on your server. Because the encoding process takes so much longer than generating a single thumbnail, encoding uses the nohup command on Linux servers to make sure that FFMPEG doesn’t hang up any other processes while waiting for the encode to finish.

    I don’t know how it was disabled on your server, but as long as you’re not running on a Windows server, you should be able to enable it. If your system administrator has disabled it for a good reason and won’t enable it, then you might have a problem.

    I do plan to revisit the various commands that I use to run FFMPEG soon, so I might figure out a way to run the encoding in the background without using the nohup command, but I’m not sure.

    Thread Starter questionmarc

    (@questionmarc)

    Hi. Thank you for your reply. Just talked to my host and nohup is installed, so my best guess is that your plugin can’t find the path to nohup. Can i hand-code the path to nohup?

    Plugin Author Kyle Gilman

    (@kylegilman)

    Yes, the plugin assumes nohup is in PATH so there’s no directory specified. If you know the path you can try adding it to line 480 of the main plugin file. Change it from

    $command = 'nohup nice '.$this->command;

    to something like

    $command = '/usr/bin/nohup nice '.$this->command;

    Thread Starter questionmarc

    (@questionmarc)

    thank you very much! This works!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error: sh: nohup: command not found’ is closed to new replies.