JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01.11.2021, 16:40
jdGuy jdGuy is offline
Modem User
 
Join Date: Nov 2021
Posts: 1
Default Headless Linux problem: No Start after update

Hello,

i've been using JDL on my Linux machine. It works perfect (even after rebooting the Server), but once there's a update available, it doesnt start again unless i go manually into the process and hit "enter" or restart it by forcing it.

Is there any workaround or script that does that job automatically?

For now i use that one after every update, but its not working 100%.


Code:
killall java
echo "$(tput setaf 1)JDownloader Fixer"
screen -S jdownloader -p 0 -X quit
cd /opt/jdownloader/ && screen -dmS jdownloader java -jar JDownloader.jar -norestart
sleep 30
screen -S jdownloader -p 0 -X quit
cd /opt/jdownloader/ && screen -dmS jdownloader java -jar JDownloader.jar -norestart
and trying this FIX2 script... but its very dirty.


Code:
killall java
echo "$(tput setaf 1)JDownloader Fixer"
screen -S jdownloader -p 0 -X quit
cd /opt/jdownloader/ && rm -r Core.jar && rm -r update && rm -r tmp && rm -r JDownloader.jar
cd /opt/jdownloader/ && wget http://installer.jdownloader.org/JDownloader.jar
sleep 5
cd /opt/jdownloader/ && screen -dmS jdownloader java -jar JDownloader.jar -norestart
sleep 300
killall java
screen -S jdownloader -p 0 -X quit
cd /opt/jdownloader && screen -dmS jdownloader java -jar JDownloader.jar
Reply With Quote
 

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 01:40.
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 - 2022, Jelsoft Enterprises Ltd.