Fedora Filebot-Node

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
mwarner416
Posts: 8
Joined: 19 Dec 2016, 04:36

Fedora Filebot-Node

Post 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.
Image
Image
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Fedora Filebot-Node

Post 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.
:idea: Please read the FAQ and How to Request Help.
mwarner416
Posts: 8
Joined: 19 Dec 2016, 04:36

Re: Fedora Filebot-Node

Post 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)

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

Re: Fedora Filebot-Node

Post by rednoah »

Does the filebot command work?
:idea: Please read the FAQ and How to Request Help.
mwarner416
Posts: 8
Joined: 19 Dec 2016, 04:36

Re: Fedora Filebot-Node

Post by mwarner416 »

No, that is what occurs when you press execute.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Fedora Filebot-Node

Post 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?
:idea: Please read the FAQ and How to Request Help.
mwarner416
Posts: 8
Joined: 19 Dec 2016, 04:36

Re: Fedora Filebot-Node

Post 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.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Fedora Filebot-Node

Post by rednoah »

The Synology & Embedded Linux subforum is probably best, because that's where all the FileBot Node related threads are.
:idea: Please read the FAQ and How to Request Help.
mwarner416
Posts: 8
Joined: 19 Dec 2016, 04:36

Re: Fedora Filebot-Node

Post 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?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Fedora Filebot-Node

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply