Page 1 of 1

ERROR FileBot: [Errno 13] Permission denied

Posted: 04 Mar 2015, 19:01
by feuerwasser
Can someone help me please?
After every successful unrar Pyload .log is like:
DEBUG FileBot-Hook: MKV-Checkup (archive_extracted)
DEBUG Hier sind keine Archive
ERROR FileBot: [Errno 13] Permission denied
DEBUG All downloads finished
How can it be?
Config:
Synology 1813+ with enkidu package but user is root in start-stop-status start script.
The downloadpath as well as the filebot.py from GutzPilz also the filebot.sh with depending paths are 777
paths in the hook plugin are set correctly.

Re: ERROR FileBot: [Errno 13] Permission denied

Posted: 04 Mar 2015, 19:24
by rednoah
So what's the output of the filebot call?

Re: ERROR FileBot: [Errno 13] Permission denied

Posted: 12 May 2015, 21:52
by feuerwasser
Hi, what do you mean by "output of call"?
FileBot is triggered by the filebot.py plugin from GutzPilz. I dont know where i can give pyload and filebot permissions for the pyload path and download path. Or is it something else?

Re: ERROR FileBot: [Errno 13] Permission denied

Posted: 13 May 2015, 06:31
by rednoah
I guess filebot isn't called then. Ask GutzPilz how to debug the python code that fails to start filebot.

The answer is most likely some combination of symlink to bin, chmod +x, and maybe chown. Google will help.

Re: ERROR FileBot: [Errno 13] Permission denied

Posted: 18 May 2015, 21:56
by feuerwasser
Thanks! Now i'm 1 step closer. the symlink /usr/bin/filebot has root:root and 777, but the binary file /volume1/@appstore/filebot/FileBot.jar has root:root 622. After i chmod, the file is corrupted.

Code: Select all

Diskstation:/# filebot -version
/usr/syno/bin/filebot: line 1: PK: not found
/usr/syno/bin/filebot: line 2:®7F: not found
/usr/syno/bin/filebot: line 3: EDIa~H1@Ó#
                                         ,: not found
/usr/syno/bin/filebot: line 3­7FÀô±þMETA-INF/MANIFEST.MFUM
                                                          0Çï}ë°áLü©ÑÍ]ãIq°6+èÛFu8z~A7*kr: not found
/usr/syno/bin/filebot: /usr/syno/bin/filebot: line 3: line 3: N: not foundcan't open : no such file

/usr/syno/bin/filebot: line 4:ª7FMETA-INF/services/PK: not found
/usr/syno/bin/filebot: line 5:¥7Fnet/PK: not found
/usr/syno/bin/filebot: line 6:«7F
net/filebot/PK: not found
/usr/syno/bin/filebot: line 7:§7Fnet/filebot/archive/PK: not found
/usr/syno/bin/filebot: line 8:«7Fnet/filebot/cli/PK: not found
/usr/syno/bin/filebot: line 9:ª7Fnet/filebot/format/PK: not found
/usr/syno/bin/filebot: line 10:§7Fnet/filebot/gio/PK: not found
/usr/syno/bin/filebot: line 11:ª7Fnet/filebot/hash/PK: not found
/usr/syno/bin/filebot: line 12:¨7Fnet/filebot/mac/PK: not found
/usr/syno/bin/filebot: line 13:¨7Fnet/filebot/mac/xattr/PK: not found
/usr/syno/bin/filebot: line 14:«7Fnet/filebot/media/PK: not found
/usr/syno/bin/filebot: line 15:¨7Fnet/filebot/mediainfo/PK: not found
/usr/syno/bin/filebot: line 16:«7Fnet/filebot/resources/PK: not found
/usr/syno/bin/filebot: line 17:ª7Fnet/filebot/resources/flags/PK: not found
/usr/syno/bin/filebot: line 18:ª7Fnet/filebot/similarity/PK: not found
/usr/syno/bin/filebot: line 19:ª7Fnet/filebot/subtitle/PK: not found
/usr/syno/bin/filebot: line 20:¨7Fnet/filebot/torrent/PK: not found
/usr/syno/bin/filebot: line 21:©7Fnet/filebot/ui/PK: not found
/usr/syno/bin/filebot: line 22:¨7Fnet/filebot/ui/analyze/PK: not found
/usr/syno/bin/filebot: line 23:¨7Fet/filebot/ui/episodelist/PK: not found
/usr/syno/bin/filebot: line 24:¨7Fnet/filebot/ui/list/PK: not found
/usr/syno/bin/filebot: line 25:«7Fnet/filebot/ui/rename/PK: not found
/usr/syno/bin/filebot: line 26:©7Fnet/filebot/ui/sfv/PK: not found
/usr/syno/bin/filebot: line 27:ª7Fnet/filebot/ui/subtitle/PK: not found
/usr/syno/bin/filebot: line 28:ª7Fnet/filebot/ui/transfer/PK: not found
/usr/syno/bin/filebot: line 29:ª7Fnet/filebot/util/PK: not found
/usr/syno/bin/filebot: line 30:ª7Fnet/filebot/util/prefs/PK: not found
/usr/syno/bin/filebot: line 31:ª7Fnet/filebot/util/ui/PK: not found
/usr/syno/bin/filebot: line 32:ª7F!net/filebot/util/ui/notification/PK: not found
/usr/syno/bin/filebot: line 33:ª7Fnet/filebot/vfs/PK: not found
/usr/syno/bin/filebot: line 34:ª7Fnet/filebot/web/PK: not found
/usr/syno/bin/filebot: line 35ª7F: not found
/usr/syno/bin/filebot: /usr/syno/bin/filebot: line 35:
                                                       õc: not foundline 35: ØCûJ-9q»R?5ªã»wº¬ã*x¦8±à­ÞÙPyq.k: not found

/usr/syno/bin/filebot: line 36: syntax error: unexpected ")"

Re: ERROR FileBot: [Errno 13] Permission denied

Posted: 18 May 2015, 22:23
by rednoah
FileBot.jar is a jar file. Jar files are zip files, hence not executable. But since you made it executable your shell is now executing a zip file as if it was a shell script...

You will find the startup script somewhere in /volume1/@appstore/filebot/bin and it's gonna be an executable shell script.

Re: ERROR FileBot: [Errno 13] Permission denied

Posted: 30 Mar 2016, 10:03
by feuerwasser
Old but gold...
For the sake of completeness i solved the problem a view months ago, this is just for other users with the same problem.
The problem was not the shell script, i could call in a SSH-Session filebot manually but not via pyload and DSM Taskplanner (in a synology based system), so the difference is a PATH variable.
The only one which comes into question is the java path. The running shell knows where to find java, but pyload and DSM try's to find java in /usr/syno/bin/filebot
That is not the path for the oracle java package installed in /volume1/@appstore/java
A symlink (as you said, but my linux knowledge wasn't good enough) with chmod +x solved the problem, so pyload and DSM now finds java end executes filebot well.