Charles Robertson
11/09/2022, 1:43 PMbox install commandbox-cfconfig
When I think the correct version was already installed.
Essentially, I think I overwrote the correct module.Charles Robertson
11/09/2022, 1:51 PMCommandBox> recipe lucee.boxr
cd C:\domains\<http://lucee.com|lucee.com>\wwwroot
C:\domains\<http://lucee.com|lucee.com>\wwwroot\
server set web.http.port=8080
Set web.http.port = 8080
server show web.http.port
8080
server start cfengine=lucee@5.3.9+166
Error executing command [server start cfengine=lucee@5.3.9+166], exiting recipe.
|------------------------------
× | Starting Server
|------------------------------
| Adding host 'lucee.local' to your hosts file!
| Can't write to hosts file. Did you remember to start CommandBox with admin privileges?
| WAR/zip archive already installed.
|------------------------------
| √ | Setting Server Profile to [development]
| × | Loading CFConfig into server
| | > key [MULTICONTEXT] doesn't exist
| |-------------------------------------------
| | Config transferred from C:\domains\<http://lucee.com|lucee.com>\wwwroot\.cfconfig.json!
| |-------------------------------------------
ERROR (5.2.1+00295)
key [MULTICONTEXT] doesn't exist
\modules\commandbox-cfconfig\models\Util.cfc: line 70
68:
69: // Crappy workaround for CommandBox bug where this logic is being done on the fly, but not saved back into the serverInfo struct!
70: if( serverInfo.multiContext && not serverInfo.webConfigDir contains '{web-root-directory}' && not serverInfo.webConfigDir contains '{web-context-hash}' ) {
71: serverInfo.webConfigDir &= '-{web-context-hash}'
72: }
called from \modules\commandbox-cfconfig\interceptors\ConfigLoader.cfc: line 398
called from \system\wirebox\system\core\events\EventPool.cfc: line 118
called from \system\wirebox\system\core\events\EventPool.cfc: line 96
called from \system\wirebox\system\core\events\EventPoolManager.cfc: line 59
called from \system\services\InterceptorService.cfc: line 57
called from \system\services\ServerService.cfc: line 1015
called from \system\modules_app\server-commands\commands\server\start.cfc: line 173
called from \system\services\CommandService.cfc: line 345
called from \system\services\CommandService.cfc: line 139
called from \system\Shell.cfc: line 773
called from \system\BaseCommand.cfc: line 132
called from \system\modules_app\system-commands\commands\recipe.cfc: line 117
called from \system\services\CommandService.cfc: line 345
called from \system\services\CommandService.cfc: line 139
called from \system\Shell.cfc: line 773
called from \system\Shell.cfc: line 593
called from \system\Bootstrap.cfm: line 154
To enable full stack trace, run config set verboseErrors=true
Does anyone know the correct version of:
commandbox-cfconfig
For:
ColdBox V6.2.2+1396
pothys-mitrahsoft
11/09/2022, 2:00 PM.cfconfig.json
?pothys-mitrahsoft
11/09/2022, 2:01 PMpothys-mitrahsoft
11/09/2022, 2:02 PMCharles Robertson
11/09/2022, 2:13 PM"requestTimeoutEnabled":true,
"whitespaceManagement":"white-space-pref",
"requestTimeout":"0,0,5,0",
"cacheDefaultObject":"coldbox",
"caches":{
"coldbox":{
"storage":"true",
"type":"RAM",
"custom":{
"timeToIdleSeconds":"1800",
"timeToLiveSeconds":"3600"
},
"class":"lucee.runtime.cache.ram.RamCache",
"readOnly":"false"
}
},
"datasources" : {
"${DB_DATABASE}":{
"host":"${DB_HOST}",
"dbdriver":"${DB_DRIVER}",
"database":"${DB_DATABASE}",
"dsn":"jdbc:mysql://{host}:{port}/{database}",
"custom":"useUnicode=true&characterEncoding=UTF-8&useLegacyDatetimeCode=true&autoReconnect=true",
"port":"${DB_PORT}",
"class":"${DB_CLASS}",
"username":"${DB_USER}",
"password":"${DB_PASSWORD}",
"connectionLimit":"100",
"connectionTimeout":"1"
}
}
}
Charles Robertson
11/09/2022, 2:14 PMbox install commandbox-cfconfig
Charles Robertson
11/09/2022, 2:15 PMcommandbox-cfconfig
module?pothys-mitrahsoft
11/09/2022, 2:21 PMpothys-mitrahsoft
11/09/2022, 2:21 PMCharles Robertson
11/09/2022, 2:24 PMenv
in the Coldbox website route and then add the following:
BOX_INSTALL= false
Charles Robertson
11/09/2022, 2:25 PMpothys-mitrahsoft
11/09/2022, 2:26 PMpothys-mitrahsoft
11/09/2022, 2:27 PMCharles Robertson
11/09/2022, 2:27 PMCharles Robertson
11/09/2022, 2:28 PMCharles Robertson
11/09/2022, 2:28 PMpothys-mitrahsoft
11/09/2022, 2:29 PMbox-products
bdw429s
11/09/2022, 3:00 PMbdw429s
11/09/2022, 3:01 PMinstall commandbox-cfconfig
should install the latest versionbdw429s
11/09/2022, 3:01 PMbdw429s
11/09/2022, 3:01 PMlist --system
bdw429s
11/09/2022, 3:03 PMbdw429s
11/09/2022, 3:04 PMbdw429s
11/09/2022, 3:05 PMv1.10.31
Charles Robertson
11/09/2022, 3:39 PMCommandBox> cd "C:\Users\Charles Robertson\.CommandBox\cfml\modules\commandbox-cfconfig"
C:\Users\Charles Robertson\.CommandBox\cfml\modules\commandbox-cfconfig\
CommandBox:commandbox-cfconfig> list --system
Dependency Hierarchy for (1.0.0)
├─┬ commandbox-cfconfig (1.10.3)
│ └─┬ cfconfig-services (1.18.4)
│ ├── lucee-password-util (1.0.3)
│ ├── coldbox ()
│ ├── testbox ()
│ ├─┬ JSONPrettyPrint (1.4.1)
│ │ ├── coldbox ()
│ │ └── testbox ()
│ ├─┬ adobe-password-util (1.0.8)
│ │ └── propertyFile (1.3.2)
│ ├─┬ semver (1.2.6)
│ │ └── testbox ()
│ └── propertyFile (1.3.2)
└── commandbox-hostupdater (1.8.0)
Charles Robertson
11/09/2022, 3:40 PMbdw429s
11/09/2022, 3:43 PMbdw429s
11/09/2022, 3:44 PMbox.exe
and replace it. It will upgrade on first run.Charles Robertson
11/09/2022, 3:48 PMupgrade —latest
Or is that not as good as your suggestion?
I know your going to give me hell for this question 😳Rodney
11/09/2022, 3:49 PMbdw429s
11/09/2022, 3:49 PMbdw429s
11/09/2022, 3:50 PMbdw429s
11/09/2022, 3:50 PMupgrade
command much more usefulCharles Robertson
11/09/2022, 4:29 PM.CommandBox
folder, before I ran the latest box.exe
file for the first time.
Thanks for all you help.
Much appreciated...🙏