JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.12.2017, 22:09
RPH
Guest
 
Posts: n/a
Question Headless Server - Update Progress 0% and Other Questions ?

Hi,

I am running JDownloader2 headless on my Raspberry Pi2 with Ubuntu Mate GUI 16.04 using the command:

Code:
java -Djava.awt.headless=true -jar JDownloader.jar -norestart
I have 3 questions about the headless server:

1) I often get this message stuck at the bottom of the terminal where I started the headless server:



Is it normal ?

2) How can I start the server in the background so that it doesn't run in a terminal window in the foreground ?

3) How can I correctly kill the server ?

Thanks
Attached Images
File Type: png Screenshot at 2017-12-22 22-26-42.png (19.9 KB, 8 views)

Last edited by RPH; 22.12.2017 at 22:40.
Reply With Quote
  #2  
Old 22.12.2017, 23:20
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

https://support.jdownloader.org/Know...bedded-devices

1) update should happen, if no progress its most likely been blocked.
2) execute from bash script, and not from terminal. else use terminal and use screen or use terminal and place it in the background with ./command
3) man kill

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 22.12.2017 at 23:23.
Reply With Quote
  #3  
Old 22.12.2017, 23:25
RPH
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by raztoki View Post
**External links are only visible to Support Staff**...

1) update should happen, if no progress its most likely been blocked.
2) execute from bash script, and not from terminal. else use terminal and use screen or use terminal and place it in the background with ./command
3) man kill

raztoki
Hi, I followed that guide although I ran the JDownloader GUI the first time I used it to configure it. After I had configured JDownloader using the GUI I closed it and ran it headless using the command I provided in my first post.
Reply With Quote
  #4  
Old 22.12.2017, 23:31
RPH
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by raztoki View Post
**External links are only visible to Support Staff**...

1) update should happen, if no progress its most likely been blocked.
2) execute from bash script, and not from terminal. else use terminal and use screen or use terminal and place it in the background with ./command
3) man kill

raztoki
1) It just sits on 0% like I showed in the screenshot. What do you mean blocked ? How can I check it ? What is it trying to update ?

2) I added a & after the command and now when I close the terminal it seems to continue running in the background. How would I use the ./ command though like you suggested ?

3) Is killall java OK ?
Reply With Quote
  #5  
Old 15.01.2018, 15:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,537
Default

Yes, those messages are okay. You will see different output once an update is available

Start JDownloader with
java -Djava.awt.headless=true -jar JDownloader.jar &
or
java -Djava.awt.headless=true -jar JDownloader.jar >/dev/null 2>/dev/null &
to redirect output to /dev/null
Only add -norestart the first time in order to setup your MyJDownloader logins

To stop JDownloader , you can do the following
go to your JDownloader folder
kill $(cat JDownloader.pid)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 15.01.2018, 18:03
RPH
Guest
 
Posts: n/a
Default

Thanks !
Reply With Quote
  #7  
Old 15.01.2018, 18:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,537
Default

Nothing to thank me for!
__________________
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 10:04.
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.