Filebot on Debian Wheezy

In Debian Wheezy AMD64, the default version of Java is OpenJDK 6. In order to switch Oracle’s v8 Java, do the following:

# su -
# echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
# echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
# apt-get update
# apt-get install oracle-java8-installer

And confirm that you’re using the correct Java implementation:

$ java -version
$ javac -version

java version “1.8.0_25”
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Next, download the Filebot deb, and install:

sudo dpkg --force-depends -i filebot-*.deb

CIFS on Debian Wheezy

I’ve reproduced this reported bug - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641894 - on my Waldorf machine, and have arrived at the following solution:

As root, open the existing /etc/fstab file and comment-out your existing CIFS mount(s)

Unmount all existing cifs mounts:

# sudo umount -a -t cifs

Install autofs:

# sudo aptitude install autofs

Open (as root) new file /etc/auto.master:

# sudo vi /etc/auto.master

If you want the mounted directories under /data, add the following line:

/data /etc/auto.misc --timeout 60 --ghost

The “ghost” option ensures that even unmounted directories are always visible. Remove this if you prefer to only see the directory when you enter the path to the mounted directory.

Open (as root) new file /etc/auto.misc:

# sudo vi /etc/auto.misc

Add line(s) at the end for your mount directories in a similar format to your /etc/fstab file:

downloads1 -fstype=cifs,rw,username=ootput,password=<cifs_pass>,uid=1000,gid=1000 ://192.168.1.2/downloads2

  • where ‘downloads1’ refers to a local mountpoint under /data, and ‘downloads2’ to the remote cifs share, respectively.

Start the autofs service:

# sudo service autofs restart

Additionally, I enabled all SysRq functions to address stalled shutdown procedures by adding to /etc/sysctl.conf:

kernel.sysrq=1