Koozali.org: home of the SME Server

Jdownloader on sme9

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Jdownloader on sme9
« on: August 17, 2015, 10:42:56 AM »
Ola

I started a howto to install Jdownloader on sme9 (not tested sme8), Jdownloader is my favourite download manager and a real competitor to face to pyload.

http://wiki.contribs.org/Jdownloader2
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Jdownloader on sme9
« Reply #1 on: August 19, 2015, 03:38:37 PM »
The instructions call for creating a Samba fragment, but I don't see that they specify where it's to be created.  Did I miss that?
......

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Jdownloader on sme9
« Reply #2 on: August 19, 2015, 04:43:57 PM »
Indeed....i will correct it later but in fact it is in the smb templates
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Jdownloader on sme9
« Reply #3 on: August 19, 2015, 06:17:56 PM »
Indeed....i will correct it later but in fact it is in the smb templates

done
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Jdownloader on sme9
« Reply #4 on: August 19, 2015, 08:53:59 PM »
Thanks.  Created the template and think I've made it through the installation, but the service won't start.  Launching manually gives this result, repeated every few minutes for the last 90 minutes or so:
Code: [Select]
Start Update
Update Message: Check for updates
Update Progress: 3%
Update Progress: -1%
Update Message: Contact Server...
Update Message: Check for updates
Update Progress: 0%
Start Update
Update Message: Check for updates
Update Progress: 3%
Update Progress: -1%
Update Message: Contact Server...
Update Message: Check for updates
Update Progress: 0%

While this is happening, I'm able to see my install on my.jdownloader.org and change settings.  Seems like I'm still missing something.
......

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Jdownloader on sme9
« Reply #5 on: August 19, 2015, 09:44:12 PM »
ps aux |grep -i jdownloader
And
service jdownloader status

Do you have relaunched the service the second time (you may need to kill the pid first) and add your credentials of myjdownloader
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline DanB35

  • ****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Jdownloader on sme9
« Reply #6 on: August 19, 2015, 10:01:50 PM »
Code: [Select]
[root@e-smith ~]# ps aux |grep -i jdownloader
root      3731  0.0  0.0 136716  1472 ?        S    13:15   0:00 su -s /bin/sh jdownloader -c java -Djava.awt.headless=true -jar /usr/share/JD2/JDownloader.jar
810       3732  0.2  2.6 5675908 214600 ?      Ssl  13:15   0:23 java -Djava.awt.headless=true -jar /usr/share/JD2/JDownloader.jar
root     12020  0.0  0.0 103312   916 pts/1    S+   15:58   0:00 grep -i jdownloader
[root@e-smith ~]# service jdownloader status
'jdownloader' is not a valid service name
[root@e-smith ~]# /etc/rc.d/init.d/jdownloader status
Checking jdownloader...                           The process appears to be dead but pidfile still exists
[root@e-smith ~]# kill -9 3731 3732
[root@e-smith ~]# ps aux |grep -i jdownloader
root     12122  0.0  0.0 103308   888 pts/1    S+   16:00   0:00 grep -i jdownloader
[root@e-smith ~]# cat /var/run/jdownloader.pid
3657
[root@e-smith ~]# rm /var/run/jdownloader.pid
rm: remove regular file `/var/run/jdownloader.pid'? y
[root@e-smith ~]# /etc/rc.d/init.d/jdownloader restart
Service not running
Starting serviceā€¦
Error! Could not start jdownloader!
......

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Jdownloader on sme9
« Reply #7 on: August 19, 2015, 10:53:03 PM »
Code: [Select]
[quote author=DanB35 link=topic=51881.msg264695#msg264695 date=1440014510]

[root@e-smith ~]# service jdownloader status
'jdownloader' is not a valid service name
....
[root@e-smith ~]# /etc/rc.d/init.d/jdownloader restart
Service not running
Starting serviceā€¦
Error! Could not start jdownloader!
[/quote]

I missed the http://wiki.contribs.org/Jdownloader2#start_at_boot_time please change the /etc/rc.d/init.d/jdownloader accordingly and do
Code: [Select]
chkconfig --add jdownloader
ln -s  /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S90jdownloader
signal-event remoteaccess-update


it was the two errors I made, now it is workable (I just tested it)
« Last Edit: August 19, 2015, 10:55:48 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Jdownloader on sme9
« Reply #8 on: August 20, 2015, 08:42:18 AM »
Steph,  you don't need the chkconfig part

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Jdownloader on sme9
« Reply #9 on: August 20, 2015, 04:28:42 PM »
Steph,  you don't need the chkconfig part

you are right, a bad habit from the other darkside of the moon
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!