v5.2.0 error running box commands from command line

If I try to start a server from the command line (NOT inside the box binary), I get this error now on Big Sur:

javax.script.ScriptException: lucee.runtime.exp.MissingIncludeException: Page /__commandbox_root/rob/.CommandBox/cfml/system/Bootstrap.cfm [/Users/rob/Sites/cfwt/macpnacdashboard/users/rob/.CommandBox/cfml/system/Bootstrap.cfm] not found
at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:1021)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
at 4sjtv0mxozkf.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:108)
at lucee.runtime.compiler.Renderer.script(Renderer.java:98)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:63)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:194)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:330)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:155)
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:580)
Caused by: lucee.runtime.exp.MissingIncludeException: Page /__commandbox_root/rob/.CommandBox/cfml/system/Bootstrap.cfm [/Users/rob/Sites/cfwt/macpnacdashboard/users/rob/.CommandBox/cfml/system/Bootstrap.cfm] not found
… 12 more
Cause:
lucee.runtime.exp.MissingIncludeException: Page /__commandbox_root/rob/.CommandBox/cfml/system/Bootstrap.cfm [/Users/rob/Sites/cfwt/macpnacdashboard/users/rob/.CommandBox/cfml/system/Bootstrap.cfm] not found
at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:1021)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
at 4sjtv0mxozkf.call(Unknown Source)
at lucee.runtime.compiler.Renderer.tag(Renderer.java:108)
at lucee.runtime.compiler.Renderer.script(Renderer.java:98)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:63)
at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:194)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:330)
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:155)
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:580)

WHat I can tell you is I have a directory called /Users/rob/Sites/cfwt/macpnacdashboard/ and one called /Users/rob/.CommandBox/cfml/ so is it some kind of error trying to combine those somewhere?

ANd if I go into the box binary and start the server, it works.

ahh yes, that’s a Long standing Lucee bug with resolving CF mappings when you start box in a directory that has a user folder and your commandbox home is also in a users folder and your on *nix. The only workaround is to start box in a different working dir.

I think it may be one of these. It’s been since 4.0.0 that Lucee started doing that.

https://luceeserver.atlassian.net/browse/LDEV-1863

https://luceeserver.atlassian.net/browse/LDEV-2893