March 30, 2023
Clarification Needed on CF2021 Manual Update Installation Process
Comments
(4)
March 30, 2023
Clarification Needed on CF2021 Manual Update Installation Process
Newbie 1 posts
Followers: 0 people
(4)

Long-time CF user setting up a new CF2021 server with some (probably obvious) questions.

The installer came with Update 5 baked in and due to server restrictions I am unable to use CF Administrator to install Update 6. I’m well versed in manual updates from CF2018 and prior, but with CF2021 instructions differ.

1. In the “Install the update in offline mode manually” section of the instructions (https://helpx.adobe.com/coldfusion/kb/coldfusion-2021-update-6.html) step #1 is to download the .jar file. There is no mention of where to put it, and none of the steps after that seem to reference that .jar file. Instead instructions have us (using Command Prompt) install the .jar file from within the extracted .zip repository instead. Why step #1 then?

2. Installing Update 6 from the .jar extracted .zip repository seems to have worked fine, for what it’s worth.

3. Following the update should I revert the changed “packagesurl” value back to the original value, or leave it as is? In step #3 they have us replace the default value with the drive path to the extracted .zip repository.

4. Do I need to keep the extracted .zip repository files post-update installation?

5. There’s a note at the bottom of the update instructions that reads: “If you’ve created a mapping of the cf_scripts folder, you must copy the contents of the downloaded zip into CF_SCRIPTS/scrips/ajax folder to download the ajax package.” Can someone elaborate on this? I’m only up through the stage of the CF2021 lockdown guide where I install and update ColdFusion so as of now I haven’t done anything with “cf_scripts” (but may later?)

Thank you in advance.

4 Comments
2023-04-08 08:43:14
2023-04-08 08:43:14

[Moved to be reply below.] 

Like
2023-04-04 13:45:33
2023-04-04 13:45:33

It’s indeed sad that the manual update process has become convoluted, which started with update 2 IIRC. The issue is they’re presuming people doing it don’t have internet access on the server. If you do, you can just run the jar and skip the cfpm and indeed the update update/packages url steps. (And of course most would just run the update from the admin, but many can’t or don’t for various reasons.)

As for the cf_scripts discussion, that’s confusing also. I’d think it’s for when someone somehow felt compelled to copy or move the contents of that cf_scripts folder from its default location in cf’s wwwroot to somewhere else, in which case the updater couldn’t know about that, so they’d be warning that it’s their responsibility to keep that other location updated. But as written, in don’t understand it myself.

Perhaps Adobe or someone else here will shed light.

Like
(2)
>
Charlie Arehart
's comment
2023-04-04 19:48:04
2023-04-04 19:48:04
>
Charlie Arehart
's comment

Hi Charlie,

Thanks for the reply. So if I’m understanding you it sounds like:

  1. If we have internet access on the server (and choose not to update via CF Administrator) we can just download the standalone .jar and run it via Command Prompt and this will not only install the core CF hotfix/update but also updates to the packages currently installed in CFPM?
  2. If we DO NOT have internet access on the server we still need to download the .zip file repository, make sure neo_update.xml points to the path of that extracted file, then run the proper hotfix .jar file from within that repository via Command Prompt to install the core CF hotfix/update and updates to the packages currently installed in CFPM? If we go this route we should then replace that extracted .zip repository with each new hotfix/update that is released?

On the topic of packages in CFPM – is there any resource that dives deeper into each of the packages that come pre-installed? Many I can easily tell we don’t utilize, but others I’m not 100% sure of.

Like
>
CF User
's comment
2023-04-08 08:44:37
2023-04-08 08:44:37
>
CF User
's comment

On your point 1, yes. On your first question in 2, yes. On its second question, yes or you can point it to a new folder where you extract each update to.

On your last question, no, there’s not. But you can use the scan feature of the cfpm to have it identify what packages are needed for your cfml.

Like
Add Comment