JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.06.2021, 00:54
rocketvole rocketvole is offline
Modem User
 
Join Date: Jun 2021
Posts: 3
Default how can I add myjdownloader credentials on a non-gui (cmd only) install

I have installed Jdownloader on a raspberry pi zero wireless, which is set up to be completely headless. However, I can't find any documentation on how to edit a file to add myJdownloader credentials so I can access the webgui.

Any information whatsoever (what .json file to edit, where I can find it, what specifically to put in it) would be helpful, since searching the forums and the wider internet doesn't come up with any hits.
Reply With Quote
  #2  
Old 02.06.2021, 11:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,236
Default

see https://support.jdownloader.org/Know...bedded-devices
in short: start JDownloader manually via java -jar JDownloader.jar -norestart and wait till JDownloader asks you for MyJDownloader logins on console

alternative use this good docker image, github.com/antlafarge/jdownloader
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 05.06.2021, 02:50
rocketvole rocketvole is offline
Modem User
 
Join Date: Jun 2021
Posts: 3
Default

I've seen that page (and tried the command multiple times), and I don't think it works. It doesn't prompt for myJownloader logins at all.

I also don't believe the docer container works on a raspberry pi zero wireless.

Can someone tell me in which files the myJdownloader credentials are stored? Maybe I can just manually edit them.
Reply With Quote
  #4  
Old 05.06.2021, 03:33
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

We are not aware of any issues, if updates are taking place it can take many restarts in order to download & install & run JD to trigger the my.jd login prompt via command line.

alternatively you could copy over your Accounts file I assume its stored there.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 05.06.2021, 05:57
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,529
Default

Quote:
Originally Posted by rocketvole View Post
... in which files the myJdownloader credentials are stored?
org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json in cfg folder.
Reply With Quote
  #6  
Old 05.06.2021, 09:12
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

and thats where I went wrong, looked for ejs file with mjdownloader within filename.
not sure why that is in plaintext json file o_O
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #7  
Old 06.06.2021, 02:32
rocketvole rocketvole is offline
Modem User
 
Join Date: Jun 2021
Posts: 3
Default

Thank you! This is what I was looking for. However, this file is (predictably) blank. What is the syntax for manually adding in credentials?
Reply With Quote
  #8  
Old 06.06.2021, 07:42
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,529
Default

Quote:
Originally Posted by rocketvole View Post
Thank you! This is what I was looking for. However, this file is (predictably) blank. What is the syntax for manually adding in credentials?
Code:
{
  "password" : "<password>",
  "email" : "<emailid>"
}
Reply With Quote
  #9  
Old 07.06.2021, 12:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,236
Default

Quote:
Originally Posted by rocketvole View Post
I've seen that page (and tried the command multiple times), and I don't think it works. It doesn't prompt for myJownloader logins at all.
you have to make sure that no JDownloader process is already running and then JDownloader will ask for logins on console
__________________
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 11:55.
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.