JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 29.08.2021, 01:43
cartals cartals is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default I can't make it jdownloader execute bash reconnect command

Hi, I have a bash script to reconnect it does taiko reboot.js and taiko makes all trick but can not make it work on jdownloader it was working previous setup but I dont know it does not work. I did external batch and set intreper to /bin/bash, wrote sh taiko.sh it did not work so did taiko reboot.js it did not work either.
Reply With Quote
  #2  
Old 30.08.2021, 18:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,936
Default

@cartals: Can you provide a screenshot of your settings in JDownloader?
you should specify the full path to your script!
did you test if the script works fine when you start it standalone?
Can you provide a debug log? Enable Settings->Advanced Settings->Log.debugmodeenabled
and restart JDownloader. Then test your reconnect method and after failing, please create a log, see
https://support.jdownloader.org/Know...d-session-logs
and post shown logID here
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 09.09.2021, 21:18
cartals cartals is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

Which Reconnect method should I choose to execute "taiko taiko.js" command?
Reply With Quote
  #4  
Old 10.09.2021, 14:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,936
Default

Use "External Tool Reconnect" and specify a bash/batch file that calls your command
What OS are you using? what is the content of your taiko.js
maybe it can be converted to LiveHeader reconnect script
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 11.09.2021, 22:16
cartals cartals is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

I did External tool reconnect and did /home/myusername/bashscript.sh did not work.
I do use Xubuntu 20.04
**External links are only visible to Support Staff****External links are only visible to Support Staff** content of js
also log jdlog://7177825302851/
Reply With Quote
  #6  
Old 13.09.2021, 15:32
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 59,687
Default

@cartals
Your pastebin URL is down.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 13.09.2021, 18:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,936
Default

@cartals: script is executable (chmod +x) ? and contains bash header(#!/bin/bash)?
and contains correct path to the files?
does it work when you execute it manually? does it write anything to console? log doesn't contain anything from your script
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 16.09.2021, 23:41
cartals cartals is offline
Baby Loader
 
Join Date: Jan 2019
Posts: 7
Default

Quote:
Originally Posted by Jiaz View Post
@cartals: script is executable (chmod +x) ? and contains bash header(#!/bin/bash)?
and contains correct path to the files?
does it work when you execute it manually? does it write anything to console? log doesn't contain anything from your script
script is executable (chmod +x) ? and contains bash header(#!/bin/bash)?
Yes
and contains correct path to the files?
Yes
does it work when you execute it manually?
Yes
does it work when you execute it manually? does it write anything to console? log doesn't contain anything from your script
Yes it works,I can not check it again but there is taiko taiko.js in bash script to execute taiko.js to open headless chrome browser and reset router. Taiko write infos to terminal like browser has started etc.

Last edited by cartals; 17.09.2021 at 00:13.
Reply With Quote
  #9  
Old 17.09.2021, 11:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,936
Default

Can you send your taiko.js to support@jdownloader.org ? your pastebin is offline and maybe we can easily convert it into liveheader script.
If you want we can also do a Teamviewer session together, just contact me via support@jdownloader.org
__________________
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 04:58.
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 - 2021, Jelsoft Enterprises Ltd.