OpenSubtitles credentials lost

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
maxoudela
Power User
Posts: 19
Joined: 31 Mar 2016, 12:16

OpenSubtitles credentials lost

Post by maxoudela »

Hi guys,

I've re-installed Filebot on my Synology DS215j with Java 8 and FileBot 4.7.9.

I've read the guide I wrote some time ago : viewtopic.php?f=13&t=3599

Everything seemed to work right, but if I see the log of the SynoScheduler task, I can see :

Code: Select all

CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
Allright, so I log into ssh with the same user I'm launching the task. I configure the credentials and re-execute the task manually from the NAS. I works but the next day, when the task is automatically launched, the credentials are lost.

Now I just saw that if I execute the task from the nas manually, it is working. So I'm guessing that there is a difference between launching the task manually from the NAS in GUI, and the nas launching the task itself.

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

Re: OpenSubtitles credentials lost

Post by rednoah »

You can just add an fn:configure line before the fn:amc line:

Code: Select all

filebot -script fn:configure --def osdbUser=<USER> --def osdbPwd=<PASS>
That way you make sure that it's running as the same user. You can call printenv as well so you can see what's different and find out what's different when you log in via SSH.

:idea: Make sure to have DSM email you the console output of the task. That's also helpful for debugging.
:idea: Please read the FAQ and How to Request Help.
maxoudela
Power User
Posts: 19
Joined: 31 Mar 2016, 12:16

Re: OpenSubtitles credentials lost

Post by maxoudela »

Hi Rednoah,

Thanks, it seems to work :)

Regards,
Post Reply