ISSUE: Trying to apply a patch and you see:
ColdBox controller does not exist as application.cbController
The coldbox controller does not exist in application scope. Most likely the application has not been initialized.
The Error Occurred in
C:\inetpub\wwwroot\coldbox\system\ioc\ColdboxFactory.cfc: line 50
48: <!--- Check App Config --->
49: <cfif not structKeyExists(application,coldboxAppKey)>
50: <cfthrow message="ColdBox controller does not exist as application.#variables.coldboxAppKey#" detail="The coldbox controller does not exist in application scope. Most likely the application has not been initialized.">
52: called from /Intranet/Application.cfc: line 862
The patch is not applying.
RESOLUTION: That error is related to the INTRANETROOT appsetting being incorrect. The most common cause is exporting a database and importing it with the software being installed in a different path than the original server. Restarting the app will rebuild the application state giving it a proper intranet root.
To restart the application, click on Admin and scroll to the bottom of the page. Click [restart] beside SQBOX to restart the application and clear any application cache.