Does someone know what this error msg means? I res...
# box-products
j
Does someone know what this error msg means? I restored a backup of my Ubuntu 18.04 server runing CommandBox 5.4.x - updating it with the downloaded version of 5.5.x (using
sudo apt-get install apt-transport-https commandbox
) it won't start anymore with the following error msg: (see thread)
Copy code
root@mdevelopment:~# box
BOOM GOES THE DYNAMITE!!
We're truly sorry, but something horrible has gone wrong when starting up CommandBox.
Here's what we know:.

Message:
The parameter [name] to function [get] is required but was not passed in.


Tag Context:
/root/.CommandBox/cfml/system/wirebox/system/ioc/Provider.cfc: line 101
called from /root/.CommandBox/cfml/modules/commandbox-dotenv/models/EnvironmentFileService.cfc: line 22
called from /root/.CommandBox/cfml/modules/commandbox-dotenv/interceptors/LoadEnvForShell.cfc: line 16
called from /root/.CommandBox/cfml/system/wirebox/system/core/events/EventPool.cfc: line 121
called from /root/.CommandBox/cfml/system/wirebox/system/core/events/EventPool.cfc: line 95
called from /root/.CommandBox/cfml/system/wirebox/system/core/events/EventPoolManager.cfc: line 59
called from /root/.CommandBox/cfml/system/services/InterceptorService.cfc: line 57
called from /root/.CommandBox/cfml/system/services/InterceptorService.cfc: line 61
called from /root/.CommandBox/cfml/system/Bootstrap.cfm: line 150

lucee.runtime.exp.ExpressionException: The parameter [name] to function [get] is required but was not passed in.
	at lucee.runtime.type.UDFImpl.defineArguments(UDFImpl.java:183)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:348)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1951)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:900)
	at lucee.runtime.functions.dynamicEvaluation.Invoke.call(Invoke.java:49)
	at system.ioc.provider_cfc$cf.udfCall(/wirebox/system/ioc/Provider.cfc:101)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
	at lucee.runtime.ComponentImpl.onMissingMethod(ComponentImpl.java:624)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:587)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1932)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at models.environmentfileservice_cfc$cf.udfCall(/commandbox-dotenv/models/EnvironmentFileService.cfc:22)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1932)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at modules.commandbox_dotenv495.interceptors.loadenvforshell_cfc$cf.udfCall(/commandbox/modules/commandbox-dotenv/interceptors/LoadEnvForShell.cfc:16)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1951)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:900)
	at lucee.runtime.functions.dynamicEvaluation.Invoke.call(Invoke.java:49)
	at system.core.events.eventpool_cfc$cf.udfCall(/wirebox/system/core/events/EventPool.cfc:121)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at system.core.events.eventpool_cfc$cf.udfCall(/wirebox/system/core/events/EventPool.cfc:95)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1932)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at system.core.events.eventpoolmanager_cfc$cf.udfCall1(/wirebox/system/core/events/EventPoolManager.cfc:59)
	at system.core.events.eventpoolmanager_cfc$cf.udfCall(/wirebox/system/core/events/EventPoolManager.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1932)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at system.services.interceptorservice_cfc$cf.udfCall1(/commandbox/system/services/InterceptorService.cfc:57)
	at system.services.interceptorservice_cfc$cf.udfCall(/commandbox/system/services/InterceptorService.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at system.services.interceptorservice_cfc$cf.udfCall1(/commandbox/system/services/InterceptorService.cfc:61)
	at system.services.interceptorservice_cfc$cf.udfCall(/commandbox/system/services/InterceptorService.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1932)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1762)
	at root._commandbox46.cfml.system.bootstrap_cfm$cf.call(/root/.CommandBox/cfml/system/Bootstrap.cfm:150)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1043)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:916)
	at 1iuo3bmtrdpd8.call(Unknown Source)
	at lucee.runtime.compiler.Renderer.tag(Renderer.java:107)
	at lucee.runtime.compiler.Renderer.script(Renderer.java:97)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:65)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:220)
	at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:328)
	at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:155)
	at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:580)
Edit: Seems to be an issue with the Ubuntu update recently rather... I now get the same issue when rebooting after a backup before upgrading commandbox, my bad.
b
@Jonas Eriksson looks like a really old version of dotenv
Just delete that module on disk and reinstall.