• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Coldfusion 2021 Cannot update 5 issues

Community Beginner ,
Feb 13, 2024 Feb 13, 2024

Copy link to clipboard

Copied

I have Coldfusion running on Linux 8 behind a firewall. 

From CF admin, I was able to update from 2 to 3 and then to update 4.

I'm having issues upgrading from update 4 to any other version.

 

I selected update 5 download and install.

 

I clicked OK and then it shows

 

CF21-2.PNG

 Unable to proceed beyong this point.

 

I tried to run the command as suggested.

 

[root@elcfxa03 bin]# pwd
/opt/ColdFusion2021/cfusion/bin
[root@elcfxa03 bin]# ./cfpm.sh install administrator
The packages repository https://www.adobe.com/go/coldfusion-packages is not accessible. You can only load the packages that are available locally in the /opt/ColdFusion2021/bundles directory.
The following packages will be installed : adminapi:2021.0.05.330109,administrator:2021.0.05.330109
Downloading the package adminapi-2021.0.05.330109.zip
An error has occurred while installing the package adminapi. Exception : null
The package adminapi is marked for uninstallation. Uninstallation will be done, on the next server start.
Downloading the package administrator-2021.0.05.330109.zip
An error has occurred while installing the package administrator. Exception : null
The package administrator is marked for uninstallation. Uninstallation will be done, on the next server start.

 

I restarted / rebooted, still the same ie.,

 

The administrator module is not installed.

You can install module through CLI package manager(CF_ROOT/bin/cfpm.sh) by running the command : install administrator.

 

I am using

[root@elcfxa03 bin]# ./java -version
java version "11.0.11" 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)

 

Checked the log files and this what I see

audit.log
=========
"Severity","ThreadID","Date","Time","Application","Message"
"Information","http-nio-8500-exec-7","02/14/24","12:04:19","","/var/log/cfusion/cfusion/audit.log initialized"
"Information","http-nio-8500-exec-7","02/14/24","12:04:19","CFADMIN","Installing update, Update-File: /opt/ColdFusion2021/bundles/updateinstallers/hotfix-005-330109.jar Update-Level: 05"

 

coldfusion-out.log
==================
Feb 14, 2024 12:06:05 PM Information [main] - Uninstalling the package administrator
Feb 14, 2024 12:06:15 PM Error [main] - https://www.adobe.com/go//ajax-2021.0.05.330109.zip cannot be downloaded. Error : Not Found.
Feb 14, 2024 12:06:15 PM [] -
Feb 14, 2024 12:06:16 PM Error [pool-52-thread-1] - https://www.adobe.com/go/repo/chart-2.9.jar cannot be downloaded. Error : Not Found.
Feb 14, 2024 12:06:46 PM Information [main] - adminapi package will not be deployed as it is not installed.
Feb 14, 2024 12:06:46 PM Information [main] - administrator package will not be deployed as it is not installed.


Exception.log
=============
"Error","main","02/14/24","12:06:15","","https://www.adobe.com/go//ajax-2021.0.05.330109.zip cannot be downloaded. Error : Not Found."
java.lang.Exception: https://www.adobe.com/go//ajax-2021.0.05.330109.zip cannot be downloaded. Error : Not Found.
"Error","pool-52-thread-1","02/14/24","12:06:16","","https://www.adobe.com/go/repo/chart-2.9.jar cannot be downloaded. Error : Not Found."
java.lang.Exception: https://www.adobe.com/go/repo/chart-2.9.jar cannot be downloaded. Error : Not Found.

update.log
==========
"Severity","ThreadID","Date","Time","Application","Message"
"Information","cfthread-0","02/14/24","12:03:44","","/var/log/cfusion/cfusion/update.log initialized"
"Error","cfthread-0","02/14/24","12:03:44","CFADMIN","Error While Downloading File From https://cfdownload.adobe.com/pub/adobe/coldfusion/2021/updates/hotfix-005-330109.jar at /opt/ColdFusion2021/bundles/updateinstallers - Unable to access file at https://cfdownload.adobe.com/pub/adobe/coldfusion/2021/updates/hotfix-005-330109.jar"
"Information","http-nio-8500-exec-4","02/14/24","12:03:44","CFADMIN","Unable to access file at https://cfdownload.adobe.com/pub/adobe/coldfusion/2021/updates/hotfix-005-330109.jar"
"Information","cfthread-1","02/14/24","12:04:19","CFADMIN","Successfully downloaded hotfix-005-330109.jar at /opt/ColdFusion2021/bundles/updateinstallers"

 


cfpm-audit.log
==============
"Information","Thread-8","02/14/24","12:17:44","","The packages repository https://www.adobe.com/go/coldfusion-packages is not accessible. You can only load the packages that are available locally in the /opt/ColdFusion2021/bundles directory."
"Information","Thread-8","02/14/24","12:17:47","","The following packages will be installed : adminapi:2021.0.05.330109,administrator:2021.0.05.330109"
"Information","Thread-8","02/14/24","12:17:47","","Deploying bundle : adminapi"
"Information","Thread-8","02/14/24","12:17:48","","Deploying bundle : administrator"
"Information","Thread-8","02/14/24","12:18:04","","The packages repository https://www.adobe.com/go/coldfusion-packages is not accessible. You can only load the packages that are available locally in the /opt/ColdFusion2021/bundles directory."

 

I have tried update6,7,--12. Same issues.

NOTE:- was able to apply update3 & 4 earlier.

 

I tried using manual process. ie., 

/opt/ColdFusion2021/jre/bin/java -jar hotfix-005-330109.jar

same issue.

 

Admin server starts but cannot Admin server via browser and get

The administrator module is not installed.

You can install module through CLI package manager(CF_ROOT/bin/cfpm.sh) by running the command : install administrator.

 

NOT sure what am I doing incorrect.

 

Have spend few days on this, but no go.

Seeking advise.

Thanks.

Views

354

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Feb 13, 2024 Feb 13, 2024

Nikhil, as you probably realize this is not some new problem. Others experienced it, back in 2022 when the problem started.

 

And you'll find it was asked about then and I answered it here (read the question and my first reply, then particularly my second--elaborated--reply where I demonstrated the very problem you hit). I explained what's happening, why, and how to fix it.

 

If it was simple, I'd repeat the words. Or I'd point to someone offering the solution in a few words. Most such attempts

...

Votes

Translate

Translate
Community Beginner , Feb 14, 2024 Feb 14, 2024

Charlie,

 

Thanks for the reply. Appreciate the reply and details.

 

I am sure I did see this before posting. Might have done something different/incorrect as it did not work for me.

 

Considering all the updates are updates to the packages. This time I did something different.

 

1. Stopped all the instances of CF21

2. Downloaded hotfix-packages-cf2021-012-330257.zip

3. Unzipped hotfix-packages-cf2021-012-330257.zip

4. Replaced /opt/ColdFusion2021/bundles with unzipped bunldes of /opt/ColdFusion2021/bundle

...

Votes

Translate

Translate
Community Expert ,
Feb 13, 2024 Feb 13, 2024

Copy link to clipboard

Copied

Nikhil, as you probably realize this is not some new problem. Others experienced it, back in 2022 when the problem started.

 

And you'll find it was asked about then and I answered it here (read the question and my first reply, then particularly my second--elaborated--reply where I demonstrated the very problem you hit). I explained what's happening, why, and how to fix it.

 

If it was simple, I'd repeat the words. Or I'd point to someone offering the solution in a few words. Most such attempts have left people confused. (Anyone with a succinct explanation can offer it here.)

 

More at https://community.adobe.com/t5/coldfusion-discussions/coldfusion-2021-no-internet-allowed-on-server/...

 

Bottom line, the root cause is your not having internet access on the machine in question, and the update process changed to require that or extra manual steps (different from cf2018 and earlier, and different from even early cf2021 updates). But the problem can be solved. See above. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 14, 2024 Feb 14, 2024

Copy link to clipboard

Copied

Charlie,

 

Thanks for the reply. Appreciate the reply and details.

 

I am sure I did see this before posting. Might have done something different/incorrect as it did not work for me.

 

Considering all the updates are updates to the packages. This time I did something different.

 

1. Stopped all the instances of CF21

2. Downloaded hotfix-packages-cf2021-012-330257.zip

3. Unzipped hotfix-packages-cf2021-012-330257.zip

4. Replaced /opt/ColdFusion2021/bundles with unzipped bunldes of /opt/ColdFusion2021/bundles

5 Started admin server CF21

6 From package manager - updated all the packages

7 Bingo I am at update 12 now.

8 As this was a new install, I deleted all the instances I had(four)

9 Added the instances again and they are all on update 12 now.

 

Hopefully, what I did is not wrong.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 24, 2024 Mar 24, 2024

Copy link to clipboard

Copied

LATEST

Glad to have helped. You did what the manual install steps I pointed to say to do....but to be clear, no, one does NOT need to recreate the instances. Doing that could be terrible, for any who modified their instances after creating them previously. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation