• jsexec fails unless node1 directory exists

    From Michael J. Ryan@1:103/705 to GitLab note in main/sbbs on Thursday, February 04, 2021 05:41:46
    https://gitlab.synchro.net/main/sbbs/-/issues/214#note_1460

    ```synchronet-docker on  master✗ ./sbbs-run bashroot@1e23e8f4634c:/sbbs/ctrl# cd ../exec/root@1e23e8f4634c:/sbbs/exec# echo "writeln(new Date().toString())" > test.jsroot@1e23e8f4634c:/sbbs/exec# jsexec test.jsJSexec v3.18c-Linux (rev 1.217) - Execute Synchronet JavaScript ModuleCompiled Jan 26 2021 18:24:26 with GCC 6.3.0Loading configuration files from /sbbs/ctrl!ERROR loading configuration files: 2 (No such file or directory) opening /sbbs/node1/node.cnfReturning error code: 1```I have an sbbs-init script that runs to create the node directories and symlink to the /sbbs/node# directories that runs before any services, but my sbbs-run just creates a new container, and runs whatever you type, with the volumes mounted, but doesn't expressly init... at this point, there's no `/sbbs/node1` directory.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thursday, February 04, 2021 10:55:44
    https://gitlab.synchro.net/main/sbbs/-/issues/214#note_1461

    BTW, with the new `jsexec -r` syntax, you don't need to create that test.js temp file to be executed. Just pass the string on the command-line.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael J. Ryan@1:103/705 to GitLab note in main/sbbs on Saturday, February 13, 2021 17:48:39
    https://gitlab.synchro.net/main/sbbs/-/issues/214#note_1592

    @rswindell thanks, was part of why I asked for it... updated my init script accordingly, but still errors if there's no /sbbs/node1 directory present (not sure about other nodes).
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Saturday, February 13, 2021 18:41:53
    close https://gitlab.synchro.net/main/sbbs/-/issues/214
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)