Odd question when updating 2021 to update 5 and cl...
# adobe
m
Odd question when updating 2021 to update 5 and clicking on package manager I get a white screen when looking at the console log I see this. Has anyone else encountered this?
b
Do you have an invalid XML config file? Just a guess
m
So helping a friend not my cf install but I can look where can I find that config file?
b
They are in cfusion/lib, but unless you can get more info on what file was bad, it could be a bit of a hunt
And that's just a guess since I see the error seems to be coming from XMLSearch
I'd check the logs for more info on the error too
m
Ok looking thanks
m
The latest updates (for CF 2018 as well) have made some changes in this regard. Search this channel for 'XMLSearch' and you will see the discussions. One example - https://cfml.slack.com/archives/C06TABBT8/p1665555857113579?thread_ts=1665540166.728289&cid=C06TABBT8
I think the gist was to clear your cfclasses folder
šŸ‘ 1
b
Ahh yes, that's probably it
The bytecode around the XMLSearch class changed so any compiled CF class files need cleared
Good catch
m
Just checked and the cfclassess is empty
there are two instances of CF on this box and all dirs with cfcclasses are empty
b
You may need to stop CF, clear classes, restart
CF classes are also cached in memory as well
m
Hmmm ok
let me give that a swing
m
Should be here - ColdFusion2018\cfusion\wwwroot\WEB-INF\cfclasses and it will require a restart
m
^ correct
did check that
m
Brad's got it I think
m
going to stop it check the dir then restart - will post here what happens when done
BTW -restarted still no classes in that directory after a restart
b
Have you hit any CF pages yet?
Does it still error?
Also, is this a Multi-instance install of CF?
m
in cf admin
and yes it has a muti instance
b
Are you looking in the right instance?
Each one, has their own classes
m
he's also telling me he thinks this server is fubared as he called me after tying a few things good thing is its a backup server
b
cfusion is just the default instance
m
I'm going to recomend a rebuild at this point
b
I wouldn't give up just yet
It sounds like we don't even know • what instance is actually being hit • what instance was upgraded • what instance we're looking at on disk
m
One thing I don't l like is he can't start the main instance
message has been deleted
message has been deleted
b
That may explain why his cfusion cfclasses folder is empty, lol
Until you can start connecting these dots, you're just guessing
m
heh.. I think we're on to something
right I agree
b
Each of those WIndows services likely map to a specific CF instance on disk
Also, windows service logs are useless. Check the coldfusion out log for that instance to see why it won't start
m
yeah good point
b
For good measure, just go through and wipe all cfclasses folders in all instances and restart all instances for starters
m
he's trying to decide if they are just going to do a rebuild as this was a server they were testing the update on
BTW all the cfcclasses are gone
šŸ‘ 1
in every folder
b
Still sounds heavy-handed but I guess he can do what he wants šŸ˜†
šŸ˜… 1
Does the error in CF admin persist after restarting the associated instance after clearing the associated cfclasses folder?
m
it does..
b
If he can't figure out what instance go to what on the current server, that doesn't give a lot of confidence that they'll be any more successful attempting a full server rebuild.
m
Ok looks like its going to be a rebuild
Thanks for the help Brad!!! appreciate it
b
šŸ‘ God speed
šŸ‘ 1
šŸ‘šŸ¼ 1