• 3.17 to 3.18 upgrade

    From JohnBWilloughby@VERT to all on Sun Mar 28 15:28:00 2021
    I started out at v3.15 and have upgraded successfully to 3.17. When upgrading to 3.18, I have run into two issues.
    First :
    I was using a 3rd party menu called matrix3b, it is located a c:\sbbs\text\menu\matrix3b\, there are three files in that folder, matrix3b.ans, lamer.asc matrix3b.bin, and sysop.doc, the matrix3b.bin file move to the c:\sbbs\exec directory. All files still exists in the same folders, after the upgrade. After copying over all the files from the sbup318b folder to their corresponding folders in c:\sbbs, I ran jsexec update from the EXEC folder. When i attempt to login, i get a file can not find on the telnet client and on the Syncrhonet Control panel I see in the terminal services panel :
    3/28 09:54:30p Node 1 09:54p Sun Mar 28 2021 Node 1
    3/28 09:54:30p Node 1 Telnet ******************************
    3/28 09:54:31p Node 1 received CTerm version report: 1.312
    3/28 09:54:31p Node 1 terminal type: 80x24 syncterm
    3/28 09:54:31p Node 1 !Error 2 (No such file or directory) opening: \matrix3b\lamer.asc
    The file lamer.asc is in the folder : C:\SBBS\text\menu\matrix3b\. Do the files for matrix3b need to be located somewhere else ?

    Second:
    While I was on v3.17 I enabled the webv4 in sbbs.ini, and was able to verify that it was working by going to localhost on the computer where sbbs was running, I also verifyed that I could get to it from a comptuer in the same subnet. There only modification was to the modpots.ini file in c:\sbbs\ctrl. Once I upgrade to v3.18, I now get
    I do get the top line (I guess that would be the header ?) but I get this on the page :
    !JavaScript c:\sbbs\webv4\lib/pages.js line 189: TypeError: page is undefined

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to all on Sun Mar 28 16:55:00 2021
    Update :
    Second issue was somewhat fixed. I downloaded a more recent version of the webv4 folder and it now displays the web page as it did in ver 3.17.

    question : what do you set so that a user can logon via the web page ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Sun Mar 28 17:32:00 2021
    Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to all on Sun Mar 28 2021 07:28 pm

    I started out at v3.15 and have upgraded successfully to 3.17. When upgrading to 3.18, I have run into two issues.
    First :
    I was using a 3rd party menu called matrix3b, it is located a c:\sbbs\text\menu\matrix3b\, there are three files in that folder, matrix3b.ans, lamer.asc matrix3b.bin, and sysop.doc, the matrix3b.bin file move to the c:\sbbs\exec directory. All files still exists in the same folders, after the upgrade. After copying over all the files from the sbup318b folder to their corresponding folders in c:\sbbs, I ran jsexec update from the EXEC folder. When i attempt to login, i get a file can not find on the telnet client and on the Syncrhonet Control panel I see in the terminal services panel :
    3/28 09:54:30p Node 1 09:54p Sun Mar 28 2021 Node 1
    3/28 09:54:30p Node 1 Telnet ******************************
    3/28 09:54:31p Node 1 received CTerm version report: 1.312
    3/28 09:54:31p Node 1 terminal type: 80x24 syncterm
    3/28 09:54:31p Node 1 !Error 2 (No such file or directory) opening: \matrix3b\lamer.asc

    Is there a more detailed error in your data/error.log file?

    The file lamer.asc is in the folder : C:\SBBS\text\menu\matrix3b\. Do the files for matrix3b need to be located somewhere else ?

    Sounds like the script (matrix3b.src) is doing something unexpected. If you don't already have the source, you could use 'unbaja' to recreate it.

    Second:
    While I was on v3.17 I enabled the webv4 in sbbs.ini, and was able to verify that it was working by going to localhost on the computer where sbbs was running, I also verifyed that I could get to it from a comptuer in the same subnet. There only modification was to the modpots.ini file in c:\sbbs\ctrl. Once I upgrade to v3.18, I now get
    I do get the top line (I guess that would be the header ?) but I get this on the page :
    !JavaScript c:\sbbs\webv4\lib/pages.js line 189: TypeError: page is undefined

    I'll let echicken respond to that one. <shrug>
    --
    digital man

    Synchronet "Real Fact" #65:
    Synchronet can dynamically compress and uncompress message bases (using LZH). Norco, CA WX: 70.4øF, 19.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Sun Mar 28 18:37:00 2021
    Re: 3.17 to 3.18 upgrade
    By: Digital Man to JohnBWilloughby on Sun Mar 28 2021 09:32 pm

    The file lamer.asc is in the folder : C:\SBBS\text\menu\matrix3b\. Do the files for matrix3b need to be located somewhere else ?

    Sounds like the script (matrix3b.src) is doing something unexpected. If you don't already have the source, you could use 'unbaja' to recreate it.

    I found this module on Vertrauen it appears to work fine for me.

    Looking at its decompiled code (using unbaja), it looks correct too:

    MENU "matrix3b\\matrix3b"

    This looks for the menu file (matrix3b.ans for the ANSI terminal user) in the text/menu/matrix3b directory. Worked for me.
    --
    digital man

    This Is Spinal Tap quote #18:
    Sustain, listen to it. Don't hear anything. You would though were it playing. Norco, CA WX: 69.8øF, 20.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Sun Mar 28 19:59:00 2021
    I am looking at the decompiled version of the matrix3b.bin

    Looks like it doing this :
    CLS
    CMD_HOME
    COMPARE_USER_MISC 2
    IF_TRUE
    PRINT "\e[H"
    ELSE
    GOTO label_0c76
    END_IF

    going to :label_0c76

    Which is giving me the scree below.
    :label_0c76
    CLS
    MENU "\\matrix3b\\lamer"
    END_IF
    PRINT "\x01\136\214\196\196\x01n\196\196\x01h\x01k\196\x01n\196\x01h\x01k\196\1 96\189\r\n"
    PRINT "\x01\136\x01n\211\196\x01h\x01k\196\x01n\196\x01h\x01k\250\250\249 \249\250\x01n\196\205\x01h\x01k\181\x01w\016 "
    PRINT "\e[18;16H\x01n\x01cevaluation\x01h\x01y\x01i<>\x01n\x01cedition"
    PRINT "\e[19;16H\x01n\x01c\146X\144-S\139d Creations"
    PRINT "\e[20;16H\x01n\x01c609-561-6259"

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Sun Mar 28 20:13:00 2021
    Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to Digital Man on Sun Mar 28 2021 11:59 pm

    I am looking at the decompiled version of the matrix3b.bin

    Looks like it doing this :
    CLS
    CMD_HOME
    COMPARE_USER_MISC 2
    IF_TRUE
    PRINT "\e[H"
    ELSE
    GOTO label_0c76
    END_IF

    going to :label_0c76

    Which is giving me the scree below.
    :label_0c76
    CLS
    MENU "\\matrix3b\\lamer"

    That should be: MENU "matrix3b\\lamer". Remove that first "\\" and recompile with baja.
    --
    digital man

    Synchronet "Real Fact" #96:
    Synchronet v3.14a was released in December of 2006 (1 year after v3.13a). Norco, CA WX: 66.3øF, 24.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Mon Mar 29 02:34:00 2021
    removed the "\\" recompiled with baja, logged on and it showed the default login menu, and had the error :
    3/29 03:29:56a Node 1 !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 816 (sbbs_t::exec_bin) checking length "c:\sbbs\EXEC\MATRIX3B.BIN" access=0

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Mon Mar 29 03:05:00 2021
    I think I have narrowed it down, but not sure how to correct the behaviour so that it works like it did in 3.15 to 3.17
    There are two menu's matrix3b.ans and lamer.asc.
    CMD_HOME
    COMPARE_USER_MISC 2 <- this compare ?????
    IF_TRUE
    PRINT "\e[H" <- prints blank line ? if COMPARE_USER_MISC 2 is true
    ELSE
    GOTO label_0c76 <- goes to this label and uses MENU "\\matrix3b\\LAMER.ASC"
    END_IF
    MENU "matrix3b\\matrix3b" <- use this menu after the PRINT

    matrix3b\MATRIX3B.ANS <- ANSI Menu ?
    matrix3b\LAMER.ASC <- ASCII Menu ?

    Does this COMPARE_USER_MISC 2 determine if you can display ANSI / ASCII ? I remember reading somewhere that there is a hierarchy of which to use, is that configurable ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Mon Mar 29 08:59:00 2021
    Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to Digital Man on Mon Mar 29 2021 06:34 am


    removed the "\\" recompiled with baja, logged on and it showed the default login menu, and had the error :
    3/29 03:29:56a Node 1 !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 816 (sbbs_t::exec_bin) checking length "c:\sbbs\EXEC\MATRIX3B.BIN" access=0

    What is the length of your matrix3b.bin file? Sounds like you didn't recompile it correctly.
    --
    digital man

    Synchronet/BBS Terminology Definition #80:
    Telix = Commercial MS-DOS and Windows communications/terminal program
    Norco, CA WX: 80.1øF, 24.0% humidity, 6 mph ENE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Mon Mar 29 09:00:00 2021
    Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to Digital Man on Mon Mar 29 2021 07:05 am

    I think I have narrowed it down, but not sure how to correct the behaviour so that it works like it did in 3.15 to 3.17
    There are two menu's matrix3b.ans and lamer.asc.
    CMD_HOME
    COMPARE_USER_MISC 2 <- this compare ?????
    IF_TRUE
    PRINT "\e[H" <- prints blank line ? if COMPARE_USER_MISC 2 is true
    ELSE
    GOTO label_0c76 <- goes to this label and uses MENU "\\matrix3b\\LAMER.ASC"
    END_IF
    MENU "matrix3b\\matrix3b" <- use this menu after the PRINT

    matrix3b\MATRIX3B.ANS <- ANSI Menu ?
    matrix3b\LAMER.ASC <- ASCII Menu ?

    Does this COMPARE_USER_MISC 2 determine if you can display ANSI / ASCII ? I remember reading somewhere that there is a hierarchy of which to use, is that configurable ?

    None of that appears related to the 2 problems you posted earlier.
    Remove the leading "\\" from the menu path.
    --
    digital man

    Sling Blade quote #18:
    Karl Childers: Some folks call it Hell, I call it Hades.
    Norco, CA WX: 80.3øF, 22.0% humidity, 6 mph N wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Tue Mar 30 05:14:00 2021
    I recompiled it again, after remove the "\\" and am getting 5KB, same size as the original.
    This time the MATRIX3b menu shows up.
    As I said, there are two menus, the LAMER.ASC and the MATRIX3B.ANS, with the LAMER.ASC menu, there are Letters next to each function i.e. [L]ogon , while with the MATRIX3B.ANS menu, you can use the arrow keys to get to the functions. Before the update, I was seeing the MATRIX3B menu, and use the keyboard arrow keys to navigate around the menu functions,

    Now that its working I am seeing the LAMER.ASC menu, and use keyboard letter L to logon.

    How do I change the order to which file type it looks for ? or is that hard coded ?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to JohnBWilloughby on Tue Mar 30 08:49:00 2021
    Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to Digital Man on Tue Mar 30 2021 09:14 am


    I recompiled it again, after remove the "\\" and am getting 5KB, same size as the original.
    This time the MATRIX3b menu shows up.
    As I said, there are two menus, the LAMER.ASC and the MATRIX3B.ANS, with the LAMER.ASC menu, there are Letters next to each function i.e. [L]ogon , while with the MATRIX3B.ANS menu, you can use the arrow keys to get to the functions. Before the update, I was seeing the MATRIX3B menu, and use the keyboard arrow keys to navigate around the menu functions,

    Now that its working I am seeing the LAMER.ASC menu, and use keyboard letter L to logon.

    How do I change the order to which file type it looks for ? or is that hard coded ?

    I'm guessing "LAMER.ASC" is for non-ANSI users? The problem there appears in the method the script is using to detect ANSI users. Change this line:
    COMPARE_USER_MISC 2

    to this:
    COMPARE_ARS ANSI

    And the recompile with baja. That should fix that.
    --
    digital man

    Synchronet/BBS Terminology Definition #76:
    SyncTERM = The Synchronet Terminal Emulator/BBS-client program
    Norco, CA WX: 75.6øF, 39.0% humidity, 0 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to Digital Man on Tue Mar 30 16:03:00 2021
    You are the man !!! That worked like a charm.

    1 more issue to fix and I can move to the new OS

    Thanks for all your help.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tracker1@VERT/TRN to JohnBWilloughby on Mon Apr 5 16:29:00 2021
    On 3/28/2021 7:28 PM, JohnBWilloughby wrote:

    While I was on v3.17 I enabled the webv4 in sbbs.ini, and was able to verify that it was working by going to localhost on the computer where sbbs was running, I also verifyed that I could get to it from a comptuer in the same subnet. There only modification was to the modpots.ini file in c:\sbbs\ctrl. Once I upgrade to v3.18, I now get
    I do get the top line (I guess that would be the header ?) but I get this on the page :

    Try deleting *.xjs.ssjs (these are "built" xjs files, removing them will
    be recreated with the updated version.
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
  • From JohnBWilloughby@VERT to Tracker1 on Tue Apr 6 04:23:00 2021
    On 3/28/2021 7:28 PM, JohnBWilloughby wrote:

    Try deleting *.xjs.ssjs (these are "built" xjs files, removing them will
    be recreated with the updated version.
    --
    I have the webv4 working now. I can login, use dark mode etc. the fix was the guest in the sbbs database was all lower case, when I changed it to Guest, everything started working :)

    I have been having one problem, thought your fix might work. but so far no joy. As I was saying the new web interface is working, for Guest, sysop, and normal user, with the exception of the "Files" menu, all other Menu Items work, but when you click on the File, you get just a blank page in the middle area where you would expect the listing of files etc. You can see for yourself as Guest if you go to http://tfbbs.d2g.com

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Tue Apr 6 15:18:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to Tracker1 on Tue Apr 06 2021 08:23:00

    I have been having one problem, thought your fix might work. but so far no joy. As I was saying the new web interface is working, for Guest, sysop, and normal user, with the exception of the "Files" menu, all other Menu Items work, but when you click on the File, you get just a blank page in

    When you update your BBS, are you updating everything, or cherrypicking certain files? I suspect this might be related to a change that was made to webv4/lib/files.js which depends on a recent copy of exec/load/filebase.js.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Tue Apr 6 09:01:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to Tracker1 on Tue Apr 06 2021 08:23:00

    When you update your BBS, are you updating everything, or cherrypicking certain files? I suspect this might be related to a change that was made to webv4/lib/files.js which depends on a recent copy of exec/load/filebase.js.


    When I updated my BBS, i did the incremental updates ... I started at 3.15, and as I worked my way thru the updates. I went through the ReadMe.txt, and all the commands.

    When the webv4 wasnt working ( that was the guest vs Guest ), I copied the webv4 from git and removed my c:\ssbs\webv4 and replaced it with the one from git. I just checked and most of the files in the webv4 are dated 3/28/2010. While the exec/load/filebase.js is dated 8/16/2020.

    so if webv4/lib/files.js is newer than exec/load/filease.js that would cause the Files issue ? Could the webv4 files being newer that the others also be related to the Who's online not showing anything ?

    There are no customization that I have made to the webv4 directory, so I could remove (i.e. rename) and copy the webv4 from the incremental update to 3.18 and see what that does.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to echicken on Tue Apr 6 09:06:00 2021
    When you update your BBS, are you updating everything, or cherrypicking certain files? I suspect this might be related to a >change that was made to webv4/lib/files.js which depends on a recent copy of exec/load/filebase.js.

    Success, when I move the 3.18 incremental webv4 folder back the files area is working again.

    The Who's Online is still not working :(

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Tue Apr 6 16:40:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Tue Apr 06 2021 13:01:16

    so if webv4/lib/files.js is newer than exec/load/filease.js that would cause the Files issue ? Could the webv4 files being newer that the others also be related to the Who's online not showing anything ?

    Yes, and yes. Both of these features rely on things from exec/load/ which may be different or nonexistent on an earlier release.

    Basically it's best not to think of webv4 as a separate or self-contained project. At any time, an update to webv4 may rely on recent updates to other parts of the BBS, or a change to some other part of the BBS may necessitate an update to webv4 to avoid problems.

    There are no customization that I have made to the webv4 directory, so I could remove (i.e. rename) and copy the webv4 from the incremental update to 3.18 and see what that does.

    In all likelihood that will work better than using the current state of webv4 with an older Synchronet release.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to JohnBWilloughby on Tue Apr 6 16:50:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Tue Apr 06 2021 13:06:54

    The Who's Online is still not working :(

    In what sense?

    I just had a look, and Who's Online has no dependencies outside of webv4. If your webv4 install is internally consistent I would expect it to work.

    By default Who's Online won't show up in your sidebar if nobody's online, or if the only people online are in quiet/invisible mode. You can force it to always show up by setting this in ctrl/modopts.ini -> [web]:

    active_node_list = false

    There's a similar setting for the "System Information" sidebar menu, which will show all of the stats even if some of them are unflattering:

    hide_empty_stats = false

    Most if not all settings are described here:

    http://wiki.synchro.net/config:webv4

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Tue Apr 6 09:57:00 2021
    Yes, and yes. Both of these features rely on things from exec/load/ which may be different or nonexistent on an earlier release.

    Basically it's best not to think of webv4 as a separate or self-contained project. At any time, an update to webv4 may rely on recent updates to other parts of the BBS, or a change to some other part of the BBS may necessitate an update to webv4 to avoid problems.

    Good to know, so when you update the webv4, will the update coniside with an update to SBBS ?

    In all likelihood that will work better than using the current state of webv4 with an older Synchronet release.

    Yes its working much much better.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to echicken on Tue Apr 6 10:11:00 2021
    In what sense?


    When i go to http://tfbbs.d2g.com ( without logging in and a guest), on the sidebar under Who's Online, No users are shown. (Although they are shown under Recent Visitors). When I logon as myself or a test account, the Who's Online is empty.

    By default Who's Online won't show up in your sidebar if nobody's online, or if the only people online are in quiet/invisible mode. You can force it to always show up by setting this in ctrl/modopts.ini -> [web]:

    active_node_list = false

    I had it set to true, changed it to false, still not showing anyone online. I have two test account logged in at the moment, one via telnet, on via Web. And not showing up under Who's Online I check my account, and the two test accounts and they are not set to quite

    There's a similar setting for the "System Information" sidebar menu, which will show all of the stats even if some of them are unflattering:

    hide_empty_stats = false

    I saw that one, decided to set it to false, didnt like the unflattering info it displayed.


    Most if not all settings are described here:

    http://wiki.synchro.net/config:webv4


    I followed that link and set my [web] as follows :
    [web]
    guest = Guest
    timeout = 43200
    inactivity = 900
    user_registration = true
    minimum_password_length = 6
    maximum_telegram_length = 800
    web_directory = ../webv4
    ftelnet = true
    ftelnet_splash = ../text/tempest.ans
    keyboard_navigation = false
    vote_functions = true
    refresh_interval = 60000
    xtrn_blacklist = scfg,oneliner
    layout_sidebar_off = false
    layout_sidebar_left = false
    layout_full_width = false
    active_node_list = false
    hide_empty_stats = true
    locale = en_us
    forum_extended_ascii = false
    max_messages = 0
    files_inline = true
    darkmode_allow = true

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Tue Apr 6 19:45:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Tue Apr 06 2021 14:11:33

    active_node_list = false

    I had it set to true, changed it to false, still not showing anyone online. I have two test account logged in at the moment, one via telnet,

    Is it not showing anyone online, but showing a list of nodes, or is Who's Online just not appearing whatsoever?

    I can't imagine why it would be broken, but there may be something in your log to indicate an error.

    You could also delete any .web files from your data/user/ directory, which would log anyone out of the website who's currently logged in, but *might* help with this (though probably not, it's just a guess).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Tue Apr 6 13:48:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Tue Apr 06 2021 14:11:33

    Is it not showing anyone online, but showing a list of nodes, or is Who's Online just not appearing whatsoever?

    its not showing anyone online or nodes. On the side bar at the top it says Who's Online and no one online. i dont even see the "via" and "Status" under Who's Online.

    I can't imagine why it would be broken, but there may be something in your log to indicate an error.

    Which log ? The http-xxxxx-log ?

    You could also delete any .web files from your data/user/ directory, which would log anyone out of the website who's currently logged in, but *might* help with this (though probably not, it's just a guess).

    I can try that, there were only 2 .web files, one for user #1 and user #75, that would be me and Guest.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Wed Apr 7 11:44:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Tue Apr 06 2021 13:57:21

    Good to know, so when you update the webv4, will the update coniside with an update to SBBS ?

    Sometimes an update to webv4 depends on a recent change to Synchronet, sometimes not. Sometimes (but rarely) a change to Synchronet will necessitate a change to webv4. There's no one answer.

    Basically if you update your BBS, you should update webv4 - and vice versa.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to JohnBWilloughby on Wed Apr 7 11:54:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Tue Apr 06 2021 14:11:33

    When i go to http://tfbbs.d2g.com ( without logging in and a guest), on the sidebar under Who's Online, No users are shown. (Although they are shown under Recent Visitors). When I logon as myself or a test account,

    There's something wrong with your webv4/root/api/events.ssjs, but I can't be sure what. I just made a change to that file, but I am not sure that it will help.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Thu Apr 8 03:20:00 2021
    There's something wrong with your webv4/root/api/events.ssjs, but I can't be sure what. I just made a change to that file, but I am not sure that it will help.


    I think I might have a suspicion as to what is going on, but not sure how to address it.

    When I am on the computer that SBBS is installed on and open web browser, and go to http://localhost, I see what I expcect to see. I think login, and everything is working, even the blue bubbles under mail, letting me know I have new mail.

    The difference between http://localhost and http://tfbbs.d2g.com, well tfbbs.d2g.com is going thru a apache proxy / reverse proxy, the site tempestfury.d2g.com is on a different server than SBBS, and I use the proxy to get to SBBS

    Is there any special settings that need to be set if using a proxy ?

    if not, I guess I can try a different port other that 80. Will have to test a few things out.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Thu Apr 8 10:40:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 07:20:29

    There's something wrong with your webv4/root/api/events.ssjs, but I
    can't be sure what. I just made a change to that file, but I am not
    sure that it will help.

    Just so I know what stage we're at, do you now have the latest version of this file?

    When I am on the computer that SBBS is installed on and open web browser, and go to http://localhost, I see what I expcect to see. I think login, and everything is working, even the blue bubbles under mail, letting me know I have new mail.

    How about Who's Online - does that work as well?

    The difference between http://localhost and http://tfbbs.d2g.com, well tfbbs.d2g.com is going thru a apache proxy / reverse proxy, the site

    If Who's Online works when you view http://localhost, then it indicates that your reverse proxy is interfering with webv4's HTTP EventSource. It's possible that the latest version of events.ssjs will resolve this. It's possible that you need to change a setting in Apache.

    Is there any special settings that need to be set if using a proxy ?

    Maybe. It'll depend on whether anything's still not working after an update.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Thu Apr 8 05:02:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 07:20:29

    Just so I know what stage we're at, do you now have the latest version of this file?

    The file I have is dated 9/7/2020.

    How about Who's Online - does that work as well?

    If Who's Online works when you view http://localhost, then it indicates that your reverse proxy is interfering with webv4's HTTP EventSource. It's possible that the latest version of events.ssjs will resolve this. It's possible that you need to change a setting in Apache.

    Where can I get a recet copy of the events.ssjs ? Can I grab it from GIT ?

    I pointed port 80 to the computer running SBBS, and the Who's Online is working as it should. And the bubbles are there as well.

    so I am not sure what setting would need to be changed in Apache. Will have to do some research.

    Maybe. It'll depend on whether anything's still not working after an update.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to echicken on Thu Apr 8 05:16:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 07:20:29

    Just so I know what stage we're at, do you now have the latest version of this file?

    I just went to GIT and grabbed the events.ssjs and replaced it in the webv4/root/api, I change port 80 back to the main site so sbbs is again being proxied.

    I am using a computer that is VPN to some place in the netherlands, and connecting to http://ftbbs.d2g.com The Who's Online is working ... YAY!!!
    one minor thing - is shows new email, I go and read the email, respond to the email, when I am back at the main page, it still shows that I have new email.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to JohnBWilloughby on Thu Apr 8 07:38:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 09:02 am

    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 07:20:29

    Just so I know what stage we're at, do you now have the latest version of this file?

    The file I have is dated 9/7/2020.


    hey. word from the wise here.

    always backup before upgrading or making changes.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From echicken@VERT/ECBBS to JohnBWilloughby on Thu Apr 8 13:20:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 09:02:58

    Where can I get a recet copy of the events.ssjs ? Can I grab it from GIT ?

    Yes, the newest version is in git.

    The file I have is dated 9/7/2020.

    I changed webv4/root/api/events.ssjs yesterday, so your copy is out of date.

    so I am not sure what setting would need to be changed in Apache. Will have to do some research.

    If updating events.ssjs doesn't help (it might), you'll need to find out what needs to be done to allow Server-Sent Events through an Apache reverse proxy.

    Something about your Apache setup is altering the Content-Type response header when the client requests this file; it's meant to be "text/event-stream" but is instead being sent as "text/html". I have no real experience using Apache as a reverse proxy, so I can't say more than that.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to MRO on Thu Apr 8 07:00:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 09:02 am

    hey. word from the wise here.

    always backup before upgrading or making changes.
    ---
    When I say I went to GIT and replaced the file. What I mean is that I went to GIT, downloaded the new file. Renamed the original file from events.ssjs to events.ssjs.OLD, then copied in the new file from downloads. If the new file downloaded from GIT does not work, then i will delete it and revert the .OLD file back.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to echicken on Thu Apr 8 07:05:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 09:02:58

    Yes, the newest version is in git.

    I grabbed the newest from GIT, and used it, seems to fix the issue somewhat. I even reverted back to having port 80 going to the main page and SBBS being proxied and it works.

    I changed webv4/root/api/events.ssjs yesterday, so your copy is out of date.

    If updating events.ssjs doesn't help (it might), you'll need to find out what needs to be done to allow Server-Sent Events through an Apache reverse proxy.

    It did help. and I moved port 80 back to the main page, and tfbbs.d2g.com is not being proxied again, and still working. Only thing I see. When I log on as a test user(that I sent email to), I see that the user has email, I go and open/read/reply. But when I go back to the main page, I still see the icon saying I have mail. might be related to the text/event-stream. But so far so good.


    Something about your Apache setup is altering the Content-Type response header when the client requests this file; it's meant to be "text/event-stream" but is instead being sent as "text/html". I have no real experience using Apache as a reverse proxy, so I can't say more than that.

    hmmm.. I wonder if I need to add a text/event-stream in the Apache config.. I will look around.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to echicken on Thu Apr 8 08:03:00 2021
    Something about your Apache setup is altering the Content-Type response header when the client requests this file; it's meant to be "text/event-stream" but is instead being sent as "text/html". I have no real experience using Apache as a reverse proxy, so I can't say more than that.

    for the content-type text/event-stream what would be the extension of the file be ? ssjs or xjs or htm or html ?
    I can add text/event-stream to Apache mime type and see if that makes a different, but just wondering what the file extension would be

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Thu Apr 8 17:11:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Thu Apr 08 2021 12:03:12

    for the content-type text/event-stream what would be the extension of the file be ? ssjs or xjs or htm or html ?
    I can add text/event-stream to Apache mime type and see if that makes a different, but just wondering what the file extension would be

    It sounds like you're looking at mapping every file with a certain extension to the text/event-stream content type, and that wouldn't be the right thing to do in this case.

    The file in question is events.ssjs, but you wouldn't want *every* SSJS file to be sent with Content-Type: text/event-stream, since most of them are not event streams.

    The ideal thing would be to find a way to tell Apache *not* to alter/replace the Content-Type response header that's already been set by the downstream server.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to JohnBWilloughby on Thu Apr 8 17:11:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: echicken to JohnBWilloughby on Thu Apr 08 2021 21:11:07

    The ideal thing would be to find a way to tell Apache *not* to alter/replace the Content-Type response header that's already been set by the downstream server.

    And I should add, that's *if* Apache is even doing that, which I'm not clear on yet.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Thu Apr 8 20:04:00 2021
    Well I was doing some reading, and something like
    ProxyPreserveHost On
    might help. I might try to add that one setting in the apache conf file see if it helps.

    And I fix one thing, and seems to break something else. Everything seems to work, except the Dark toggle is gone. I dont know if going back to the webv4 from the sbupd318 made it go away or it was something else. That one I am going to wait for the next update for that one.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to JohnBWilloughby on Fri Apr 9 11:47:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Fri Apr 09 2021 00:04:05

    Well I was doing some reading, and something like
    ProxyPreserveHost On
    might help. I might try to add that one setting in the apache conf file

    That is unlikely to help. As I understand it, that directive tells Apache to leave the request's Host header unmodified instead of replacing it with whatever the hostname of the server is that it's proxying to. This should have no impact on the Content-Type response header.

    Possible solutions I saw in a quick search:

    You may need to ensure that you have trailing slashes on the URLs in your ProxyPass and ProxyPassReverse directives.

    You could set DefaultType to None somewhere in your Apache config, but it sounds like this no longer works.

    You could add these to your config and see if it helps:

    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From JohnBWilloughby@VERT to echicken on Fri Apr 9 07:44:00 2021
    Re: Re: 3.17 to 3.18 upgrade
    By: JohnBWilloughby to echicken on Fri Apr 09 2021 00:04:05

    That is unlikely to help. As I understand it, that directive tells Apache to leave the request's Host header unmodified instead of replacing it with whatever the hostname of the server is that it's proxying to. This should have no impact on the Content-Type response header.

    Possible solutions I saw in a quick search:

    You may need to ensure that you have trailing slashes on the URLs in your ProxyPass and ProxyPassReverse directives.

    I have the trailing slashes on the URL's


    You could set DefaultType to None somewhere in your Apache config, but it sounds like this no longer works.

    You could add these to your config and see if it helps:

    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1


    I can try setting those on the proxy for tfbbs. See how it works.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From JohnBWilloughby@VERT to echicken on Fri Apr 9 08:23:00 2021
    You could add these to your config and see if it helps:

    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1


    I set these two, and restarted Apache, and that seem to break the Who's Online showing how is online. It would only Show the text Who's Online. and nothing else.

    When I remove those two. restarted Apache, then the Who's Online worked correclty.

    with the change you made to events.ssjs the other day seems to fix the issues I was having, and as I said the Dark switch is gone, and even setting it to dark mode does not get me dark mode, and not sure when it disappeared.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net