Ok, Solved Here is the solution !
From now on you are in what’s called “Portainer”. As for the newby I am, I want everything from webui… no SSH at all, and I have prety no clue what I am doing… so I kept it simple !
-
From the “home page” of Portainer, click on the “LOCAL” with the whale next to it, it’ll bring you to a place where you can click on “Containers” in the left panel
-
Click “Container”, then on “+add container” (blue box at top)
-
from here enter your container name “jDownloader” for instance and then
- registry : DockerHub
- image : jaymoulin/jdownloader
- Click the ENV tab and click “add environment” 3 times then type in
- MYJD_PASSWORD : yourPassword on jDownloader
- MYJD_USER : yourEmail/username on jDownloader
- MYJD_DEVICE_NAME : the Name you want to be displayed (for ex MCEx2) in JDL
- Modify value of XDG_DOWNLOAD_DIR to match a directory accessible on the network (for example /shares/Public)
- Now click “Restart policy” Tab and select Always
Now for the tricky part… You need to make sure the directory is accessible whithin the ‘Docker’ thing (because Docker makes like a microcosm inside your own machine… well whatever, it’s like having ‘C:/’ in like C:/Program and not being able to see what is in the above Program folder)…
So here you go to the “Volumes” tab and bind a the needed volume… Here we click +map additional volume and then :
- first click on bind
- in container fill /shares
- in host fill /shares > this is totally temporary but thats the trick !
Quick note, you can fill the host with this and skip what’s below if, in your MyCloud Admin webui, you:
- install Transmission under the application tab
- once installed, click Configure
- click edit preference button at the botton left
- copy what’s in download to box (mine looks like /mnt/HD/HD_a2/Transmission) and trimm the /Transmission part (so it looks like /mnt/HD/HD_a2)
- and then paste this result in the host edit box.
- now you can skip to the end of the post
Now you can run the ‘container’ by clicking Deploy the Container
Here everything should run smoosly, and you should be able to see, after a few seconds/minutes, your brand new MCEx2 in you MyJDownloader !
Not over yet ! Keep reading !!
Not over yet ! Keep reading !!
Not over yet ! Keep reading !!
Now you should,
- Click on container in left pane
- click on the title of your freshly created/deployed container (jdownloader)
- click on Console
- in command, select bin/sh and the click the Connect blue box
Now you see a prompt ! Wow, please do not run away… just type :
- cd /
- ls -al /shares
- this will list everything in the ‘volume’ you binded
- the list shall looks like
- drwxrwxrwx 16 root root 4096 Dec 7 21:23 .
- drwxr-xr-x 20 root root 4096 Dec 8 15:49 …
- drwxr-xr-x 20 root root 4096 Dec 8 15:49 A_DIRECTORY_NAME > SOMETHING_IN_RED
- drwxr-xr-x 20 root root 4096 Dec 8 15:49 B_DIRECTORY_blabla > SOMETHING_IN_RED
- drwxr-xr-x 20 root root 4096 Dec 8 15:49 Public > SOMETHING_IN_RED
Now select and copy what’s in RED (prolly something like /mnt/HD/HD_a2, but this step is to make sure this is it !), then click “Disconnect” and click on your container (container in left panel > click on your container title).
- Click on Duplicate/Edit in the action bar at top of the container view, scroll down and click the “Volumes” tab.
- Now replace what’s inside “host” with what was in RED (again, prolly “/mnt/HD/HD_a2”).
- Finish the work by clicking on “Deploy the container”
And voila !!
If you want to make sure everything seems fine before starting any download, just launch the console again on this container (left panel > container > container title > console > bin/sh > connect) and type
- cd /
- cd shares
- ls -al
- here you should see a list of every folder created with the web ui. For exemple I have :
- Cehm ; with my stuffs
- Wifey ; wifey stuffs
- plex ; my plex lib
- jDownloader (so in my container configuration i wrote /shares/jDownloader next to XDG_DOWNLOAD_DIR)
- Public the public dir
[12 dec 2020] Erratum, I replaced the jDownloader folder created on /shares/ using the webgui by something I created myself (using windows explorer, …right click > new folder… under /shares/plex/Downloads) because the jDownloader created using the webgui was created with ROOT permission and the files downloaded using jDownloader inherits these same rights… So I couldnt cut/paste under the right folder…
Everything is accessible via the network and ALSO via jDownloader.
Alright ! I Hope this helps !
Cehm