#1
|
|||
|
|||
![]()
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! |
#2
|
||||
|
||||
![]()
@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 |
#3
|
|||
|
|||
![]()
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.
|
#4
|
||||
|
||||
![]()
How do you start JDownloader manually? can you show content of the script? is it executable (chmod +x) ?
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
![]()
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. |
#6
|
||||
|
||||
![]()
@BlackJoker90: Please show content of start.sh script and why you kill running JDownloader process first?
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
![]() 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 & Last edited by BlackJoker90; 03.04.2024 at 20:22. |
#8
|
||||
|
||||
![]()
@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 |
![]() |
Thread Tools | |
Display Modes | |
|
|