JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 29.02.2016, 15:47
timba1210 timba1210 is offline
Super Loader
 
Join Date: Jul 2012
Posts: 26
Default Error installing update

I have been getting an error trying to update jdownloader2 for the past 3 days. The error details say the following:

org.jdownloader.update.SelfUpdateException: java.io.IOException: Cannot overwrite C:\Users\user1\AppData\Local\JDownloader v2.0\tmp\update\self\JDU\libs\laf\synthetica.jar
at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:296)
at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(UpdateManager.java:1089)
at org.jdownloader.update.UpdateManager$6.run(UpdateManager.java:950)
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:391)
at org.jdownloader.update.UpdateManager$15.onResults(UpdateManager.java:1717)
at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1204)
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)
Caused by: java.io.IOException: Cannot overwrite C:\Users\user1\AppData\Local\JDownloader v2.0\tmp\update\self\JDU\libs\laf\synthetica.jar
at org.appwork.utils.IO.copyFile(IO.java:94)
at org.appwork.utils.IO.copyFile(IO.java:83)
at org.appwork.utils.IO.copyFile(IO.java:79)
at org.jdownloader.update.SelfUpdateClient.move(SelfUpdateClient.java:166)
at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:216)
... 10 more


Any help is greatly appreciated!
Reply With Quote
  #2  
Old 29.02.2016, 16:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

java.io.IOException: Cannot overwrite C:\Users\user1\AppData\Local\JDownloader v2.0\tmp\update\self\JDU\libs\laf\synthetica.jar
something blocks the Update.
I suggest to close JDownloader. Remove the Core.jar file and delete the update folder and do a fresh update to latest available version
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 15.03.2016, 17:16
timba1210 timba1210 is offline
Super Loader
 
Join Date: Jul 2012
Posts: 26
Default

I did as recommended and it worked for a while. Now the error has returned. I tried doing the same thing again, but the fix does not work this time. The error details say the following now:
org.jdownloader.update.SelfUpdateException: java.io.IOException: Cannot overwrite C:\Users\user1\AppData\Local\JDownloader v2.0\tmp\update\self\JDU\libs\laf\syntheticaJDCustom.jar
at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:296)
at org.jdownloader.update.UpdateManager.runFinishSelfUpdate(UpdateManager.java:1089)
at org.jdownloader.update.DefaultCallbackHandler.onResults(DefaultCallbackHandler.java:349)
at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1514)
at org.jdownloader.update.UpdateManager$4.run(UpdateManager.java:439)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Cannot overwrite C:\Users\user1\AppData\Local\JDownloader v2.0\tmp\update\self\JDU\libs\laf\syntheticaJDCustom.jar
at org.appwork.utils.IO.copyFile(IO.java:94)
at org.appwork.utils.IO.copyFile(IO.java:83)
at org.appwork.utils.IO.copyFile(IO.java:79)
at org.jdownloader.update.SelfUpdateClient.move(SelfUpdateClient.java:166)
at org.jdownloader.update.SelfUpdateClient.finishSelfUpdate(SelfUpdateClient.java:217)
... 5 more
Reply With Quote
  #4  
Old 15.03.2016, 17:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

again same cause. something blocks update (firewall or av).
close JD and make sure all JDownloader processes are gone (or kill them) and then try again.
In case it still does not work, please contact us via support@jdownloader.org so we can do a teamviewer session
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 28.03.2017, 22:38
dageeza dageeza is offline
Linkgrabbing Monster
 
Join Date: Aug 2012
Posts: 84
Default

This happens every time the app tries to update, is it really the only way to go through the process shown above to fix this ? This never used to happen and I have always had the same AV ?

Thanks
Reply With Quote
  #6  
Old 29.03.2017, 01:46
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

@dageeza
setup exemption in your av/fw.

raztoki
__________________
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 29.03.2017, 12:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Does it really happen EVERY time? because since 15.3 there have been many many many updates?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 03.04.2017, 00:38
dageeza dageeza is offline
Linkgrabbing Monster
 
Join Date: Aug 2012
Posts: 84
Default

Happens absolutely every time - I followed the actions shown above, and it works that once, but then get error on next update. I suspect this is JRE loaded which is causing this error - going to try killing that next time and retry update. Will let you all know.

EDIT - that worked - now have a work around :-)
Reply With Quote
  #9  
Old 03.04.2017, 11:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

What exactly do you do? What is your workaround?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 06.04.2017, 01:36
dageeza dageeza is offline
Linkgrabbing Monster
 
Join Date: Aug 2012
Posts: 84
Default

task manager - kill jre processes (2)
Reply With Quote
  #11  
Old 06.04.2017, 10:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

I would like to do a teamviewer session with you so we can check this and find the cause/solution for this. Please contact us via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 09.05.2017, 00:08
dageeza dageeza is offline
Linkgrabbing Monster
 
Join Date: Aug 2012
Posts: 84
Default

I can confirm that this workround still works
Reply With Quote
  #13  
Old 09.05.2017, 09:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

This is really a workaround and a sign that something with your setup is not okay. The offer with teamviewer is still available
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 21.05.2017, 15:39
dageeza dageeza is offline
Linkgrabbing Monster
 
Join Date: Aug 2012
Posts: 84
Default

Thanks Dev/Admin, to set this up with my firewall/AV would probably be more trouble than just using the work around warrants. Thank you for the offer and for the great support.
Reply With Quote
  #15  
Old 22.05.2017, 10:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

You're welcome
__________________
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 10:50.
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.