I have a new Synology DS212j and have installed the Filebot and Java packages from Missile Hugger. I've tried to do a simple rename via CLI and have gotten a whole host of Java errors. I'm aware that something is not quite right here, but I'm unsure of how to fix it.
I'm skilled but I'm a unix newbie so I'm not always sure what config file I need to be modifying or whether I need to set some permissions manually. In all honesty, I'd hoped Missile Hugger's packages would just *work* out of the box. No such luck.
Some of the error messages when doing a simple rename are:
WARNING: java.io.FileNotFoundException: /usr/local/filebot/data/cache/0/.lock (Permission denied)
Apr 24, 2013 8:01:52 PM net.sourceforge.filebot.media.MediaDetection getSeriesIndex
SEVERE: Failed to load series index: java.util.zip.ZipException: Not in GZIP format
CacheException: Disk store path can't be created: /usr/local/filebot/data/cache/default
When I use ~ to find the current home directory, both my root and user accounts give an error:
-ash: /var/services/homes/username: Permission denied
This is after I have ensured that the username directory has 777 permissions so should be able to be accessed by anything.
I'm lost and frustrated; can you please help me get this working? Thank you very much!
Can't get Filebot running on Synology DS212j
Re: Can't get Filebot running on Synology DS212j
It seems it doesn't have write access to it's application data folder. In your case that is configured to be /usr/local/filebot/data. Just modify filebot.sh and set appdata/temp/etc to somewhere that works (e.g. on the hard drive where you're storing your media).
Please read the FAQ and How to Request Help.
Re: Can't get Filebot running on Synology DS212j
Thanks, rednoah, for the advice. I've modified filebot.sh (took a while to find it!) and have pointed everything to a new, writeable directory. I still get a weird Java error when I run Filebot, though. As an example I asked Filebot for a list of Community episodes. Does anyone recognise what's going on here?
Code: Select all
Saturn> filebot -list --db thetvdb --q Community --format "{s}x{e.pad(2)} {t}"
Apr 25, 2013 8:07:26 PM com.dmurph.tracking.JGoogleAnalyticsTracker dispatchRequest
SEVERE: Error making tracking request
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
at sun.net.www.http.HttpClient.New(HttpClient.java:290)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:974)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
at com.dmurph.tracking.JGoogleAnalyticsTracker.dispatchRequest(Unknown Source)
at com.dmurph.tracking.JGoogleAnalyticsTracker.access$100(Unknown Source)
at com.dmurph.tracking.JGoogleAnalyticsTracker$2.run(Unknown Source)
SocketTimeoutException: connect timed out
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
at sun.net.www.http.HttpClient.New(HttpClient.java:290)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2677)
at java.net.URLConnection.getContentType(URLConnection.java:522)
at net.sourceforge.filebot.web.WebRequest.getReader(Unknown Source)
at net.sourceforge.filebot.web.WebRequest.getDocument(Unknown Source)
at net.sourceforge.filebot.web.WebRequest.getDocument(Unknown Source)
at net.sourceforge.filebot.web.TheTVDBClient.fetchSearchResult(Unknown Source)
at net.sourceforge.filebot.WebServices$TheTVDBClientWithLocalSearch.access$001(Unknown Source)
at net.sourceforge.filebot.WebServices$TheTVDBClientWithLocalSearch$2.call(Unknown Source)
at net.sourceforge.filebot.WebServices$TheTVDBClientWithLocalSearch$2.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Failure (?_?)
Re: Can't get Filebot running on Synology DS212j
Looks like it doesn't have network. Did you get that immediately or did it timeout after 10-30 seconds? You can increase the timeouts in filebot.sh but it's already 10 seconds, no internet is that slow, you're probably having some sort of network issue.
Please read the FAQ and How to Request Help.
Re: Can't get Filebot running on Synology DS212j
Thanks - this took me a while to figure out since I can get to the NAS from the Internet, so I know it's connected. I manually specified my DNS settings and now it seems it's all working well! Thank you for your help - this was a lifesaver.