Caused by: java.nio.file.NoSuchFileException: /shared/*.psm

Any questions? Need some help?
Post Reply
Posts: 4
Joined: 21 Oct 2018, 08:01

Caused by: java.nio.file.NoSuchFileException: /shared/*.psm

Post by jkalksma » 02 Nov 2019, 17:47

Hello, my license has expired so I bought a new one. I am not able to install it however. This is what I get. My license file is in the “shared” folder.

Code: Select all

*****@******:/$ filebot --license /shared/FileBot_License_P10078533.psm
Error during startup
net.filebot.cli.CmdlineException: Invalid License File: /shared/FileBot_License_P10078533.psm
	at net.filebot.cli.ArgumentBean.getLicenseKey(
	at net.filebot.Main.main(
Caused by: java.nio.file.NoSuchFileException: /shared/FileBot_License_P10078533.psm
	at net.filebot.util.FileUtilities.readFile(
	at net.filebot.util.FileUtilities.readTextFile(
	at net.filebot.cli.ArgumentBean.getLicenseKey(
	... 1 more

User avatar
The Source
Posts: 16765
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: [bash] sh: -c: line 0: unexpected EOF while looking for matching `

Post by rednoah » 03 Nov 2019, 05:27

Please read How to Request Help.

The file path you pass in as argument does not exist, or seems to not exists from the point of view from the filebot process due to permissions or sandboxing:

Code: Select all

Caused by: java.nio.file.NoSuchFileException: /shared/FileBot_License_P10078533.psm
:?: Are you sure this file exists?
:?: How did you verify that this file does in fact exist?

:?: :?: Assuming that you're using Ubuntu Linux and have installed FileBot via the Ubuntu Software Center:

Are you using the SNAP package? Have you tried selecting a file in your $HOME folder?

:idea: SNAP confinement restricts file system access, and deny access to random non-standard file paths such as /shared which would explain why the operating system tells FileBot that the file doesn't exist.

:idea: If you're familiar with Linux, but unfamiliar with SNAP confinement, then I recommend using the APT repository to install the DEB package:

:?: :?: Assuming that you're using Synology NAS:

If you're using Synology NAS, then you may use FileBot Node to correctly install your license for you on the device:

:!: Note that on Synology NAS, there is no /shared root folder, so the path you have given can't exist, which would explain why FileBot says that it doesn't exist.
:idea: Please read the FAQ and How to Request Help.

Post Reply