Page 1 of 1
Fedora Filebot-Node
Posted: 19 Dec 2016, 04:50
by mwarner416
Hello,
I have made a VM of Fedora 24 server edition to try out filebot-node. Currently I have disabled the firewall with
Code: Select all
sudo systemctl mask firewalld.service
sudo systemctl disable firewalld.service
After disabling the firewall, I went ahead and disabled selinux. Then downloaded filebot-node and extracted it to /usr/local/sbin. To start filebot-node I use...
Code: Select all
cd /usr/local/sbin/filebot
./start
I am not using https but I can access the webui. But the issue is, the execute command isn't doing anything.

Re: Fedora Filebot-Node
Posted: 19 Dec 2016, 06:43
by rednoah
That means the JavaScript app can't send requests to the Node JS serivce.
Opening the debug console in your browser and having a look at the requests might help.
Re: Fedora Filebot-Node
Posted: 19 Dec 2016, 07:53
by mwarner416
Here is a error that I am getting.
Code: Select all
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn filebot ENOENT
at exports._errnoException (util.js:907:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
Re: Fedora Filebot-Node
Posted: 19 Dec 2016, 09:15
by rednoah
Does the filebot command work?
Re: Fedora Filebot-Node
Posted: 19 Dec 2016, 13:01
by mwarner416
No, that is what occurs when you press execute.
Re: Fedora Filebot-Node
Posted: 19 Dec 2016, 15:34
by rednoah
FileBot Node depends on filebot so I'd check if filebot works first.
If the filebot command-line tools are not installed, then FileBot Node won't work. What does the filebot -script fn:sysinfo output say?
Re: Fedora Filebot-Node
Posted: 23 Dec 2016, 19:56
by mwarner416
I have it working now. Currently I'm writing a How To guide for fedora. I plan on posting it to the forum, do you have a recommendation on where I should post it.
Re: Fedora Filebot-Node
Posted: 23 Dec 2016, 20:01
by rednoah
The Synology & Embedded Linux subforum is probably best, because that's where all the FileBot Node related threads are.
Re: Fedora Filebot-Node
Posted: 23 Dec 2016, 23:59
by mwarner416
Ok, so I have ran into a minor issue.
Code: Select all
[USER@behemoth ~]$ /usr/local/bin/filebot-node/start
module.js:327
throw err;
^
Error: Cannot find module '/home/USER/server/app.js'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3
I have discover that while trying to run the script in /usr/local/bin/filebot-node it was giving me that error. So I moved all the contents of /usr/local/bin/filebot-node to ~/ and now I can run the script and everything runs as intended. I can rename files with the web-ui.
So, I am not sure how to resolve this. Can you guide me in the right direction?
Re: Fedora Filebot-Node
Posted: 24 Dec 2016, 04:09
by rednoah
Have a look at the start script and see if you can fix it. It probably somewhere assumes that it's called with an absolute path like on Synology.