error on launch : torrents does not exists
Hi,
I'm trying to use joal in command line on Linux Ubuntu 18.04.
I have 2 errors saying that both "clients" and "torrents" folders are missing.
They are not missing FOR SURE, as i used .gz lastest archive, and both folders are showing alongside the config.json file.
[WARN ] 2022-03-31 15:38:47.046 [ main] o.a.j.c.SeedManager: Sub-folder 'torrents' is missing in joal conf folder: /home/ubuntu/config.json/torrents
[WARN ] 2022-03-31 15:38:47.048 [ main] o.a.j.c.SeedManager: Sub-folder 'clients' is missing in joal conf folder: /home/ubuntu/config.json/clients
[ERROR] 2022-03-31 15:38:47.067 [ main] o.a.j.c.t.w.TorrentFileProvider: Folder /home/ubuntu/config.json/torrents does not exists.
I've tried using different jre versions, different joal versions. Both folders are readable with appropriate permissions...
Any idea?
Thank you!
error on launch : torrents does not exists
Thank you for your reply :)
Just tried with sudo but ran into the same problem. Both folders are drwxr-xr-x in the same location as config.json.
Just in case here are the following error lines when running the jar:
[WARN ] 2022-04-01 06:46:47.255 [ main] o.a.j.c.SeedManager: Sub-folder 'torrents' is missing in joal conf folder: /home/ubuntu/joal/config.json/torrents
[WARN ] 2022-04-01 06:46:47.266 [ main] o.a.j.c.SeedManager: Sub-folder 'clients' is missing in joal conf folder: /home/ubuntu/joal/config.json/clients
[ERROR] 2022-04-01 06:46:47.284 [ main] o.a.j.c.t.w.TorrentFileProvider: Folder /home/ubuntu/joal/config.json/torrents does not exists.
[WARN ] 2022-04-01 06:46:47.294 [ main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplic ationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDepen dencyException: Error creating bean with name 'applicationClosingListener' defined in URL [jar:file:/home/ubuntu/joal/jack-of-all-trades-2.1.29.jar!/BOOT-INF/classes!/org/araymond/joal/ApplicationClosingListener.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'seedManager' defined in class path resource [org/araymond/joal/web/config/BeanConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on: Failed to instantiate [org.araymond.joal.core.SeedManager]: Factory method 'seedManager' threw exception; nested exception is java.io.FileNotFoundException: Torrent folder '/home/ubuntu/joal/config.json/torrents' not found.
Weird :/