<@U0737EPFZ> any chance of add a 7 beta to trycf?
# lucee
z
@abram any chance of add a 7 beta to trycf?
👀 1
a
I've added, but box isn't finding the config provider for any of the snapshot versions. @bdw429s I get:
Copy code
Sorry, no config provider could be found for [luceeserver@7.0.0-SNAPSHOT+196].  Please be more specific or check your spelling.
when my engine is set to
BOX_SERVER_APP_CFENGINE=lucee@7.0.0-SNAPSHOT+196
I also tried
box server start cfengine=lucee@7.0.0-SNAPSHOT+196
on my local ( commandbox v6.2.1+00830) and get the same:
Copy code
Libraries upgraded
|  | Starting Server                                                 
   |------------------------------                                                 
   | √ | Setting site [trycf-runners] Profile to [development]                                                 
   ||  | Installing package [forgebox:lucee@7.0.0-SNAPSHOT+196]                                                 
   |   |---------------------------------------------------------------------                                                 
   |   | Verifying package 'lucee' in forgebox, please wait...                                                 
 × | Starting Server
   |------------------------------
   | Exploding WAR/zip archive...
   |------------------------------
   | √ | Setting site [trycf-runners] Profile to [development]
   | √ | Installing package [forgebox:lucee@7.0.0-SNAPSHOT+196]
   | × | Loading CFConfig into server
   |   |-------------------------------------------


ERROR (6.2.1+00830)

Sorry, no config provider could be found for [luceeserver@7.0.0-SNAPSHOT+196].  Please be more specific or check your spelling.
any ideas? I'm using the
commandbox/jdk21-snapshot
docker image, though I've tried jdk21 and jdk17.
z
a
ah, that'll do it
z
Also the beta was missing the jee attributes, does the 196 snapshot work?
a
no, I tried the latest 10 snapshots with the same error.
z
it will only work if you uninstall the commandbox cfconfig support until @bdw429s works his magic
a
I have a working version using the lucee docker images instead of commandbox: https://trycf.com/gist/0436a1afa9ccab964466f8844a28e45d/lucee7?theme=monokai
🎉 1
z
image.png
b
@zackster Did you say Lucee 7 will ONLY have a server context?
z
it has a lighweight context for each webroot, but yeah, single context
👍 1
multi is gorn
b
Are there any changes to the config JSON in Lucee 7?
If not, I'll have the Lucee 7 provider just extend Lucee 6 for now
z
nothing jumps out from memory, should be fine, @micha???
👍 1
and as we are in beta, Fuck around, Find out eh?
b
heh, testing now
Sorry for the delay, I had forgotten about it
z
no worries, as has I, i knew it would come up, hehe
b
So logic like this in CFConfig, which upon starting a Lucee server, will automatically add a web context password if none was specified for security, I'm just skipping for Lucee 7+ https://github.com/Ortus-Solutions/commandbox-cfconfig/blob/master/interceptors/ConfigLoader.cfc#L412-L450
👍 1
z
re that, maybe's that's not needed for 6 either, as we don't allow the old style of providing a password when not defined, either the server admin password is valid for the web admin, or you don't need to login to the web, if you are logged into the server admin
the old way of setting admin passwords gives me shivers, i would often google for lucee admins and email them
b
Well, that feature will set whatever password you had for the server context, so it allows a single env var which defaults the server password to also apply automatically to the web context
Even if we don't allow people to set the password from the web admin, I still didn't like the idea of web contexts hanging out there waiting for a password.txt file to be written to disk.
z
if you have file system access, it's already game over
b
Lucee 7 snapshots seem to be working locally. I'll get it pushed to forgebox here in a sec to the latest CFConfig works
z
sweet
b
Ok @abram you'll need to run a
Copy code
RUN box update commmandbox-cfconfig --force
in your docker file until we build docker images next that bakes the latest version
But Lucee 7 prerelaese builds should work now
🙏 3