• Magicka TIC processing

    From dotslash@21:1/50 to All on Tue Feb 5 22:42:16 2019
    Hello All,

    I seem ot have an issue processing incoming TIC files from fsxNet. No
    doubt there is a misconfiguration on my end. I have a single "Misc"
    filebase set up that is not associated with fsxNet, it's merely a local filebase. I can manually put files in this filebase and make it appear in
    the BBS. The filesgen.ini file for this filebase looks like this:

    ---start---
    [main]
    Visible Sec Level = 10
    Visible on Web = true

    [Misc]
    Database = files_misc
    Download Sec Level = 10
    Upload Sec Level = 10
    Upload Path = /home/bbs/files/files/misc
    ---end---


    My binkd.conf file contains this section for incoming FTN stuff from
    fsxNet:

    [snip]
    inbound /home/bbs/MagickaBBS-files/ftn/in_sec
    inbound-nonsecure /home/bbs/MagickaBBS-files/ftn/in
    temp-inbound /home/bbs/MagickaBBS-files/ftn/in_temp
    [snip]

    Upon receiving TIC files, binkd fires off my ticproc script like this:

    exec "/home/bbs/MagickaBBS-files/ftn/ticproc.sh" *.tic *.TIC

    The ticproc.sh script itself:

    ---start---
    #!/bin/bash
    /home/bbs/MagickaBBS-files/utils/ticproc/ticproc /home/bbs/MagickaBBS-files/ftn/ticproc.ini ---end---

    The contents of my ticproc.ini file:

    ---start---
    [main]
    Ignore Password = false
    Ignore Case = false
    Inbound Directory = /home/bbs/MagickaBBS-files/ftn/in_sec
    Bad Files Directory = /home/bbs/MagickaBBS-files/ftn/tic_bad

    [FILES_MISC]
    Database = /home/bbs/files/files_misc.sq3
    File Path = /home/bbs/files/files/misc
    Password = <REDACTED>
    ---end---

    I can see files come into the "in_sec" folder, so when Avon hatches new
    files it seems to find it to me intact. The problem seems to be that the
    files never seem to be tossed from "in_sec" into the [FILES_MISC]
    filebase. Can somebody please let me know what it is that I'm doing wrong
    (or don't do)? There does not seem to be a permissions problem,
    everything belongs to the "bbs:bbs" user:group, leaving me a tad baffled.

    Any ideas heartily welcomed! :-)

    Cheers,
    Jan Henkins


    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From apam@21:1/125 to dotslash on Wed Feb 6 09:13:05 2019
    Database = /home/bbs/files/files_misc.sq3
    File Path = /home/bbs/files/files/misc
    Password = <REDACTED>

    Is FILES_MISC the name of the file echo in the tic file?

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From dotslash@21:1/50 to apam on Wed Feb 6 01:04:42 2019
    Hello Andrew,


    [FILES_MISC]
    Database = /home/bbs/files/files_misc.sq3
    File Path = /home/bbs/files/files/misc
    Password = <REDACTED>

    Is FILES_MISC the name of the file echo in the tic file?

    No, it is not.

    Doing some gratitious grepping:

    bbs@magickabbs:~/files/ftn/in_sec$ grep "Area" *.tic
    fsxinf0.tic:Area fsx_info
    fsxinf0.tic:Areadesc Weekly Infopacks (fsxNet, etc.)
    fsxinf1.tic:Area fsx_info
    fsxinf1.tic:Areadesc Weekly Infopacks (fsxNet, etc.)
    fsxinf2.tic:Area fsx_info
    fsxinf2.tic:Areadesc Weekly Infopacks (fsxNet, etc.)
    fsxinfo.tic:Area fsx_info
    fsxinfo.tic:Areadesc Weekly Infopacks (fsxNet, etc.)
    FSXNE0.tic:Area FSX_NODE
    FSXNE1.tic:Area FSX_NODE
    FSXNE2.tic:Area FSX_NODE
    FSXNET.tic:Area FSX_NODE

    So, jumping to conclusions here - should I create these two areas?

    Cheers,
    Jan Henkins

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From toofargone@21:4/132 to dotslash on Wed Feb 6 13:36:30 2019
    I seem ot have an issue processing incoming TIC files from fsxNet. No

    File tossing is only done on file areas carried by the network.

    You don't include local file areas in the TIC process.

    These are the file areas carried by fsxnet;

    fsx_node
    fsx_info
    fsx_myst
    fsx_mutl
    fsx_soft
    fsx_door
    fsx_utls
    fsx_arts
    fsx_text

    All local file areas are kept in the local files .ini specified in the
    bbs.ini file and are kept out of any tic processing. You can upload as
    much as you like into the local file areas and they will just appear
    without having to be processed by the tic utility.

    You will need to create the files directory and the files database
    directory as well. I have mine set up like;

    /extdrive/MagickaBBS/files/fsxnet/fsx_info/ /extdrive/MatickaBBS/files/fsxnet/fsx_info/db/

    Hope this helps.

    toofargone .:[fusion]:. telnet.fusionbbs.online

    --- MagickaBBS v0.12alpha (Linux/armv7l)
    * Origin: Fusion BBS (21:4/132)
  • From dotslash@21:1/50 to toofargone on Wed Feb 6 10:18:42 2019
    Hello,

    File tossing is only done on file areas carried by the network.

    You don't include local file areas in the TIC process.

    These are the file areas carried by fsxnet;

    fsx_node fsx_info fsx_myst fsx_mutl fsx_soft fsx_door fsx_utls
    fsx_arts fsx_text

    Brilliant, thanks for this info! :-) I had an inkling that this was the
    case, but didn't know where to start. This will give me something to chew
    on. I will set these areas up, and see what happens when Avon or somebody
    else hatch out new files.

    Cheers!
    Jan Henkins


    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From toofargone@21:4/132 to dotslash on Wed Feb 6 22:14:48 2019
    Brilliant, thanks for this info! :-) I had an inkling that this was the

    Extra info for local files. You'll need to approve the file uploads
    before they become visable to users.

    you'll need to run;

    utils/filecenter/filecenter -c config/bbs.ini

    The util is pretty easy just select the local file area(s) you've created
    then go in and toggle approval for each of the files.

    Hope this helps.

    toofargone .:[fusion]:. fusionbbs.online tel:23 ssh:22

    --- MagickaBBS v0.12alpha (Linux/armv7l)
    * Origin: Fusion BBS (21:4/132)
  • From dotslash@21:1/50 to toofargone on Wed Feb 6 16:23:18 2019
    Hello!

    Extra info for local files. You'll need to approve the file uploads
    before they become visable to users.

    you'll need to run;

    utils/filecenter/filecenter -c config/bbs.ini

    The util is pretty easy just select the local file area(s) you've
    created then go in and toggle approval for each of the files.

    Yes thanks, I encountered that utility already. There is a massupload
    Perl script too, which is what I used to test with.

    I have to say, Magicka is really growing on me, it's a great little BBS.

    Cheers,
    Jan Henkins

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From toofargone@21:4/132 to dotslash on Thu Feb 7 08:20:32 2019
    I have to say, Magicka is really growing on me, it's a great little BBS.

    I like it, it's got everything you need and it's simple to work with. As
    long as you don't have fat fingers like me and muck up all your config
    files :) Plus the author doesn't seem to mind answering stupid questions
    from stupid users :)

    toofargone .:[fusion]:. fusionbbs.online tel:23 ssh:22

    --- MagickaBBS v0.12alpha (Linux/armv7l)
    * Origin: Fusion BBS (21:4/132)
  • From dotslash@21:1/50 to toofargone on Thu Feb 7 10:43:24 2019
    I like it, it's got everything you need and it's simple to work with.
    As long as you don't have fat fingers like me and muck up all your
    config files :) Plus the author doesn't seem to mind answering stupid questions from stupid users :)

    Andrew is a great chap. We are lucky to have the likes of him and g00r00
    in the hobby, it broadens the ecosystem. What I also like is other
    small(ish) systems that popped up in recent years, like NuSkooler's
    Enigma BBS for example. I'm in heaven, having all these shiny toys to
    play with! :-)

    Cheers,
    Jan Henkins

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From dotslash@21:1/50 to toofargone on Thu Feb 7 22:25:20 2019
    Hello there,

    I have fooled around with my TIC setup, and followed the basic idea
    below.

    These are the file areas carried by fsxnet;

    fsx_node fsx_info fsx_myst fsx_mutl fsx_soft fsx_door fsx_utls
    fsx_arts fsx_text

    All local file areas are kept in the local files .ini specified in
    the bbs.ini file and are kept out of any tic processing. You can
    upload as much as you like into the local file areas and they will
    just appear without having to be processed by the tic utility.

    You will need to create the files directory and the files database directory as well. I have mine set up like;

    /extdrive/MagickaBBS/files/fsxnet/fsx_info/ /extdrive/MatickaBBS/files/fsxnet/fsx_info/db/

    Mine is subtly different (different paths), but looks kinda like this.
    When I run the ticproc utility, files now get tossed into the new
    directory scruture I have created. The database files are also in there,
    and when I look at them with sqlite3, I can do basic selects and see the
    data in them.

    Next hurdle: This setup does not seem to work. Magicka itself cannot list
    the files in the two newly filled directories, and the web server gives
    me a "403 Forbidden" message. Can somebody please help me debug this?

    Cheerio,
    Jan Henkins

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From dotslash@21:1/50 to dotslash on Fri Feb 8 13:07:41 2019
    Hello,

    I *think* that I might have a handle on it after a fashion. The "403
    Forbidden" errors are due to the sqlite file not being where Magicka
    expects it to be. Therefore I had to ditch the idea to have a separate DB folder, and allow Magicka to create the needed .sq3 files in the BBS root folder. This is no doubt due to my lack of logic in setting up the paths
    in my bbs.ini file.

    So, while understanding is kind-of dawning, I still have to work out why
    my paths are so broken.

    Cheerio,
    Jan Henkins



    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: UnderZaNet BBS, ssh://bbs.under.za.net:2024 (@8)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From apam@21:1/50 to dotslash on Sat Feb 9 15:08:09 2019
    So, while understanding is kind-of dawning, I still have to work out
    why my paths are so broken.

    If you want to email me your config files, I'd be happy to take a look at
    it.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    + Origin: The Fat Sandwich - sandwich.hopto.org:2023 (@2)
    * Origin: FTN-MNET Gateway (21:1/50)