Scheduler settings disappeared

Post Reply
Josef K
Posts: 534
Joined: Thu Feb 27, 2003 7:29 pm

Scheduler settings disappeared

Post by Josef K »

I noticed today that since the latest version of UE (either 1.9.9.2 or the previous one - not sure which) my scheduler settings are all blank. By this I mean all the times I'd put in to avoid my ISP throttle were all gone. It's easily fixed but someone else might run into problems if they don't notice it and the same has happened to them.

Can anyone else confirm?

Other than that I haven't found anything else out of the ordinary since the dialogue box reshuffle.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

You don't let e.g. an antivirus to scan files in the Settings directory?

UE makes some checks on reg.dat integrity (e.g. checks if newsgroups in settings are the same as listed in map.txt) and rolls settings back if necessary, it is not so easy to lose settings.

With the last versions there was nothing unusual in this regard, as to v1.9.9.1 some users are still using Win2K and even Win98, so I had to remove WinXP dependency I accidentally introduced there it is about all.

If you didn't start it too many times since then you can try to copy settings directory somewhere, then create another database, switch to it and try to replace reg.dat with older reg.dat files to see if they had the setting still there (exit the program, replace reg.dat with e.g. reg.dat.oldest, then start it again, etc.).
Josef K
Posts: 534
Joined: Thu Feb 27, 2003 7:29 pm

Post by Josef K »

The DB directory is excluded from antivirus. As you know, I'm regularly here so anything new that's discovered I apply to my config if it's relevant, so it's always been excluded.

The settings I had in the scheduler have been there, unchanged, since the beginning of July (that's definitely accurate). Therefore, any reg.dat backups would contain the same settings as regards to the scheduler settings. To be honest, I can't absolutely confirm that it only happened since the latest two releases because I had no need to go into that property page. However, my scheduler always appeared to be correctly suspending/un-suspending according to the times I had in there.

Hopefully someone else can reply to say whether or not they've been affected in the same way.

Unfortunately I've been doing some housework in my system so there have been a few reboots and restarts of UE since then.
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

sheduler it is the same kind of settings storage like keeping a state of a checkbox.

apart from integrity check and those rollback files there is additional backup layer (properties->general->settings backup).

scheduler time intervals will be gone e.g. if you started the system with a wrong date and then started UE so they become irrelevant.

if your system suddenly crashed after UE successfully saved settings (and flushed the file) but before the system committed all changes to the disk and only the part of settings which is not critical has been affected, it is not so probable scenario.

if someone really experienced lost settings i could also add checksum on the whole file (but maybe it won't be compatible backwards to earlier versions then, after you run the newer version once), just it will take a little more time to save settings then. the checksum by itself also doesn't prove anything, say fault memory could cause settings corrupted in memory or data in the system cache could get damaged so when we calculate checksum it is on corrupted data, it can go without end. but in fact after i added settings rollback i didn't hear complaints about settings any more.
Josef K
Posts: 534
Joined: Thu Feb 27, 2003 7:29 pm

Post by Josef K »

alex wrote:scheduler time intervals will be gone e.g. if you started the system with a wrong date and then started UE so they become irrelevant.
I recently did a format/reinstall and just copied the entire UE structure across. Possibly something became misaligned along the way. The OS reinstall is the only real event that's happened - less than a month ago. As I said, I haven't had any need to go into the settings and adjust the scheduler so I can't pinpoint the change but it was definitely recently.
alex wrote:if your system suddenly crashed after UE successfully saved settings (and flushed the file) but before the system committed all changes to the disk and only the part of settings which is not critical has been affected, it is not so probable scenario.
I always schedule UE to run outside my ISP throttling hours (overnight) so I'm never usually doing anything that might cause a crash. I haven't come the next day to find my system has rebooted.
Post Reply