JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.09.2016, 07:52
malim
Guest
 
Posts: n/a
Default Use JD2 on a dual boot system

Hello there,
I am currently dual booting between Windows and Linux. Since most of my links are on the Windows side, I cannot download when I'm on Linux, how do I keep the progress of downloads and links when on either system? I download to the same folder on Windows even when on Linux.

EDIT. Okay, I got it to show by copying the 'cfg' folder to the linux folder, now I can just copy the cfg folder back to Windows to resume from there? There won't be any corruption? I also have to keep on changing the download location... Most likely due to a file in the 'cfg' folder. Which one is it so I don't have to keep on changing the download location. Thanks in advance

Last edited by malim; 22.09.2016 at 08:48.
Reply With Quote
  #2  
Old 22.09.2016, 09:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Use the exact same JDownloader installation and use a downloadfolder that is within your JDownloader folder. JDownloader then will autoconvert the paths.

Yes, your approach will also work, but you always have to change location manually.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 22.09.2016, 12:33
malim
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Use the exact same JDownloader installation and use a downloadfolder that is within your JDownloader folder. JDownloader then will autoconvert the paths.

Yes, your approach will also work, but you always have to change location manually.
Hi Jiaz, sorry I'm new to Linux but how do I install the Linux version in the Windows directory? I can't do it the other way since Windows can't mount Linux partitions.
Reply With Quote
  #4  
Old 22.09.2016, 12:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Easiest solution: mount your windows drive on linux and install in windows
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 23.09.2016, 19:35
malim
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Easiest solution: mount your windows drive on linux and install in windows
One last query
I'm now using a single installation, but isn't autoconverting the paths correctly. Back on Windows it says:

D:\run\media\malim\LocalDisk\JDownloader\Downloads\run\media\malim\LocalDisk\JDownloader\Downloads

When it should say: D:\JDownloader\Downloads (for Windows)
And: /run/media/malim/LocalDisk/JDownloader/Downloads (for Linux)
Reply With Quote
  #6  
Old 23.09.2016, 19:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Please check Settings-Advanced Settings-GeneralSettings.convertrelativepathsjdroot
is it enabled?

What is your default Downloadfolder in Settings?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 24.09.2016, 06:46
malim
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Please check Settings-Advanced Settings-GeneralSettings.convertrelativepathsjdroot
is it enabled?

What is your default Downloadfolder in Settings?
The setting is checked. My default is the Windows folder: D:\JDownloader\Downloads
Reply With Quote
  #8  
Old 26.09.2016, 12:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default


Thanks! I will check/fix it as soon as possible

What windows version do you use? maybe you can provide screenshot of about dialog?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 26.09.2016, 19:54
malim
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post

Thanks! I will check/fix it as soon as possible

What windows version do you use? maybe you can provide screenshot of about dialog?
Sorry for the late reply, and thank you so much for the quick response:
https://i.imgur.com/xNvuAnL.png
Reply With Quote
  #10  
Old 27.09.2016, 10:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Thanks
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 07.10.2016, 07:01
malim
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Thanks
Hi Jiaz, I don't know if I should create another post but what's worst is if I forget to change the location, then JDownloader will carry on downloading as though it is downloading in the correct location. Shouldn't there be a check to see what segments or pieces have been downloaded, instead of just continuing from a non-existent '50%' or '99%'. It seems to be a more pressing issue.
Reply With Quote
  #12  
Old 13.10.2016, 18:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Please wait for next core update. Should be fixed then. Please keep in mind that broken paths will not automatically be fixed. But it should work for fresh/new ones
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 01.04.2023, 01:00
Chemo Chemo is offline
Modem User
 
Join Date: Dec 2022
Posts: 4
Default doesn't work

Hey.

I tried to follow the instructions:

- I chose a path in the JD2 install directory
- I activated the box in Settings-Advanced Settings-GeneralSettings.convertrelativepathsjdroot

My JD2 install path is
- in Windows: P:\Programme.Windows\JDownloader 2
- in Ubuntu: /mnt/data/Programme.Windows/JDownloader 2
which is the same folder.

If I set the download directory in Windows: P:\Programme.Windows\JDownloader 2\Downloads
I get in Ubuntu: /home/chemo/P:\Programme.Windows\JDownloader 2\Downloads with "P:\Programme.Windows\JDownloader 2\Downloads" being a single folder (note the backard slashes)

If I set the download directory in Ubuntu: /mnt/data/Programme.Windows/JDownloader 2/Downloads
I get in Windows: P:\mnt\data\Programme.Windows\JDownloader 2\Downloads\ (no forward slashes though)

If I manually correct the path every time before continuing the downloads everything works fine.

I am using the latest JD2 version: Revision 47450
Reply With Quote
  #14  
Old 01.04.2023, 14:22
tarkett tarkett is offline
JD VIP
 
Join Date: Apr 2009
Location: Deutschland
Posts: 364
Default

Test with the relative path Downloads as download directory. Then it should be work.
Reply With Quote
  #15  
Old 01.04.2023, 17:26
Chemo Chemo is offline
Modem User
 
Join Date: Dec 2022
Posts: 4
Default

I didn't think of that. Unfortunately that doesn't work as well.

If I put in Downloads as download folder in General Settings under Ubuntu it correctly converts it to /mnt/data/Programme.Windows/JDownloader 2/Downloads. Likewise it correctly converts it if I put it in under Windows to P:\Programme.Windows\JDownloader\Downloads in Windows.

But when I then switch the OS this setting is kept as it is, leading to downloads to the wrong paths.

If I put in ./Downloads in Ubuntu it completes to /home/chemo/Downloads though.
Reply With Quote
  #16  
Old 03.04.2023, 15:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,609
Default

Quote:
Originally Posted by Chemo View Post
But when I then switch the OS this setting is kept as it is, leading to downloads to the wrong paths.
How do you mean this?
Are you trying to use the same config of a Windows-JD under Ubunto or vise-versa?
__________________
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
  #17  
Old 03.04.2023, 17:32
Chemo Chemo is offline
Modem User
 
Join Date: Dec 2022
Posts: 4
Default

I have a single JD installation that I use in both OS. I think it uses the same config file(?) in both systems. If I change the download path in Windows it also changes in Ubuntu an vice versa.

The problem is that it doesn't save the path as a relative path. It just completes it to an absolute path that doesn't work correctly in the other system.

If I type in "Downloads" as (relative) path in the General Settings section as download path in Windows and then restart JD, it is changed to P:\Programme.Windows\JDownloader 2\Downloads. If I then start Ubuntuit still says
P:\Programme.Windows\JDownloader 2\Downloads in the General Config section, but is actually used as /home/chemo/P:\Programme.Windows\JDownloader 2\Downloads.

If I type in "Downloads" as (relative) path in the General Settings section as download path in Ubuntu and then restart JD, it is changed to /mnt/data/Programme.Windows/JDownloader/Downloads. If I then start Windows it still says /mnt/data/Programme.Windows/JDownloader/Downloads in the General Config section, but is actually used as P:\mnt\data\Programme.Windows\JDownloader\Downloads

For see attachements example:

1) Putting "Downloads" in as relative path in Ubuntu:



2) After restarting JD in Ubuntu:



3) After starting JD in Windows:



4) The actual used Download path under Windows


Last edited by Chemo; 03.04.2023 at 17:53.
Reply With Quote
  #18  
Old 03.04.2023, 17:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,609
Default

I'm sorry but JD / the config system is not ment to be used in this way.

You will either need one installations, two config files and a script which will provide/rename the needed config file before each JD start or you will need to use two different JD installations resulting in two separate configs.

Our configs are made to be re-used / imported/exported but they will not magically adapt paths from OS1 to OS2.
__________________
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
  #19  
Old 03.04.2023, 18:00
Chemo Chemo is offline
Modem User
 
Join Date: Dec 2022
Posts: 4
Default

Ohh, okay, then this was a misunderstanding of Jiaz first answer to this thread?

Quote:
Use the exact same JDownloader installation and use a downloadfolder that is within your JDownloader folder. JDownloader then will autoconvert the paths.
If that's so I am going to propose the feature of relative download paths in a ticket.

Last edited by Chemo; 03.04.2023 at 18:05.
Reply With Quote
  #20  
Old 03.04.2023, 18:04
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 69,609
Default

This might work if you're using "real" relative paths but those paths like "Downloads" will get converted into full paths, loosing the first entered "/Downloads" or whatever string.

Other teammembers might be able to answer this more accurately.
If you got a strong desire to use one shared config with multiple OS, you will probably find a way to change that string before each download-start using a different script for each OS.
__________________
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
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 01:41.
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 - 2023, Jelsoft Enterprises Ltd.