http://coldfusion.com logo
Join Slack
Powered by
# box-products
  • j

    jclausen

    05/02/2023, 7:27 PM
    Ortus Redis Cache Extension v2.2.1 Released: https://www.ortussolutions.com/blog/ortus-redis-extension-v221-released
    This release contains bug fixes for Redis Cluster Cache connections and also includes environmental support for activation arguments ( Hooray! No more property files! ). Read more about configuring your extension through the environment variables in our docs. We have also added support for cluster cache password authentication, as well as configuration options for read timeouts and connection pool sizing.
  • d

    dougcain

    05/03/2023, 12:39 PM
    @bdw429s I have an “interesting” command box scenario I could do with some guidance on how to proceed with. I am trying to get ACF 2021 using command box to run on AWS fargate - I have been doing this with command box and ACF 2018 for quite a while now. I assumed simply switching the cf engine to ACF 2021 would “just work” with a bit of loading modules etc. and it did - go command box for the win. I did notice however that the licensing server in ACF 2021 wasn’t enabling the enterprise license we have. After a bunch of investigation and a couple of hours with Adobe on a screen share it seems the license server isn’t getting a UID it needs from its environment. From what Adobe said I think it is assuming its running on an EC2 image and wants the VM’s UID from metatdata . This is not available via fargate as it abstracts all that stuff. Trying adobe’s official ACF 2021 container does seem to work in the same environment although it is much harder to work with compared to command box. So my guess is the WAR install behaves differently to what ever Adobe do in the “official” image or less likely the command box image is causing the issue. Have you come across this in your travels and any ideas how I could see if there is something command box is doing / blocking / missing that might help debug this?
    j
    b
    • 3
    • 14
  • e

    evagoras

    05/04/2023, 3:10 PM
    Is there an Interceptor in CommandBox which I can use to run a custom task runner only once when the CLI finishes running and setting up for the first time? I don't see one here: https://commandbox.ortusbooks.com/developing-for-commandbox/interceptors/core-interception-points.
    onCLIStart
    seems to run every time the CLI starts, not just the first time.
    b
    b
    • 3
    • 6
  • h

    hemi345

    05/04/2023, 3:56 PM
    Could someone point me to where "ColdBox@be" is? I submitted a Jira ticket for a Coldbox issue I'm having and Luis is asking if I can try reproducing the issue on ColdBox@be
    b
    s
    l
    • 4
    • 36
  • l

    lmajano

    05/05/2023, 1:19 PM
    new ColdBox CLI Releaed: https://www.ortussolutions.com/blog/coldbox-cli-1x-released
    ➕ 2
  • r

    Robert Zehnder

    05/09/2023, 2:49 PM
    Is there any chance someone has a working example of send-grid-protocol (https://github.com/elpete/send-grid-protocol) working with a template and body tokens? I do have it working with plain/html emails, just not templates. Feels like I am missing something simple.
    i
    e
    • 3
    • 11
  • l

    lmajano

    05/09/2023, 3:40 PM
    ColdBox 7 BE is now in final testing. So please test it before we release next week:
    install coldbox@be
    . Please report any issues
  • p

    Peter Hoopes

    05/09/2023, 4:33 PM
    If I have my
    server.json
    file in a folder, and I have it set at the
    webroot
    is a subfolder, which folder should a
    .env
    file be in for
    config-dotenv
    to work properly. I have it currently in the webroot folder, but it doesn’t seem to be getting picked up in the Java environment variables. At least CF is telling me that one of the items isn’t found. Also, is there a way to see in Lucee (or something in the OS CLI) that will show those Java arguments so I can check they are loaded in?
  • e

    elpete

    05/09/2023, 4:37 PM
    It should be wherever you start your server.
  • e

    elpete

    05/09/2023, 4:37 PM
    If you add a
    --debug
    to the
    server start
    command you can see the passed in environment variables in the JVM arguments.
  • e

    elpete

    05/09/2023, 4:37 PM
    -DKEY=VALUE
  • p

    Peter Hoopes

    05/09/2023, 6:25 PM
    Ah. The documentation says to put it in the “webroot” which is the same for many, but I pull my server.json file out because I have a /lib and /certs folder that holds those items outside the webroot.
  • b

    bdw429s

    05/09/2023, 6:36 PM
    @Peter Hoopes There actually several places you can put it 🙂 For starters, the command that shows you what env vars are loaded is
    Copy code
    env show
    but keep in mind, env vars loaded as part of a server start only exist for the duration of that command. You can put
    env show
    in an
    onServerStart
    server script if you want to debug what env vars exist when the server is starting
  • b

    bdw429s

    05/09/2023, 6:38 PM
    Now, the commandbox-dotenv module has several different interception points that it listens to in order to load .env files • when the CLI starts. This means if you run any
    box
    command in a working directory with an
    .env
    file, it will get loaded into the global environment for the duration of the shell • any time a command is run. This includes server commands and any other command alike and will specifically load an
    .env
    from the current working directory of the shell • any time a server starts. This looks up the web root of the starting server and checks for an .env file. Keep in mind the server start command may not be run the web root.
  • b

    bdw429s

    05/09/2023, 6:38 PM
    There are some debug options you can also enable in the commandbox-dotenv module to see what it's doing and when
  • b

    bdw429s

    05/09/2023, 6:39 PM
    Copy code
    config set modules.commandbox-dotenv.verbose=true
    and
    Copy code
    config set modules.commandbox-dotenv.printOnLoad=true
  • p

    Peter Hoopes

    05/10/2023, 1:30 PM
    This is good info, but one thing is still catching me: "any time a server starts. This looks up the web root of the starting server and checks for an .env file." I was using Mod_CFML to host two sites, so I had my
    server.json
    (with the config) in a folder
    www
    , and then the two webroots inside. I did this so that I could have one folder each for the
    /lib
    and
    /certs
    folders in
    www
    . So when you say "web root" do you mean the CFM/HTML serving web root, or the location of the
    server.json
    file (in my case, one folder up)? @bdw429s
    e
    b
    • 3
    • 10
  • s

    seandaniels

    05/10/2023, 5:30 PM
    I'm getting a stack overflow error when I try to
    server start
    on a remote EC2 instance. It has something to do with Globber.cfc, I'll put part of the verbose error in the thread. Any ideas? This server runs fine locally. Same version of CommandBox (5.9.0+00721) on both.
    b
    d
    • 3
    • 100
  • a

    Adam Cameron

    05/11/2023, 8:56 AM
    Slight bug in TestBox 5, details on Jira ticket: https://ortussolutions.atlassian.net/jira/software/c/projects/TESTBOX/issues/TESTBOX-370
    l
    • 2
    • 2
  • a

    Adam Cameron

    05/11/2023, 10:54 AM
    We are in production now with TestBox 5. Thanks @lmajano and team.
    👏 3
  • l

    lmajano

    05/11/2023, 2:22 PM
    TestBox 5 Released!!! https://testbox.ortusbooks.com/intro/release-history/whats-new-with-5.0.0
    🎉 1
    🙌 3
    👀 1
    ⭐ 3
  • r

    richard.herbert

    05/11/2023, 5:10 PM
    Am I being dim but how do you simulate a
    DISTINCT
    with Quick/qb
    a
    g
    • 3
    • 19
  • b

    bdw429s

    05/11/2023, 6:35 PM
    A stack overflow question about COldBox if anyone wants to chime in https://stackoverflow.com/questions/76229830/why-isnt-coldbox-route-visualizer-displaying-in-browser-after-successful-instal
  • d

    David Rogers

    05/11/2023, 6:47 PM
    quick6 q
    e
    r
    • 3
    • 37
  • d

    David Rogers

    05/12/2023, 4:21 PM
    withCount
    should be against
    this
    or against
    qb
    ? (quick6)
    Copy code
    function scopeWithSomeCountOf( qb ) {
       this.withCount(...) // ?
       qb.withCount(...)  // ?
    }
    • 1
    • 1
  • e

    elpete

    05/12/2023, 5:45 PM
    In Quick 5+, it should all be against the passed in builder,
    qb
    in this case.
  • p

    Peter Hoopes

    05/13/2023, 1:47 PM
    A few CacheBox padawan questions: 1. If I’m working on just a single server setup (no clustering, etc.), I assume the built-in CacheBox cache will work fine? 2. Is there much of a difference between using the Cache and storing information in the Application scope? I’m aware of the goodness of the timing and expiration aspects, I suppose. Is there a way to have CacheBox (or another routine) regularly update the data in the cache? 3. Any issues with storing queries in the cache (that can then be used for QoQ operations)? I think CacheBox could really help and I’ve watched Brad Wood’s CFCast on the intro to it, but there’s no “Zero to Hero” type thing so I’m a little unsure of the best method of implementation. I have looked thru the Ortus docs as well, so these were my leftover questions. Any pointers would be super-appreciated.
    s
    b
    s
    • 4
    • 8
  • d

    Dean

    05/15/2023, 12:04 AM
    Converting my server.json to env vars for linux, but not sure how to do the following?
    Copy code
    "runwar": {
            "undertowOptions": {
                "ALLOW_UNESCAPED_CHARACTERS_IN_URL": true
            }
    }
    BOX_SERVER_RUNWAR_UNDERTOWOPTIONS_ALLOW_UNESCAPED_CHARACTERS_IN_URL=true
    Seems like it wont do the right thing?
    b
    • 2
    • 17
  • l

    lmajano

    05/16/2023, 3:48 PM
    Finally, it's here, ColdBox 7 Released: https://www.ortussolutions.com/blog/coldbox-700-released
    👀 1
    🎉 4
  • a

    Adam Cameron

    05/16/2023, 4:33 PM
    @lmajano is it worth creating a temporary subchannel on this for ITB? Like a water-cooler but specifically for the folk @ the conf?
    l
    f
    +3
    • 6
    • 19
1...2627282930Latest