• file.ini issues

    From kk4qbn@VERT/KK4QBN to All on Wednesday, January 29, 2025 13:42:47
    Hello Synchronauts


    Dunno how, but here sometime after the last pull and rebuild (in the last week) I lost most of mt file areas, all that was left was my main file areas. luckily I believe the file.1.ini was my last backup so I copied it back to file.ini.

    I don't know what caused this to happen, I've done nothing except the last pull, which I see some files was moved around, deleted, and added. but it does'nt appear that anything should have affected file.ini. and I've done nothing to change any of the file areas, or delete them.. so yeah.. thats a bit strange.

    Any Ideas what may have caused this??
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From Digital Man@VERT to kk4qbn on Wednesday, January 29, 2025 11:17:55
    Re: file.ini issues
    By: kk4qbn to All on Wed Jan 29 2025 01:42 pm

    Hello Synchronauts


    Dunno how, but here sometime after the last pull and rebuild (in the last week) I lost most of mt file areas, all that was left was my main file areas. luckily I believe the file.1.ini was my last backup so I copied it back to file.ini.

    I don't know what caused this to happen, I've done nothing except the last pull, which I see some files was moved around, deleted, and added. but it does'nt appear that anything should have affected file.ini. and I've done nothing to change any of the file areas, or delete them.. so yeah.. thats a bit strange.

    Any Ideas what may have caused this??

    Sounds like I may have broken something with commit f05b4c80a325a887.

    I'll experiment and try to repo (and obviously fix) ASAP. Sorry about that, glad we back up! :-)
    --
    digital man (rob)

    Breaking Bad quote #46:
    If I ever get anal polyps, at least I know what to name them. - Saul Goodman Norco, CA WX: 56.1øF, 65.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to kk4qbn on Wednesday, January 29, 2025 11:18:30
    Re: file.ini issues
    By: kk4qbn to All on Wed Jan 29 2025 01:42 pm

    areas. luckily I believe the file.1.ini was my last backup so I copied it back to file.ini.

    Usually file.0.ini is the most recent back up.
    --
    digital man (rob)

    Breaking Bad quote #12:
    [Walt] Looks like Keith Richards with a glass a warm milk! - Hank Schrader Norco, CA WX: 56.1øF, 65.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to kk4qbn on Wednesday, January 29, 2025 11:51:14
    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 11:17 am

    Re: file.ini issues
    By: kk4qbn to All on Wed Jan 29 2025 01:42 pm

    Hello Synchronauts


    Dunno how, but here sometime after the last pull and rebuild (in the last week) I lost most of mt file areas, all that was left was my main file areas. luckily I believe the file.1.ini was my last backup so I copied it back to file.ini.

    I don't know what caused this to happen, I've done nothing except the last pull, which I see some files was moved around, deleted, and added. but it does'nt appear that anything should have affected file.ini. and I've done nothing to change any of the file areas, or delete them.. so yeah.. thats a bit strange.

    Any Ideas what may have caused this??

    Sounds like I may have broken something with commit f05b4c80a325a887.

    I'll experiment and try to repo (and obviously fix) ASAP. Sorry about that, glad we back up! :-)

    I haven't been able to reproduce the problem described. Maybe try updating to the latest and see if you can still reproduce the issue? Also, detailed comparison/diff of your before/after file.ini file might be helpful if/when it occurs again.
    --
    digital man (rob)

    Steven Wright quote #34:
    If at first you don't succeed, skydiving is not for you.
    Norco, CA WX: 53.9øF, 65.0% humidity, 6 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From kk4qbn@VERT/KK4QBN to Digital Man on Wednesday, January 29, 2025 18:33:39
    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 11:51:14

    I haven't been able to reproduce the problem described. Maybe try updating to the latest and see if you can still reproduce the issue? Also, detailed comparison/diff of your before/after file.ini file might be helpful if/when it occurs again.

    I have a fresh build as of right after that message was posted, if I notice that it happens again I'll see if I can do some digging.. afaik I should have done nothing that would have deleted, changed that.. very strange. the only way I really noticed it is that I went from having close to 200,000 something files to 14 and a saw it when I was checking email from the website..

    Hopefully this wont happen again, I'll go look at file.0.ini and see what it looks like. check sizes, etc.

    Thanks
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From Digital Man@VERT to kk4qbn on Wednesday, January 29, 2025 16:51:42
    Re: file.ini issues
    By: kk4qbn to Digital Man on Wed Jan 29 2025 06:33 pm

    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 11:51:14

    I haven't been able to reproduce the problem described. Maybe try updating to the latest and see if you can still reproduce the issue? Also, detailed comparison/diff of your before/after file.ini file might be helpful if/when it occurs again.

    I have a fresh build as of right after that message was posted, if I notice that it happens again I'll see if I can do some digging.. afaik I should have done nothing that would have deleted, changed that.. very strange. the only way I really noticed it is that I went from having close to 200,000 something files to 14 and a saw it when I was checking email from the website..

    Hopefully this wont happen again, I'll go look at file.0.ini and see what it looks like. check sizes, etc.

    Yeah, I'm curious what the corrupted/bad/truncated file.ini file looks/looked like. The files are human readable, so you can use standard text tools like diff if you wish. If it was caused by a bug in SCFG, it would be triggered by making a change to any file options/areas and saving the changes.
    --
    digital man (rob)

    Sling Blade quote #14:
    Karl Childers: Some folks call it a sling blade, I call it a kaiser blade. Norco, CA WX: 56.9øF, 57.0% humidity, 9 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From kk4qbn@VERT/KK4QBN to Digital Man on Thursday, January 30, 2025 07:21:19
    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 16:51:42

    Yeah, I'm curious what the corrupted/bad/truncated file.ini file looks/looked like. The files are human readable, so you can use standard text tools like diff if you wish. If it was caused by a bug in SCFG, it would be triggered by making a change to any file options/areas and saving the changes.

    Thats what is strange is I have'nt made any changes to my file areas, in ages. I will though just to see if I can get it to happen again.

    Also I've noticed around the same time that my oneliners module has stopped working. when I try to run it, it says it doesnt exist. and it is sitting right where it's been located all the time in ../xtrn/oneliners I checked the xtrn.*.ini files and the last 4 or so are the same size so there has been no change to them.

    maybe these two issues have nothing to do with each other, I thought I might as well mention it though because the only changes I've made lately to my bbs has been keeping the build updated.
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From kk4qbn@VERT/KK4QBN to Digital Man on Thursday, January 30, 2025 07:46:27
    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 16:51:42

    Yeah, I'm curious what the corrupted/bad/truncated file.ini file looks/looked like. The files are human readable, so you can use standard text tools like diff if you wish. If it was caused by a bug in SCFG, it would be triggered by making a change to any file options/areas and saving

    I copied my file.ini over to file.bak, went into scfg and changed a file area name in my first file area, its hard for me to make heads or tails out of anything with diff, but the old file.bak filesize is 858674 and the new file.ini is 964001. dunno if that tells you anything but it seems like a fairly large difference for a 1 word change in the file area.

    But, I am not seeing the same issue I had so hopefully it was just a 1 off issue. sometimes shit just happens :-)
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From Digital Man@VERT to kk4qbn on Thursday, January 30, 2025 11:39:22
    Re: file.ini issues
    By: kk4qbn to Digital Man on Thu Jan 30 2025 07:46 am

    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 16:51:42

    Yeah, I'm curious what the corrupted/bad/truncated file.ini file looks/looked like. The files are human readable, so you can use standard text tools like diff if you wish. If it was caused by a bug in SCFG, it would be triggered by making a change to any file options/areas and saving

    I copied my file.ini over to file.bak, went into scfg and changed a file area name in my first file area, its hard for me to make heads or tails out of anything with diff, but the old file.bak filesize is 858674 and the new file.ini is 964001.

    Use a tool like diff to compare them?

    dunno if that tells you anything but it seems like a
    fairly large difference for a 1 word change in the file area.

    New fields have been added, so that's like all that is.

    But, I am not seeing the same issue I had so hopefully it was just a 1 off issue. sometimes shit just happens :-)

    File system issue maybe? Are you low on disk space?
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #63:
    POP3 = Post Office Protocol version 3
    Norco, CA WX: 53.4øF, 71.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to kk4qbn on Thursday, January 30, 2025 11:41:41
    Re: file.ini issues
    By: kk4qbn to Digital Man on Thu Jan 30 2025 07:21 am

    Re: file.ini issues
    By: Digital Man to kk4qbn on Wed Jan 29 2025 16:51:42

    Yeah, I'm curious what the corrupted/bad/truncated file.ini file looks/looked like. The files are human readable, so you can use standard text tools like diff if you wish. If it was caused by a bug in SCFG, it would be triggered by making a change to any file options/areas and saving the changes.

    Thats what is strange is I have'nt made any changes to my file areas, in ages. I will though just to see if I can get it to happen again.

    That is strange. Nothing writes to the file.ini (normally) except scfg.

    Also I've noticed around the same time that my oneliners module has stopped working. when I try to run it, it says it doesnt exist. and it is sitting right where it's been located all the time in ../xtrn/oneliners I checked the xtrn.*.ini files and the last 4 or so are the same size so there has been no change to them.

    Just cause they're the same size doesn't mean there was no change (e.g. changing a 0 to 1 doesn't change the file size) - so comparing with a tool such as 'diff' (or any other text file comparison tool) would be hepful.

    maybe these two issues have nothing to do with each other, I thought I might as well mention it though because the only changes I've made lately to my bbs has been keeping the build updated.

    Well lets look into the onliners module issue - how do you have it configured in SCFG? What's the error message exactly?
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #96:
    XPDEV = Cross-platform Development
    Norco, CA WX: 53.4øF, 71.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From kk4qbn@VERT/KK4QBN to Digital Man on Thursday, January 30, 2025 18:15:01
    Re: file.ini issues
    By: Digital Man to kk4qbn on Thu Jan 30 2025 11:39:22

    Use a tool like diff to compare them?

    When I learn to use it I definatly will :) It just spit a bunch of text onto the screen with no real context as to what it was. If the issue ever happens again I'll give it a try.

    File system issue maybe? Are you low on disk space?

    No. Plenty of disk space remaining. seen no read or write errors, I have a few times through last year get a "too many files open" error in synchronet and it would stop reading/writing etc. I've had to boost the open files a couple times. but that issue has'nt came up in a long time.
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From kk4qbn@VERT/KK4QBN to Digital Man on Thursday, January 30, 2025 18:26:52
    Re: file.ini issues
    By: Digital Man to kk4qbn on Thu Jan 30 2025 11:41:41

    Well lets look into the onliners module issue - how do you have it configured in SCFG? What's the error message exactly?

    ³Name oneliners
    ³Internal Code ONELINER
    ³Start-up Directory ../xtrn/oneliners/
    ³Command Line ?oneliners.js
    ³Clean-up Command Line
    ³Execution Cost None
    ³Access Requirements
    ³Execution Requirements REST NOT G
    ³Multiple Concurrent Users Yes
    ³I/O Method FOSSIL or UART
    ³Native Executable No
    ³Use Shell or New Context No
    ³Modify User Data No
    ³Execute on Event No
    ³Pause After Execution No
    ³Disable Local Display No
    ³BBS Drop File Type None

    ../xtrn/onliners/oneliners.js does exist

    this is the error:

    1/30 18:25:04 term Node 1 <kk4qbn> Oneliners error: Error: Unknown module: ONELINERS

    ??
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From kk4qbn@VERT/KK4QBN to Digital Man on Thursday, January 30, 2025 18:33:05
    Re: file.ini issues
    By: kk4qbn to Digital Man on Thu Jan 30 2025 18:26:52

    1/30 18:25:04 term Node 1 <kk4qbn>> Oneliners error: Error: Unknown module:
    ONELINERS

    So it appears maybe synchronet is loading the oneliners module and this error is actually happening in the module itself?
    ---
    Tim (kk4qbn)
    +o kk4qbn.synchro.net
    þ Synchronet þ KK4QBN BBS - kk4qbn.synchro.net - Chatsworth, GA USA
  • From Digital Man@VERT to kk4qbn on Thursday, January 30, 2025 22:12:33
    Re: file.ini issues
    By: kk4qbn to Digital Man on Thu Jan 30 2025 06:15 pm

    Re: file.ini issues
    By: Digital Man to kk4qbn on Thu Jan 30 2025 11:39:22

    Use a tool like diff to compare them?

    When I learn to use it I definatly will :) It just spit a bunch of text onto the screen with no real context as to what it was.

    Well there is actually meaning to it. If you shared the output, I could help explain it. Or you could use a more visual difftool like 'p4merge' that might be more clear to you what lines are changing.

    If the issue ever happens again I'll give it a try.

    Okay. Hopefully it's not a bug that bites others.

    File system issue maybe? Are you low on disk space?

    No. Plenty of disk space remaining. seen no read or write errors, I have a few times through last year get a "too many files open" error in synchronet and it would stop reading/writing etc. I've had to boost the open files a couple times. but that issue has'nt came up in a long time.

    That wouldn't explain an SCFG write issue though. <shrug>
    --
    digital man (rob)

    Rush quote #3:
    The men who hold high places must be the ones who start... Closer to the Heart Norco, CA WX: 47.2øF, 80.0% humidity, 3 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to kk4qbn on Thursday, January 30, 2025 22:19:06
    Re: file.ini issues
    By: kk4qbn to Digital Man on Thu Jan 30 2025 06:26 pm

    Re: file.ini issues
    By: Digital Man to kk4qbn on Thu Jan 30 2025 11:41:41

    Well lets look into the onliners module issue - how do you have it configured in SCFG? What's the error message exactly?

    ³Name oneliners
    ³Internal Code ONELINER
    ³Start-up Directory ../xtrn/oneliners/
    ³Command Line ?oneliners.js
    ³Clean-up Command Line
    ³Execution Cost None
    ³Access Requirements
    ³Execution Requirements REST NOT G
    ³Multiple Concurrent Users Yes
    ³I/O Method FOSSIL or UART
    ³Native Executable No
    ³Use Shell or New Context No
    ³Modify User Data No
    ³Execute on Event No
    ³Pause After Execution No
    ³Disable Local Display No
    ³BBS Drop File Type None

    That looks right.

    ../xtrn/onliners/oneliners.js does exist

    this is the error:

    1/30 18:25:04 term Node 1 <kk4qbn> Oneliners error: Error: Unknown module: ONELINERS

    ??

    That error is not suggesting that the oneliners.js file doesn't exist. I think that's a JSON service error (not a Synchronet error), so that suggests that your ctrl/json-service.ini file is missing the ONELINERS module.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #79:
    SSL = Secure Sockets Layer (precursor to TLS)
    Norco, CA WX: 47.1øF, 81.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net