When you have issues with a sever, the first thing you do, should be a verbose/debug start and read the output. You’ll be amazed what useful stuff is in there
Correct, the answer to your question was right there in the logs the entire time.
You've asked for the engine [lucee@5.3.12+1] to be started, but this server home already has [lucee@5.3.10+97] deployed to it!
In order to get the new version, you need to run 'server forget' on this server and start it again.
This is because you have specified a custom server home, and when you take away CommandBox’s ability to manage the server home, CommandBox can’t create new homes for each version. And since CommandBox doesn’t do anything destructive with your servers (such as blow away the old home in order to start a new version), it can’t update an existing server for you in this case. When you’ve taken over where the server home lives and you want a new version of the engine, you’ll need to forget the old one first, as the message says.
Related ticket: [COMMANDBOX-1298] - Welcome
Yes, that’s correct. Did you have a specific question about that statement?
CFConfig Docs: https://cfconfig.ortusbooks.com/
You forget the server. Are you asking how to forget a server?
Docs: Manage Servers | CommandBox : CLI, Package Manager, REPL & More
On an unrelated note, you have something REALLY funky going on here
| Looking for server JSON file by convention: /home/someuser//server-mytestapp.json
| webroot defaulted to location of server's JSON file: /home/someuser/
| Switching to the last-used server JSON file for this server: /home/someuser/domains/www.example.com/public_html/server.json
| Recalculating web root based on new server JSON file.
| webroot defaulted to location of server's JSON file: /home/someuser/domains/www.example.com/public_html/
I’m not really sure if you are wanting this to be setup like that, but it seems confusing and is probably causing other issues. I would recommend forgetting all your servers and starting fresh with the single server.json
you want and starting the server in that folder. You can see all servers defined with
server list
to make sure you’ve cleaned everything up.