#1
|
|||
|
|||
why my packagizer rules all gone
Upon starting up jdownloader today
I noticed all my custom packagizer rules are gone again how to get them back? is there any auto backups of the rules made that I can restore from? Also why was the rules wiped out? Last edited by madmax2; 11.09.2019 at 03:16. |
#2
|
||||
|
||||
JDownloader doesn't touch any settings on updates so I can't tell you why this has happened.
No, there are no auto backups of those settings, sorry :( You might wanna try undelete tools because JDownloader uses copy on write and always saves to new files and then deletes old one. so maybe you can restore the deleted files
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Quote:
based on some factor that trigger the wipe.. it would make sense to have an autobackup feature of the settings especially the packagizer rules (since this takes the longest to setup) whenever jd starts up or upon exit.. this should be added as a feature.. BTW this has happen before to me as well for some unknown reason which is still not known the cause of the wipe of all the rules.. https://board.jdownloader.org/showthread.php?t=80510 There is just the default rules remaining when I check the packagizer so there is some unknown bug that has caused this that is still not fixed.. since we don't know what is the bug that cause I think you should add the autobackup of the settings on startup or exit or unexpected power off etc.. is it possible to implement this autobackup feature or not? Last edited by madmax2; 11.09.2019 at 00:43. |
#4
|
||||
|
||||
Quote:
You can already create backups manually or automatically via Eventscripter (see https://board.jdownloader.org/showthread.php?t=70525 and ask Mgpai for help)
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
Sure, of course it can be a bug that isn't known yet. I don't insistence this not being a bug!
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
Quote:
what file contains the custom packagizer rules that jd loads from? does jd keep that file open while jd is running? and what happens if there is a force shutdown, unexpected power failure or whatever reason..that can corrupt that file then jd will create a new file with the default packagizer rules? Quote:
so that would be another app that using extra pc resources? if the autobackup of the settings was built in, we would not need to know the script or run extra program.. Can't you make it so that when jd starts up or running, it automatically makes a backup of the file that contains our packagizer or rule, then we can choose restore/import from autobackup if something like this bug occurs. is that possible to implement as a new feature? ======== BTW why are you marking this as solved? this bug has not been solved as seen from my previous post that it has occurred again. https://board.jdownloader.org/showthread.php?t=80510 this should be marked as a bug and kept opened/unsolved until the bug that is wiping the custom rules is found and solved Last edited by madmax2; 11.09.2019 at 01:03. |
#7
|
||||
|
||||
event scripter is not another program, just extension module within JDownloader. when enabled it will run scripts (javascript) based on trigger event. Yes it will use more memory though not significant compared to a standalone program.
I've personally never had the rules clear or any other configs in JD2 though many do. I force stop (eclipse) all the time also. Not a proper program shutdown. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
|||
|
|||
Quote:
this would mean we would not need to run the extra extension event scripter and know the correct script etc. and also would not require an another extension to be run permanently (which increases the memory footprint of jd) when all the backup needs to do is run once when the program starts etc.. and it would be implemented for all users not just people that run the event scripter.. also this problem should not be marked solved.. since it has occurred twice already for me and the bug is still not known why or has been solved it should be marked as a bug and kept open/unsolved until it actually gets solved |
#9
|
||||
|
||||
Quote:
No, the file is read/parsed from disk. Quote:
replace existing with new one. Quote:
Quote:
I'm not saying that this is NOT caused by a bug. I'm saying that there is a.) no evidence, not reproducible b.) number of reports doesn't give any evidence that justify marking this as a bug. If you feel better I can leave this open but then that's it.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 11.09.2019 at 17:24. |
#10
|
||||
|
||||
Quote:
The issue is NOT connected to updates but to a race condition
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 11.09.2019 at 17:25. |
#11
|
|||
|
|||
Quote:
but just noticed my packagizer rules got wiped again. |
#12
|
||||
|
||||
No changes were made to this, so I have to take another look. Anything special you did? Were there many rules in list? Normal start or update/restart?
__________________
JD-Dev & Server-Admin |
#13
|
||||
|
||||
Would be great if you can create a log , see https://support.jdownloader.org/Know...d-session-logs
select the time ranges when this happens and post logID here, maybe it includes any hints about what has happened
__________________
JD-Dev & Server-Admin |
#14
|
|||
|
|||
Quote:
Program got updated as normal.. Didn't even know that my packagizer rules were wiped.. At some point, after I started my PC in the morning I grab the links and noticed it wasn't going into the packages as set by the rules.. was when I found out all rules are gone. Would be good if the jdownloader auto create a backup of the rules before each update...in case we want to restore the last backup. Also any chance you can create an option under File > Backup (all settings only) without also backing up the links as well? Current option backups all links as well which can take a lot longer to do as well has having larger backup size and we may just want to backup our settings only |
#15
|
||||
|
||||
It makes much more sense in finding/fixing the cause than workaround by auto backup. It's strange that you are the only one reporting this issue.
Please create a log and post logID here or zip the logs folder and send to support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
Quote:
but I think autobackup of all settings prior to an update should be looked at more as a safety measure rather than a workaround since not everyone regularly remember to backup their settings to the most recent prior to doing any updates (which occurs a lot). Even windows auto backups the important user stuff prior to installing the update incase something goes wrong or users want to revert back. I also ask about whether you can implement backup all settings (only) option in the file menu, rather than it means backing up the links as well..since it can take alot longer to do this and has a bigger size backup when we may only want to backup the settings only. Yeah I don't know why others haven't reported it as well but if you look at the first reported incidence date and now it does seem that some same set of condition need to occur before the bug occurs. Last edited by madmax2; 22.11.2020 at 02:00. |
#17
|
||||
|
||||
Quote:
Quote:
It would help me a lot if you can zip your logs and send them to me support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#18
|
||||
|
||||
I'm sorry but the reported issue is unconnected to updates,as before/during/after the update, those settings(files) aren't event loaded/touched at all. Somehow this happens for you during startup/restart of JDownloader and that's why I either need a way to reproduce the issue or logs to find out what has happened.
__________________
JD-Dev & Server-Admin |
#19
|
||||
|
||||
I changed some loading/saving stuff for the packagizer list that might have caused this due to timing issue but still I was unable to reproduce the issue
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|