Crash on Synology

Any questions? Need some help?
Post Reply
zaithefirst
Posts: 11
Joined: 04 Mar 2013, 21:08

Crash on Synology

Post by zaithefirst »

Hello,

I encountered today a problem while running the filebot sorting script.
I did try to update the jar using the latest release (4.5.3), but now I have a different error. The script exits with the below message:

Code: Select all

Dec 23, 2014 12:11:34 AM net.filebot.Main initializeCache
WARNING: App version (r2729) does not match cache version (r0): reset cache
MissingPropertyException: No such property: _log for class: Script1
Possible solutions: log, now, _def, _args
groovy.lang.MissingPropertyException: No such property: _log for class: Script1
Possible solutions: log, now, _def, _args
        at Script1$_run_closure5.doCall(Script1.groovy:54)
        at Script1.run(Script1.groovy:15)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:112)
        at net.filebot.Main.main(Main.java:170)
MissingPropertyException: No such property: _log for class: Script1
Possible solutions: log, now, _def, _args
groovy.lang.MissingPropertyException: No such property: _log for class: Script1
Possible solutions: log, now, _def, _args
        at Script1$_run_closure5.doCall(Script1.groovy:54)
        at Script1.run(Script1.groovy:15)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:112)
        at net.filebot.Main.main(Main.java:170)
could you please help?

Thanks a lot
zaithefirst
Posts: 11
Joined: 04 Mar 2013, 21:08

Re: Crash on Synology

Post by zaithefirst »

I did try to restore the previous jar version. I still have a crash, you can find below the error stack.
Can you please help?
Thanks a lot


PatternSyntaxException: Illegal character range near index 296
Jaden
Posts: 4
Joined: 09 Apr 2015, 08:14

Re: Crash on Synology

Post by Jaden »

I have a similar problem. Showed up a week ago. All I can read from it is facebook and twitter. The script doesn't rename any files anymore. A was on holidays so it shouldn't have updated anything that could cause a conflict of versions.

Anybody knows why it's doing that or how to fix it?

Synology DS212j
DSM 5.1-5022 Update 4
Filebot 4.0-1
Java SE Embedded 1.8.0-1

Thanks
Jaden
Posts: 4
Joined: 09 Apr 2015, 08:14

Re: Crash on Synology

Post by Jaden »

Jaden wrote: Synology DS212j
DSM 5.1-5022 Update 4
Filebot 4.0-1
Java SE Embedded 1.8.0-1
Could fix that plus root issues. Now I'm at Filebot 4.5.6. Now I'm down to this

Code: Select all

> filebot -rename /volume2/video/Unsorted/TV-Shows/new.girl.4x20.par.5.mkv


Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Auto-detected query: [new girl]
Fetching episode data for [New Girl]
[MOVE] Rename [/volume2/video/Unsorted/TV-Shows/new.girl.4x20.par.5.mkv] to [New Girl - 4x20 - Par 5.mkv]
[MOVE] Failed to rename [/volume2/video/Unsorted/TV-Shows/new.girl.4x20.par.5.mkv]
AccessDeniedException: /volume2/video/Unsorted/TV-Shows/new.girl.4x20.par.5.mkv -> /volume2/video/Unsorted/TV-Shows/New Girl - 4x20 - Par 5.mkv
java.nio.file.AccessDeniedException: /volume2/video/Unsorted/TV-Shows/new.girl.4x20.par.5.mkv -> /volume2/video/Unsorted/TV-Shows/New Girl - 4x20 - Par 5.mkv
        at net.filebot.util.FileUtilities.moveRename(FileUtilities.java:71)
        at net.filebot.StandardRenameAction$1.rename(StandardRenameAction.java:15)
        at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:637)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:251)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:142)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:75)
        at net.filebot.Main.main(Main.java:169)
Failure (°_°)

Edit: Fixed version problem, now it's a java problem :(
User avatar
rednoah
The Source
Posts: 23142
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Crash on Synology

Post by rednoah »

AccessDeniedException
It's a Unix permissions problem. Nothing the filebot process can do when the OS says no. Check Google for tips on how to fix permission issues.
:idea: Please read the FAQ and How to Request Help.
Jaden
Posts: 4
Joined: 09 Apr 2015, 08:14

Re: Crash on Synology

Post by Jaden »

rednoah wrote:
AccessDeniedException
It's a Unix permissions problem. Nothing the filebot process can do when the OS says no. Check Google for tips on how to fix permission issues.
Thanks! The source and destination folder were all root, changing ownership fixed it.

Now of to translating my script into the 'new' syntax ...
rbargUIA
Posts: 1
Joined: 15 Apr 2015, 03:03

Re: Crash on Synology

Post by rbargUIA »

Hi Jaden, how did you get the destination drive to change ownership. I have Synology mapped drives set up.
Jaden
Posts: 4
Joined: 09 Apr 2015, 08:14

Re: Crash on Synology

Post by Jaden »

rbargUIA wrote:Hi Jaden, how did you get the destination drive to change ownership. I have Synology mapped drives set up.
You can do it either in the DSM environment or with the terminal/command line:

DSM:
:arrow: Log into DSM of your NAS, as user with admin rights.
:arrow: Open File Station and locate the destination folder
:arrow: Right click and select properties
:arrow: At the bottom of the window you have a drop-down menu that lets you select owner

Give it the same user, that runs your fb-script. Worked with DSM 5.1
If that doesn't seem to work immediately you might have to check the user permissions in Control Panel/User by right-clicking the profile and then setting Permissions.

Terminal:
:arrow: ssh into your NAS (I did it as root)
:arrow: type: chown [user] [/path/to/destination]

You have to change [user] and the [path/...] to the profile and the destination you need. I for example do "chown admin /volume2/video/Movies". If that doesn't seem to work immediately you might have to change the user permissions with "chmod 777 /path/to/destination"

That should do it.
Post Reply