dougcain
03/22/2022, 3:50 PMLeon Miller-Out
03/22/2022, 4:52 PMcommandbox-fusionreactor
(Brad added arch detection) and in the libs that are downloaded by the fusionreactor
forgebox package.Leon Miller-Out
03/22/2022, 4:53 PMcommandbox-fusionreactor
(4.1.1) and it should workLeon Miller-Out
03/22/2022, 4:55 PMLeon Miller-Out
03/22/2022, 4:55 PMRUN box install commandbox-fusionreactor
Leon Miller-Out
03/22/2022, 4:55 PMdougcain
03/22/2022, 5:02 PMbdw429s
03/22/2022, 5:43 PMbdw429s
03/22/2022, 5:43 PMbdw429s
03/22/2022, 5:43 PMbdw429s
03/22/2022, 5:44 PMLinux detected for debug libs.
or
Linux ARM detected for debug libs
dougcain
03/22/2022, 5:55 PM| ******************************************
| * CommandBox FusionReactor Module Loaded *
| ******************************************
| Your FusionReactor version [8.7.7] is already the latest, skipping ins
| tallation.
| Pin an exact FusionReactor version to skip this Forgebox check.
| FusionReactor debug libs added.
| Linux detected for debug libs.bdw429s
03/22/2022, 5:56 PMbdw429s
03/22/2022, 5:56 PMbdw429s
03/22/2022, 5:57 PMenv show os.arch
and tell me what it outputsbdw429s
03/22/2022, 5:57 PMarm
or aarch
in itdougcain
03/22/2022, 5:57 PMdougcain
03/22/2022, 5:58 PMbdw429s
03/22/2022, 5:58 PMdougcain
03/22/2022, 6:02 PMCommandBox> *env show* os.arch
aarch64bdw429s
03/22/2022, 6:04 PMbdw429s
03/22/2022, 6:04 PMbdw429s
03/22/2022, 6:04 PMserver set fusionreactor.debugEnable=false
bdw429s
03/22/2022, 6:05 PMbdw429s
03/22/2022, 6:05 PMif( systemSettings.getSystemSetting( 'os.arch', '' ).findNoCase( 'arm' ) || systemSettings.getSystemSetting( 'os.arch', '' ).findNoCase( 'aarch' ) ) {
if( fileExists( ARMDebuggerLibPath ) ) {
logDebug( 'Linux ARM detected for debug libs.' );
debugLib = 'libfrjvmti_aarch64.so';
} else {
logDebug( 'Linux ARM detected, but no lib available. Disabling FR debugger.' );
}
} else {
logDebug( 'Linux detected for debug libs.' );
debugLib = 'libfrjvmti_x64.so';
}
If you're on the latest version of the module, you have to be hitting one of those code pathsdougcain
03/22/2022, 6:06 PMbdw429s
03/22/2022, 6:07 PM.CommandBox/cfml/modules/commandbox-fusionreactor/ModuleConfig.cfc
inside the containerbdw429s
03/22/2022, 6:07 PMLinux detected for debug libs.
in the console, that means systemSettings.getSystemSetting( 'os.arch', '' ).findNoCase( 'aarch' )
is returning falsedougcain
03/22/2022, 6:08 PMdougcain
03/22/2022, 6:11 PM| Pinned FusionReactor version [8.7.7] is already installed, skipping in
| stallation.
| FusionReactor debug libs added.
| Linux detected for debug libs.dougcain
03/22/2022, 6:12 PMbdw429s
03/22/2022, 6:14 PMbdw429s
03/22/2022, 6:15 PMsystemSettings.getSystemSetting( 'os.arch', '' )
when the server starts and try to figure out why it's not recognizing the CPU as armdougcain
03/22/2022, 6:29 PMdougcain
03/22/2022, 8:21 PMbdw429s
03/22/2022, 8:21 PMbdw429s
03/22/2022, 8:21 PMbdw429s
03/22/2022, 8:22 PMdougcain
03/22/2022, 8:22 PMbdw429s
03/22/2022, 8:22 PMlist --system
bdw429s
03/22/2022, 8:23 PM--verbose
output of that install command?dougcain
03/22/2022, 8:23 PMbdw429s
03/22/2022, 8:23 PMdougcain
03/22/2022, 8:23 PMbdw429s
03/22/2022, 8:26 PMbox install commandbox-fusionreactor@4.1.1 --verbose
āļø What is the output of that command?bdw429s
03/22/2022, 8:26 PMdougcain
03/22/2022, 8:28 PMCommandBox> box install commandbox-fusionreactor@4.1.1 --verbose
Removing extra text [box ] from start of command. You don't need that here.
ā | Installing package [forgebox:commandbox-fusionreactor@4.1.1]
|---------------------------------------------------------------------------
| Package found in local artifacts!
| Decompressing...
| Shell will be reloaded after installation.
| /usr/local/lib/CommandBox/cfml/modules/commandbox-fusionreactor//box.json updated with dependency.
| Installing to: /usr/local/lib/CommandBox/cfml/modules/commandbox-fusionreactor//modules/commandbox-fusionreactor
| -> 14 File(s) Installed
| -> 0 File(s) ignored
| Eureka, 'commandbox-fusionreactor@4.1.1' has been installed!
|---------------------------------------------------------------------------dougcain
03/22/2022, 8:28 PMlist --system
Dependency Hierarchy for CommandBox System (1.0.0)
āā⬠commandbox-cfconfig (1.6.3)
ā āā⬠cfconfig-services (1.14.0)
ā āāā lucee-password-util (1.0.3)
ā āāā coldbox ()
ā āāā testbox ()
ā āā⬠JSONPrettyPrint (1.4.1)
ā ā āāā coldbox ()
ā ā āāā testbox ()
ā āā⬠adobe-password-util (1.0.8)
ā ā āāā propertyFile (1.2.0)
ā āā⬠semver (1.2.5)
ā ā āāā testbox ()
ā āāā propertyFile (1.2.0)
āā⬠commandbox-fusionreactor (4.0.9)
ā āāā commandbox-fusionreactor (4.1.1)
āā⬠commandbox-dotenv (2.1.1)
āāā propertyFile (1.2.0)
bdw429s
03/22/2022, 8:29 PMdougcain
03/22/2022, 8:29 PMbdw429s
03/22/2022, 8:29 PMbdw429s
03/22/2022, 8:29 PMdougcain
03/22/2022, 8:29 PMbdw429s
03/22/2022, 8:29 PMdougcain
03/22/2022, 8:29 PMbdw429s
03/22/2022, 8:29 PMbdw429s
03/22/2022, 8:30 PMpwd
dougcain
03/22/2022, 8:30 PMbdw429s
03/22/2022, 8:31 PMdougcain
03/22/2022, 8:31 PM/usr/local/lib/CommandBox/cfml/modules/commandbox-fusionreactor/
bdw429s
03/22/2022, 8:31 PMdougcain
03/22/2022, 8:31 PMbdw429s
03/22/2022, 8:31 PMbdw429s
03/22/2022, 8:31 PMdougcain
03/22/2022, 8:32 PMbdw429s
03/22/2022, 8:32 PMShell will be reloaded after installation.
bdw429s
03/22/2022, 8:32 PMbdw429s
03/22/2022, 8:32 PMbdw429s
03/22/2022, 8:33 PM/app
or something, it would work as expecteddougcain
03/22/2022, 8:33 PMbdw429s
03/22/2022, 8:33 PMbdw429s
03/22/2022, 8:34 PM// CommandBox Modules
} else if( packageType == 'commandbox-modules' ) {
var commandBoxCFMLHome = fileSystemUtil.normalizeSlashes( expandPath( '/commandbox' ) );
arguments.packagePathRequestingInstallation = fileSystemUtil.normalizeSlashes( arguments.packagePathRequestingInstallation );
// If we're already in the CommandBox (a submodule of a commandbox module, most likely)
if( arguments.packagePathRequestingInstallation contains commandBoxCFMLHome ) {
// Then just nest as normal.
installDirectory = arguments.packagePathRequestingInstallation & '/modules';
} else {
// Override the install directories to the CommandBox CFML root
arguments.currentWorkingDirectory = commandBoxCFMLHome;
arguments.packagePathRequestingInstallation = commandBoxCFMLHome;
installDirectory = expandPath( '/commandbox/modules' );
}
bdw429s
03/22/2022, 8:34 PMbdw429s
03/22/2022, 8:35 PMbdw429s
03/22/2022, 8:35 PMdougcain
03/22/2022, 8:36 PMdougcain
03/22/2022, 8:36 PMbdw429s
03/22/2022, 8:37 PMbdw429s
03/22/2022, 8:40 PMLeon Miller-Out
03/22/2022, 9:16 PMdocker-compose build
would do it, but I just learned that I need to run docker-compose down
to really remove the current version of my containers.dougcain
03/23/2022, 10:31 AM