When my "PurgeUserBase" and "PackUserBase" stanzas ran, it deleted around 15 users from my user base (very active users). The problem is these users were not flagged for deletion. Since I backup my Mystic d files every hour so I restored the userbase prior to the maintenance confirmed they were not marked for deletion.
Funny you mention that, it also happened to me. It deleted about 20 of my users including my account, the sysop account. I wonder if it has something to do with the year becoming 2020.
When my "PurgeUserBase" and "PackUserBase" stanzas ran, it deleted
around 15 users from my user base (very active users). The problem is,
When my "PurgeUserBase" and "PackUserBase" stanzas ran, it deleted around 15 users from my user base (very active users). The problem is
Just so I'm clear this issue occurs if either function is run?
According to logs, it deleted the users on the Purge stanza, then
deleted all messages from the users in ALL bases on the Pack stanza.
Thanks both for this report... I am going to place a warning on the Wiki not to use this function until g00r00 resurfaces and can look into a
fix. It's not one I have been running at Agency on a daily basis and
right now I'm kinda glad I have not been. Yikes!
Hey Avon / Netsurge - someone mentioned in the general fsxNet sub that there are weird date issues, his echomail subs set the date to 1970. Something strange is afoot here, for sure.
Yep removing all messages from all bases (echo and private) ..if this is what you're seeing... is not good. When g00r00 moved the function to
MUTIL it was designed to just remove the private messages on the base
(as I understood it to be) Looking back the notes show
Hey Avon / Netsurge - someone mentioned in the general fsxNet sub that there are weird date issues, his echomail subs set the date to 1970. Something strange is afoot here, for sure.
The user gets deleted with the Purge Function, more than likely due to
the 20 year issue. The Pack feature is just doing it's job once the user is deleted. I don't think there is anything wrong with that function.
The user gets deleted with the Purge Function, more than likely due to
the 20 year issue. The Pack feature is just doing it's job once the user is deleted. I don't think there is anything wrong with that function.
Thanks, this is what I had figured also... but had not tested... the bit that is also being reported that seems a bit strange relates to reports
of echomail being removed during the pack function... but I may have misunderstood. I think for now just flagging the purge function on the Wiki should cover it.
Well, I think it deletes more than it's supposed to when a user gets deleted. Local public messages and echomail messages should not be
deleted from that function.
Thanks both for this report... I am going to place a warning on the Wiki not to use this function until g00r00 resurfaces and can look into a
fix. It's not one I have been running at Agency on a daily basis and
right now I'm kinda glad I have not been. Yikes!
Here we see it purges messages posted on Jan 1st 2020 thinking it was posted 36526 days from then. And looking at the date it was 36526 days,
we get to January 1920, which tend to confirm the possible issue behing related to 1920.
Looks like we're back to Y2K code issues :)
Ok, I've checked the logs closer and while I may have initially thought
it was related, it appears two functions might be somewhat independently affected. The User cleanup and the Messages cleanup.
Not too sure why it was not all the users or all the messages however...
Here is a log snippet I had:
+ Jan 02 04:30:10 Purge by age: 365
! Jan 02 04:30:10 Purge #82 date 01/01/20 days 36526
! Jan 02 04:30:10 Purge #83 date 01/01/20 days 36526
Here we see it purges messages posted on Jan 1st 2020 thinking it was posted 36526 days from then. And looking at the date it was 36526 days,
we get to January 1920, which tend to confirm the possible issue behing related to 1920.
Looks like we're back to Y2K code issues :)
Which function is being run above SF? Is this the PurgeMessageBases function? Just trying to be clear about what functions in MUTIL are
being run that causes these probs :)
I'm picking we're talking now about PurgeMessageBases and PurgeUserBase both being caught up with this bug. Sound about right?
Here we see it purges messages posted on Jan 1st 2020 thinking it was posted 36526 days from then. And looking at the date it was 36526 day we get to January 1920, which tend to confirm the possible issue behi
Thanks, this is what I had figured also... but had not tested... the bit that is also being reported that seems a bit strange relates to reports
of echomail being removed during the pack function... but I may have misunderstood. I think for now just flagging the purge function on the Wiki should cover it.
Well, I think it deletes more than it's supposed to when a user gets deleted. Local public messages and echomail messages should not be
deleted from that function.
I was doing some reading on Pascal compilers at two digit year issues and sure enough, some of them are afflicted by the year 2020 in which they think it's 1920.
Not knowing what the source looks like and what compiler g00r00 uses, I can only speculate at this point.
If Year < 20 Then
Inc(Year, 2000)
Else
Inc(Year, 1900);
That will definitely do it.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 409 |
Nodes: | 16 (2 / 14) |
Uptime: | 52:08:42 |
Calls: | 8,571 |
Calls today: | 1 |
Files: | 13,222 |
Messages: | 5,929,361 |