• Updates fail when SBBSCTRL directory is a symlink

    From Michael J. Ryan@1:103/705 to GitLab issue in main/sbbs on Sun Mar 26 14:18:04 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/539

    /sbbs/exec (hard directory)/sbbs/ctrl -> symlink to /other/ctrlSBBSCTRL=/sbbs/ctrlWhen trying to run the update js script, it complains that it cannot find ../exec/SOMEFILE----I suspect that it's either following the symlink when it changes directory, or the JS engine for the working directory is using the symlink'd directory's path, not SBBSCTRL. In either case, updates completely fail trying to move from 3.19 to 3.20.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sun Mar 26 16:57:40 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/539#note_3397

    Things to check: your configured "exec_dir" should be auto-expanded to a full/real path when jsexec is run. You can confirm this by executing `jsexec -n '-rprint(system.exec_dir)'`:```jsexec -n '-rprint(system.exec_dir)'/sbbs/exec/```There are no references to "../exec" in exec/update.js, just `system.exec_dir`.Also, you can prevent jsexec from changing directories with the '-C' option. Did you try that?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)