#1
|
|||
|
|||
Headless installation
Please allow unattended installation without available X server when passing '-q' option.
When I try to install via 'sh JD2Setup_x64.sh -q -varfile $HOME/response.varfile', I get the error 'java.awt.AWTError: Can't connect to X11 window server using ':1' as the value of the DISPLAY variable.'. I want to install in Docker via Dockerfile which does not have a running X server. The resulting container will have access to an X server and thus can run the GUI. |
#2
|
||||
|
||||
I'm sorry but the installer was never meant for server/headless installation.
Please follow this guide https://support.jdownloader.org/Know...bedded-devices
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Thanks, this guide helps a lot!
Unfortunately, the part "repeat step 3.1 until JDownloader asks you to enter your MyJDownloader logins on console" does not make it very suitable for scripted installation. Further, when running too often, it fails because no console is available: Quote:
|
#4
|
||||
|
||||
A console must be available so JDownloader can access it, to ask for logins. The shown error happens when there is no longer a console available to use/attach to.
for scripted installations you can auto create the configuration with MyJDownloader logins,then you can skip the setup via console
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
Quote:
Quote:
Is this just the file "org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json"? Does it only need the fields "email" and "password" and will automatically create the other fields? Last edited by darkdragon-001; 28.08.2019 at 22:23. |
#6
|
||||
|
||||
Quote:
Yes and Yes
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
True, but with a non-zero return code. The thing is, maybe you should add a command line argument to only install/update and then exit and not attempt to start the application.
|
#8
|
||||
|
||||
Quote:
Quote:
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
@Jiaz Did you find some time to separate update and run as we discussed some months ago in IRC?
|
#10
|
|||
|
|||
It would be nice if JDownloader.pid file is also created when the updater is running.
|
Thread Tools | |
Display Modes | |
|
|