Page 1 of 1

FileBot node doesn't see valid license

Posted: 28 Aug 2023, 15:10
by oppositelock
I recently got the Filebot node docker running on Ubuntu 20.04. I installed my license key and got the following confirmation:

Code: Select all

Activate License [P52XXXXXX] on [Mon Aug 28 14:49:59 GMT 2023]
Write [FileBot License P52304123 (Valid-Until: 2024-08-22)] to [/data/license.txt]
FileBot License P52XXXXXX (Valid-Until: 2024-08-22) has been activated successfully.
But when I run the amc script via the web gui I'm getting:

Code: Select all

Whoopsies! --action SYMLINK requires a valid license.
* Consider using --action TEST
License Error: UNREGISTERED
Additionally, the same command runs fine when I run it manually inside the container using the interactive terminal.

Any help is appreciated

Re: FileBot node doesn't see valid license

Posted: 28 Aug 2023, 15:56
by rednoah
:?: What is your docker command?


:idea: Your license file is stored to /data/license.txt so you need to make sure that that file path is mapped to persistent storage:

Code: Select all

Write [FileBot License P52304123 (Valid-Until: 2024-08-22)] to [/data/license.txt]

:idea: You are likely missing the -v data:/data option which maps the /data folder inside the container to persistent named volume:

Shell: Select all

docker run --rm -it -v "$PWD:/volume1" -v data:/data -p 5452:5452 rednoah/filebot:node

:arrow: Please read How do I activate my license? for details.

Re: FileBot node doesn't see valid license

Posted: 28 Aug 2023, 16:21
by oppositelock
My docker command is:

Code: Select all

docker run -it  \
  --name=filebot  \
  -e PGID=1000 -e PUID=1000 \
  --restart=unless-stopped \
  -v /opt/filebot:/data  \
  -v /mnt:/mnt \
  -v /etc/localtime:/etc/localtime:ro  \
  -p 5452:5452 \
rednoah/filebot:node
FileBot also correctly wrote the license.txt file to /opt/filebot on the host machine. I can see this by doing the following:

Code: Select all

myname@host-machine:/opt/filebot$ docker exec -it filebot /bin/sh
# cat /data/license.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Product: FileBot
Name: myname
Email: myemail
Order: P52XXXXX
Issue-Date: 2023-08-15
Valid-Until: 2024-08-22
-----BEGIN PGP SIGNATURE-----

MYSIGNATURE

-----END PGP SIGNATURE-----#
Same result when running

Code: Select all

cat /opt/filebot/license.txt
on the host

Re: FileBot node doesn't see valid license

Posted: 28 Aug 2023, 19:29
by rednoah
:arrow: You'll want to use the Tools ➔ License button in FileBot Node to activate your license:
rednoah wrote: 14 Aug 2018, 07:21 Option 4:
If you are using FileBot Node on your NAS device, then you can use the Tools ➔ License button to select and install your license file:

Screenshot


:!: The console output above suggests that you use one docker environment (i.e. -e PGID=0 -e PUID=0) to install your license, and then you use a different docker environment (i.e. -e PGID=1000 -e PUID=1000) to run FileBot Node. You'll want to activate from within the FileBot Node WebUI to ensure that everything is running in the same docker environment.


:?: What does the complete console output say? If no license is installed, then the error message should include the UID and the file path where the license file is expected to be for the current user at hand:

Code: Select all

...
* FileBot is running as [filebot] using [/data/filebot/license.txt]
...