0
Under review
Ubuntu 16
Hi all
i'm trying Ubooquity on my Ubuntu 16.04 headless linux box.
i installed default-jre with apt-get , then if i try to run
java -Dfile.encoding=UTF-8 -jar /home/plex/ubooquity/Ubooquity.jar -webadmin -headless
I get
Command line arguments error: java.lang.IllegalArgumentException: The provided execution directory does not exist or is not writable
Launch Ubooquity with the "--help" option to display available commands
Ubooquity has stopped
Anyone knows why?
Customer support service by UserEcho
It has changed since version 2.*
You have to update your/change your systemd service to this or just the line you are using to what i used in the execStart but changed to your situation off course.
This is my systemd service. The bold part you have to change to adapt to your situation. The webadmin has become "remoteadmin", also remoteadmin and the library it self you must have different ports. Remember to remove <>.
just means that: the directory you are running Ubooquity from (the one you are in when you launch the command, since you didn't specify a explicit working directyory) seems to lack writing permissions for the user you are launching it with..
I'm seeing this problem too. The directory that I issue the command from (home/gram/ubooquity2) is fine. In particular I can just run "java -jar Ubooquity.jar" in that directory and ubooquity works:
```
20200704 21:10:05 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: /home/gram/ubooquity2
But if I instead try:
```
java -jar /home/gram/ubooquity2/Ubooquity.jar -webadmin -libraryport 2022 --adminport 2023 -headless
```
then I get that error:
```
Command line arguments error: java.lang.IllegalArgumentException: The provided execution directory does not exist or is not writable
```
And if I try:
```
java -jar /home/gram/ubooquity2/Ubooquity.jar -webadmin -headless -libraryport 2022 --adminport 2023 -workdir /home/gram/ubooquity2
```
then I get:
```
Command line arguments error: joptsimple.MultipleArgumentsForOptionException: Found multiple arguments for option workdir, but you asked for only one
```
This is with 2.1.2.