SOLVED Help entering user name and password in Jdownloader

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
Hellow Bro

I was unable to understand the command when entering a username and password in Jdownloader to log in to my account

My Jail Jdownloader
My email is user@user.com
My password is PW2021

Based on this data how to register the command

iocage set --plugin email=yourMyJDownloader@email.com password=yourPassword devicename="Name to show in the dashboard [OPTIONAL]"

And where to enter the command? In SHELL
 

Attachments

  • 1.PNG
    1.PNG
    25.9 KB · Views: 1,105
Joined
Oct 22, 2019
Messages
3,641
You do the command from outside the jail, not within the jail.

This can be done through an SSH connection to the TrueNAS server, or from the Shell (accessed from the left hand menu of the TrueNAS GUI, not to be confused with the Shell button to go inside the jail itself).

Your "iocage" command is missing the name of the jail, though. You might have to add the jail's name at the end of the command, like this:

Code:
iocage set --plugin email=user@user.com password=PW2021 devicename="Blah blah" Jdownloader
 
Last edited:

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
You do the command from outside the jail, not within the jail.

This can be done through SSH connection to the TrueNAS server, or from the Shell ( accessed from the left hand menu of the TrueNAS GUI, not to be confused with the Shell button to go inside the jail itself).

Your "iocage" command is missing the name of the jail, though. You might have to add the jail's name at the end of the command, like this:

Code:
iocage set --plugin email=user@user.com password=PW2021 devicename="Blah blah" Jdownloader
Thank you very much for your quick and kind help :)

My plugin name is Jdownloader
My Jail name is also Jdownloader
Is the command
iocage set --plugin email=user@user.com password = PW2021 devicename = "TrueNas" Jdownloader

OK?
 

Attachments

  • 3.PNG
    3.PNG
    15 KB · Views: 1,042
  • 2.PNG
    2.PNG
    15.5 KB · Views: 934

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
You do the command from outside the jail, not within the jail.

This can be done through SSH connection to the TrueNAS server, or from the Shell ( accessed from the left hand menu of the TrueNAS GUI, not to be confused with the Shell button to go inside the jail itself).

Your "iocage" command is missing the name of the jail, though. You might have to add the jail's name at the end of the command, like this:

Code:
iocage set --plugin email=user@user.com password=PW2021 devicename="Blah blah" Jdownloader
Excellent ... works 100%


I was able to log in with my username and password

I would love your help, where do the downloads go down?
 
Joined
Oct 22, 2019
Messages
3,641
Wherever you configure them to go.

You need to first stop the jail and create its Mount Points that point to a dataset/folder in your actual ZFS pool, and have them mounted internally (within the jail) to a location like /mnt/pool/iocage/jails/Jdownloader/root/mnt/downloads/, and then when configuring Jdownloader you tell it to save downloads to /mnt/downloads/.

This means from within the jail's own perspective, its using /mnt/downloads/ to save files. However, from TrueNAS's perspective, the files are being saved to /mnt/pool/downloads/ (or whatever you chose in your Mount Points configuration done earlier.)

It helps to think of each Jail/Plugin as its own computer, distinct from TrueNAS itself. Each jail has its own internal filesystem. This is why you need to create Mount Points to allow the Jail/Plugin access to the "outside world" of your real ZFS pool/datasets.
 
Joined
Oct 22, 2019
Messages
3,641
Keep in mind, you still need to be aware of file/folder permissions.

If there is a mismatch between the jail and your TrueNAS user/group accounts, you might bump into read/write issues where Jdownloader doesn't have sufficient permissions to save files or read files in your downloads folder.
 

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
Apparently I have managed to download some files in the meantime and now the library is not empty so I can not set Mount Points
Wherever you configure them to go.

You need to first stop the jail and create its Mount Points that point to a dataset/folder in your actual ZFS pool, and have them mounted internally (within the jail) to a location like /mnt/pool/iocage/jails/Jdownloader/root/mnt/downloads/, and then when configuring Jdownloader you tell it to save downloads to /mnt/downloads/.

This means from within the jail's own perspective, its using /mnt/downloads/ to save files. However, from TrueNAS's perspective, the files are being saved to /mnt/pool/downloads/ (or whatever you chose in your Mount Points configuration done earlier.)

It helps to think of each Jail/Plugin as its own computer, distinct from TrueNAS itself. Each jail has its own internal filesystem. This is why you need to create Mount Points to allow the Jail/Plugin access to the "outside world" of your real ZFS pool/datasets.
 

Attachments

  • 5.PNG
    5.PNG
    32.6 KB · Views: 911

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
I was able to get into NAS through Putty, and these are the libraries I have

If possible a short explanation how to get to the directory where the files I downloaded earlier with Jdownloader are and delete them


I hardly know a command or two and no more, I will need your help :)
 

Attachments

  • 6.PNG
    6.PNG
    8 KB · Views: 777
Joined
Oct 22, 2019
Messages
3,641
Apparently I have managed to download some files in the meantime and now the library is not empty so I can not set Mount Points
You need to empty that directory (or use a different folder) to create the Mount Point. You shouldn't have started to download files into it before configuring your Mount Points.

Right now, you have files that were downloaded directly inside the jail's filesystem, and thus they do not live outside of it, such as at /mnt/MyPool/Software/ (or wherever you prefer.)
 

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
Okay, at a good and successful time thanks to you @winnielinnie I was able to overcome all the obstacles along the way, now I only have to download FFmpeg, I would love your kind help how to do it ....
 

Attachments

  • 7.PNG
    7.PNG
    105.1 KB · Views: 757
Joined
Oct 22, 2019
Messages
3,641
From within the jail install ffmpeg like any other package, using the FreeBSD pkg tool.

Code:
pkg update
pkg install ffmpeg

The first command refreshes the database. The second command installs ffmpeg.

(You might be prompted to install/enable the pkg tool upon its first use. Just answer "yes" if it prompts you.)


To get inside the jail to run the above commands, you can do any of the following:
  • TrueNAS Menu -> Jails -> Jdownloader -> Shell
  • TrueNAS Menu -> Shell -> iocage console -f Jdownloader
  • SSH/PuTTY connection to TrueNAS server (user) -> sudo iocage console -f Jdownloader
  • SSH/PuTTY connection to TrueNAS server (root) -> iocage console -f Jdownloader
Regardless of method, exit the jail when you're done. An easy shortcut is with CTRL + D on the keyboard.

You might have to restart the plugin/jail for Jdownloader to detect the changes. I'm not familiar with Jdownloader.

NOTE: Installing ffmpeg pulls in a lot of dependencies, so don't be alarmed when it's a much larger download than you might initially assume. :wink:
 
Last edited:

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
@winnielinnie

Did not work for some reason, when I typed the command
pkg update
pkg install ffmpeg


It was received that
plugin-default repository is up to date.
All repositories are up to date. 9.PNG
 

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
and from Putty

truenas% sudo iocage console -f Jdownloader

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.


Unfortunately does not work in any way
 
Joined
Oct 22, 2019
Messages
3,641
The screenshot shows you're already inside the jail. Which means you did:

To get inside the jail to run the above commands, you can do any of the following:
  • TrueNAS Menu -> Jails -> Jdownloader -> Shell
  • TrueNAS Menu -> Shell -> iocage console -f Jdownloader
  • SSH/PuTTY connection to TrueNAS server (user) -> sudo iocage console -f Jdownloader
  • SSH/PuTTY connection to TrueNAS server (root) -> iocage console -f Jdownloader

There's four different ways to enter a jail's command prompt (i.e, "shell"). Any of those four ways are fine. Looks like you did the first one (highlighted in bold). So you're already inside the jail. You'er not supposed do to all four methods above. Any of the four methods is fine.

and from Putty

truenas% sudo iocage console -f Jdownloader

What was the error? Command not found? Incorrect passphrase? Jail doesn't exist?
 
Joined
Oct 22, 2019
Messages
3,641
I just re-read your first post (got them mixed up), and it looks like ffmpeg is already installed in your Jdownloader jail. I'm not sure what the issue is?
 

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
ffmpeg is still missing, he is unable to download video files because he lacks an encoder

Any help will be appreciated
 
Joined
Oct 22, 2019
Messages
3,641
It sounds more like you need to tell the JDownloader application where the ffmpeg and ffprobe binaries exists.

Is there an option in JDownloader to point it to look under:

/usr/local/bin/ffmpeg

and

/usr/local/bin/ffprobe


Something like this?

xerThYX.jpg
 
Last edited:

Eliy1970

Dabbler
Joined
Jan 15, 2019
Messages
17
The interface you took in the picture above I do see in windows but in TrueNas I enter through https://my.jdownloader.org/ and there the settings are different, see what I found in the interface via the web



I changed the 2 settings according to your photo (see screenshots) and it works great :)


I'm so glad it all worked out, about you @winnielinnie Thank you so much for your kind help

And of course Merry Christmas
10.PNG
11.PNG
12.PNG
 
Last edited:

matteob86

Explorer
Joined
Mar 19, 2022
Messages
58
hi everybody....

i have install JDownloader and i'm able to enter but when i try to download something i get Invalid download Directory.

i set the system in this way:


1649516965495.png



1649516641394.png


1649516710633.png


did i skip any step?

thanks
 
Top