Synology Filebot Node Permissions Problem

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Synology Filebot Node Permissions Problem

Post by Hias » 29 Apr 2019, 21:10

Hy!

I am trying to get FileBot to work on my Synology NAS, but I have problems and can‘t say what exactly is the matter. I have installed filebot, filebot node and java out of the package. Node.js is also installed. I have also purchased a license and activated it.

In my download folder there is only 1 file. It is an .mkv and about 5GB in size.
But it skips exactly this file, because it seems to be to small.

Maybe anybody can help me here?
Thank you in advance.

Filebot Node Settings
Image
Image


Filebot Node Console

Code: Select all

filebot -script 'fn:amc' /volume1/Download/Fertig --output /volume1/Video/Filme --action TEST -non-strict --order Airdate --conflict auto --lang de --def 'ut_label=Movie' 'music=y' 'unsorted=y' 'skipExtract=y' 'minFileSize=500000000' 'excludeList=.excludes' --log all --log-file '/volume1/@appstore/filebot-node/data/filebot.log'
 
------------------------------------------
 
Locking /volume1/@appstore/filebot-node/data/filebot.log
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Run script [fn:amc] at [Mon Apr 29 22:20:24 CEST 2019]
Parameter: ut_label = Movie
Parameter: music = y
Parameter: unsorted = y
Parameter: skipExtract = y
Parameter: minFileSize = 500000000
Parameter: excludeList = .excludes
Argument[0]: /volume1/Download/Fertig
Use excludes: /volume1/Video/Filme/.excludes (1)
Ignore system path: /volume1/Download/Fertig/@eaDir
Ignore hidden: /volume1/Download/Fertig/.DS_Store
Skip small video file: /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv
No files selected for processing
Done ¯\_(ツ)_/¯
------------------------------------------
 
[Process error]
Filebot Log

Code: Select all

 
2019-04-29T22:05:53+0200 AUTH_CACHE: {"id=j1SFYHvOjGUMs1660NNN969703":"Hias__"}
2019-04-29T22:05:53+0200 AUTH_CACHE: {"id=j1SFYHvOjGUMs1660NNN969703":"Hias__"}
2019-04-29T22:26:41+0200 AUTH_CACHE: {"id=j1SFYHvOjGUMs1660NNN969703":"Hias__","id=FiT.EmOiwNFSE1660NNN969703":"Hias__"}
AUTH_CACHE: {"id=j1SFYHvOjGUMs1660NNN969703":"Hias__","id=FiT.EmOiwNFSE1660NNN969703":"Hias__"}
[email protected]:/$ 
Last edited by Hias on 30 Apr 2019, 07:04, edited 1 time in total.

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 30 Apr 2019, 03:52

That means the file is in fact smaller than 500 MB. Either DSM is showing a wrong file size to you, or DSM is reporting a wrong file size to FileBot. Either is rather unlikely though.

What does ls and stat say?

Code: Select all

ls -l /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv

Code: Select all

stat /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv
What does filebot say?

Code: Select all

filebot -mediainfo /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv

Code: Select all

filebot -mediainfo /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv --format "{bytes}"
:idea: Please read the FAQ and How to Request Help.

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Problem

Post by Hias » 30 Apr 2019, 07:00

Thank you for the fast reply.

Ls:

Code: Select all

-rwxrwxrwx+ 1 root root 5657030791 Feb 23 00:28 /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv
Stat:

Code: Select all

File: ‘/volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv’
  Size: 5657030791      Blocks: 11048904   IO Block: 4096   regular file
Device: fd00h/64768d    Inode: 2622384     Links: 1
Access: (0777/-rwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-04-23 21:58:47.000000000 +0200
Modify: 2019-02-23 00:28:11.723000000 +0100
Change: 2019-04-24 07:13:10.312476300 +0200
 Birth: -
FileBot mediainfo:
No response in the console!

FileBot mediainfo format:
No response in the console!

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 30 Apr 2019, 07:33

Hias wrote:
30 Apr 2019, 07:00
FileBot mediainfo:
No response in the console!

FileBot mediainfo format:
No response in the console!
That's not possible. It's either gonna crash, or do something, or print something, or exit with some return code. Nothing is not an option on the command line. :lol: Maybe let it run for a few minutes if it's seemingly not doing anything.

Run filebot -script fn:sysinfo to make sure we're calling what we think we're calling, just a sanity check.
:idea: Please read the FAQ and How to Request Help.

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Problem

Post by Hias » 30 Apr 2019, 08:06

Sysinfo

Code: Select all

[email protected]:/$ filebot -script fn:sysinfo
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 0.7.73
p7zip: p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
unrar: UNRAR 5.21 freeware
FFprobe: java.io.IOException: Cannot run program "/volume1/@appstore/MediaServer/bin/ffprobe": error=2, No such file or directory
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-04-30 (r563)
Groovy: 2.5.6
JRE: LibericaJDK Runtime Environment 12.0.1-BellSoft
JVM: 32-bit LibericaJDK Server VM
CPU/MEM: 2 Core / 121 MB Max Memory / 16 MB Used Memory
OS: Linux (arm)
HW: Linux Mediaserver 3.10.105 #23824 SMP Tue Feb 12 16:48:50 CST 2019 armv7l GNU/Linux synology_armada38x_ds216j
DATA: /volume1/@appstore/filebot/data/Hias__
Package: SPK
License: FileBot License P7712440 (Valid-Until: 2020-05-01)
Done ヾ(@⌒ー⌒@)ノ
[email protected]:/$ 
It seems that no response is possible. I entered the commands and immediatly “[email protected]:“ appeared in the next line.

mediainfo

Code: Select all

[email protected]:/$ filebot -mediainfo /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv
[email protected]:/$
mediainfo format

Code: Select all

[email protected]:/$ filebot -mediainfo /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv --format "{bytes}"
[email protected]:/$

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 30 Apr 2019, 08:15

Try sanity tests:

Code: Select all

filebot -version

Code: Select all

filebot -mediainfo -r /volume1/Download/Fertig --format "{f}"

Code: Select all

filebot -mediainfo -r /volume1/Download/Fertig --format "{bytes}"

Code: Select all

filebot -mediainfo -r /volume1/Download/Fertig

You could also try similar tests on other devices, or other drives, or other files, to see if we can narrow down what's going awry in this particular case, what's the difference.
:idea: Please read the FAQ and How to Request Help.

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Problem

Post by Hias » 30 Apr 2019, 08:46

rednoah wrote:
30 Apr 2019, 08:15
Try sanity tests:

Code: Select all

filebot -version

Code: Select all

FileBot 4.8.5 (r6224) / LibericaJDK Runtime Environment 12.0.1-BellSoft / Linux 3.10.105 (arm)


Code: Select all

filebot -mediainfo -r /volume1/Download/Fertig --format "{f}"
nothing

Code: Select all

filebot -mediainfo -r /volume1/Download/Fertig --format "{bytes}"
nothing

Code: Select all

filebot -mediainfo -r /volume1/Download/Fertig
nothing


You could also try similar tests on other devices, or other drives, or other files, to see if we can narrow down what's going awry in this particular case, what's the difference.
I also tried the commands in my movies folder and there it is working. The only strange thing ist, that not all the movies which are in the folder are listed.

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 30 Apr 2019, 09:36

My best guess is due to some permission issue, FileBot can’t see any of these files, or check if they exists, or get file size, or open, etc.


There permissions are strange right there:

Code: Select all

-rwxrwxrwx+ 1 root root
Why would you have read/write/executable permissions for all users for a video file. Plus, the + sign means there's extended attributes with fine-grained access controls, which overrule the legacy Unix permissions.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 44
Joined: 20 May 2017, 17:51

Re: Synology Filebot Node Problem

Post by Predator2912 » 30 Apr 2019, 15:29

The first thing I would do if something on my nose is not working properly is a reboot.
And I mean, I remember doing that after installing Filebot.

For the folder that uses Filebot, it is enough if they have read and write permissions.
You can do this under DSM Gut -> System Control Panel -> Shared Folders.
Select the input (Fertig) and output (Filme) folder the Filebot used and click "Edit" above and then on "permissions".

And if that does not help write me a PM then I try to help you in German. :D :lol:

Predator2912
Posts: 44
Joined: 20 May 2017, 17:51

Re: Synology Filebot Node Problem

Post by Predator2912 » 30 Apr 2019, 22:21

rednoah wrote:
30 Apr 2019, 09:36

There permissions are strange right there:

Code: Select all

-rwxrwxrwx+ 1 root root
Try to help him and I have noticed that the permissions i always have after renaming with filebot are the same.
That does not help him now but that's strange. Use the task scheduler for Filebot with admin as user and Folder permissions for admin and default user are always read/write.

befor filebot

Code: Select all

ls -l /volume2/filebot_temp/Movies_and_Box/
-rwx------+ 1 admin users 3007216476 Oct 14  2014
and after

Code: Select all

-rwxrwxrwx 1 admin users 3007216476 Oct 14  2014

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Problem

Post by Hias » 02 May 2019, 05:28

@Rednoah:

Te last two days i tried to troubleshoot my problem with Predator2912. Up to now, the problem isn't fixed.

I give you a summary of what we found out so far:

1. I was not able to remove the rwxrwxrwx+ permission. I tried to tweak around so hard but it remained always like this.

2. Yesterday i tried to run FileBot Node again with the following settings
Image
Image
Image

In my origin folder there are 2 movies and 8 episodes of a tv show. The exciting thing is, that always movie files over a certain size are skipped as "small video file". For example Episode 4 has about 2,2GB and episode 8 has 4,27GB. All the other episodes are below 2GB in size and the are not skipped by FileBot. Also the sample file from one of the movies are recognized and the movie itself is skipped.

I got the following log:

Code: Select all

Run script [fn:amc] at [Wed May 01 20:00:42 CEST 2019]
Parameter: music = y
Parameter: unsorted = y
Parameter: skipExtract = y
Parameter: seriesFormat = Serien/{n}/{n} - Staffel {s}/{n} - {s00e00} - {t}
Parameter: movieFormat = Filme/{n}
Parameter: excludeList = .excludes
Argument[0]: /volume1/Download/Fertig
Use excludes: /volume1/Video/.excludes
Ignore system path: /volume1/Download/Fertig/@eaDir
Ignore hidden: /volume1/Download/Fertig/.DS_Store
Skip small video file: /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv
Skip small video file: /volume1/Download/Fertig/True.Detective.S03E08.Was.verloren.war.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E08.Was.verloren.war.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv
Skip small video file: /volume1/Download/Fertig/True.Detective.S03E04.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E04.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv
Skip small video file: /volume1/Download/Fertig/Hard.Powder.2019.German.DL.AC3.Dubbed.1080p.WEB.h264-PsO/pso-hardpowder_web.1080p.mkv
Ignore video extra: /volume1/Download/Fertig/Hard.Powder.2019.German.DL.AC3.Dubbed.1080p.WEB.h264-PsO/Sample/pso-hardpowder_web.1080p-sample.mkv
Input: /volume1/Download/Fertig/True.Detective.S03E01.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E01.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv
Input: /volume1/Download/Fertig/True.Detective.S03E02.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E02.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv
Input: /volume1/Download/Fertig/True.Detective.S03E03.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E03.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv
Input: /volume1/Download/Fertig/True.Detective.S03E05.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E05.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv
Input: /volume1/Download/Fertig/True.Detective.S03E06.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E06.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv
Input: /volume1/Download/Fertig/True.Detective.S03E07.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E07.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv
Group: [Series:true detective] => [True.Detective.S03E01.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv, True.Detective.S03E02.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv, True.Detective.S03E03.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv, True.Detective.S03E05.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv, True.Detective.S03E06.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv, True.Detective.S03E07.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [True Detective]
Fetching episode data for [True Detective]
Fetching episode data for [True Detectives]
Fetching episode data for [The Dying Detective]
Fetching episode data for [Comrade Detective]
Fetching episode data for [Real Detective]
[TEST] from [/volume1/Download/Fertig/True.Detective.S03E01.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E01.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv] to [/volume1/Video/Serien/True Detective/True Detective - Staffel/True Detective - E01 - Die lange strahlende Dunkelheit.mkv]
[TEST] from [/volume1/Download/Fertig/True.Detective.S03E02.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E02.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv] to [/volume1/Video/Serien/True Detective/True Detective - Staffel/True Detective - E02 - Visionen.mkv]
[TEST] from [/volume1/Download/Fertig/True.Detective.S03E03.GERMAN.DL.HDTV.1080p.h264-TSCC/True.Detective.S03E03.GERMAN.DL.HDTV.1080p.h264-TSCC.mkv] to [/volume1/Video/Serien/True Detective/True Detective - Staffel/True Detective - E03 - Der verschlossene Raum.mkv]
[TEST] from [/volume1/Download/Fertig/True.Detective.S03E05.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E05.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv] to [/volume1/Video/Serien/True Detective/True Detective - Staffel/True Detective - E05 - Das geheime Schicksal allen Lebens.mkv]
[TEST] from [/volume1/Download/Fertig/True.Detective.S03E06.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E06.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv] to [/volume1/Video/Serien/True Detective/True Detective - Staffel/True Detective - E06 - Die Geister, die ich rief.mkv]
[TEST] from [/volume1/Download/Fertig/True.Detective.S03E07.GERMAN.DL.1080p.HDTV.h264-TSCC/True.Detective.S03E07.GERMAN.DL.1080p.HDTV.h264-TSCC.mkv] to [/volume1/Video/Serien/True Detective/True Detective - Staffel/True Detective - E07 - Nachdem du weg warst.mkv]
Processed 6 files
Done ヾ(@⌒ー⌒@)ノ
After that, I tried it with Movies and TV-Shows seperatly, without success. Even the FIles which was recognized by Filebot wasn't moved to the output folder. What does the "[TEST]" mean in front of the last lines in the log?

I also tested the file size issue in my /volume1/Video/Filme folder with the "filebot -mediainfo" and "ls" command. Ls found all the movies. Filebot -mediainfo only found movies up to around 1,67GB. The next bigger movie (About 4GB) already wasnt found.

I hope you ever heared of a problem like this?

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 02 May 2019, 07:06

1.
[TEST] means that you're using --action TEST which means that FileBot, instead of COPY / MOVE / etc, will just do nothing. Presumably, your clicking Dry Run instead of Execute. Dry Run means that it's gonna do a dry run without doing anything, just to see if it would work.


2.
Have you tried playing with DSM permissions yet?

:arrow: https://www.synology.com/en-us/knowledgebase/DSM/help/FileStation/privilege


3.
You might be able to use the synoacltool to view and modify ACLs. I'm not really sure how it works. You can at least use synoacltool -get $FOLDER to kinda view what special ACLs a file might help to help you understand what's going on, and maybe there's even a way to clear ACLs entirely:

:arrow: https://www.tumfatig.net/20181106/setting-synology-dsm-permissions-using-the-console/


4.
This problem is very strange. I have no idea. I haven't seen files just not being visible to filebot but visible other tools running as the same user. Makes no sense.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 44
Joined: 20 May 2017, 17:51

Re: Synology Filebot Node Problem

Post by Predator2912 » 02 May 2019, 14:16

rednoah wrote:
02 May 2019, 07:06
4.
This problem is very strange. I have no idea. I haven't seen files just not being visible to filebot but visible other tools running as the same user. Makes no sense.
It's really strange and I always think the files are corrupted, or it's better to say that the video files in the mkv container are corrupted.

Although DSM Filestation recognizes the complete file size as such, but Filebot recognizes that the container is damaged.

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 02 May 2019, 14:20

I don't think so. It seems that the OS makes it seem to FileBot as if the file just doesn't exist at all. And thus has a file size of 0.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 44
Joined: 20 May 2017, 17:51

Re: Synology Filebot Node Problem

Post by Predator2912 » 02 May 2019, 15:23

But that's weirder than anything I've had on DSM so far. His files have the right size via shell. And in the filestation also the right size is recognized.

Therefore, I thought of an error during the download or something goes wrong when copying the files to the NAS.

I have the permissions "controlled" with the user and for Filebot it is enough if the admin have read / write permissions for the input and output folder or not?

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 02 May 2019, 15:27

It's probably easiest to just create a new NAS share, and you get pristine permissions, and then copy some files (making sure not to copy permissions as well), see if that works, and then take it from there.

FileBot is running as a specific user & group, but your shell user might be running with multiple groups, resulting in slightly different fine-grained permissions.
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 44
Joined: 20 May 2017, 17:51

Re: Synology Filebot Node Problem

Post by Predator2912 » 02 May 2019, 15:54

OK

I'll go through that with Hias step by step.
And then in advance, make sure that the permissions are correct.

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Problem

Post by Hias » 04 May 2019, 16:19

All the permission tweaking, New directory creation, deinstalling and reinstalling al the software lead to nothing.

Now I installed FileBot on my Macbook, connected my NAS via afp with my Macbook (with the admin user) and everything worked fine. All the files were recognized without any trouble. Also the renaming process works without any problem.

So I don't think on my NAS there are any permission troubles.

When i deinstall Filebot on my Synology, is it possible that there are still files in any directory which are not removed by the deinstallation process. I ask, because when i install FileBot again, the settings in the UI are still the same as before the deinstallation. Maybe this is the problem. Something went wrong during the first installation and there are still files which causes the troubles?

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Problem

Post by rednoah » 04 May 2019, 17:54

1.
Accessing files remotely VS accessing files directly is completely different, especially from a permissions point of view, since the AFP process that's reading / writing the files (regardless of who is on the other side of the connection) is probably running as a special user.


2.
The FileBot Node Web Application stores it's state in your browser local storage, and not on the server-side (i.e. NAS), so the settings won't be reset or lost if you uninstall FileBot Node on your NAS.


:arrow: I'd recommend using the GUI via SMB / AFP, not just because it works, but also because it's easier to use. Let's just go with that. Permissions are tricky. I wouldn't bother if there's other better options.
:idea: Please read the FAQ and How to Request Help.

gardinerr2
Posts: 12
Joined: 14 Jan 2018, 15:15

Re: Synology Filebot Node Permissions Problem

Post by gardinerr2 » 06 May 2019, 17:31

I'm getting a very similar issue. Its not happening on all tV shows, but its happened on the last 2 episodes of GOT and the test files below. Any ideas? files are over 2GB.

ocking /volume1/@appstore/filebot-node/data/filebot.log
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/volume1/@appstore/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Run script [fn:amc] at [Tue May 07 01:26:06 AWST 2019]
Parameter: music = y
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: excludeList = .excludes
Argument[0]: /volume1/Video/Downloads
Use excludes: /volume1/Video/.excludes
Skip small video file: /volume1/Video/Downloads/The.Blacklist.S06E20.1080p.WEB.H264-AMCON.mkv
Skip small video file: /volume1/Video/Downloads/Greys.Anatomy.S15E23.1080p.WEB.H264-METCON.mkv
Skip small video file: /volume1/Video/Downloads/Station.19.S02E15.Always.Ready.2.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv
No files selected for processing
Done ¯\_(ツ)_/¯
------------------------------------------

[Process error]

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Permissions Problem

Post by Hias » 06 May 2019, 18:27

What is when you scan the directory with ls -l and filebot -mediainfo? Do you get the same result as I get?

What DSM version are you running?

I am also still trying to solve the issue as well and just wrote an entry in the german synology forum. I hope somebody had the same problem there and can help me.

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Permissions Problem

Post by rednoah » 06 May 2019, 20:03

gardinerr2 wrote:
06 May 2019, 17:31
I'm getting a very similar issue. Its not happening on all tV shows, but its happened on the last 2 episodes of GOT and the test files below. Any ideas? files are over 2GB.
Let's see what file size the OS reports :

Code: Select all

filebot -mediainfo -r /volume1/Video/Downloads --format "{bytes} {f}"
:idea: Please read the FAQ and How to Request Help.

User avatar
rednoah
The Source
Posts: 15960
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology Filebot Node Permissions Problem

Post by rednoah » 06 May 2019, 20:05

Hias wrote:
06 May 2019, 18:27
I am also still trying to solve the issue as well and just wrote an entry in the german synology forum. I hope somebody had the same problem there and can help me.
Have you tried to use synoacltool to view ACL permissions for different files, comparing files that works with files that don't work?

Code: Select all

synoacltool -h

Code: Select all

synoacltool -get PATH
:idea: Please read the FAQ and How to Request Help.

Predator2912
Posts: 44
Joined: 20 May 2017, 17:51

Re: Synology Filebot Node Permissions Problem

Post by Predator2912 » 07 May 2019, 09:34

rednoah wrote:
06 May 2019, 20:05
Have you tried to use synoacltool to view ACL permissions for different files, comparing files that works with files that don't work?

Code: Select all

synoacltool -h

Code: Select all

synoacltool -get PATH
I tested it on my Filebot Temp folder, which I used for input files, and I know they work.
So you can control what permissions work and what permissions you have.

In this Folder are only Files und Files with subfolders

Code: Select all

synoacltool -get /volume2/filebot_temp/temp/
ACL version: 1 
Archive: is_inherit,is_support_ACL 
Owner: [admin(user)] 
--------------------- 
	 [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:1)
	 [1] user:MadM4x:allow:rwxpdDaARWc--:fd--  (level:1)
	 [2] user:admin:allow:rwxpdDaARWc--:fd--  (level:1)
Another Folder with only Files

Code: Select all

synoacltool -get /volume2/filebot_temp/TV\ Series/
ACL version: 1 
Archive: is_inherit,is_support_ACL 
Owner: [admin(user)] 
--------------------- 
	 [0] group:administrators:allow:rwxpdDaARWc--:fd--  (level:1)
	 [1] user:MadM4x:allow:rwxpdDaARWc--:fd--  (level:1)
	 [2] user:admin:allow:rwxpdDaARWc--:fd--  (level:1)
Some other Info i found about synoacltool
Fields
name: user/group name
ACL Perm: rwxpdDaARWcCo
r: (r)ead data
w: (w)rite data (create file)
x: e(x)ecute
p: a(p)pend data (create dir)
d: (d)elete
D: (D)elete child (only for dir)
a: read (a)ttribute (For SMB read-only/hidden/archive/system)
A: write (A)ttribute
R: (R)ead xattr
W: (W)rite xattr
c: read a(c)l
C: write a(c)l
o: get (o)wner ship

inherit mode: fdin
f: (f)ile inherited
d: (d)irectory inherited
i: (i)nherit only
n: (n)o propagate

Hias
Posts: 9
Joined: 29 Apr 2019, 20:22

Re: Synology Filebot Node Permissions Problem

Post by Hias » 07 May 2019, 19:18

I tried also the synoacltool command and here is the result:

The folder where my raw files are located

Code: Select all

[email protected]:/$ synoacltool -get /volume1/Download/Fertig/
ACL version: 1 
Archive: is_inherit,is_support_ACL 
Owner: [admin(user)] 
--------------------- 
         [0] user:admin:allow:rwxpdDaARWc--:fd--  (level:1)
One of the movies which is not recognized by filebot

Code: Select all

[email protected]:/$ synoacltool -get /volume1/Download/Fertig/coincidence-bohemianrhapsody-1080p.mkv
ACL version: 1 
Archive: is_inherit,is_support_ACL 
Owner: [admin(user)] 
--------------------- 
         [0] user:admin:allow:rwxpdDaARWc--:----  (level:2)
One of the movies in my movie folder which is recognized by filebot

Code: Select all

[email protected]:/$ synoacltool -get /volume1/Video/Filme/Wer\ wenn\ nicht\ du.avi
ACL version: 1 
Archive: is_inherit,is_support_ACL 
Owner: [Hias__(user)] 
--------------------- 
         [0] group:http:allow:rwxpdDaARWc--:----  (level:2)
         [1] user:admin:allow:rwxpdDaARWc--:----  (level:2)
         [2] user:plex:allow:rwxpdDaARWc--:----  (level:2)
Looks the same to me?

Post Reply