Firstly, your screenshot doesn’t back up what you’re saying. You said you tried t update Lucee, yet the error you posted shows you installing or updating an extension!
CommandBox 4.7 is pretty old and using an older version of Lucee. The error message looks like you are hitting this but which was fixed 3 years ago:
To be clear, that error has nothing at all to do with permissions so I’m not sure if you think changing permissions will fix the error or if you are just asking a second, unrelated question.
You can do that, but I don’t really recommend it. When using CommandBox to start a server, you just tell CommandBox what version of Lucee you want, and it will get it for you.
server start email@example.com
If you want a different version, start the server with a new version or update the same info in the
What exactly do you mean when you say “refused to load”? Like, you asked it politely, and it crossed its arms, shook its head, shouted “NO!”? You’ve got to be MUCH more specific when you say things like that. What URL did you hit? What exactly did you see in your browser? What status code came back, if any? What error message displayed in the browser, if any? What errors showed in the console log, if any?
server log --follow
I’m not sure what you mean when you say your “home” folder? Your web root? Your server home? Your CommandBox home? Your User home?
Are you saying you didn’t expect to be on the old version? You haven’t really stated what version of CommandBox you’re on or what command you used to start the server. So it’s really not even possible to guess what you’ve done.
The issue is as stated-- something in Windows is locking the jar files so they can’t be deleted. I would open task manager, show processes from all users, and look for any running java processes. Just having a Windows Explorer open with that folder can be enough for Windows to lock it. I am a little confused and worried why starting a server is trying to upgrade CommandBox! That would only happen if you downloaded a new
box.exe which you didn’t mention anything about. Again, you’ve got to slow down and do one thing at a time and be very specific when you tell us what you’ve done and in what order. It sounds like you’ve tried a bunch of stuff and we have no idea what you’ve done.