JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 24.08.2016, 10:33
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default java.io.IOException: could not remove (Update issue)

Code:
java.io.IOException: could not remove L:\JDownloader2\update\versioninfo\JD\serverOptions.json
	at org.appwork.utils.IO.secureWrite(IO.java:598)
	at org.appwork.utils.IO.secureWrite(IO.java:583)
	at org.appwork.updatesys.client.serveroptions.ServerOptionsManager.save(ServerOptionsManager.java:120)
	at org.appwork.updatesys.client.UpdateClient.runPackageInstallation(UpdateClient.java:2021)
	at org.jdownloader.update.JDUpdateClient.runPackageInstallation(JDUpdateClient.java:150)
	at org.jdownloader.update.UpdateManager.installPendingAWFFiles(UpdateManager.java:783)
	at org.jdownloader.update.UpdateManager.installAWFFilesInclRetries(UpdateManager.java:608)
	at org.jdownloader.update.UpdateManager$6.run(UpdateManager.java:956)
	at org.jdownloader.update.UpdateManager.installPendingUpdates(UpdateManager.java:974)
	at org.jdownloader.updatev2.UpdateController.installUpdates(UpdateController.java:528)
	at org.jdownloader.updatev2.UpdateController.onResults(UpdateController.java:428)
	at org.jdownloader.update.UpdateManager$15.onResults(UpdateManager.java:1717)
	at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1514)
	at org.jdownloader.update.PendingUpdate.run(PendingUpdate.java:19)
	at org.jdownloader.update.UpdateManager$17.run(UpdateManager.java:1914)
	at java.lang.Thread.run(Unknown Source)
Reply With Quote
  #2  
Old 24.08.2016, 10:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

No update issue
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 24.08.2016, 10:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

This message clearly shows that something prevents JDownloader from removing its own files
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 24.08.2016, 10:51
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

I understand it is not possible to fix it.
The problem is that only moved the installation folder:
C:\JDownloader2 to L:\Jdownloader2

I have no idea what the default permissions for JDownloader 2 !!!
there is nowhere FORUM tutorials how to restore the default permissions jdownloader
Reply With Quote
  #5  
Old 24.08.2016, 10:57
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

how to set it correctly for JDownloader 2?

1. The names of groups or members?
2. Permissions for?
3. Owner ?
4. Effective Permissions?
Reply With Quote
  #6  
Old 24.08.2016, 11:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

How often do I have to repeat myself. It is your job/responsibly to maintain correct permissions/owners. When you start JDownloader as user A, then A needs permissions to access/read/write all JDownloader files and that is clearly NOT the case. It always comes down with you are messing with permissions/owners/UAC. I suggest to rethink about your whole way of doing this. See the board yourself, you are the only one with that massiv issues!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 24.08.2016, 11:02
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

Probably my permissions are good, but when close JDownlaoder2 the process javaw.exe very long hanging in the background 1 minutes - 2 minutes (due to large folder CFG 900 MB 100K(Download)/400K links(LinkGrabber)), which is stored in the virtual memory(pagefile).
Reply With Quote
  #8  
Old 24.08.2016, 11:06
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

But this is only a problem with JDownloader, ALL other apps/save WORKS PERFECTLY FOR ME PC, no other applications and tools do not report these errors!

I wrote to the support of Microsoft9FORUM) and they suggest that the application Legacy was compatible with UAC.
Reply With Quote
  #9  
Old 24.08.2016, 11:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

Large CFG folder has nothing to do with it. Its your overuse. You use more memory than your system can handle. Over and out. This topic is closed. Spend your system more memory or learn to live with it. Swap/Pagefiles are NOT for increasing memory for an application!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 24.08.2016, 11:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

If your system only has X GB RAM, then you cannot expect to have a smooth experience when you tell application to use X-1GB RAM.
I suggest to upgrade to 24 or 32 GB
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 24.08.2016, 11:15
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

Please tell me what to do to files (zip) ALL kept in RAM (not on disk pagefile)
I checked on another computer (Psyhical Momory 64 GB (4 x 16 GB) RAM and still kept the PAGEFILE.

So how much do I have to 96 GB ram of physical memory, or RAM 128 GB?

Reply With Quote
  #12  
Old 24.08.2016, 11:16
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

100K + 400K links = 24 / 32 GB RAM ?
Reply With Quote
  #13  
Old 24.08.2016, 11:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

JDownloader only uses 2,6GB in your Screenshot. You allow JDownloader to use up to 10GB. Why? It clearly can work with much much less (of course performance will become worse, CPU increase because of more memory management).

Simple rule. Don't use LARGE folders! keep number of files per folder between 0 and 8k. The more files a folder has, the more memory does your OS need to handle the filesystem. You should use tools that show what exactly sits in swap/pagefile.

A pagefile always exists by default until you tell windows to have smaller/none.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 24.08.2016, 11:25
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

JDownloader badly managed muli-pagefile.sys (all drives)

One pagefile.sys = OK
Multi-pagefile.sys (2 pagefile.sys or all disk) = problem
Reply With Quote
  #15  
Old 24.08.2016, 11:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

Applications have no influence on swap/pagefile at all. Its windows that handles it. I told you what to do/where to look and yet you complain about JDownloader. If you keep on doing this, then I will stop wasting my time helping you.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 24.08.2016, 11:42
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

@Jiaz - You do not know what are the default permissions for JDownloader 2?

I asked in other forums, but suggested to ask the question author applications JDownlaoder or forum JDownloader, other assistance can not give me.
Reply With Quote
  #17  
Old 24.08.2016, 11:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

There are NO default permissions! How often do I have to tell? Your OS/windows does set owner/permissions. When you create a file as admin, then the owner is admin. When you create a folder as user B then the owner will be user B.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 24.08.2016, 11:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

I suggest to remove all permissions/owners and give default all permissions OR zip everything, and extract again.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 24.08.2016, 11:54
djmakinera djmakinera is offline
JD Legend
 
Join Date: May 2010
Location: Poland
Posts: 8,173
Default

It works in all files, all folders & subfolders, except for the folder & subfolder JDownloader!

Reply With Quote
  #20  
Old 24.08.2016, 12:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 63,396
Default

Another reason for messed up permissions I can try to help via teamviewer if you like
__________________
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 09:00.
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.