ryan
03/28/2022, 1:37 PMbox
startups have been showing the following. Is this of any concern?
Ryan@Ryan-Y70 MINGW64 ~
$ box
The module (commandbox-cfformat) cannot be loaded as it does not have a ModuleConfig.cfc in its root. Path Checked: F:\code\.CommandBox\cfml\modules/commandbox-cfformat
I have checked the directory and confirmed that the ModuleConfig.cfc file is missing. Do I need to somehow pull this again in some way?
This is the latest version.mithlond
03/28/2022, 4:41 PMromanstr
03/29/2022, 11:36 AMbockensm
03/29/2022, 8:23 PMlogbox.system.logging.appenders.FileAppender
and wish to have non-alphanumeric characters in the file name. However, FileAppender
strips these out as part of its init method. Can a new function be added to that component to do the sanitization so that my extending component can override the default behavior? Alternately, allowing characters like ".", "-", and "_" feel like a good idea to me.bockensm
03/29/2022, 8:24 PMFileAppender
- the initLogLocation
method writes a default first line that's hardcoded but doesn't allow me to have a different first line depending on the layout object I pass. Is there a good way to specify which headings (or none) I want to use?ryan
03/29/2022, 8:51 PM--system
flag. Not implying the --system
flag is the culprit.. just explaining what I have attempted, thus far. Particularly, I am viewing that system module cfmigrations is at v2.0.10 and upgradeable to 3.0.6.Dean
03/29/2022, 10:05 PMcfconfig
doesn't seem to export the Lucee REST mappings...am I missing something or is this just not available?Kannan
03/30/2022, 3:51 PMryan
03/30/2022, 6:21 PMinvalid component definition, can't find component [cbsecurity.interceptors.Security]
F:\code\web\sites\api\coldbox\system\core\util\Util.cfc: line 413
411: arguments.md = (
412: isObject( arguments.component ) ? getMetadata( arguments.component ) : getComponentMetadata(
413: arguments.component
414: )
415: );
called from F:\code\web\sites\api\coldbox\system\ioc\config\Mapping.cfc: line 521
I have fwreinited coldbox multiple times. I verified that the cbsecurity.interceptors.Security.cfc exists in the cbsecurity module. Is there something I might be missing somewhere?dick
03/31/2022, 3:38 PMpluck()
and what can I replace it with?Peter Amiri
03/31/2022, 4:37 PMryan
03/31/2022, 6:08 PMserver set web.rewrites.config=htdocs/.htaccess
dick
04/01/2022, 12:52 PMcbsecurity
to authenticate against an OAuth service like Microsoft Azure Active Directory?elpete
04/01/2022, 5:04 PMJim Priest
04/04/2022, 2:29 PMTask Runners or CLI automations in CommandBox light will also not be able to use things like JDBC drivers unless you install the extensions.
Extensions can be installed by placing them in the CLI's server context deploy folder and waiting a minute.
David Rogers
04/04/2022, 3:57 PMfunction relation(required guid key) {
return hasMany(...).whereSomeKey(key);
}
i'm trying to eager load it, but wondering if I can pass the key argument?
like
instance.with("relation") // can't pass key here
instance.with({relation: (q) => q.whereSomeKeyAlreadyRanHere_Ithink()}) // ?
Mark S.
04/04/2022, 6:52 PMSlackbot
04/06/2022, 1:48 PMMark S.
04/06/2022, 2:05 PMryan
04/06/2022, 2:15 PM/lucee/admin/server.cfm
I see the instructions, but it was so nice just typing in the commandbox password. My feeling is that something went awry.
To add, I ran a box server forget
on this server to start it from scratch because I noticed there were two instances of the same server with the same server name. I suspect this may have happened after changing the web root directory possibly in the server.json, but not 100% on that. Therefore, I removed both of the servers by having to run box server forget
twice.
When running box start
, everything installed, but now I am noticing this password issue.
No Password set yet!
For security reasons it is no longer possible to set the inital password here directly.
You will need to configure a password before you can access the Server Administrator.
create a file with name password.txt containing your new password under the root Lucee server directory ( /lucee-server/context/password.txt ).
click "import file", Lucee will then read and configure your new password, afterwards Lucee will automatically delete that file
ryan
04/06/2022, 4:17 PMserver forget
to delete some servers, I forgot that there were jars that I needed to put back after creating the new server. Then I thought how it would be nice to be able to delete a server and spin up a new server at whim without having to manually add jar files back into the lib folder within Lucee. I read this and used server set app.libDirs=lib
I verified it is within the server.json. Also, I confirmed the jars are in the new custom lib folder. I restarted the server, but the website errors because it cannot find the jar file. I moved the lib folder around to see what, if any, different errors may occur and it does throw an error in commandbox when it cannot find the lib folder, so I am pretty sure that the lib folder is getting recognized during the spin up.
The following is the line that errors:
<cfset flyway = createObject("java", "org.flywaydb.core.Flyway").init()>
Maybe I cannot do this or this is not pointed in the cfset correctly now that the flyway jar is in a custom lib?david.kreimer
04/06/2022, 5:47 PMJTDavis
04/06/2022, 6:50 PMlmajano
04/07/2022, 4:57 PMKevin D. Wright
04/11/2022, 9:29 PMMark S.
04/12/2022, 6:10 PMMark S.
04/12/2022, 9:31 PMdick
04/13/2022, 2:33 PMqb
schema builder can I capture and dump the SQL
produced by a schema.alter()
so I can replay it on my prod db?Tyler Clendenin
04/13/2022, 5:42 PMadminPassword
key. is there another setting I need to set? (lucee engine btw)