Skip to main content
Inspiring
February 25, 2025
Answered

CF2023 Package Manager

  • February 25, 2025
  • 4 replies
  • 2473 views

Hello -

 

I tried to update my CF2023 on Windows using the CF Admin tool's Package Manager.

 

I clicked on Download and Install, it looks like it downloaded the latest version  to the server, according to the updates log, it downloaded Update 12, but the process didn't stop and restart the server.

I did that manually, and my account has persmission to access the services, so that shouldn't be an issue.

I didn't notice the update to 12 being applied.   I am bringing the Server from 6 to 12.

 

I'm just trying to get the updates and the other packages up to spec.

I've looked at different update guides... and there is a part of me that get's a little confused as to what files I need to modify and where to point things.

 

As I mentioned that the admin downloaded the file and put it in one directory, but when I follow the updates instructions, and download the zip file, the instructions want me to point to that unzipped directory.. I think.

I'm sorry, but trying to make sure I modify the right file and point to the right spot always has me concerned when I am making changes to my prod server.

 

Any idea or suggestions are appreciated.

 

Thanks


Doug

 

 

 

    Correct answer Doug_E_Fresh

    Hello all -

     

    So I was able to get everything up and running.

    Because I could do a rollback my entire server very easily, I wanted to try the CFPM option one more time.

     

    I stopped every service.  I stopped anything in the processes tab of my Task Manager that could have been CF related.

    I even stopped IIS. 

     

    And when I ran CFPM, it still gave me the errors related to 5 files being locked ( as mentioned in a previous post).

     

    I ultimately followed the instructions found at:

    https://coldfusion.adobe.com/2024/09/a-simple-way-to-install-coldfusion-updates-manually-in-offline-mode/

     

    And that is what worked for me.  That got my server up and running to the latest update.

     

    Thank you all who gave me your time, your wisdom, and your experience in trying to resolve this matter.

     

    Doug

    4 replies

    Doug_E_FreshAuthorCorrect answer
    Inspiring
    March 5, 2025

    Hello all -

     

    So I was able to get everything up and running.

    Because I could do a rollback my entire server very easily, I wanted to try the CFPM option one more time.

     

    I stopped every service.  I stopped anything in the processes tab of my Task Manager that could have been CF related.

    I even stopped IIS. 

     

    And when I ran CFPM, it still gave me the errors related to 5 files being locked ( as mentioned in a previous post).

     

    I ultimately followed the instructions found at:

    https://coldfusion.adobe.com/2024/09/a-simple-way-to-install-coldfusion-updates-manually-in-offline-mode/

     

    And that is what worked for me.  That got my server up and running to the latest update.

     

    Thank you all who gave me your time, your wisdom, and your experience in trying to resolve this matter.

     

    Doug

    Charlie Arehart
    Community Expert
    Community Expert
    March 5, 2025

    Doug, that's certainly great news that you have resolved things. And I have marked your response as "the answer" for the thread.

     

    That said, I am surprised to hear that you needed to do the steps of the offline manual install. That's addressed mainly to people whose CF server has no internet access. But the opening paragraph of your inital post here said, "I clicked on Download and Install, it looks like it downloaded the latest version to the server, according to the updates log, it downloaded Update 12, but the process didn't stop and restart the server.

     

    And that is why we have focused ever since on what it was about the actual UPDATE process that was failing. Anyway, no need to relitigate/re-examine/appeal the case. 🙂 Your problem is solved. And perhaps your solution may help someone else in the future. I will just say that while anyone CAN do the manual steps outlined there, folks often prefer to do the update from the Admin...and the many things shared here addressed common reasons people find that not to work.

     

    Now, on to your bigger fish to fry. 🙂

    /Charlie (troubleshooter, carehart. org)
    Community Manager
    February 26, 2025
    Charlie Arehart
    Community Expert
    Community Expert
    February 26, 2025

    It's not yet clear that manual steps are what he requires. Hope he'll consider first what I'd proposed. But yep, another useful resource for those needing to do that. 

    /Charlie (troubleshooter, carehart. org)
    Charlie Arehart
    Community Expert
    Community Expert
    February 25, 2025

    No file file should need to be modified, except in unusual cases (when you don't have online access from the cf instance to Adobe).

     

    My first suspicion is that the issue is specifically what you observed. Cf did not stop before the update proceeded. You say "my account has persmission to access the services", but how are you judging that? It's not enough that the account "is an admin". And as you may know it's not about what account YOU are running but the account running the service (you do imply you're running cf as a service).

     

    So it's that that user (running cf) must have per permission to stop/start the cf services. And that's not something you can do from the typical windows ui for defining permissions. It's a very low level set of cli commands that must be done. Or I'd recommend using the wonderful free tool, Service Security Editor, from Core Technologies.

     

    If you correct that and try again, your update from the cf admin should just work. (And if it complains the update's been done, you could uninstall it and then reinstall it.)

     

    But instead, you can simply run the update from the command line. Since cf2021, the admin downloads to the cf bundles/updateinstallers folder. You can use "java -jar" (in an admin command prompt) to point to that (as discussed in many online resources). 

     

    Or you can also use the cfpm tool, at cfusion/bin, which is also new since cf2021, and which can be used either to manage packages (also new since cf2021) or it can be used to install a full (core) update. See the docs for that either in the update technotes or Adobe's full docs for the tool here, or I have a talk I've given on the topic (youtube link and pdf here)

     

    Or finally I can just help you "get it done in less than 15 minutes, via my consulting discussed here.

     

    Bottom line, you should be done and updated once you take on any of those approaches. Let us know how it goes. 

    /Charlie (troubleshooter, carehart. org)
    Inspiring
    February 27, 2025

    HI Charlie -

     

    When you say that ther CFPM installs a full core update.  So it's updating the core and loading the latest update found in the cf \bundles\updateinstallers?

    I'll watch your video and see how it works.  But that caught my attention and wanted to just ask.

     

    Thanks


    Doug

    BKBK
    Community Expert
    Community Expert
    February 25, 2025

    It might be that, when you restarted ColdFusion, you interrupted the upgrade process. Let's check.

     

    What do you get when you run the following code in a CFM page?

     

    ColdFusion Version: <cfoutput>#server.coldfusion.productversion#</cfoutput>

     

    Inspiring
    February 27, 2025

    Hi BKBK - I get this:

     

    ColdFusion Version: 2023,0,06,330617

     

    Thanks

    Doug

    BKBK
    Community Expert
    Community Expert
    February 27, 2025

    Hi Doug, that shows that the currently installed update is Update 6. So the installation of Update 12 did not suucced. You could try again to install Update 12.

     

    By far the easiest way to do so is via the ColdFusion Administrator. ColdFusion would then perform the update automatically for you.
    Alternatively, you could follow Charlie's or AbhishekJha's suggestion.