ryan
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
thisOldDave
04/06/2022, 2:19 PMryan
04/06/2022, 2:33 PMbdw429s
04/06/2022, 2:46 PMcommandbox-dotenv
installed and simply run this
propertyFile set ~/.box.env cfconfig_adminPassword Password123!
bdw429s
04/06/2022, 2:47 PMcfconfig_adminPassword
env vars set.bdw429s
04/06/2022, 2:47 PMbdw429s
04/06/2022, 2:47 PMryan
04/06/2022, 2:47 PMryan
04/06/2022, 2:48 PMryan
04/06/2022, 2:56 PMbdw429s
04/06/2022, 3:16 PMbdw429s
04/06/2022, 3:17 PMonCLIStart()
interception pointbdw429s
04/06/2022, 3:17 PMbdw429s
04/06/2022, 3:17 PMenv show
bdw429s
04/06/2022, 3:17 PMcfconfig_adminPassword
env var, it hasn't been loaded!ryan
04/06/2022, 3:24 PMbdw429s
04/06/2022, 3:55 PMbdw429s
04/06/2022, 3:55 PMonServerStart()
interceptorbdw429s
04/06/2022, 3:55 PMryan
04/06/2022, 3:58 PMenv show
. Thanks for the help, @bdw429sbdw429s
04/06/2022, 4:00 PMstart --verbose
the debug output will tell you exactly what CFConfig did or did not setbdw429s
04/06/2022, 4:00 PMbdw429s
04/06/2022, 4:01 PMryan
04/06/2022, 4:08 PMstart --verbose
Yep! Thank you!
Loading CFConfig into server
| |-------------------------------------------
| | Found box environment variable [cfconfig_adminPassword]
| | Importing into [luceeserver]...
| | [adminPassword] set.