I'm using this dockerfile https://github.com/rossdargan/rsync-fil ... Dockerfile, which uses the official docker container and adds in rsync.
I have my data volume mapped, and if I connect to the container and execute "filebot -script fn:sysinfo" I can see the following:
When I run the following script via cron (which is how I'm scheduling the rsync command) I get this:FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: Assertion failed:
assert xattr.getObject() == value
| | | |
| null | Mon Mar 18 13:38:38 UTC 2019
| false
net.filebot.media.MetaAttributes@5fa05212
Unicode Filesystem: OK
Script Bundle: 2019-02-26 (r552)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 1 Core / 943 MB Max Memory / 20 MB Used Memory
OS: Linux (amd64)
HW: Linux cd831c4969a3 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 GNU/Linux
DATA: /data/.filebot
Package: DOCKER
License: FileBot License T1137 (Valid-Until: 2020-03-23)
Done ヾ(@⌒ー⌒@)ノ
If I execute "echo $HOME" just before filebot then I get /root which makes me think cron is running as the root user which is whats causing the issue (since it appears filebot users your home directory to check the license)Script not found: sysinfo
java.io.FileNotFoundException: Script not found: sysinfo
at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:55)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:154)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:131)
If I run my amc script I can see this in the log "LicenseError: UNREGISTERED" but it does find that script oddly (it just can't find the sysinfo one)
I've tried to fix this by doing the following:
- mounted the data volume as "/root" this fixes this issue but stops rsync working as it can't access my ssh certs... this is also probably a horrible way to fix it
- execute "export _JAVA_OPTIONS=-Duser.home=/data" before running file bot, this produces this:
- execute "export HOME=/data" - didn't work eitherPicked up _JAVA_OPTIONS: -Duser.home=/data
Script not found: sysinfo
java.io.FileNotFoundException: Script not found: sysinfo
at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:55)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:154)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:131)
what I'm considering doing now is having the script install the license before executing any filebot command, but this will happen every 15 minutes and I don't know if I will get blacklisted for registering the license that many times.
I'm not really sure what else I can do and would love any assistance!