FileBot node doesn't see valid license

Support for Ubuntu and other Desktop Linux distributions
Post Reply
oppositelock
Posts: 3
Joined: 18 Dec 2018, 17:30

FileBot node doesn't see valid license

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

Re: FileBot node doesn't see valid license

Post 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.
:idea: Please read the FAQ and How to Request Help.
oppositelock
Posts: 3
Joined: 18 Dec 2018, 17:30

Re: FileBot node doesn't see valid license

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

Re: FileBot node doesn't see valid license

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