Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run from command-line? #39

Closed
monalisa-overdrive opened this issue Sep 18, 2020 · 7 comments
Closed

How to run from command-line? #39

monalisa-overdrive opened this issue Sep 18, 2020 · 7 comments

Comments

@monalisa-overdrive
Copy link

How can I run filebot CLI?

I have it configured to run an AMC script and can access the webUI fine, but there's some testing I want to do with the AMC script and I don't want to have to update/restart the container every time to reload the script configs.

I tried docker exec -it filebot sh but when I try to run filebot commands, I get sh: filebot: not found

@checktravis
Copy link

I am looking for this as well.

This works:

docker exec filebot /opt/filebot/filebot -version
FileBot 4.9.1 (r7372) JDK8 / OpenJDK Runtime Environment 1.8.0_242 / Linux 5.4.0-48-generic (amd64)

But this just hangs

docker exec filebot /opt/filebot/filebot -rename "/storage/What It's Like Being Alone"

@jlesage
Copy link
Owner

jlesage commented Sep 29, 2020

docker exec filebot /opt/filebot/filebot is the way to manually invoke the FileBot CLI.

@jlesage
Copy link
Owner

jlesage commented Sep 29, 2020

@checktravis, it can take some time to execute, did you wait enough long? Maybe add --log all to see any activity ?

@checktravis
Copy link

I'll try that

@Speedmod88
Copy link

Hi, I have this issues too...

using your Unraid Docker:

open the Console:

/tmp # docker exec filebot /opt/filebot/filebot
sh: docker: not found

I got this in the console

do I have to do something else to activate the docker cmd?

or is AMC already use the duplicate script? -> filebot -script dev:duplicates /path

to scan all duplicates from metadata and not from path?

Thanks You
Best Regards

@jlesage
Copy link
Owner

jlesage commented Dec 31, 2021

You seem to have executed the command from inside the container. The command must be run on the host (unRAID) instead.

Also, in your case, the command should be:

docker exec FileBot /opt/filebot/filebot

(you must use the correct container name)

@jlesage
Copy link
Owner

jlesage commented Jan 7, 2023

Closing this issue. Please re-open if needed.

@jlesage jlesage closed this as completed Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants