Page 1 of 1

OpenSubtitles credentials lost

Posted: 15 Nov 2017, 09:28
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?

Re: OpenSubtitles credentials lost

Posted: 15 Nov 2017, 10:35
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.

Re: OpenSubtitles credentials lost

Posted: 17 Nov 2017, 08:57
by maxoudela
Hi Rednoah,

Thanks, it seems to work :)

Regards,