Skip to main content
AlHolden
Inspiring
May 26, 2022
Answered

Most recent/best instructions for manual updates to CF 2021 (Linux)

  • May 26, 2022
  • 3 replies
  • 927 views

My localhost (development) server is in a state with a few known items. One of which it is "Not able to connect to Update Site" due to some missing bouncycastle stuff - that was corrected in an update if I recall correctly.

 

PARADOX: The updater cannot run the updates required to fix the updater.

 

Searching produces a plethora of links and blogs on how to update CF manually, but they tend to vary widly based on age, version and platform. Thus my question:

Where are the pentultimate, correct and authorative instructions for manual updating of:
Adobe ColdFusion 2021 Version 2021,0,03,329779
Developer edition running on UNIX (Linux distro Zorin OS 16.1) 64 bit

 

Send me one of the many items writen for Windows, and I will shake my first and curse your username skyward in a manner that would make William Shatner weep.

 

You have my gratitude!

 

This topic has been closed for replies.
Correct answer Charlie Arehart

Separate from Ravi's authoritative answer to your specific question, Al, I would note that your inability to update in the admin (and the failure to connect) may be very simply resolved by updating the jvm you have cf pointing to. That's not quite the paradox you assert, as updating the jvm is NOT done by updating CF, as you may know.  🙂 

 

To be clear, the jvm that cf COMES WITH will either be 11.0.1 for the ORIGINAL cf2021 installer (from Nov 2020), or 11.0.11 for the "refreshed" installer offered in Sep 2021. Those are both old. Sadly, if you download the installer EVEN TODAY, it will be one OR the OTHER depending on how you obtain it from Adobe. (That really is tragic, and leads folks to be in the very pickle you describe.) 

 

So first, you can easily see what jvm version cf is using via the cf Admin settings summary page (among other ways). What is yours? 

 

And second, you can easily update the jvm. I have both a blog post and a presentation covering that (and this reason it's needed). I don't sense those are resources you've necessarily already considered; however, I can say they're not specifically "written for Windows", though they may well show some solution that is. I try to be as OS-agnostic as possible. 🙂 

 

Finally, as for the rather convoluted new approach (of extracting a zip and using the command line cfpm tool), newly discussed in the update technotes since update 2 of CF2021, I will just say that the "old way" (introduced in cf10, of using the java -jar command to point to the downloaded jar) still works, even with the latest cf2021 updates. I have covered that approach also in past posts and another talk. Granted, that's from 2019.

 

And Adobe must have their reasons to promote this newer manual approach, but I've not found it to be NECESSARY over the old manual approach--when updating cf and ALL modules in cf2021. Ravi or anyone else, if you may care to share more, please do. 

 

But Al, my point is that updating cf (manually or otherwise) may not necessarily BE your best first step, especially if you would see the other security benefits of updating Java anyway (see my posts or talk ON WHAT updates are appropriate--currently 11.0.16.1, as of Sep 2022).

 

But at least you have multiple options and resources to consider now. Let us know how you go, whichever you use. 

 

3 replies

BKBK
Community Expert
Community Expert
October 9, 2022
 

Thus my question:

Where are the pentultimate, correct and authorative instructions for manual updating of:
Adobe ColdFusion 2021 Version 2021,0,03,329779
Developer edition running on UNIX (Linux distro Zorin OS 16.1) 64 bit

 

By @AlHolden

 

I would say, ask cfinstal[at]adobe.com. What's in a name! 🙂

Charlie Arehart
Community Expert
Charlie ArehartCommunity ExpertCorrect answer
Community Expert
September 26, 2022

Separate from Ravi's authoritative answer to your specific question, Al, I would note that your inability to update in the admin (and the failure to connect) may be very simply resolved by updating the jvm you have cf pointing to. That's not quite the paradox you assert, as updating the jvm is NOT done by updating CF, as you may know.  🙂 

 

To be clear, the jvm that cf COMES WITH will either be 11.0.1 for the ORIGINAL cf2021 installer (from Nov 2020), or 11.0.11 for the "refreshed" installer offered in Sep 2021. Those are both old. Sadly, if you download the installer EVEN TODAY, it will be one OR the OTHER depending on how you obtain it from Adobe. (That really is tragic, and leads folks to be in the very pickle you describe.) 

 

So first, you can easily see what jvm version cf is using via the cf Admin settings summary page (among other ways). What is yours? 

 

And second, you can easily update the jvm. I have both a blog post and a presentation covering that (and this reason it's needed). I don't sense those are resources you've necessarily already considered; however, I can say they're not specifically "written for Windows", though they may well show some solution that is. I try to be as OS-agnostic as possible. 🙂 

 

Finally, as for the rather convoluted new approach (of extracting a zip and using the command line cfpm tool), newly discussed in the update technotes since update 2 of CF2021, I will just say that the "old way" (introduced in cf10, of using the java -jar command to point to the downloaded jar) still works, even with the latest cf2021 updates. I have covered that approach also in past posts and another talk. Granted, that's from 2019.

 

And Adobe must have their reasons to promote this newer manual approach, but I've not found it to be NECESSARY over the old manual approach--when updating cf and ALL modules in cf2021. Ravi or anyone else, if you may care to share more, please do. 

 

But Al, my point is that updating cf (manually or otherwise) may not necessarily BE your best first step, especially if you would see the other security benefits of updating Java anyway (see my posts or talk ON WHAT updates are appropriate--currently 11.0.16.1, as of Sep 2022).

 

But at least you have multiple options and resources to consider now. Let us know how you go, whichever you use. 

 

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
October 1, 2022

Al and Ravi, any thoughts? 

/Charlie (troubleshooter, carehart. org)
BKBK
Community Expert
Community Expert
October 9, 2022

@Charlie Arehartagreed. My other "no pdf service?" thread was sidelined until I could address the "latest version?" dependency in this one. Now I can pivot and continue there with my year-old homework.

I only threw the other Java forks in my bullet list because Pete does as much in his video. Aside from possible lags in updates to Adobe's download page, I don't see any reason to employ them.

Finally, I may take you up on the consultation after I exhaust the more popular [add-on-services] fixes. One of our clients is pretty pdf intensive, and it's becoming a pain to switch dev machines just to switch projects. But I'll move the conversation over there.

TTFN!


@AlHolden , thanks for sharing your findings. They will certainly help someone else.

RaviShankar Chagnur
Adobe Employee
Adobe Employee
September 26, 2022

You can refer to below document under section "INSTALL THE UPDATE IN OFFLINE MODE MANUALLY" in offline mode

https://helpx.adobe.com/in/coldfusion/kb/coldfusion-2021-update-4.html

Refer to the document and let us know if you have any further queries