java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
terra17
Posts: 47
Joined: 06 Sep 2014, 11:10

java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin

Post by terra17 »

Hi Rednoah, Hi everybody
I'm Alberto and I'm going crazy with Filebot and Java in the last few days.
After TVDB problems I've read here the Java package from rednoah was better then Java 8 and so I removed mine and installed the other. After that Filebot stops to work.
My logs:

Code: Select all

java -version
openjdk version "13.0.2" 2020-01-15
OpenJDK Runtime Environment (build 13.0.2+9)
OpenJDK Server VM (build 13.0.2+9, mixed mode)

Code: Select all

filebot -version
FileBot 4.8.5 (r6224) / OpenJDK Runtime Environment 13.0.2 / Linux 3.2.40 (arm)

Code: Select all

 which java
/usr/local/bin/java

Code: Select all

 echo $JAVA_HOME
/root/jdk-13.0.2/bin/java

Code: Select all

uname -a
Linux DiskStation213j 3.2.40 #24922 Mon Aug 19 12:09:30 CST 2019 armv7l GNU/Linux synology_armada370_213j

Code: Select all

filebot -script fn:sysinfo
java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
        at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
        at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:17)
        at net.filebot.Main.initializeSystemProperties(Main.java:405)
        at net.filebot.Main.main(Main.java:111)

java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
        at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
        at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:19)
        at net.filebot.Main.initializeSystemProperties(Main.java:405)
        at net.filebot.Main.main(Main.java:111)

java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
        at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
        at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:21)
        at net.filebot.Main.initializeSystemProperties(Main.java:405)
        at net.filebot.Main.main(Main.java:111)

java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin
        at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
        at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:23)
        at net.filebot.Main.initializeSystemProperties(Main.java:405)
        at net.filebot.Main.main(Main.java:111)

Error during startup
java.lang.ExceptionInInitializerError
        at net.filebot.Main.main(Main.java:115)
Caused by: net.sf.ehcache.CacheException: java.nio.file.AccessDeniedException: /                                                                                                                                                             volume1/@appstore/filebot/data/admin
        at net.filebot.CacheManager.<init>(CacheManager.java:36)
        at net.filebot.CacheManager.<clinit>(CacheManager.java:22)
        ... 1 more
Caused by: java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/                                                                                                                                                             admin
        at net.filebot.util.FileUtilities.createFolders(FileUtilities.java:191)
        at net.filebot.CacheManager.acquireDiskStore(CacheManager.java:86)
        at net.filebot.CacheManager.<init>(CacheManager.java:33)
        ... 2 more
What's happened ??
Thank you so much.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JAVA CONFUSION

Post by rednoah »

This error is unrelated to java. The keyword is AccessDeniedException which means UNIX file permissions are screwed up for some reason in the given folder, i.e. FileBot can't read/write it's own application data folder:

Code: Select all

java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin

:arrow: The easiest solution is probably to just uninstall FileBot (which will complete delete /volume1/@appstore/filebot) and the install FileBot again.


:idea: You may need to install the latest FileBot 4.9.0 (beta) due to Groovy / Java 13 compatibility issues: viewtopic.php?t=1609


:idea: Make sure to always run as admin and never as root or with root permissions as the latter might initialize files with root-only permissions.
:idea: Please read the FAQ and How to Request Help.
terra17
Posts: 47
Joined: 06 Sep 2014, 11:10

Re: java.nio.file.AccessDeniedException: /volume1/@appstore/filebot/data/admin

Post by terra17 »

Thank you !

I've done what you said and everything is ok, finally !
Post Reply