<@U06V253M4> I am getting a weird error when tryin...
# box-products
r
@bdw429s I am getting a weird error when trying to start up a commandbox server using the official docker ortus container. This seems to only happens when the
BOX_INSTALL: 'true'
environment variables is true
Copy code
plutus_web | key [MULTICONTEXT] doesn't exist
plutus_web |
plutus_web |
plutus_web | /usr/local/lib/CommandBox/cfml/modules/commandbox-cfconfig/models/Util.cfc: line 70
plutus_web | 68:
plutus_web | 69:                                // Crappy workaround for CommandBox bug where this logic is being done on the fly, but not saved back into the serverInfo struct!
plutus_web | 70:                                if( serverInfo.multiContext && not serverInfo.webConfigDir contains '{web-root-directory}' && not serverInfo.webConfigDir contains '{web-context-hash}'  ) {
plutus_web | 71:                                        serverInfo.webConfigDir &= '-{web-context-hash}'
plutus_web | 72:                                }
plutus_web | called from /usr/local/lib/CommandBox/cfml/modules/commandbox-cfconfig/interceptors/ConfigLoader.cfc: line 398
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/wirebox/system/core/events/EventPool.cfc: line 118
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/wirebox/system/core/events/EventPool.cfc: line 96
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/wirebox/system/core/events/EventPoolManager.cfc: line 59
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/services/InterceptorService.cfc: line 57
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/services/ServerService.cfc: line 980
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/modules_app/server-commands/commands/server/start.cfc: line 173
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/services/CommandService.cfc: line 345
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/services/CommandService.cfc: line 158
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/Shell.cfc: line 768
plutus_web | called from /usr/local/lib/CommandBox/cfml/system/Bootstrap.cfm: line 119
b
@Ryan Albrecht You appear to be on an older version of CommandBox but a newer but not quite newest version of CFConfig
Updating either CommandBox or CFConfig the latest version should fix that
r
ok i will give that a go
b
The issue was CFConfig started using a new server info variable that older versions of CommandBox don't have and I missed defaulting it to always exist in one place.
r
Looks like I was using a old docker image. I pulled the latest image and that did the trick. Thanks!
b
Coolio 👍