Code: Select all
$ find / -name filebot-node.log 2> /dev/null
/var/log/packages/filebot-node.log
/volume1/@appstore/filebot-node/filebot-node.log
Code: Select all
sudo cat /volume1/@appstore/filebot-node/filebot-node.log
Code: Select all
$ find / -name filebot-node.log 2> /dev/null
/var/log/packages/filebot-node.log
/volume1/@appstore/filebot-node/filebot-node.log
Code: Select all
sudo cat /volume1/@appstore/filebot-node/filebot-node.log
Use Tools ➔ System Information to check which user filebot is called as. Then make sure that that user / group has the appropriate permissions. Note that calling filebot via FileBot Node / Synology Scheduler / SSH / etc may result in filebot being called as a different user depending on the context.
rednoah wrote: ↑08 Apr 2021, 05:38 FileBot Node for Synology DSM 6.2.4 is available for testing: filebot-node-0.4.0-noarch.spk
You may need to uninstall older versions of FileBot Node, before manually installing the latest beta package. Upgrading the package may result in broken permissions caused by previously created user data.
FileBot Node is no longer integrated into the DSM nginx service. You therefore cannot use Quick Connect to access the FileBot Node WebUI.
@colpepe - My use case really is I don't want it to run in the bg when I don't really need it to. I have a 1515+ and the CPU spikes every time FB runs. Another reason is sometimes FB just doesn't make the right match and I have to rename the file slightly for it to make a match on TMDB. I really only need it to run maybe once or twice a day, that's it so scheduling every 15 min is a waste of cycles IMO. That's when I came across MODs. One-click run makes things a bit easier to manage especially since I am supporting my dad's setup as well. If there's any way I can make things simpler for him the better my life ends up.colpepe wrote: ↑08 Apr 2021, 15:04 @rednoah - my syno 'admin' account is disabled and FBN runs fine in my case, just for the record.
@Aglyons - That is the first I heard about the MODS tools, thanks for that. Is there any reason you wouldn't just schedule filebot to run a task every 5-10 mins so you don't have to hassle with running it manually? I am just curious of your usage scenario.
Not planned for now, since that would break things for pre-DSM 6.2.4 users.
This worked like a charm for me!rednoah wrote: ↑11 May 2021, 17:15Not planned for now, since that would break things for pre-DSM 6.2.4 users.
But if you prefer to install via the package source, then you can add this package source instead for the latest package:
https://raw.githubusercontent.com/fileb ... /syno.json
Code: Select all
cat /var/packages/filebot-node/target/filebot-node.log
Code: Select all
ENVIRONMENT { SYNOPKG_DSM_LANGUAGE: 'def',
FILEBOT_TASK_CMD: 'filebot-node-task',
TERM: 'vt102',
FILEBOT_CMD_UID: '0',
SYNOPKG_TEMP_LOGFILE: '/tmp/synopkgmgr.log-filebot-node',
SYNOPKG_DSM_ARCH: 'apollolake',
OLDPWD: '/',
JAVA_OPTS: '',
FILEBOT_CMD_CWD: '/volume1',
PATH: '/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin',
SELF: 'filebot-node',
FILEBOT_CMD_GID: '0',
PWD: '/var/packages/filebot-node/target',
SYNOPKG_PKGDEST: '/volume1/@appstore/filebot-node',
FILEBOT_NODE_HOST: '127.0.0.1',
SYNOPKG_PKGVER: '0.4.1',
SYNOPKG_DSM_VERSION_MINOR: '2',
SHLVL: '3',
FILEBOT_CMD: 'filebot',
SYNOPKG_DSM_VERSION_BUILD: '25556',
UPSTART_INSTANCE: '',
UPSTART_EVENTS: 'syno.pkgctl.pkgstart',
SYNOPKG_PKGNAME: 'filebot-node',
FILEBOT_NODE_HTTP_PORT: '5452',
SYNOPKG_DSM_VERSION_MAJOR: '6',
SYNOPKG_PKGDEST_VOL: '/volume1',
FILEBOT_NODE_AUTH: 'SYNO',
UPSTART_JOB: 'pkgctl-filebot-node',
FILEBOT_NODE_DATA: '/var/packages/filebot-node/target/data',
FILEBOT_NODE_HTTP: 'YES',
_: '/usr/local/bin/node' }
USER { UID: 0, GID: 0 }
filebot-node listening at http://127.0.0.1:5452
/usr/syno/synoman/webman/authenticate.cgi
{ HTTP_COOKIE: 'id=XYZ',
REMOTE_ADDR: '192.168.1.2',
HTTP_X_SYNO_TOKEN: undefined }