• User List / Logon List

    From Eastside75@VERT/THUNDER to All on Saturday, August 16, 2025 08:09:48
    When viewing the (U)ser list and selecting todays logons, it shows every logon from day 1 and when chosing Yesterdays logons, there were no logons?

    Any ideas on this one? Default command shell.

    ---
    � Synchronet � Thunder-Line BBS - thunder.synchro.net
  • From Digital Man@VERT to Eastside75 on Saturday, August 16, 2025 13:22:42
    Re: User List / Logon List
    By: Eastside75 to All on Sat Aug 16 2025 08:09 am

    When viewing the (U)ser list and selecting todays logons, it shows every logon from day 1 and when chosing Yesterdays logons, there were no logons?

    Any ideas on this one? Default command shell.

    In the stock/default configuration, SCFG->External Progarms->Fixed Events->Daily Event is set to:

    Enabled Yes
    Native Executable No
    Use Shell or New Context No
    Command Line ?logonlist -m

    That "logonlist -m" command maintains the logon list files (data/logon[.*].jsonl). It needs to run daily.
    --
    digital man (rob)

    Synchronet "Real Fact" #57:
    Synchronet introduced Telnet, FTP, SMTP and POP3 support w/v3.00a-Win32 in 2000 Norco, CA WX: 75.0�F, 64.0% humidity, 5 mph W wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Eastside75 on Saturday, August 16, 2025 13:25:47
    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sat Aug 16 2025 01:22 pm

    Re: User List / Logon List
    By: Eastside75 to All on Sat Aug 16 2025 08:09 am

    When viewing the (U)ser list and selecting todays logons, it shows every logon from day 1 and when chosing Yesterdays logons, there were no logons?

    Any ideas on this one? Default command shell.

    In the stock/default configuration, SCFG->External Progarms->Fixed Events->Daily Event is set to:

    Enabled Yes
    Native Executable No
    Use Shell or New Context No
    Command Line ?logonlist -m

    That "logonlist -m" command maintains the logon list files (data/logon[.*].jsonl). It needs to run daily.

    Also, this event is automatically installed when running 'jsexec update.js' (part of the update instructions) are manually: https://wiki.synchro.net/module:logonlist#install
    --
    digital man (rob)

    Synchronet "Real Fact" #54:
    The Synchronet source code consists of over 500,000 lines of C and C++
    Norco, CA WX: 75.0�F, 64.0% humidity, 5 mph W wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Eastside75@VERT/THUNDER to Digital Man on Saturday, August 16, 2025 16:47:21
    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sat Aug 16 2025 01:25 pm

    Events->> Daily Event is set to:

    Enabled Yes
    Native Executable No
    Use Shell or New Context No
    Command Line ?logonlist -m

    This already appears as formated above.

    Also, this event is automatically installed when running 'jsexec update.js' (part of the update instructions) are manually: https://wiki.synchro.net/module:logonlist#install

    This was a fresh 3.2 install and not an upgrade.

    ---
    � Synchronet � Thunder-Line BBS - thunder.synchro.net
  • From Digital Man@VERT to Eastside75 on Saturday, August 16, 2025 16:04:45
    Re: User List / Logon List
    By: Eastside75 to Digital Man on Sat Aug 16 2025 04:47 pm

    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sat Aug 16 2025 01:25 pm

    Events->> Daily Event is set to:

    Enabled Yes
    Native Executable No
    Use Shell or New Context No
    Command Line ?logonlist -m

    This already appears as formated above.

    Also, this event is automatically installed when running 'jsexec update.js' (part of the update instructions) are manually: https://wiki.synchro.net/module:logonlist#install

    This was a fresh 3.2 install and not an upgrade.

    What logon*.jsonl files do you have in your data directory?

    What is the "Date" value in your ctrl/dsts.ini file?
    --
    digital man (rob)

    Sling Blade quote #26:
    Karl: kaiser blade, ax handle with long blade on it shaped kinda like a banana. Norco, CA WX: 80.3�F, 55.0% humidity, 9 mph W wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Eastside75@VERT/THUNDER to Digital Man on Sunday, August 17, 2025 07:02:30
    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sat Aug 16 2025 04:04 pm

    What logon*.jsonl files do you have in your data directory?

    What is the "Date" value in your ctrl/dsts.ini file?
    --

    I simply have a logon.jsonl file, no number attribute

    The Date in dsts is "never"?

    ---
    � Synchronet � Thunder-Line BBS - thunder.synchro.net
  • From Digital Man@VERT to Eastside75 on Sunday, August 17, 2025 12:33:54
    Re: User List / Logon List
    By: Eastside75 to Digital Man on Sun Aug 17 2025 07:02 am

    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sat Aug 16 2025 04:04 pm

    What logon*.jsonl files do you have in your data directory?

    What is the "Date" value in your ctrl/dsts.ini file?
    --

    I simply have a logon.jsonl file, no number attribute

    The Date in dsts is "never"?

    That's the underlying issue: your system isn't detecting a new day. The current system date is compared against that dsts.ini "Date" value and if the current date is different, resets stats (and runs the fixed events you have configured in SCFG to run as specified date intervals). This is done for each terminal sever logon (for non Q-restricted accounts) and periodically in the terminal server "event thread".

    As a result, you should see log messages like this (where the event thread detected the new date):

    BBS Events New Day - Prev: Fri Aug 15 2025 12:00 am
    BBS Events New Day and Week - Prev: Sat Aug 16 2025 12:00 am

    If the event thread isn't running or is busy running an event, but a new terminal server logon occurs after a date change, you should see a similar log message in the terminal server's log otuput.

    The only things that would prevent this "rollover" from happening (and that dsts.ini "Date" value being update to reflect the current date/time) are issues reading the dsts.ini file (which should be logged accordingly) or reading the current system date/time from the system clock.

    So the next step is check what in the log output of your event thread (e.g. data/events.log in most recent builds of sbbs), the terminal server, and your data/error.log file for clues.
    --
    digital man (rob)

    Rush quote #18:
    Leave out condition, courageous convictions will drag the dream into existence Norco, CA WX: 80.1�F, 57.0% humidity, 3 mph W wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Eastside75@VERT/THUNDER to Digital Man on Monday, August 18, 2025 05:03:10
    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sun Aug 17 2025 12:33 pm

    So the next step is check what in the log output of your event thread (e.g. data/events.log in most recent builds of sbbs), the terminal server, and your data/error.log file for clues.
    --
    digital man (rob)

    I was unable to find any entries in the error or event logs in regards to logonlist at all.

    What i did do was add the logonlist to a timed event and it appears to be running now. I know that's just a work around, but i will monitor going forward.

    ---
    � Synchronet � Thunder-Line BBS - thunder.synchro.net
  • From Digital Man@VERT to Eastside75 on Monday, August 18, 2025 10:31:58
    Re: User List / Logon List
    By: Eastside75 to Digital Man on Mon Aug 18 2025 05:03 am

    Re: User List / Logon List
    By: Digital Man to Eastside75 on Sun Aug 17 2025 12:33 pm

    So the next step is check what in the log output of your event thread (e.g. data/events.log in most recent builds of sbbs), the terminal server, and your data/error.log file for clues.

    I was unable to find any entries in the error or event logs in regards to logonlist at all.

    The errors would have been regarding the daily statistics (e.g. dsts.ini), not logonlist. The configured daily event not running is a symptom of the daily statistics issue. If the "Date" value in your dsts.ini files (in ctrl and node*) is still "Never", then the issue remains.

    What i did do was add the logonlist to a timed event and it appears to be running now. I know that's just a work around, but i will monitor going forward.

    Double-check your ctrl/dsts.ini file. If the Date value gets updated (to the current date), then the underlying problem has been fixed.

    I did add some additional error reporting in the function that detects a "New Day", so if you update to the latest and greatest v3.21a build, that *might* provide some insight into why daily statistics are still failing, if they are in fact still failing.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #80:
    SSL = Secure Sockets Layer (precursor to TLS)
    Norco, CA WX: 78.4�F, 63.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Eastside75@VERT/THUNDER to Digital Man on Monday, August 18, 2025 17:29:56
    Re: User List / Logon List
    By: Digital Man to Eastside75 on Mon Aug 18 2025 10:31 am

    The errors would have been regarding the daily statistics (e.g. dsts.ini), not logonlist. The configured daily event not running is a symptom of the daily statistics issue. If the "Date" value in your dsts.ini files (in ctrl and node*) is still "Never", then the issue remains.

    The dsts.ini files all say never still.


    Double-check your ctrl/dsts.ini file. If the Date value gets updated (to the current date), then the underlying problem has been fixed.
    I did add some additional error reporting in the function that detects a "New Day", so if you update to the latest and greatest v3.21a build, that *might* provide some insight into why daily statistics are still failing, if they are in fact still failing.

    I am going to take a look at doing just that.

    One thing, i checked the statistic log and i get this error in the log :

    !error opening c:\sbbs\ctrl\csts.tab

    Not sure if that has anything to do with the logging or not.

    ---
    � Synchronet � Thunder-Line BBS - thunder.synchro.net
  • From Eastside75@VERT/THUNDER to Digital Man on Monday, August 18, 2025 17:47:42
    Re: User List / Logon List
    By: Digital Man to Eastside75 on Mon Aug 18 2025 10:31 am

    I did add some additional error reporting in the function that detects a "New Day", so if you update to the latest and greatest v3.21a build, that *might* provide some insight into why daily statistics are still failing, if they are in fact still failing.
    --

    I updtated to the latests 3.21a and the first event that ran was new day week and month prev never appeared.

    Ran the daily and monyhly event

    now i have callers from yesterday and today.

    So something was overwritten that made it work at least this one time.

    Will confirm tomorrow.

    If you could confirm for me, I updated the exec folder per the wiki, but it also mentions updating other folders and files as well as running jsexec update..I take it as that is for upgrading from 3.1x to 3.2 and not involved here?

    Thank you for your help as usual!

    ---
    � Synchronet � Thunder-Line BBS - thunder.synchro.net
  • From Digital Man@VERT to Eastside75 on Tuesday, August 19, 2025 12:52:44
    Re: User List / Logon List
    By: Eastside75 to Digital Man on Mon Aug 18 2025 05:29 pm

    Re: User List / Logon List
    By: Digital Man to Eastside75 on Mon Aug 18 2025 10:31 am

    The errors would have been regarding the daily statistics (e.g. dsts.ini), not logonlist. The configured daily event not running is a symptom of the daily statistics issue. If the "Date" value in your dsts.ini files (in ctrl and node*) is still "Never", then the issue remains.

    The dsts.ini files all say never still.


    Double-check your ctrl/dsts.ini file. If the Date value gets updated (to the current date), then the underlying problem has been fixed.
    I did add some additional error reporting in the function that detects a "New Day", so if you update to the latest and greatest v3.21a build, that *might* provide some insight into why daily statistics are still failing, if they are in fact still failing.

    I am going to take a look at doing just that.

    One thing, i checked the statistic log and i get this error in the log :

    !error opening c:\sbbs\ctrl\csts.tab

    Not sure if that has anything to do with the logging or not.

    Yes, it definitely does. Can you paste the complete error message from the error.log file? It usually contains helpful details like the Git SHA, the source filename and line number and errno value.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #83:
    SyncTERM = The Synchronet Terminal Emulator/BBS-client program
    Norco, CA WX: 88.4�F, 40.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Eastside75 on Tuesday, August 19, 2025 12:55:39
    Re: User List / Logon List
    By: Eastside75 to Digital Man on Mon Aug 18 2025 05:47 pm

    Re: User List / Logon List
    By: Digital Man to Eastside75 on Mon Aug 18 2025 10:31 am

    I did add some additional error reporting in the function that detects a "New Day", so if you update to the latest and greatest v3.21a build, that *might* provide some insight into why daily statistics are still failing, if they are in fact still failing.
    --

    I updtated to the latests 3.21a and the first event that ran was new day week and month prev never appeared.

    What version were you running prior?

    Ran the daily and monyhly event

    now i have callers from yesterday and today.

    Ah, very good sign.

    So something was overwritten that made it work at least this one time.

    Will confirm tomorrow.

    If you could confirm for me, I updated the exec folder per the wiki, but it also mentions updating other folders and files as well as running jsexec update..I take it as that is for upgrading from 3.1x to 3.2 and not involved here?

    You're expected to run 'jsexec update' after any update. Not just from v3.1x to v3.2.

    Thank you for your help as usual!

    You're welcome and no problem.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #17:
    CR = Carriage Return (ASCII 13, Ctrl-M)
    Norco, CA WX: 88.4�F, 40.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net