SWITCH in Lucee Admin Killed my Server

In follow up to my response here I really need to get this server up and running again.

I do have another server with Lucee 6 that I haven’t run the Switch on. This server was initially cloned from my downed server. Can I copy files from it to the downed Switched server to restore a working system?

If so, should I do a complete copy, or are there files to avoid bringing over?

Thanks!

Dan

You’ve said “switch killed my server”. Any error logs or anything else that might indicate what has happenend or is happening?

If you just cloned the server and it’s an exact copy and you are using the same lucee version (lucee.jar) for both, then it should be possible to just copy the folder “lucee-server” and copy that from the working server. But always backup everything before applying any changes.

If all your Admin settings for your App are set within your application.cfc, it should also be possible to just wipe out the “lucee-server” folder, which will be redeployed by Tomcat on startup.

However, would be interesting to see what caused the problem when switching.

1 Like

I included all the errors in the other thread I linked to, and didn’t want to be redundant, but I’ll include them at that bottom here as well.

I did clone the server, but the Lucee version is behind. I could upgrade it to the same level, however.

How can I ensure “all my Admin settings for my App are set within my application.cfc”? I don’t see one in the lucee-server directory. Is there a way to export them if not?

I would be happy for someone to remote in to my “down” server to check it out, if that would be helpful? I would have to “drive” since it’s behind a firewall, but can easily share a Zoom screen.

Dan

Logs:

The only log entries since that time are:

"INFO","Thread-11855","08/15/2024","00:55:00","lucee.runtime.CFMLFactoryImpl","Reset 6 Unused PageContexts"

"INFO","http-nio-8888-exec-10","08/15/2024","12:44:55","xml","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl is used as DocumentBuilderFactory"

and in host_access_log.2024-08-15.txt log in /lucee/tomcat/logs/ you can see I attempted the server.cfm admin a few times and got 404 errors. No other logs in that directory have any entries during that time.

0:0:0:0:0:0:0:1 - - [15/Aug/2024:12:46:15 -0700] “GET /lucee/admin/index.cfm HTTP/1.1” 200 8960
0:0:0:0:0:0:0:1 - - [15/Aug/2024:12:46:22 -0700] “GET /lucee/admin/adminmode.cfm?adminType=server&adminMode=single&switch=merge&keep=keep HTTP/1.1” 200 -
0:0:0:0:0:0:0:1 - - [15/Aug/2024:12:49:29 -0700] “GET /lucee/admin/server.cfm? HTTP/1.1” 404 8917
0:0:0:0:0:0:0:1 - - [15/Aug/2024:12:50:39 -0700] “GET /lucee/admin/web.cfm HTTP/1.1” 404 8917
0:0:0:0:0:0:0:1 - - [15/Aug/2024:12:50:45 -0700] “GET /lucee/admin/ HTTP/1.1” 404 771
0:0:0:0:0:0:0:1 - - [15/Aug/2024:12:50:56 -0700] “GET /lucee HTTP/1.1” 404 756
0:0:0:0:0:0:0:1 - - [15/Aug/2024:13:01:33 -0700] “GET / HTTP/1.1” 404 751
0:0:0:0:0:0:0:1 - - [15/Aug/2024:13:03:46 -0700] “GET /lucee-web.xml.cfm HTTP/1.1” 404 8848
0:0:0:0:0:0:0:1 - - [15/Aug/2024:13:04:32 -0700] “GET /lucee/admin.cfm HTTP/1.1” 404 8876
0:0:0:0:0:0:0:1 - - [15/Aug/2024:13:26:06 -0700] “GET /lucee/admin/index.cfm HTTP/1.1” 404 8922

no takes on anyone remoting into my server to troubleshoot this?

I am sorry, you confused programming and application software help with direct technical support.

DM me and I will send you over my vemo details and then I will remote in and troubleshoot your server. Until then, this is general DIY community help.

remove the /WEB-INF folder in your webroot, restart lucee and see what happens.

No, not asking for support at all.

I figured since a big new button inside the Admin initiated this issue, perhaps the developers would want to see what might have happened. I’m not the only one who has experienced this.

Totally okay if no one wants to, just thought it might be helpful “to the community”

This is a test server and I don’t need support.

I will go ahead and see if I can resolve with your suggestion if my offer isn’t something that’s helpful/desired for the dev team.

Dan

Well, here’s an interesting update.

DAYS later, I can now load Lucee Admin under Single Mode. How long is this update supposed to take? LOL

BTW, this was with zero changes by me that it suddenly started working again.

I just happened to click the link to the Admin (thinking I was on another server) and voila! I’m in! 11 days after initiating the “switch”. Maybe a really long rotating animated GIF displaying is needed. :rofl:

It didn’t, however, restore my custom tags.

Maybe I should wait another 11 days. LOL