JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 31.03.2024, 10:06
BlackJoker90 BlackJoker90 is offline
JD Alpha
 
Join Date: Sep 2022
Posts: 20
Default Issue with JDownloader Not Automatically Starting After Restart

Greetings everyone,

I've encountered an issue with my JDownloader setup on my Synology where despite having a script in place, it fails to automatically start after a system restart. Instead, I find myself manually initiating it via the terminal. I've attached a screenshot showcasing my settings for reference.

Any insights on what might be causing this hiccup would be greatly appreciated. Thank you in advance for your assistance!
Attached Images
File Type: jpg CleanShot 2024-03-31 at 10.03.16@2x.jpg (60.9 KB, 3 views)
Reply With Quote
  #2  
Old 31.03.2024, 21:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,522
Default

@BlackJoker90: permissions are correct or run as root checked?
maybe more than 60 secs are required? change to sleep 120, just to make sure that NAS is fully booted up. Also does the script work fine when started manually?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 01.04.2024, 00:31
BlackJoker90 BlackJoker90 is offline
JD Alpha
 
Join Date: Sep 2022
Posts: 20
Default

The script runs as root user and I changerd now the value from 60 to 120 and need to check. The script doesn't work even when I run manually so I have always to start the jdownloader manually via terminal.
Reply With Quote
  #4  
Old 01.04.2024, 11:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,522
Default

How do you start JDownloader manually? can you show content of the script? is it executable (chmod +x) ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 02.04.2024, 23:15
BlackJoker90 BlackJoker90 is offline
JD Alpha
 
Join Date: Sep 2022
Posts: 20
Default

I login via ssh and then do these steps:

1. sudo -i
2. cd /volume1/@appstore/JDownloader/
3. kill $(cat JDownloader.pid)
4. ./start.sh

After that the jDownloader will start again without any issues.
Reply With Quote
  #6  
Old 03.04.2024, 00:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,522
Default

@BlackJoker90: Please show content of start.sh script and why you kill running JDownloader process first?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 03.04.2024, 20:00
BlackJoker90 BlackJoker90 is offline
JD Alpha
 
Join Date: Sep 2022
Posts: 20
Default

Code:
 
     1	#!/bin/bash
     2	cd /volume1/@appstore/JDownloader
     3	export LC_CTYPE="en_US.UTF-8"
     4	export LANG="en_US.UTF-8"
     5	export LC_COLLATE="C"
     6	umask 000
     7	java -jar JDownloader.jar &
I used the cat comand to read the start.sh file

Last edited by BlackJoker90; 03.04.2024 at 20:22.
Reply With Quote
  #8  
Old 03.04.2024, 22:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,522
Default

@BlackJoker90: tried to have larger sleep? for example my qnap takes much longer than 2 minutes for full boot.
When you do start it manually, does a JDownloader.pid file exist and a java process running?
on first glance I can't see reason why this shouldn't work as expected
__________________
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 16:25.
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 - 2024, Jelsoft Enterprises Ltd.