JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 14.04.2019, 18:30
Steele Steele is offline
Junior Loader
 
Join Date: Nov 2014
Posts: 13
Default JD2 last update clears out all user accounts

Started JD2 today, it updates itself to the latest version, and all my accounts, about 15, are gone! The account manager panel is empty.

So I restored a backup of ten days ago from Time Machine, started it, and all is ok, all accounts are present.
But if update again, with the update button at top, or by relaunching the app, all accounts disappear again.
Tried this many times.

I've checked in the cfg folder and both the files org.jdownloader.settings.AccountSettings.accounts.ejs
org.jdownloader.settings.AccountSettings.json
are the same size but the date is changed to today.

(Checking the contents with FileBuddy with my backup, the 2 accounts.ejs are exactly the same, instead the 2 .json are different, the listversion has changed)

If I try to replace only these 2 files with my backup, don't works, the accounts panel is still empty.

So, at today every time I run the update or quit and relaunch JD2, I lose all my accounts.

Running MacOSX 10.6.8

Any suggestion?

In short:
- If I copy my backup app and run it, all ok.
- If I update it, I lose my accounts.
- If I only copy the 2 files above from the backup, still all accounts are empty.
Reply With Quote
  #2  
Old 15.04.2019, 12:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 61,155
Default

Very likely your JDownloader doesn't have enough memory. and due to that unable to load all plugins/import the accounts.
The update doesn't touch settings/accounts but you say that all accounts are not listed, then it's very likely caused by old Mac Version and the known issue that Java doesn't have enough memory

You have to either modify the .vmoptions file of your JDownloader installation or the .plist info file. (depends on age of your installation)
I would suggest you contact us via support@jdownloader.org and we will check/fix this together via Teamviewer. You only have to modify memory settings a little
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 15.04.2019, 12:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 61,155
Default

Basically it comes down to increase the permgen of java. The old mac/java version you're using had this limited by default too low and with more and more supported websites/plugins, this is causing memory issues for older/outdated mac/java versions
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 15.04.2019, 17:47
Steele Steele is offline
Junior Loader
 
Join Date: Nov 2014
Posts: 13
Default

Thanks for your support, Jiaz!
I see a info.plist file in JD2, but can't find a vmoptions file.
May you tell me the instructions of what to modify in this file, or how to increase the permgen in java?
Thanks!
Reply With Quote
  #5  
Old 15.04.2019, 18:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 61,155
Default

Can you send me the info.plist file to support@jdownloader.org
and I can tell you what to change, okay?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 15.04.2019, 19:34
Steele Steele is offline
Junior Loader
 
Join Date: Nov 2014
Posts: 13
Default

Done!
Reply With Quote
  #7  
Old 16.04.2019, 09:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 61,155
Default

I've also answered via mail

Open the info.plist with editor and change the following line
<string>-Xms64m</string><!-- I4J_INSERT_VMOPTIONS -->
to
<string>-Xmx1g -XX:MaxPermSize=256m</string><!-- I4J_INSERT_VMOPTIONS -->
and start JDownloader and check if that helps
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 16.04.2019, 14:31
Steele Steele is offline
Junior Loader
 
Join Date: Nov 2014
Posts: 13
Default

I'll try ASAP
Thanks
Reply With Quote
  #9  
Old 17.04.2019, 10:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 61,155
Default

Feedback would be nice
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 18.04.2019, 01:05
Steele Steele is offline
Junior Loader
 
Join Date: Nov 2014
Posts: 13
Default

Ok, tried few times, an all seems ok. It works and keeps all my accounts.

Many thanks Jiaz for your support!

I think would be nice if you implement it also in future releases, so don't need to re-modify the info.plist every new update.
Reply With Quote
  #11  
Old 18.04.2019, 10:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 61,155
Default

Thanks for the feedback. Updates don't touch the info.plist file, so you don't have to re-modify them.
Issue is caused by very old java version having limited permgen memory by default and more and more sites supported by JDownloader requires more and more memory.
__________________
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 17:19.
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 - 2019, Jelsoft Enterprises Ltd.