Filebot Install: Java Missing?

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Filebot Install: Java Missing?

      Hi all! I'm in the process of automating my NAS to download from a remote source and was looking into Filebot for renaming and moving movies for plex to automatically recognize them. I installed filebot but when i try to run it i get:

      Source Code

      1. root@NAS:/home/jacob# filebot
      2. /usr/bin/filebot: 22: /usr/bin/filebot: java: not found


      and when I run "java" I get:

      Source Code

      1. root@NAS:/home/jacob# java
      2. -bash: java: command not found


      I've attempted to install java doing the following:

      Source Code

      1. root@NAS:/home/jacob# apt-get install default-jre
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Some packages could not be installed. This may mean that you have
      6. requested an impossible situation or if you are using the unstable
      7. distribution that some required packages have not yet been created
      8. or been moved out of Incoming.
      9. The following information may help to resolve the situation:
      10. The following packages have unmet dependencies:
      11. default-jre : Depends: default-jre-headless (= 1:1.6-47) but it is not going to be installed
      12. Depends: openjdk-6-jre (>= 6b23~pre8-2~) but it is not going to be installed
      13. E: Unable to correct problems, you have held broken packages.
      Display All


      I keep attempting to install all of the dependancies but it eventually runs down to "tzdata-java" and "tzata" needing to be installed but when I try to install it i get:

      Source Code

      1. root@NAS:/home/jacob# apt-get install tzdata-java
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Some packages could not be installed. This may mean that you have
      6. requested an impossible situation or if you are using the unstable
      7. distribution that some required packages have not yet been created
      8. or been moved out of Incoming.
      9. The following information may help to resolve the situation:
      10. The following packages have unmet dependencies:
      11. tzdata-java : Depends: tzdata (= 2015f-0+deb7u1) but 2015g-0+deb7u1 is to be installed
      12. E: Unable to correct problems, you have held broken packages.
      Display All


      and

      Source Code

      1. root@NAS:/home/jacob# apt-get install tzdata
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. tzdata is already the newest version.
      6. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Display All


      Please help!
    • Your mirror is not synched correctly - I don't know why it allways hits the tzdata package. However for installing filebot (with alle necessary addons) I suggest the follow bash script (is a snippet of my own PostProcessing Script Install, cut off the actual installation of my script).

      Shell-Script

      1. #!/bin/sh
      2. #
      3. # @license http://www.gnu.org/licenses/gpl.html GPL Version 3
      4. # @author David Hönel <davidh1990@gmx.de>
      5. # @copyright Copyright (c) 2015 David Hönel
      6. #
      7. # This program is free software: you can redistribute it and/or modify
      8. # it under the terms of the GNU General Public License as published by
      9. # the Free Software Foundation, either version 3 of the License, or
      10. # any later version.
      11. #
      12. # This program is distributed in the hope that it will be useful,
      13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
      14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
      15. # GNU General Public License for more details.
      16. #
      17. # You should have received a copy of the GNU General Public License
      18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
      19. # Install PostProcessing
      20. # wget filebot and mediainfo files
      21. downloadDeb() {
      22. wget "http://www.filebot.net/download.php?mode=s&type=deb&arch=${1}" -O filebot_${1}.deb
      23. wget `curl https://mediaarea.net/de/MediaInfo/Download/Debian | grep mediainfo_ | grep ${1}.Debian_7.0.deb | cut -d '"' -f2`
      24. wget `curl https://mediaarea.net/de/MediaInfo/Download/Debian | grep libmediainfo0_ | grep ${1}.Debian_7.0.deb | cut -d '"' -f2`
      25. wget `curl https://mediaarea.net/de/MediaInfo/Download/Debian | grep libzen0_ | grep ${1}.Debian_7.0.deb | cut -d '"' -f2`
      26. }
      27. installDeb() {
      28. dpkg -i filebot_*.deb mediainfo_*Debian_7.0.deb libmediainfo0_*Debian_7.0.deb libzen0_*Debian_7.0.deb
      29. }
      30. cd /tmp
      31. archamd64=$(uname -a | grep x86_64)
      32. arch386=$(uname -a | grep 386)
      33. arch486=$(uname -a | grep 486)
      34. arch686=$(uname -a | grep 686)
      35. if [ ! -z "${archamd64}" ]; then
      36. downloadDeb amd64
      37. installDeb
      38. elif [ ! -z "${arch386}" ] || [ ! -z "${arch486}" ] || [ ! -z "${arch686}" ] ; then
      39. downloadDeb i386
      40. installDeb
      41. else
      42. echo "Sorry, I was too lazy to setup the install script for your platform, yet. For now its x86_64 and x86_32 only."
      43. fi
      Display All


      To Install Java, please refer to this Guide - you need Java8 anyway for most of the filebot features:

      Usually we do not advise to use any Guide that suggest the use of Ubuntu Packages of any kind, however this Package was installed many times by myself and has shown no problem with any other package.

      http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

      PS: My full PostProcessing Script can be found at https://github.com/davidh2k/PostProcessing



      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • jkingaround wrote:

      Do I need to uninstall the version I installed? If so how?


      You don't need to.

      jkingaround wrote:

      Do I do the script first then Java or does the order not matter?


      It doesn't matter, you can do it vice-versa.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • You're welcome.

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.