JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 06.03.2019, 02:22
ELM0 ELM0 is offline
Junior Loader
 
Join Date: Mar 2019
Posts: 13
Question jdownloader headless : update and restart not working

Hello!

I need help with my headless jDownloader installation. I installed jdownloader on my server using the following tutorial: **External links are only visible to Support Staff****External links are only visible to Support Staff**

Code:
apt-get update
apt-get install oracle-java8-jdk
cd /opt/jdownloader
java -jar JDownloader.jar -norestart
java -jar JDownloader.jar -norestart
Code:
cd /etc/systemd/system
nano jdownloader.service
Code:
[Unit]
Description=JDownloader
Wants=network.target
After=network.target
 
[Service]
Type=simple
 
ExecStart=/usr/bin/java -jar /opt/jdownloader/JDownloader.jar
 
[Install]
WantedBy=multi-user.target
Code:
systemctl daemon-reload
systemctl start jdownloader.service
systemctl enable jdownloader.service

However, when I click "update and restart" in the my.jdownloader webgui, jDownloader goes offline and wont restart. I dont know how to troubleshoot this and why jDownloader is not restarting automatically? I strictly stick to the tutorial code. Maybe someone knows what I should fix to make it work or someone can recommend me a better tutorial, please.

Last edited by ELM0; 06.03.2019 at 02:30.
Reply With Quote
  #2  
Old 06.03.2019, 10:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,556
Default

You should change systemd script:
Type=oneshot
RemainAfterExit=yes

Also make sure that owner/permission on /opt/jdownloader are correct
In case you still have issues, just let us know
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:57.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.