JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.05.2020, 12:13
officiallyme officiallyme is offline
Super Loader
 
Join Date: Feb 2017
Posts: 27
Default Every update causes jDownloader to shutdown on start

Hi everyone,
I am running JD2 on a Linux based NAS (Zyxel NSA 325v2).
JD2 is being run as root.

I rarely have any issues with this setup.
But the last three times JD2 asked me to perform an update, I initialized the update and JD2 then never completes the update. I then have to revert to an old backup, restart JD2 and then it properly performs all updates. It seems as if updating once (with JD2 then working) leaves something behind that might then hinder the next update from properly completing.
But that's just speculation on my part.

Can anybody see the issue or know a fix before I restore last year's backup?

Cheers


P.S.: I have tried deleting logs, update and tmp. Does not help.
Attached Files
File Type: zip putty.zip (161.6 KB, 2 views)
Reply With Quote
  #2  
Old 02.05.2020, 13:41
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,286
Default

I would advise that you do not run JD as root.
org.appwork.storage.StorageException: Can not write to /e-data/md3/jd2/cfg/org.jdownloader.updatev2.UpdateSettings.json
Caused by: java.io.IOException: No such file or directory

advise that you chown jd install path and then run JD under the same user (not root).
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 02.05.2020 at 17:15.
Reply With Quote
  #3  
Old 02.05.2020, 17:02
officiallyme officiallyme is offline
Super Loader
 
Join Date: Feb 2017
Posts: 27
Default

But why is that file suddenly missing?

I have been running it as root since the beginning. So root should not be causing the issue.
Reply With Quote
  #4  
Old 02.05.2020, 17:19
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,286
Default

not sure?

are all the files owned by the same user at this time?
maybe you have mixed ownerships

are you logged into as root user ? or sudo ?

update for memory restarts could be its trying to restart without access to root if its the latter.
__________________
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 02.05.2020, 19:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,635
Default

Somethings fishy with the mount/filesystem/drive or you have sort of startscript/systemd that's not working correctly

FileNotFoundException: /e-data/md3/jd2/jd/plugins/... (Invalid argument)

Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)

org.appwork.storage.StorageException: Can not write to /e-data/md3/jd2/cfg/org.jdownloader.updatev2.UpdateSettings.json
Caused by: java.io.IOException: No such file or director

How to you start JDownloader?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 02.05.2020, 19:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,635
Default

Quote:
Originally Posted by raztoki View Post
update for memory restarts could be its trying to restart without access to root if its the latter.
@raztoki: that's not the case. root process/JDownloader will run all processes as same user/root again. there is no change in user here.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 02.05.2020, 19:54
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,286
Default

@Jiaz ok, might be confused =]
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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:18.
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 - 2021, Jelsoft Enterprises Ltd.