JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.11.2019, 12:34
Foxs Foxs is offline
Junior Loader
 
Join Date: Nov 2019
Posts: 10
Default Remember downloading links on the disk instead ram memory

I'm using linux version on raspberry with raspbian OS, when my JD get hard reset (power off or smth) i'm losing all my download list. Probably it's because the list is saved in the ram memory. Is there any way to save it on the disk? Maybe directly in swap memory?
Reply With Quote
  #2  
Old 19.11.2019, 13:30
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

you shouldn't loose links, links are only held in memory for short period before saving to disk. Changes to configs should auto save every 10 seconds or so depending on demand/buffers etc.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 19.11.2019, 13:58
Foxs Foxs is offline
Junior Loader
 
Join Date: Nov 2019
Posts: 10
Default

Maybe i just messed up smth, could you point me where i can find that config?

e.g. GeneralSettings: Delay Write Mode
Should that be on AUTO?

or this one
GeneralSettings: Keep XOld Lists

or this one
Extraction: Flush Mode, should be on NONE (OS handling)?

After each hard reset my list is cleared and showing only few and always the same very old links with movies that i already downloaded long time ago.

Last edited by Foxs; 19.11.2019 at 14:05.
Reply With Quote
  #4  
Old 19.11.2019, 15:39
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

defaults are fine. usually the reasons things do not save is more so caused by write permissions in the install path.
__________________
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 20.11.2019, 09:58
Foxs Foxs is offline
Junior Loader
 
Join Date: Nov 2019
Posts: 10
Default

okey thanks, ill check that.
Reply With Quote
  #6  
Old 20.11.2019, 10:05
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

most typically installed in user a, but run by user b (either because root/su/sudo was used, or rc/crontab runs as different user).
it should also effect settings, as they are all saved to the same location.
__________________
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 20.11.2019, 12:02
Foxs Foxs is offline
Junior Loader
 
Join Date: Nov 2019
Posts: 10
Default

I'm running it via rc.local at the boot, but i used command to start it with my normal user instead of root:
su user -c 'screen -dmS jdownloader'
su user -c 'screen -S jdownloader -p 0 -X stuff "/usr/bin/java -Djava.awt.headless=true -jar jdownloader5/JDownloader.jar\n"'
(just starting it in a separate screen)

But i might installed JD as root, dont remember that. Can i somehow check that or change it? Is that only a matter of folder privileges or smth more?
Reply With Quote
  #8  
Old 20.11.2019, 13:19
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

yes
ls -lsa
chown/chmod to correct faults accordingly.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #9  
Old 21.11.2019, 10:29
Foxs Foxs is offline
Junior Loader
 
Join Date: Nov 2019
Posts: 10
Default

Yeap, it was installed as root, i changed all folders to my user permission, we will see if that helps
Reply With Quote
  #10  
Old 21.11.2019, 12:18
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

their you go =]
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #11  
Old 23.11.2019, 09:32
Foxs Foxs is offline
Junior Loader
 
Join Date: Nov 2019
Posts: 10
Default

Yeap, it worked, now my links didnt disappear, thanks for the help!
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 17: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 - 2024, Jelsoft Enterprises Ltd.